Skip to content
Scrappa Get API key
G2 API 1 credit/request

G2 Seller API Documentation

GET https://scrappa.co/api/g2/sellers/{slug}

G2 Seller API returns the profile of a vendor: name, average rating, review_total over all its products, profile_count, category_count, grid_leader_categories, serving_since, the star distribution (percent and review count), the categories, the products with review counts and descriptions, and an about block with company details.

Use the vendor slug. It often differs from the product slug (the vendor of the product jira is atlassian). The vendor.slug field of an alternatives result gives the vendor slug. An unknown vendor slug returns 404 and is not billed. One request costs one credit.

G2 Seller API Documentation 1 credit/request

Endpoint

Request preview
GET
https://scrappa.co/api/g2/sellers/{slug}
Auth header
x-api-key
Cost
1 credit/request
slug = example
Response preview
200 OK
{
    "data": {
        "seller": {
            "name": "Asana",
            "slug": "asana",
            "about": {
                "website": "https://asana.com",
                "ownership": "NYSE: ASAN",
                "description": "Asana is the System of Action for work, where humans and AI collaborate to help individuals work sm\u2026",
                "hq_location": "San Francisco, CA",
                "linkedin_url": "https://www.linkedin.com/company/807257/",
                "year_founded": 2008
            },
            "rating": 4.4,
...

Parameters

Start with the required fields, then add optional filters only when your use case needs them.

Runnable path

1 required parameter needed before sending a request.

slug string Required

G2 vendor slug (path parameter). Example: atlassian.

Example value example

Response Schema

Example response fields are illustrative; inspect the JSON before integrating.

Example response fields

Scan these fields before integrating.

data meta success
JSON Response
200 OK
{
    "data": {
        "seller": {
            "name": "Asana",
            "slug": "asana",
            "about": {
                "website": "https://asana.com",
                "ownership": "NYSE: ASAN",
                "description": "Asana is the System of Action for work, where humans and AI collaborate to help individuals work sm\u2026",
                "hq_location": "San Francisco, CA",
                "linkedin_url": "https://www.linkedin.com/company/807257/",
                "year_founded": 2008
            },
            "rating": 4.4,
            "products": [
                {
                    "name": "Asana",
                    "slug": "asana",
                    "description": "Asana is a leading work management platform for human + AI coordination. Over 170,000 customers lik\u2026",
                    "review_count": 14056
                },
                {
                    "name": "Asana for G Suite",
                    "slug": "asana-for-g-suite",
                    "description": "Asana is designed to be an easy way for teams to track their work and get results.",
                    "review_count": 58
                }
            ],
            "categories": [
                {
                    "id": 1009956,
                    "name": "AI Agent Builders"
                },
                {
                    "id": 2437,
                    "name": "AI Agents For Business Operations"
                }
            ],
            "distribution": [
                {
                    "count": 9333,
                    "stars": 5,
                    "percent": 65
                },
                {
                    "count": 3905,
                    "stars": 4,
                    "percent": 27
                },
                {
                    "count": 744,
                    "stars": 3,
                    "percent": 5
                },
                {
                    "count": 122,
                    "stars": 2,
                    "percent": 0
                },
                {
                    "count": 102,
                    "stars": 1,
                    "percent": 0
                }
            ],
            "review_total": 14203,
            "profile_count": 4,
            "serving_since": 2008,
            "category_count": 14,
            "grid_leader_categories": 15
        }
    },
    "meta": {
        "billable": true,
        "endpoint_family": "seller"
    },
    "success": true
}

Errors

Handle these documented responses before retrying or showing customer-facing failures.

404

Not Found

The vendor slug does not exist on G2. This response is not billable.

{
    "meta": {
        "billable": false,
        "retryable": false,
        "endpoint_family": "seller"
    },
    "error": {
        "code": "NOT_FOUND",
        "message": "The requested resource was not found."
    },
    "success": false
}
422

Validation Error

A parameter is missing or has an invalid value. This response is not billable.

{
    "errors": {
        "slug": [
            "The slug field is required."
        ]
    },
    "message": "The request validation failed"
}
503

Upstream Unavailable

G2 could not be reached or returned data that does not match the request. This response is not billable and is retryable.

{
    "meta": {
        "billable": false,
        "retryable": true,
        "endpoint_family": "seller"
    },
    "error": {
        "code": "UPSTREAM_UNAVAILABLE",
        "message": "G2 could not be reached. Please retry shortly."
    },
    "success": false
}

Generate Code with AI

Copy a ready-made prompt with all the endpoint details, parameters, and example responses. Paste it into ChatGPT, Claude, or any AI assistant to instantly generate working code.

Try It Live

Test this endpoint in our interactive playground with real data.