# Airports API v2 API

> Airports API v2 API on Apizie: 5 endpoints (All airports, Airport(s) by country code., Nearest airport(s) by geo coordinates., Nearest airport(s) by airport id., …) returned as clean JSON through one API key. Send your own provider key in the x-upstream-key header. Call it over REST at https://www.apizie.tech/v1/transport:transavia/{endpoint} or from Claude, ChatGPT and Cursor through the Apizie MCP server. Free plan: 1,000 requests a month.

- Project key: `transport:transavia`
- Category: Transport
- Status: byok
- Source: https://transavia.com
- Page: https://www.apizie.tech/api/transport/transavia
- OpenAPI: https://www.apizie.tech/api/transport/transavia/openapi.json

Returns all airports

## Endpoints

### All airports
`GET https://www.apizie.tech/v1/transport:transavia/58d8bcb7a9e6240e200cff24` (byok)

### Airport(s) by country code.
`GET https://www.apizie.tech/v1/transport:transavia/58d8bcb8a9e6240e200cff26` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| countryCode | string | yes | Comma-separated list of country codes (2-character ISO 3166-1). More than 3 country codes is not allowed. |

### Nearest airport(s) by geo coordinates.
`GET https://www.apizie.tech/v1/transport:transavia/58d8bcb8a9e6240e200cff27` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| latitude | string | no | Latitude in decimals, lower than -90.0 and higher than 90.0 is not allowed. |
| longitude | string | no | Longitude in decimals, lower than -180.0 and higher than 180.0 is not allowed. |
| maxDistanceInKm | string | no | Maximum distance in kilometers, lower than 1 and higher than 500 is not allowed. If not set, max value is applied. |
| limit | string | no | Limits the result, lower than 0 is not allowed. If not set, the result is not limited. |

### Nearest airport(s) by airport id.
`GET https://www.apizie.tech/v1/transport:transavia/58d8bcb8a9e6240e200cff28` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| id | string | yes | Airport (IATA code) to search nearest airports for. |
| maxDistanceInKm | string | no | Maximum distance in kilometers, lower than 1 and higher than 500 is not allowed. If not set, max value is applied. |
| limit | string | no | Limits the result, lower than 0 is not allowed. If not set, the result is not limited. |

### Airport by id.
`GET https://www.apizie.tech/v1/transport:transavia/58d8bcb7a9e6240e200cff25` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| id | string | yes | Airport code (3-character IATA code). |

## Example
```
curl "https://www.apizie.tech/v1/transport:transavia/58d8bcb7a9e6240e200cff24" \
  -H "x-api-key: $APIZIE_KEY" \
  -H "x-upstream-key: $PROVIDER_KEY"
```

## FAQ

### How do I call the Airports API v2 API?
Create a free Apizie key, then send GET https://www.apizie.tech/v1/transport:transavia/58d8bcb7a9e6240e200cff24 with the header x-api-key. Every endpoint returns { project, data, timestamp }.

### Is the Airports API v2 API free on Apizie?
Yes. The Free plan includes 1,000 requests a month at 100 requests a minute, no credit card. Airports API v2 itself also needs your own key from transavia.com.

### Can AI agents use the Airports API v2 API?
Yes. Add the Apizie MCP server (https://www.apizie.tech/mcp) to Claude, ChatGPT, Cursor or VS Code, then ask in plain language. The agent calls run_scraper with project key transport:transavia.

### What is the status of the Airports API v2 API?
Needs your own provider key (bring your own key)
