> For the complete documentation index, see [llms.txt](https://docs.travu.africa/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.travu.africa/master-2/trips/get-list-of-airports.md).

# Get List of Airports

This API Endpoint makes a GET request to the Travu API service in other to get a response containing the full state NAMES and STRINGS of airports as supported by the Travu API, which is used as the Departure and Destination in [Get Bus Trips](/master-1/trips.md#body-payload).

## ENDPOINT URL

**REQUEST TYPE**: GET

**LIVE & TEST BASE URL**: <https://api.travu.africa/api/v1/flight-airports>

## RESPONSE

The Response for this request should bring the **AIRPORT LIST** and **DETAILS** in the below format;

```json
[
    {
        "AirportCode": "HZO",
        "AirportName": "HO Airport (HZO)",
        "CityCountry": "HO, Ghana",
        "City": "HO",
        "Country": "Ghana"
    },
    {
        "AirportCode": "AZR",
        "AirportName": "Adrar Airport (AZR)",
        "CityCountry": "Adrar, Algeria",
        "City": "Adrar",
        "Country": "Algeria"
    },
    {
        "AirportCode": "ALG",
        "AirportName": "Algiers (ALG)",
        "CityCountry": "Algiers, Algeria",
        "City": "Algiers",
        "Country": "Algeria"
    },
    {
        "AirportCode": "AAE",
        "AirportName": "Annaba airport (AAE)",
        "CityCountry": "Annaba, Algeria",
        "City": "Annaba",
        "Country": "Algeria"
    },
    {
        "AirportCode": "BLJ",
        "AirportName": "Batna airport (BLJ)",
        "CityCountry": "Batna, Algeria",
        "City": "Batna",
        "Country": "Algeria"
    }
]
```


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.travu.africa/master-2/trips/get-list-of-airports.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
