APIs / Reviews / G2

1 credit per call11 endpoints13 datapointsChecked working 6 Dec 2026

G2 API

G2 API for software search and suggestions, product ratings, features, pricing, filtered reviews, alternatives and comparisons as JSON. 1 credit per call.

G2
GET/v1/g2/search?query=crm&page=1&order=popular
{
  "success": true,
  "data": {
    "query": "crm",
    "order": "popular",
    "results": [
      {
        "id": 7372,
        "uuid": "090c6f73-9bae-4323-98ac-8880acea7fbd",
        "slug": "zoom-workplace",
        "name": "Zoom Workplace",
        "vendor": "Zoom",
        "vendor_id": 5786,
        "vendor_slug": "zoom-a5000ea1-6d30-4ab4-b591-20723189ac97",
        "rating": 4.5,
        "review_count": 56474,
        "categories": [
          {
            "id": 19,
            "name": "Video Conferencing",
            "slug": "video-conferencing"
          }
        ],
        "image_url": "https://images.g2crowd.com/uploads/product/image/528f622c63c3c11dc3f068e3abe26a0c/zoom-workplace.png",
        "url": "https://www.g2.com/products/zoom-workplace/reviews",
        "position": 1
      },
      {
        "id": 1434,
        "uuid": "12952123-2f96-4695-87b4-ecb71299a14d",
        "slug": "google-workspace",
        "name": "Google Workspace",
        "vendor": "Google",
        "vendor_id": 311,
        "vendor_slug": "google",
        "rating": 4.6,
        "review_count": 48302,
        "categories": [
          {
            "id": 1015815,
            "name": "AI Content Intelligence Platforms",
            "slug": "ai-content-intelligence-platforms"
          }
        ],
        "image_url": "https://images.g2crowd.com/uploads/product/image/4a9a6d57cdd833bf0381d21fd9246641/google-workspace.png",
        "url": "https://www.g2.com/products/google-workspace/reviews",
        "position": 2
      },
      {
        "id": 3437,
        "uuid": "bdac866e-7e0a-490c-b679-c43570cce3ce",
        "slug": "slack",
        "name": "Slack",
        "vendor": "Salesforce",
        "vendor_id": 469,
        "vendor_slug": "salesforce",
        "rating": 4.5,
        "review_count": 40491,
        "categories": [
          {
            "id": 2360,
            "name": "Work Management",
            "slug": "work-management"
          }
        ],
        "image_url": "https://images.g2crowd.com/uploads/product/image/f6ee5c9dddbf5c28b136829c8782ed1b/slack.png",
        "url": "https://www.g2.com/products/slack/reviews",
        "position": 3
      }
    ],
    "count": 20,
    "available_filters": {},
    "pagination": {
      "page": 1,
      "last_page": 400,
      "has_next": true
    }
  },
  "meta": {
    "endpoint_family": "search",
    "request_id": "req_88ad2af08ad24a91afc6e76ac5a4a2d9",
    "credits_charged": 1,
    "credits_remaining": 1785
  }
}
200 OKJSONX-Credits-Used: 1
Recorded from our API and shortened.

Sample data

What one call returns

A recorded run of search: the fields and shapes you will get, shortened to 3 items.

#idintegeruuidstringslugstringnamestringvendorstringvendor_idintegervendor_slugstringratingnumberreview_countintegercategoriesobject[]image_urlurlurlurlpositioninteger
17372090c6f73-9bae-4323-98ac-8880acea7fbdzoom-workplaceZoom WorkplaceZoom5786zoom-a5000ea1-6d30-4ab4-b591-20723189ac974.556474[1 item]https://images.g2crowd.com/uploads/product/image/528f622c63c3c11dc3f068e3abe26a0c/zoom-workplace.pnghttps://www.g2.com/products/zoom-workplace/reviews1
2143412952123-2f96-4695-87b4-ecb71299a14dgoogle-workspaceGoogle WorkspaceGoogle311google4.648302[1 item]https://images.g2crowd.com/uploads/product/image/4a9a6d57cdd833bf0381d21fd9246641/google-workspace.pnghttps://www.g2.com/products/google-workspace/reviews2
33437bdac866e-7e0a-490c-b679-c43570cce3ceslackSlackSalesforce469salesforce4.540491[1 item]https://images.g2crowd.com/uploads/product/image/f6ee5c9dddbf5c28b136829c8782ed1b/slack.pnghttps://www.g2.com/products/slack/reviews3

Recorded from our API · 3 items shown · 13 datapoints per itemGET /v1/g2/search?query=crm&page=1&order=popular

13 datapoints

