# Bandsintown City Resolution API Documentation

Resolve a public Bandsintown city to its id, coordinates, country and slug. The id and coordinates feed the event feeds unchanged.

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

## 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 |
| --- | --- | --- | --- |
| `city` | string | Yes | City name, for example new york. |

## Example request

```bash
#!/bin/bash

curl -X GET \
    -H "x-api-key: YOUR_API_KEY_HERE" \
    "https://scrappa.co/api/bandsintown/city?city=new+york"
```

## Example response

```json
{
    "success": true,
    "data": {
        "cities": [
            {
                "id": "5128581",
                "city": "New York",
                "latitude": 40.7143,
                "longitude": -74.006
            }
        ]
    },
    "meta": {
        "endpoint_family": "resolve_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)
