# Bandsintown Past Events API Documentation

List past public events of one artist by the numeric id from artist search. Rows carry ISO dates, timezone, venue, location and event URL. An optional startDate moves the window and next_page_url is the cursor. 1 credit per success.

- **Documentation:** [https://scrappa.co/docs/bandsintown-api/bandsintown_past_events](https://scrappa.co/docs/bandsintown-api/bandsintown_past_events)
- **API group:** Bandsintown API
- **Endpoint:** `GET https://scrappa.co/api/bandsintown/artist/{id}/past-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 |
| --- | --- | --- | --- |
| `id` | integer | Yes | Numeric artist id from artist search. |
| `startDate` | string | No | Optional ISO 8601 cursor for the past-event window. |
| `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/artist/{id}/past-events?id=99"
```

## Example response

```json
{
    "success": true,
    "data": {
        "events": [],
        "next_page_url": null
    },
    "meta": {
        "endpoint_family": "past_events",
        "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)
