Discover/mapi.makemytrip.com API
live

mapi.makemytrip.com APImapi.makemytrip.com

Access MakeMyTrip city autocomplete, popular destinations, and flight fare configuration via 3 structured endpoints. Get IATA codes, visa info, and special fare types.

Endpoints
3
Updated
4mo ago
Try it
Search keyword for city or airport name (e.g. 'Delhi', 'Mumbai', 'Goa').
api.parse.bot/scraper/cc57f96d-2ca1-47d5-b6a6-65c69d10b5a7/<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/cc57f96d-2ca1-47d5-b6a6-65c69d10b5a7/get_city_autocomplete?query=Delhi' \
  -H 'X-API-Key: $PARSE_API_KEY'
All endpoints · 3 totalclick to expand

Search for cities and airports by keyword. Returns a list of matching locations with IATA codes, airport names, city names, and country information. Results are grouped under a SUGGESTIONS section.

Input
ParamTypeDescription
queryrequiredstringSearch keyword for city or airport name (e.g. 'Delhi', 'Mumbai', 'Goa').
Response
{
  "type": "object",
  "fields": {
    "results": "object containing section keys (e.g. SUGGESTIONS) each with a title and data array of airport/city objects",
    "sectionsOrder": "object mapping section keys to their display order integers"
  },
  "sample": {
    "data": {
      "results": {
        "SUGGESTIONS": {
          "data": [
            {
              "iata": "DEL",
              "country": "India",
              "cityName": "New Delhi",
              "locusCode": "CTDEL",
              "airportName": "Indira Gandhi International Airport",
              "countryCode": "IN"
            }
          ],
          "title": "SUGGESTIONS"
        }
      },
      "sectionsOrder": {
        "SUGGESTIONS": 1
      }
    },
    "status": "success"
  }
}

About the mapi.makemytrip.com API

The MakeMyTrip API exposes 3 endpoints covering city and airport lookup, popular travel destinations, and flight search configuration sourced from MakeMyTrip's platform. The get_city_autocomplete endpoint accepts a keyword and returns matching airports and cities with IATA codes grouped by section. The get_popular_destinations endpoint surfaces e-visa, visa-free, and visa-on-arrival destination lists without requiring any input parameters.

City and Airport Autocomplete

The get_city_autocomplete endpoint takes a single required query string — such as "Delhi", "Mumbai", or "Goa" — and returns a structured results object keyed by section (e.g. SUGGESTIONS). Each section includes a title and a data array of airport/city objects carrying IATA codes, airport names, city names, and country information. A sectionsOrder object maps each section key to an integer display order, useful for rendering results in the correct sequence.

Popular Destinations

The get_popular_destinations endpoint requires no inputs and returns destination objects organized under three named sections: SUGGESTIONS (general popular searches), E-VISA_DEST (destinations with e-visa availability), and VISA_FREE_DEST (visa-free or visa-on-arrival destinations). Like the autocomplete response, each section contains a title and a data array, and a sectionsOrder object defines presentation order. This makes the endpoint directly useful for building destination pickers or travel inspiration features.

Flight Search Client Configuration

The get_client_config endpoint returns platform-level configuration for flight search. The response includes a meta object with display settings such as defaultShowCount, a specialfarelist array covering fare types like Student, Armed Forces, and Corporate — each with a name, message, subTitle, pft code, tripSector, tripType, and fareClass arrays — and a specialfareColors object defining color values for selected and unselected fare-type UI states. This endpoint is particularly relevant when building flight search UIs that need to replicate MakeMyTrip's fare category logic.

Common use cases
  • Build a flight search autocomplete input that resolves city names to IATA codes using get_city_autocomplete.
  • Populate a destination inspiration widget with visa-categorized destinations from get_popular_destinations.
  • Filter e-visa destinations for users holding specific passports by consuming the E-VISA_DEST section.
  • Render special fare category UI (Student, Armed Forces, Corporate) with correct colors using get_client_config response fields.
  • Validate and normalize user-entered airport or city names against confirmed IATA codes before booking calls.
  • Surface visa-free travel options as a promotional feature using the VISA_FREE_DEST section data.
  • Replicate MakeMyTrip's fare type display logic in a custom travel booking front-end using specialfarelist and specialfareColors.
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 public developer API?+
MakeMyTrip does not publish a general-purpose public developer API for consumers or independent developers. Their platform data is not available through an officially documented REST API with public credentials.
What does `get_city_autocomplete` return beyond just a city name?+
Each result object in the SUGGESTIONS data array includes the IATA code, airport name, city name, and country information. Results are scoped to airports and cities matched by the query parameter, and the sectionsOrder field tells you how to order multiple sections if more than one is returned.
Does the `get_popular_destinations` endpoint cover international destinations or only domestic Indian routes?+
The endpoint returns both domestic and international destinations across the SUGGESTIONS, E-VISA_DEST, and VISA_FREE_DEST sections. However, the scope of destinations reflects what MakeMyTrip surfaces as popular at a given time and is not a filterable dataset by region or country. You can fork this API on Parse and revise it to add a dedicated regional-filter endpoint if your use case requires narrower geographic slices.
Does the API return live flight prices or availability?+
No flight pricing, fare amounts, or seat availability data are exposed by these three endpoints. The API covers city/airport lookup, destination categorization, and fare-type configuration metadata. You can fork it on Parse and revise it to add an endpoint targeting flight search result data if pricing is required.
How current is the data returned by these endpoints?+
The popular destinations and client configuration data reflect what MakeMyTrip's platform serves at the time of each API call. There is no timestamp or freshness field in the responses, so callers should treat the data as a point-in-time snapshot rather than a guaranteed real-time feed. Caching aggressively on stable data like get_client_config is reasonable, but get_popular_destinations content may shift seasonally.
Page content last updated . Spec covers 3 endpoints from mapi.makemytrip.com.
Related APIs in TravelSee all →
makemytrip.com API
Search for airports and compare the cheapest flight fares between any two cities across multiple dates with MakeMyTrip's fare calendar to find your best deal. Quickly identify the most affordable travel options and plan your trip with real-time pricing information.
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.
hotels.com API
Search for hotels across millions of properties, view room availability and pricing, and get detailed information about accommodations at specific destinations. Get location suggestions and discover popular travel spots to help plan your next getaway.
agoda.com API
agoda.com API
travelocity.com API
Search for travel destinations and browse hotel listings on Travelocity. Compare options by location, dates, and availability to find and book accommodation.
justfly.com API
Search flights and get airport suggestions to find the best deals on JustFly.com, with instant access to flight details and trending destinations. Discover discounted airfare offers and compare flight options all in one place.
culturetrip.com API
Discover travel inspiration and plan your next adventure by browsing curated travel articles, destination guides, and bookable trips organized by region and city. Search for specific destinations, compare trip dates and prices, and explore popular cities to find the perfect getaway.
despegar.com.ar API
Search and book flights on Despegar.com.ar by exploring real-time flight offers, autocompleting destinations, and comparing travel options across multiple routes. Get instant access to current promotions and home page deals to find the best prices for your next trip.