MakeMyTrip Packages Search
mmt.packages.search
Search MakeMyTrip holiday packages from an Indian city to a destination, such as New Delhi to Japan, from a start date.
At a glance
- Endpoint ID
mmt.packages.search- Price
- 1 credit per call; failed calls are free
- Runs for up to
- 30 seconds
Request
Send the endpoint ID as capability and its fields as input. Set UPSCRAPE_API_KEY to your key first.
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.packages.search", "input": { "destination": "Japan", "origin": "New Delhi", "start_date": "2026-11-18" }}'
import jsonimport osimport requestspayload = json.loads(r'''{ "capability": "mmt.packages.search", "input": { "destination": "Japan", "origin": "New Delhi", "start_date": "2026-11-18" }}''')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.packages.search", "input": { "destination": "Japan", "origin": "New Delhi", "start_date": "2026-11-18" }}),});if (!response.ok) { throw new Error(`Upscrape request failed: ${response.status}`);}console.log(JSON.stringify(await response.json(), null, 2));
Input
| Field | Type | Required | What it does | Example |
|---|---|---|---|---|
destination |
string | yes | Where you want to go, a city or a country, such as Japan. | Japan |
origin |
string | yes | The Indian city you travel from, such as New Delhi. | New Delhi |
start_date |
string | yes | The date to search from, YYYY-MM-DD. Each package shows its own departure date. | 2026-11-18 |
adults |
integer | no | Packages are priced for two adults; leave out or send 2. | |
children |
integer | no | Leave out or send 0. | |
currency |
string | no | Prices are in Indian rupees; leave out or send INR. | |
cursor |
string | no | Pass cursor from the last response to get more packages. | |
end_date |
string | no | Leave out. | |
max_duration_days |
integer | no | Leave out. | |
max_price |
integer | no | Leave out. | |
max_results |
integer | no | Leave out: MakeMyTrip sets how many packages a page holds. | |
min_duration_days |
integer | no | Leave out. | |
min_price |
integer | no | Leave out. | |
package_type |
string | no | Leave out. | |
page |
string | no | Leave out; use cursor for more packages. | |
sort_by |
string | no | Leave out. | |
type |
string | no | Leave out. |
Response
A finished call answers with HTTP 200; the data is in results[0].data, and billing.credits_charged is what it cost. A call still running after the wait answers 202: see jobs and results.
This is results[0].data from a real run:
{ "search_date": "2026-11-18", "total_count": 50, "total_pages": 0, "packages": [ { "name": "Cherry Blossom - Indian Group Tour", "price": 279230, "currency": "INR", "destination": "Japan", "duration_days": 8, "end_date": "", "listing_class_id": "4299", "origin": "New Delhi", "package_id": "63727", "price_basis": "listed_per_person", "start_date": "2027-03-15", "total_price": 558460, "total_price_basis": "listed_party_total", "type": "FIT", "variant_id": "FLIGHT_2FEBDDA7", "highlights": [ "Round Trip Flights", "5 Star, 4 Star, 3 Star Hotels" ], "inclusions": [ "Round Trip Flights", "5 Star, 4 Star, 3 Star Hotels" ] }, { "name": "Essence of Japan - Indian Group Tour", "price": 301211, "currency": "INR", "destination": "Japan", "duration_days": 7, "end_date": "", "listing_class_id": "4", "origin": "New Delhi", "package_id": "63278", "price_basis": "listed_per_person", "start_date": "2026-12-27", "total_price": 602422, "total_price_basis": "listed_party_total", "type": "FIT", "variant_id": "FLIGHT_2FEBDDA7", "highlights": [ "Round Trip Flights", "3 Star Hotels" ], "inclusions": [ "Round Trip Flights", "3 Star Hotels" ] } ]}
Fields
| Field | Type | What it is | Example |
|---|---|---|---|
packages[].name |
string | The package's name. | Cherry Blossom - Indian Group Tour |
packages[].price |
integer | The price per person. | 279,230 |
packages[].currency |
string | The currency of the prices. | INR |
packages[].destination |
string | Where the package goes. | Japan |
packages[].duration_days |
integer | How many days it lasts. | 8 |
packages[].end_date |
string | The trip's end date, when given. | |
packages[].highlights |
array | What the package highlights. | Round Trip Flights, 5 Star, 4 Star, 3 Star Hotels, 8 Activities |
packages[].inclusions |
array | What the price includes. | Round Trip Flights, 5 Star, 4 Star, 3 Star Hotels, 8 Activities |
packages[].listing_class_id |
string | 4299 | |
packages[].origin |
string | Where the trip starts. | New Delhi |
packages[].package_id |
string | MakeMyTrip's ID for the package. | 63727 |
packages[].price_basis |
string | How the price is counted, such as per person. | listed_per_person |
packages[].start_date |
string | The trip's start date. | 2027-03-15 |
packages[].total_price |
integer | The price for the whole party. | 558,460 |
packages[].total_price_basis |
string | How the total is counted, such as for the whole party. | listed_party_total |
packages[].type |
string | FIT | |
packages[].variant_id |
string | FLIGHT_2FEBDDA7 | |
packages |
array | The holiday packages found. | 8 records |
search_date |
string | The travel date searched. | 2026-11-18 |
total_count |
integer | How many packages match in total. | 50 |
total_pages |
integer | 0 |
If a call fails
A failed call costs nothing. The response carries an error.code you can branch on; Errors and retries lists every code and which ones to retry.
Other MakeMyTrip endpoints
Something missing or unclear? Ask the team that builds the MakeMyTrip endpoints.