# G2 Features API Documentation

<p><strong>G2 Features API</strong> returns the feature list of one product, grouped. Each group has its <code>name</code>, the <code>feature_count</code> and the <code>features</code>. Each feature has a <code>name</code>, a <code>description</code> and <code>based_on_reviews</code>, the number of reviews G2 used to confirm the feature (<code>null</code> when G2 shows no number).</p><p>The feature page is large, so a first request can take up to 10 seconds. The result is cached for 24 hours per product, and a cached answer comes back at once. Per-feature star ratings are not part of the response. One request costs one credit. An unknown slug returns 404 and is not billed.</p>

- **Documentation:** [https://scrappa.co/docs/g2-api/g2_features](https://scrappa.co/docs/g2-api/g2_features)
- **API group:** G2 API
- **Endpoint:** `GET https://scrappa.co/api/g2/products/{slug}/features`

## Authentication

Send your Scrappa API key in the `X-API-KEY` request header. Paid endpoints also support accountless x402 payments when called without an API key.

## Parameters

| Parameter | Type | Required | Description |
| --- | --- | --- | --- |
| `slug` | string | Yes | G2 product slug (path parameter). Example: asana. |

## Example response

```json
{
    "data": {
        "groups": [
            {
                "name": "Tasks",
                "features": [
                    {
                        "name": "Creation & Assignment",
                        "description": "Create and assign tasks for individual users with details and due dates.",
                        "based_on_reviews": 3351
                    },
                    {
                        "name": "Due Dates",
                        "description": "Set deadlines and milestones for tasks, manually or automatically (based on project templates).",
                        "based_on_reviews": 3314
                    }
                ],
                "feature_count": 9
            },
            {
                "name": "Projects",
                "features": [
                    {
                        "name": "Planning",
                        "description": "Plan and create work breakdown structure (WBS) based on the scope of the project.",
                        "based_on_reviews": 3043
                    },
                    {
                        "name": "Project Map",
                        "description": "Projects can be mapped out with milestones, due dates, deliverables and interdependencies.",
                        "based_on_reviews": 2890
                    }
                ],
                "feature_count": 34
            }
        ],
        "product": {
            "slug": "asana"
        },
        "group_count": 43,
        "feature_count": 250
    },
    "meta": {
        "billable": true,
        "endpoint_family": "features"
    },
    "success": true
}
```

## Errors

| Status | Error | Description |
| --- | --- | --- |
| 404 | Not Found | The product has no feature page on G2. This response is not billable. |
| 422 | Validation Error | A parameter is missing or has an invalid value. This response is not billable. |
| 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. |

## More Scrappa resources

- [API documentation](https://scrappa.co/docs)
- [Full LLM-readable API reference](https://scrappa.co/llms-full.txt)
- [OpenAPI specification](https://scrappa.co/docs/api.json)
- [Pricing](https://scrappa.co/pricing)
