# Bandsintown Events By City API Documentation

List upcoming public events for coordinates returned by city resolution. Each row carries numeric ids, artist and venue, an ISO 8601 start time, venue timezone, RSVP count, a full-size image and the event URL. Follow next_page_url verbatim; a null value ends the feed. 1 credit per success.

- **Documentation:** [https://scrappa.co/docs/bandsintown-api/bandsintown_events_by_city](https://scrappa.co/docs/bandsintown-api/bandsintown_events_by_city)
- **API group:** Bandsintown API
- **Endpoint:** `GET https://scrappa.co/api/bandsintown/events`

## 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 |
| --- | --- | --- | --- |
| `latitude` | number | Yes | Latitude from city resolution. |
| `longitude` | number | Yes | Longitude from city resolution. |
| `page` | integer | No | 1-indexed page. Defaults to 1. |
| `city_id` | string | No | Optional city id from city resolution. |
| `next_page_url` | string | No | Continuation URL returned by a previous call. Sent verbatim. |
| `locale` | string | No | de, en, es, fr, pt or ja. Defaults to en. |

## Example request

```bash
#!/bin/bash

curl -X GET \
    -H "x-api-key: YOUR_API_KEY_HERE" \
    "https://scrappa.co/api/bandsintown/events?latitude=40.7128&longitude=-74.006&page=1"
```

## Example response

```json
{
    "success": true,
    "data": {
        "events": [
            {
                "id": "108949571",
                "artist_name": "Reginald Chapman"
            }
        ],
        "page": 1,
        "next_page_url": null
    },
    "meta": {
        "endpoint_family": "events_by_city",
        "billable": true
    }
}
```

## Errors

| Status | Error | Description |
| --- | --- | --- |
|  | Error | Failure code and message. Failed requests are not billed. |

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