# viagogo Categories API Documentation

<p><strong>viagogo Categories API Documentation</strong> Returns the public category and performer cards of the viagogo concert taxonomy. Each card has the public id, name, canonical URL, full-size image and the number of local events. Use the id as the category or performer filter of the Event Search endpoint. This is the public id source for all viagogo routes. Costs 1 credit per request. An error costs nothing.</p>

- **Documentation:** [https://scrappa.co/docs/viagogo-api/viagogo_categories](https://scrappa.co/docs/viagogo-api/viagogo_categories)
- **API group:** viagogo API
- **Endpoint:** `GET https://scrappa.co/api/viagogo/categories`

## 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.

## Example response

```json
{
    "data": {
        "results": [
            {
                "id": "398697",
                "url": "https://www.viagogo.com/Concert-Tickets/Pop-Rock/Pop/Olivia-Rodrigo-Tickets",
                "name": "Olivia Rodrigo",
                "image": null,
                "available_local_events": 12
            }
        ],
        "pagination": {
            "page": 1,
            "has_more": false,
            "page_size": 1,
            "total_results": 1
        }
    },
    "meta": {
        "billable": true,
        "endpoint_family": "categories"
    },
    "success": true
}
```

## Errors

| Status | Error | Description |
| --- | --- | --- |
| 503 | Upstream Unavailable | viagogo did not answer. Not billable. |

## 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)
