Discover/MakeMyTrip API
live

MakeMyTrip APImakemytrip.com

Search airports by name and retrieve cheapest flight fares across 30+ dates via the MakeMyTrip fare calendar API. Returns IATA codes, prices, and airline data.

Endpoint health
verified 1d ago
search_airports
get_fare_calendar
2/2 passing latest checkself-healing
Endpoints
2
Updated
26d ago

What is the MakeMyTrip API?

The MakeMyTrip API provides 2 endpoints for flight research: search_airports to resolve city and airport names into IATA codes, and get_fare_calendar to retrieve the cheapest available fares across 30+ dates for any origin-destination pair. Each fare object includes the travel date, price, currency, airline name, and airline codes, making it straightforward to identify the lowest-cost day to fly a given route.

Try it
Maximum number of results to return
City or airport name to search for (e.g., 'Delhi', 'Mumbai', 'London')
api.parse.bot/scraper/3733f7b7-76b9-4577-a772-d42e21cee06c/<endpoint>
Ready to send
Fill in the parameters and hit sign in to send to see live response data here.
Call it over HTTPgrab a free API key at signup
curl -X GET 'https://api.parse.bot/scraper/3733f7b7-76b9-4577-a772-d42e21cee06c/search_airports?limit=5&query=Delhi' \
  -H 'X-API-Key: $PARSE_API_KEY'
Python SDK · recommended

Typed, relational, agent-ready

A generated client with real types, enums, and the links between objects — the structure a flat JSON response can't carry. Autocompletes in your editor and reads cleanly to coding agents.

  • Fully typed · autocompletes
  • Objects link to objects
  • Typed errors & pagination

Typed Python client. Set up the SDK in your uv project, then pull this API’s typed client:

uv add parse-sdk
uv run parse init
uv run parse add --marketplace makemytrip-com-api

uv run parse add --marketplace pulls a pinned snapshot of this canonical API — it won’t change underneath you. To customize it, subscribe and swap to your own copy.

"""MakeMyTrip Flight Search — find airports and compare fares across dates."""
from parse_apis.makemytrip_flight_search_api import (
    MakeMyTrip, Currency, AirportNotFound,
)

client = MakeMyTrip()

# Search airports to resolve city names into IATA codes.
for airport in client.airports.search(query="Mumbai", limit=3):
    print(airport.airport_name, airport.iata_code, airport.country_code)

# Get a single airport to use as origin for the fare lookup.
origin = client.airports.search(query="Delhi", limit=1).first()
if origin:
    print(f"Origin: {origin.airport_name} ({origin.iata_code})")
    if origin.nearby_airports:
        for nb in origin.nearby_airports:
            print(f"  Nearby: {nb.airport_name} — {nb.distance}")

# Fetch fare calendar between two cities.
calendar = client.farecalendars.get(
    origin="DEL", destination="BOM", currency=Currency.USD,
)
print(f"Route: {calendar.route}, dates with fares: {calendar.total_dates_with_fares}")
if calendar.cheapest_fare:
    print(f"Cheapest: {calendar.cheapest_fare.price} {calendar.cheapest_fare.currency} on {calendar.cheapest_fare.date_display} ({calendar.cheapest_fare.airline})")

# Typed error handling — catch an input_not_found when query yields nothing.
try:
    client.airports.search(query="xyznonexistent", limit=1).first()
except AirportNotFound as exc:
    print(f"No airports found for query: {exc.query}")

print("exercised: airports.search / farecalendars.get / AirportNotFound")
All endpoints · 2 totalmissing one? ·

Search for airports and cities by name to get IATA codes. Returns matching airports with city, country, and nearby airport information. Use this to resolve human-readable city names into IATA codes before querying the fare calendar.