Identity

  • idinteger
  • uuidstring
  • slugstring
  • namestring
  • vendor_idinteger
  • vendor_slugstring

Contact

  • image_urlurl
  • urlurl

Reputation

  • ratingnumber
  • review_countinteger

Other

  • vendorstring
  • categoriesobject[]
  • positioninteger

Playground

Run this API

cURLshell
curl "https://api.perceptlayer.com/v1/g2/search?query=crm&page=1&order=popular" \
  -H "X-API-Key: $API_KEY"

G2 · 11 endpoints

Endpoints

Every endpoint takes the same key. Open one for its parameters, the fields it returns and an example request.

EndpointRequired parametersReturnsCost
GET/v1/g2/categories
none
JSON1 credit
GET/v1/g2/categories-grid
slug+1 optional
JSON1 credit
GET/v1/g2/compare
ab
JSON1 credit
GET/v1/g2/products
slug+1 optional
JSON1 credit
GET/v1/g2/products-alternatives
slug
JSON1 credit
GET/v1/g2/products-features
slug
JSON1 credit
GET/v1/g2/products-pricing
slug
JSON1 credit
GET/v1/g2/reviews
slug+9 optional
JSON1 credit
GET/v1/g2/search
query+4 optional
orderresultsavailable_filterspagination
1 credit
GET/v1/g2/sellers
slug
JSON1 credit
GET/v1/g2/suggest
query+1 optional
JSON1 credit

Overview

About the G2 API

What you can get

The G2 API returns G2 software data as JSON through 11 endpoints.

  • Search: search takes a query, with page, order (relevance, popular, top_shelf or alphabetical), star_rating[] and category_id[]. suggest takes a query, with limit.
  • Products: products takes a slug, with include[] (sub_ratings). products-features, products-pricing and products-alternatives take a slug.
  • Reviews: reviews takes a slug, with stars[], company_size[] (small_business, mid_market or enterprise), region[] (north_america, asia, europe, latin_america, anz, middle_east or africa), role[], industry[], category_id[], coverage (latest or extended), sort (most_relevant, most_recent, most_helpful, highest_rated or lowest_rated) and page.
  • Compare: compare takes two product slugs, a and b.
  • Categories: categories lists them; categories-grid takes a category slug, with company_size (small_business or enterprise).
  • Sellers: sellers takes a vendor slug.

The recorded search call for "crm" (order popular, page 1) returns results, each with id, slug, name, vendor, vendor_slug, rating, review_count, categories (id, name, slug), url and position. It also returns count, and pagination with page, last_page and has_next.

How a call works

Search, then look up: GET /v1/g2/search?query=crm&order=popular&page=1 with your key in the X-API-Key header returns each product's slug, which products, reviews, products-pricing and the other product endpoints take. A result's vendor_slug goes to sellers. Every successful call costs 1 credit; failed calls cost nothing.

ReviewsJSONRESTMCP

More reviews APIs

Use cases

Track the rating and review count of your product and competitors

Use the G2 API to track the rating and review count of your product and competitors

Collect five-star or one-star reviews by company size and region, without reviewer details

Use the G2 API to collect five-star or one-star reviews by company size and region, without reviewer details

Compare two products' features and pricing side by side

Use the G2 API to compare two products' features and pricing side by side

List the alternatives G2 shows for a competitor

Use the G2 API to list the alternatives G2 shows for a competitor

FAQ

Questions

Do I need a G2 vendor account?

No. You call this G2 API with your Perceptlayer key in the `X-API-Key` header, and it reads any public product page, not only your own.

How much does the G2 API cost?

Each successful call costs one credit. New accounts get free credits to start, and credit packs bring the price down as you scale.

Can I filter reviews by star rating?

Yes. Pass one or more values in `stars[]` to `reviews`, for example `stars[]=5`, and combine them with `company_size[]` or `region[]`.

What format are responses in?

Every endpoint returns JSON, with no HTML parsing on your side.

Is this the official G2 API?

No. Perceptlayer is an independent service and is not affiliated with G2. It returns G2 data as JSON with a Perceptlayer key, so there is no G2 developer account, app review or partner approval to get first. It only reads data: if G2 has an official API and you need to act on your own G2 account, such as posting, managing orders or reading private data, use that one.

Should I build a G2 scraper instead?

You can, but a G2 scraper is code you maintain: page changes break it, requests get blocked, and G2's terms govern how you collect data. The G2 API gives you 11 endpoints of named JSON fields for 1 credit per successful call, and failed calls cost nothing. A scraper makes sense only for data these endpoints don't return, so check the response in the playground on this page first.

Try the G2 API with 100 free credits

No credit card. Failed calls are never billed.