# Eventim Facets API Documentation

<p><strong>Eventim Facets API Documentation</strong> Look up public Eventim ids for chaining into other routes. Set type to locations, attractions or content and add a search term. A location result carries its location id, name, city and the public city slug. Every result lists the live top-level category facet values. Each successful response costs 1 credit. Failed requests and empty pages cost nothing.</p>

- **Documentation:** [https://scrappa.co/docs/eventim-api/eventim_facets](https://scrappa.co/docs/eventim-api/eventim_facets)
- **API group:** Eventim API
- **Endpoint:** `GET https://scrappa.co/api/eventim/facets`

## 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 |
| --- | --- | --- | --- |
| `type` | string | Yes | Id source: locations, attractions or content. Required. |
| `q` | string | No | Search term for the id source, e.g. Berlin or Beatles. |
| `page` | integer | No | Page number, from 1. Defaults to 1. |

## Example response

```json
{
    "data": {
        "type": "locations",
        "results": [
            {
                "id": "berlin-1",
                "city": "Berlin",
                "name": "Berlin",
                "slug": "berlin-1"
            }
        ],
        "categories": [
            "Konzerte",
            "Kultur",
            "Freizeit",
            "Humor",
            "Musical & Show",
            "Sport",
            "Ticket-Gutschein",
            "VIP & Extras"
        ],
        "pagination": {
            "page": 1,
            "page_size": 1,
            "total_pages": 12,
            "total_results": 12
        }
    },
    "meta": {
        "billable": true,
        "endpoint_family": "facets"
    },
    "success": true
}
```

## Errors

| Status | Error | Description |
| --- | --- | --- |
| 422 | Validation Error | The type is missing or invalid. This response is not billable. |
| 503 | Upstream Unavailable | Eventim did not answer. This response is 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)
