# AllEvents search: `POST /v1/events/allevents/search`

Cost: 2 credits (2 per page (an empty page and failed requests are free)). Docs: https://scrapercompany.com/docs/reference/allevents-search

Community events, festivals and fairs on an AllEvents.in city page.

Venue, address and coordinates per event. 2 credits; an empty page is free.

Request body (JSON):

- `city` (string; required; pattern ^[A-Za-z0-9][A-Za-z0-9 -]{0,60}$): City slug as in the site's URL, e.g. 'nashville', 'toronto'
- `category` (string | null; optional; pattern ^[A-Za-z0-9][A-Za-z0-9 -]{0,60}$): Category slug (e.g. 'music', 'festivals'); default all

Base URL: `https://api.scrapercompany.com`. Auth: send your key in the `x-api-key` header. A failed request (4xx or 5xx) or an empty result costs 0 credits.

- [Full API reference as one Markdown file](https://scrapercompany.com/llms-full.txt)
- [OpenAPI spec](https://scrapercompany.com/openapi.json)
