# viagogo Event Search API Documentation

<p><strong>viagogo Event Search API Documentation</strong> Find viagogo events by a public category or performer id, by city or by keyword. Category and performer ids come from the Categories endpoint. Each event has its id, name, canonical URL, ISO start date, venue, city, country, availability flags and full-size image. A keyword search and a city browse return the first page only. All sources honour the start_date and end_date filters. These filters use UTC days. A date range with no rows on the first page returns 422 and is not billed. Later pages may be empty and answer 200. Pagination reports the source totals and remaining pages. The price_range field is null here; use the Price Ranges endpoint for prices. Event detail and lineup are not offered because the detail pages answer with a path-level challenge. Costs 1 credit per request. An empty result and every error cost nothing.</p>

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

## 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 |
| --- | --- | --- | --- |
| `q` | string | No | Keyword such as an artist or team. First page only. Not with city, category or performer. |
| `city` | string | No | City path from the supported list, e.g. atlanta. |
| `mode` | string | No | City source: trending or explore. Needs city. |
| `category` | integer | No | Public category id from the Categories endpoint. Defaults to 3. |
| `performer` | integer | No | Public performer category id from the Categories endpoint. |
| `start_date` | string | No | First UTC day, YYYY-MM-DD. Defaults to today. Filters all sources. |
| `end_date` | string | No | Last UTC day, YYYY-MM-DD. |
| `page` | integer | No | Page number, from 1. First page only for q and city. |

## Example response

```json
{
    "data": {
        "venues": [],
        "results": [
            {
                "id": "160901189",
                "url": "https://www.viagogo.com/E-160901189",
                "name": "Olivia Rodrigo",
                "image": null,
                "start": "2026-12-04T20:00:00Z",
                "venue": {
                    "id": "_V-12345",
                    "city": "Atlanta",
                    "name": "State Farm Arena",
                    "country_code": "US"
                },
                "is_tbd": false,
                "category": null,
                "start_utc": "2026-12-04T20:00:00Z",
                "start_date": "2026-12-04",
                "start_time": "20:00",
                "price_range": null,
                "availability": {
                    "price_class": null,
                    "active_listings": null,
                    "has_active_listings": true,
                    "allow_public_purchase": true
                },
                "is_date_confirmed": true,
                "is_time_confirmed": true
            }
        ],
        "pagination": {
            "page": 1,
            "has_more": false,
            "page_size": 1,
            "total_results": 1
        }
    },
    "meta": {
        "billable": true,
        "endpoint_family": "events_search"
    },
    "success": true
}
```

## Errors

| Status | Error | Description |
| --- | --- | --- |
| 422 | Validation Error | A parameter is missing, invalid, not supported or cannot be combined. Not billable. |
| 422 | Unsupported Date Range | No events match the requested days on the first page. Not billable. |
| 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)
