> For the complete documentation index, see [llms.txt](https://docs.aviowiki.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.aviowiki.com/free-endpoints/free-airport-endpoints/airport-data.md).

# Airport data

## Get airport data by ICAO code

<mark style="color:blue;">`GET`</mark> `https://api.aviowiki.com/free/airports/icao/{icao}`

#### Path Parameters

| Name                                   | Type   | Description              |
| -------------------------------------- | ------ | ------------------------ |
| icao<mark style="color:red;">\*</mark> | String | ICAO code of the airport |

#### Headers

| Name          | Type   | Description                              |
| ------------- | ------ | ---------------------------------------- |
| Authorization | String | An API Token using Bearer authorization. |

{% tabs %}
{% tab title="200: OK " %}

```javascript
{
    // Response
}
```

{% endtab %}

{% tab title="404: Not Found " %}

```javascript
{
    // Response
}
```

{% endtab %}
{% endtabs %}

## Get airport data by IATA code

<mark style="color:blue;">`GET`</mark> `https://api.aviowiki.com/free/airports/iata/{iata}`

#### Path Parameters

| Name                                   | Type   | Description         |
| -------------------------------------- | ------ | ------------------- |
| iata<mark style="color:red;">\*</mark> | String | IATA of the airport |

#### Headers

| Name          | Type   | Description                              |
| ------------- | ------ | ---------------------------------------- |
| Authorization | String | An API Token using Bearer authorization. |

{% tabs %}
{% tab title="200: OK " %}

```javascript
{
    // Response
}
```

{% endtab %}

{% tab title="404: Not Found " %}

```javascript
{
    // Response
}
```

{% endtab %}
{% endtabs %}

## Get airport data by local identifier code

<mark style="color:blue;">`GET`</mark> `https://api.aviowiki.com/free/airports/localIdentifier/{localIdentifier}`

#### Path Parameters

| Name                                              | Type   | Description                     |
| ------------------------------------------------- | ------ | ------------------------------- |
| localIdentifier<mark style="color:red;">\*</mark> | String | Local identifier of the airport |

#### Headers

| Name          | Type   | Description                              |
| ------------- | ------ | ---------------------------------------- |
| Authorization | String | An API Token using Bearer authorization. |

{% tabs %}
{% tab title="200: OK " %}

```javascript
{
    // Response
}
```

{% endtab %}

{% tab title="404: Not Found " %}

```javascript
{
    // Response
}
```

{% endtab %}
{% endtabs %}
