# AllEvents

Best for: Community events, festivals and fairs on a city page. Category: Events and tickets.

Community events, festivals and fairs on an AllEvents city page: name, dates, venue, address, coordinates, image and status.

- Look up by: A city slug as AllEvents writes it (nashville, toronto) and an optional category
- Coverage: AllEvents city pages, worldwide
- Cost: 2 credits a call; failed and empty calls are free
- Answers: Search

## Endpoints

- `POST /v1/events/allevents/search`: AllEvents search, 2 credits. https://scrapercompany.com/docs/reference/allevents-search

## Example

AllEvents search (`POST /v1/events/allevents/search`):

```bash
curl -X POST "https://api.scrapercompany.com/v1/events/allevents/search" \
  -H "x-api-key: $SCRAPERCOMPANY_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "city": "string"
  }'
```

## Good to know

- An empty page and failed requests are free.

- [All data sources](https://scrapercompany.com/docs/data-sources)
