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

G2 Pricing API Documentation

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

G2 Pricing API returns the pricing editions of one product: name, price_text as G2 shows it, the numeric price, the currency, the unit text (users and billing), contact_us, the edition description and the included features. The page also gives edition_count, starting_price, free_trial and last_updated (date).

A free edition has price: 0. An edition that needs a quote has price: null and contact_us: true. A product without a pricing page returns 404 and is not billed. One request makes one lookup and costs one credit.

G2 Pricing API Documentation 1 credit/request

Endpoint

Request preview
GET
https://scrappa.co/api/g2/products/{slug}/pricing
Auth header
x-api-key
Cost
1 credit/request
slug = example
Response preview
200 OK
{
    "data": {
        "product": {
            "slug": "asana"
        },
        "editions": [
            {
                "name": "Personal",
                "unit": "2 Users",
                "price": 0,
                "currency": null,
                "features": [
                    "Unlimited tasks",
                    "Unlimited projects"
...

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 product slug (path parameter). Example: asana.

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": {
        "product": {
            "slug": "asana"
        },
        "editions": [
            {
                "name": "Personal",
                "unit": "2 Users",
                "price": 0,
                "currency": null,
                "features": [
                    "Unlimited tasks",
                    "Unlimited projects"
                ],
                "contact_us": false,
                "price_text": "Free",
                "description": "For one to two people managing personal projects."
            },
            {
                "name": "Starter",
                "unit": "500 Users Total. Billed Per User Per Month",
                "price": 10.99,
                "currency": "USD",
                "features": [
                    "Everything in Personal, plus:",
                    "Asana AI"
                ],
                "contact_us": false,
                "price_text": "$10.99",
                "description": "For growing teams that need to track their projects' progress and hit deadlines."
            }
        ],
        "free_trial": true,
        "last_updated": "2026-04-29",
        "edition_count": 5,
        "starting_price": "$0"
    },
    "meta": {
        "billable": true,
        "endpoint_family": "pricing"
    },
    "success": true
}

Errors

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

404

Not Found

The product has no pricing page on G2. This response is not billable.

{
    "meta": {
        "billable": false,
        "retryable": false,
        "endpoint_family": "pricing"
    },
    "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": "pricing"
    },
    "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.