Input
ParamTypeDescription
limitintegerMaximum number of results to return
queryrequiredstringCity or airport name to search for (e.g., 'Delhi', 'Mumbai', 'London')
Response
{
  "type": "object",
  "fields": {
    "query": "string — the search query echoed back",
    "airports": "array of airport objects with iata_code, city_name, airport_name, country, country_code, and optional nearby_airports",
    "total_results": "integer — number of airports returned"
  },
  "sample": {
    "data": {
      "query": "Delhi",
      "airports": [
        {
          "country": "India",
          "city_name": "New Delhi",
          "iata_code": "DEL",
          "airport_name": "Indira Gandhi International Airport",
          "country_code": "IN",
          "nearby_airports": [
            {
              "distance": "29 km from New Delhi",
              "city_name": "Ghaziabad",
              "iata_code": "HDO",
              "airport_name": "Hindon Airport"
            }
          ]
        },
        {
          "country": "India",
          "city_name": "Jaipur",
          "iata_code": "JAI",
          "airport_name": "Jaipur Airport",
          "country_code": "IN"
        },
        {
          "country": "India",
          "city_name": "Chandigarh",
          "iata_code": "IXC",
          "airport_name": "Chandigarh Airport",
          "country_code": "IN"
        }
      ],
      "total_results": 3
    },
    "status": "success"
  }
}

About the MakeMyTrip API

Airport Search

The search_airports endpoint accepts a query string — a city or airport name such as "Delhi" or "London" — and returns an array of matching airport objects. Each object includes iata_code, city_name, airport_name, country, country_code, and an optional nearby_airports array for cities served by multiple airports. The total_results field tells you how many matches were returned. Use this endpoint first to confirm IATA codes before passing them to the fare calendar.

Fare Calendar

The get_fare_calendar endpoint takes origin and destination as IATA codes and an optional date parameter in YYYY-MM-DD format. It returns fares spanning approximately 30+ dates around that reference date, sorted ascending by price. Each fare object carries date, date_display, price, currency, airline, and airline_codes. The response also surfaces a cheapest_fare object (or null if no fares exist) and a total_dates_with_fares count, so you can quickly identify the single best date without iterating the full array.

Currency and Regional Coverage

The fare calendar is served through MakeMyTrip's global (UAE-region) infrastructure. The currency parameter accepts confirmed values of USD and AED; other currencies such as INR may return an error or empty results. Keep this in mind when building applications targeting Indian domestic routes — convert from USD or AED on your end rather than requesting INR directly.

Reliability & maintenanceVerified

The MakeMyTrip API is a managed, monitored endpoint for makemytrip.com — not a raw scraper you maintain. Every endpoint is automatically health-checked on a schedule, and when makemytrip.com changes and a check fails, the API is automatically queued for repair and re-verified. It is built to keep working as the site underneath it changes.

This isn't an official makemytrip.com API — it's an independent, maintained REST wrapper over public data. Where the source has no official API (or only a limited one), Parse gives you a stable contract over a source that never promised one, and keeps it current. Need a new endpoint or field? You can revise it yourself in plain English and the agent rebuilds it against the live site in minutes — contributing the change back to the shared API is free.

Last verified
1d ago
Latest check
2/2 endpoints passing
Maintenance
Monitored & self-healing
Will this API break when the source site changes?+
It's built not to. Every endpoint is health-checked on a schedule with automated test probes. When the source site changes and a check fails, the API is automatically queued for repair and re-verified — that's the self-healing layer. Each API page shows when its endpoints were last verified. And because marketplace APIs are shared, any fix reaches everyone using it.
Is this an official API from the source site?+
No — Parse APIs are independent, managed REST wrappers over publicly available data. That is the point: where a site has no official API (or only a limited one), Parse gives you a maintained, monitored endpoint for that data and keeps it working as the site changes — so you get a stable contract over a source that never promised one.
Can I fix or extend this API myself if I need a new endpoint or field?+
Yes — and you don't have to wait on us. This API was generated by the Parse agent, which stays attached. Describe the change in plain English ("add an endpoint that returns reviews", "fix the price field") in the revise box on the API page or via the revise_api MCP tool, and the agent rebuilds it against the live site in minutes. Contributing the change back to the public API is free.
What happens if I call an endpoint that has an issue?+
Errors are machine-readable: a bad call returns a clean status with the list of available endpoints and a repair hint, so an agent (or you) can recover or trigger a fix instead of failing silently. Confirmed failures feed the automatic repair queue.
Common use cases
  • Find the cheapest day to fly between two cities by scanning the full fare calendar and reading cheapest_fare.
  • Build a flexible-date flight search UI that displays a month's worth of prices per route using the fares array.
  • Resolve ambiguous city names to IATA codes programmatically before constructing fare queries with search_airports.
  • Track fare trends over time by polling get_fare_calendar for the same route on different reference dates.
  • Identify which airlines serve a route on low-fare dates using the airline and airline_codes fields.
  • Power a budget travel alert system that flags routes where price drops below a defined threshold.
  • Populate airport autocomplete fields in a booking tool using the airport_name, city_name, and iata_code fields from search_airports.
