# Airlines List

Returns a list of supported airlines with their IATA codes and names. Free endpoint.

- **Documentation:** [https://scrappa.co/docs/google-flights-api/google_flights_airlines](https://scrappa.co/docs/google-flights-api/google_flights_airlines)
- **API group:** Google Flights API
- **Endpoint:** `GET https://scrappa.co/api/flights/airlines`

## 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/flights/airlines"
```

## Example response

```json
{
    "airlines": [
        {
            "code": "AA",
            "name": "American Airlines"
        }
    ]
}
```

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