MakeMyTrip Airport Search API
Look up airports and cities by name, such as Delhi, with IATA codes, country and the airports nearby.
- 1 credit per call
- Failed calls are free
- Updated
- mmt.search.airports
{ "total_results": 9, "airports": [ { "airport_name": "Indira Gandhi International Airport", "city_name": "New Delhi", "country": "India", "country_code": "IN", "entry_type": "airport", "iata_code": "DEL", "nearby_airports": [ { "airport_name": "Hindon Airport", "city_name": "Ghaziabad", "country": "India", "country_code": "IN", "entry_type": "airport", "iata_code": "HDO" }, { "airport_name": "Noida International Airport", "city_name": "Noida", "country": "India", "country_code": "IN", "entry_type": "airport", "iata_code": "DXN" } ] }, { "airport_name": "Jaipur Airport", "city_name": "Jaipur", "country": "India", "country_code": "IN", "entry_type": "airport", "iata_code": "JAI" } ]}
| # | Airport | City | IATA | Country | Type | Country code |
|---|---|---|---|---|---|---|
| 1 | Indira Gandhi International Airport | New Delhi | DEL | India | airport | IN |
| 2 | Jaipur Airport | Jaipur | JAI | India | airport | IN |
| 3 | Chandigarh Airport | Chandigarh | IXC | India | airport | IN |
| 4 | Jolly Grant Airport | Dehradun | DED | India | airport | IN |
| 5 | Agra Airport | Agra | AGR | India | airport | IN |
| 6 | Gwalior Airport | Gwalior | GWL | India | airport | IN |
| 7 | Maharaja Agrasen International Airport | Hisar | HSS | India | airport | IN |
| 8 | Bareilly Airport | Bareilly | BEK | India | airport | IN |
| 9 | Pantnagar Airport | Pantnagar | PGH | India | airport | IN |
What you send
The input
object of the request, with every field the endpoint accepts.
| Field | Type | Required | What it does | Example |
|---|---|---|---|---|
| query | string | yes | A city or airport name, such as delhi. | delhi |
| adults | integer | no | Leave out. | |
| children | integer | no | Leave out. | |
| cursor | string | no | Leave out. | |
| max_results | integer | no | How many matches to return. | |
| page | string | no | Leave out. | |
| rooms | integer | no | Leave out. |
Fields it returns
What each record in the response holds, with the values from the sample above.
| Field | Type | What it is | Example |
|---|---|---|---|
| airports[].airport_name | string | The airport's name. | Indira Gandhi International Airport |
| airports[].city_name | string | The city it serves. | New Delhi |
| airports[].iata_code | string | The airport's three-letter code. | DEL |
| airports[].country | string | The country. | India |
| airports[].entry_type | string | Whether the entry is an airport or a city. | airport |
| airports[].country_code | string | The two-letter country code. | IN |
| airports[].nearby_airports | array | Other airports near it. | 3 records |
| airports[].nearby_airports[].airport_name | string | The nearby airport's name. | Hindon Airport |
| airports[].nearby_airports[].city_name | string | The city the nearby airport serves. | Ghaziabad |
| airports[].nearby_airports[].country | string | The nearby airport's country. | India |
| airports[].nearby_airports[].country_code | string | The two-letter country code. | IN |
| airports[].nearby_airports[].entry_type | string | Whether the entry is an airport or a city. | airport |
| airports[].nearby_airports[].iata_code | string | The nearby airport's three-letter code. | HDO |
| airports | array | The airports found. | 9 records |
| total_results | integer | How many airports were found. | 9 |
Call it from your code, or ask your agent
Set UPSCRAPE_API_KEY to your key and copy a working request.
curl --request POST \ --url https://data.upscrape.com/execute \ --header "Authorization: Bearer $UPSCRAPE_API_KEY" \ --header "Content-Type: application/json" \ --header "Prefer: wait=30" \ --data '{ "capability": "mmt.search.airports", "input": { "query": "delhi" }}'
import jsonimport osimport requestspayload = json.loads(r'''{ "capability": "mmt.search.airports", "input": { "query": "delhi" }}''')response = requests.post( "https://data.upscrape.com/execute", headers={ "Authorization": f"Bearer {os.environ['UPSCRAPE_API_KEY']}", "Content-Type": "application/json", "Prefer": "wait=30", }, json=payload,)response.raise_for_status()print(json.dumps(response.json(), indent=2))
const response = await fetch("https://data.upscrape.com/execute", { method: "POST", headers: { "Authorization": `Bearer ${process.env.UPSCRAPE_API_KEY}`, "Content-Type": "application/json", "Prefer": "wait=30", }, body: JSON.stringify({ "capability": "mmt.search.airports", "input": { "query": "delhi" }}),});if (!response.ok) { throw new Error(`Upscrape request failed: ${response.status}`);}console.log(JSON.stringify(await response.json(), null, 2));
https://data.upscrape.com/mcp
Use Upscrape to look up Delhi on MakeMyTrip and give me the airports with their IATA codes and the nearby airports.
More from the MakeMyTrip API
MakeMyTrip Airport Search API FAQ
The short answers. The docs have the long ones.
How much does the MakeMyTrip Airport Search API cost?
1 credit per successful call, shown before it runs. You buy credits once, and paid credits never expire.
What do I send?
Send query. The input fields below list every option with its type and limits.
Do I need a MakeMyTrip login?
No. It reads public MakeMyTrip data; nothing runs on your account.
Can my AI agent call it?
Yes, over MCP: the agent finds mmt.search.airports, checks its price and runs it with the same credits as the REST API.
Your first MakeMyTrip call is free.
Up to 100 free credits to start, no card needed.