# G2 data API for AI agents > morigraph has one G2 data API, G2 Reviews, that Claude, ChatGPT, Cursor, Codex or your own code can call. Pull G2 software reviews for any product: star rating, what reviewers like and dislike, problems solved, market segment, and G2's rating rubric as clean JSON. You need no G2 developer account or API key, only one morigraph connection. A call costs 0.099 credits, about $9.90 for 1,000 calls, paid from one balance. ## How to call it Every data API is run by one tool, `data_api`, with the API's id and its arguments. The example is G2 Reviews. In your assistant (MCP). Connect once, then ask in plain words: ```sh claude mcp add --transport http --scope user morigraph https://morigraph.com/mcp Use morigraph's G2 Reviews data API with {"limit":50,"product":"hubspot-marketing-hub","sortBy":"recent"} and summarise what comes back. ``` From a terminal or script (CLI): ```sh npx @morigraph/cli@latest login morigraph call data_api --json-args '{"api":"g2.reviews","input":{"limit":50,"product":"hubspot-marketing-hub","sortBy":"recent"}}' ``` From your own code (HTTP API): ```sh curl https://api.morigraph.com/v1/tools/data_api \ -H "Authorization: Bearer $MORIGRAPH_API_KEY" \ -H "Content-Type: application/json" \ -d '{"api":"g2.reviews","input":{"limit":50,"product":"hubspot-marketing-hub","sortBy":"recent"}}' ``` ## G2 Reviews `g2.reviews` · 0.099 credits a call (about $9.90 for 1,000), at most 2.52 Pull G2 software reviews for any product: star rating, what reviewers like and dislike, problems solved, market segment, and G2's rating rubric as clean JSON. | Argument | Type | Required | What it is | |---|---|---|---| | `limit` | integer | no | Maximum number of reviews to return. The minimum is 50 because G2 review sources will not serve a smaller page. You are billed per returned result, so a lower limit costs less. | | `product` | string | yes | G2 product slug, for example hubspot-marketing-hub. A full G2 product URL is also accepted and reduced to its slug. | | `sortBy` | recent \| helpful \| highest \| lowest \| default | no | Sort order for the returned reviews: newest first, most helpful first, highest or lowest rated first, or G2's own default ordering. | Returns: `author`, `authorCountry`, `createdUtc`, `dislikes`, `helpfulVotes`, `id`, `likes`, `marketSegment`, `nps`, `problemsSolved`, `productId`, `productName`, `productSlug`, `rating`, `ratings`, `responseType`, `reviewSource`, `sourceType`, `status`, `switchedFrom`, `title`, `url` ``` data_api({"api":"g2.reviews","input":{"limit":50,"product":"hubspot-marketing-hub","sortBy":"recent"}}) ``` ## Do I need a G2 API key or developer account? No. morigraph supplies the access. You connect morigraph once to your assistant, or use one morigraph API key from your own code, and call the API on this page. ## What does G2 data cost through morigraph? 0.099 credits a call, where a credit is about 10 cents. That is from about $9.90 for 1,000 calls. You pay per call from one balance, with no separate subscription. ## Can Claude, ChatGPT or Cursor get G2 data? Yes. Add morigraph as an MCP server, sign in once, then ask in plain words. Your assistant finds the right API with one search and runs it with one call. --- Canonical page: https://morigraph.com/tools/data/g2/ Prices read from the catalogue on 2026-11-27. These APIs return public data; how you may use it depends on the platform's terms and applicable law. All data APIs: https://morigraph.com/tools/data.md · Connect: https://morigraph.com/connect.md · Site overview: https://morigraph.com/llms.txt