Discover/makemytrip.com API
live

makemytrip.com 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.

Endpoints
2
Updated
1mo ago
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.
Use it in your codegrab a free API key at signup
curl -X GET 'https://api.parse.bot/scraper/3733f7b7-76b9-4577-a772-d42e21cee06c/search_airports?limit=5&query=Mumbai' \
  -H 'X-API-Key: $PARSE_API_KEY'
All endpoints · 2 totalclick to expand

Search for airports and cities by name to get IATA codes. Use this to find the correct IATA airport codes before searching for fares. Returns matching airports with city, country, and nearby airport information.

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": "Mumbai",
      "airports": [
        {
          "country": "India",
          "city_name": "Mumbai",
          "iata_code": "BOM",
          "airport_name": "Chhatrapati Shivaji International Airport",
          "country_code": "IN",
          "nearby_airports": [
            {
              "distance": "22 km from Mumbai",
              "city_name": "Navi Mumbai",
              "iata_code": "NMI",
              "airport_name": "Navi Mumbai International Airport"
            }
          ]
        },
        {
          "country": "India",
          "city_name": "Surat",
          "iata_code": "STV",
          "airport_name": "Surat International Airport",
          "country_code": "IN"
        }
      ],
      "total_results": 4
    },
    "status": "success"
  }
}

About the makemytrip.com 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.

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.

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,000250 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.
wizzair.com API
Search for Wizz Air flights and compare prices across dates with interactive price calendars, while discovering available routes and airports to plan your budget travel. Find the best fares for your desired destination and access complete flight timetables for any route.