# YouTube Locales

Get the available locale combinations supported by Scrappa YouTube endpoints.

- **Documentation:** [https://scrappa.co/docs/youtube-api/youtube_locales](https://scrappa.co/docs/youtube-api/youtube_locales)
- **API group:** YouTube API
- **Endpoint:** `GET https://scrappa.co/api/youtube/locales`

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

## Example request

```bash
#!/bin/bash

curl -X GET \
    -H "x-api-key: YOUR_API_KEY_HERE" \
    "https://scrappa.co/api/youtube/locales"
```

## Example response

```json
{
    "locales": [
        {
            "hl": "en",
            "gl": "US"
        },
        {
            "hl": "de",
            "gl": "DE"
        }
    ]
}
```

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