Pricing & limitsSee full pricing →
TierPriceCredits/monthRate limit
Free$0/mo1005 req/min
Hobby$30/mo1,00020 req/min
Developer$100/mo5,000100 req/min

One credit = one API call regardless of which marketplace API you call. Exceeding the rate limit returns a 429 response. Authenticate with the X-API-Key header.

Frequently asked questions
Does MakeMyTrip have an official developer API?+
MakeMyTrip does not publish a public developer API or API documentation for third-party use. There is no official API portal or key registration available as of now.
What does `get_fare_calendar` return and how many dates does it cover?+
It returns an array of fare objects sorted by price ascending, covering approximately 30 or more dates around the reference date you supply. Each object includes the travel date, a human-readable date_display, price, currency, airline, and airline_codes. The cheapest_fare field in the response pinpoints the single lowest-priced date without requiring you to sort the array yourself.
Which currencies work with the fare calendar?+
The confirmed working values for the currency parameter are USD and AED. The API is served from MakeMyTrip's UAE-region infrastructure, so requesting INR or other currencies may return an error or no results. If you need fares in another currency, retrieve them in USD or AED and convert client-side.
Does the API return one-way and round-trip fare options?+
The fare calendar currently returns one-way fares for the specified origin-destination pair. Round-trip pricing and multi-city itinerary data are not covered by the current endpoints. You can fork this API on Parse and revise it to add a round-trip fare endpoint.
Does the API include flight schedules, seat availability, or baggage details?+
No. The current endpoints cover airport lookup and per-date cheapest fare data only — fields like departure times, seat class, layover count, and baggage allowance are not included in the response. You can fork this API on Parse and revise it to add an endpoint that retrieves detailed flight listings for a specific date and route.
Page content last updated . Spec covers 2 endpoints from makemytrip.com.
Related APIs in TravelSee all →
skyscanner.co.in API
Search for flights worldwide and compare prices with autocomplete suggestions for airports and destinations. View price calendars to find the cheapest travel dates and explore real-time flight availability and pricing.
skyscanner.com API
Search for flights and compare prices across multiple booking agents, while exploring airports and cities to plan your trip. View daily and monthly price calendars to find the best deals for your travel dates.
us.trip.com API
Search for flights across Trip.com and view a low-price calendar to find the cheapest travel dates for your destination. Compare flight options and prices to book your next trip at the best rates available.
goibibo.com API
Search for real-time flights and compare fares on Goibibo by looking up airports, viewing live pricing tiers, and checking cancellation policies all in one place. Get instant access to flight listings and detailed fare rules to find the best deals on your next trip.
mapi.makemytrip.com API
Search for cities and discover popular flight destinations with autocomplete suggestions and travel recommendations. Access client configuration settings to customize your travel planning experience on MakeMyTrip.
kayak.com.hk API
Search for flights and compare prices across airlines and routes, including flexible-date searches across multiple origin airports. View monthly price calendars to find the cheapest travel dates and get real-time fare information for any route.
kayak.com API
Access Kayak flight data including price prediction calendars, nearby airport lookups, and popular destination suggestions. Find optimal booking windows across ~300 days of pricing data, discover alternative airports near any location, and explore top destinations from any origin.
almosafer.com API
Search and compare flights across multiple airlines with real-time pricing, filtering options, and a fare calendar to find the best deals. Look up airport details and airline information to plan your travel better.