# MMT packages search

Search MakeMyTrip holiday/package catalog by route, dates, and party size.

- Platform: [MakeMyTrip](https://docs.upscrape.com/docs/platforms/mmt)
- Capability ID: `mmt.packages.search`
- Cost: 1 credit per request
- Maximum runtime: 30 seconds
- Execute endpoint: `POST https://data.upscrape.com/execute`

## Request

Use the exact public capability ID in the shared execute envelope.

```bash
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 '{
  "input": {
    "destination": "Japan",
    "origin": "New Delhi",
    "start_date": "2026-11-18"
  },
  "capability": "mmt.packages.search"
}'
```

## Input


| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `adults` | `integer` | No | Only the source default of two adults is supported At least 1. |
| `children` | `integer` | No | Only zero children is supported by the qualified listing At least 0. |
| `currency` | `string` | No | Only source INR is supported |
| `cursor` | `string` | No | Native listing offset returned as cursor from the previous result |
| `destination` | `string` | Yes | Destination city or country name offered by the public holiday search, for example Japan |
| `end_date` | `string` | No | Unsupported by the public package listing; supplied values are rejected |
| `max_duration_days` | `integer` | No | Unsupported; nonzero values are rejected At least 1. |
| `max_price` | `integer` | No | Unsupported; nonzero values are rejected At least 0. |
| `max_results` | `integer` | No | Unsupported because the native page size is source-controlled; supplied values are rejected At least 1. |
| `min_duration_days` | `integer` | No | Unsupported; nonzero values are rejected At least 1. |
| `min_price` | `integer` | No | Unsupported; nonzero values are rejected At least 0. |
| `origin` | `string` | Yes | Origin city name used by the public holiday search, for example New Delhi |
| `package_type` | `string` | No | Unsupported; supplied values are rejected |
| `page` | `string` | No | Unsupported; use the returned cursor |
| `sort_by` | `string` | No | Unsupported; supplied values are rejected |
| `start_date` | `string` | Yes | Search date anchor in YYYY-MM-DD; each package returns its own source departure date |
| `type` | `string` | No | Unsupported; supplied values are rejected |

### Example input

```json
{
  "destination": "Japan",
  "origin": "New Delhi",
  "start_date": "2026-11-18"
}
```

## Response

Successful output is returned in `results[0].data`.

Raw platform output is intentionally open-ended and may evolve with the upstream source.

No example output is available for this capability.


## Execution behavior

A `200` response completed inline. A `202` response was queued; poll `GET /jobs/{id}` until the job reaches `completed` or `failed`. Use an `Idempotency-Key` when retrying must not create a duplicate logical job.

## Related documentation

- [Authentication](https://docs.upscrape.com/docs/api/authentication)
- [Jobs and results](https://docs.upscrape.com/docs/api/jobs)
- [Errors and retries](https://docs.upscrape.com/docs/api/errors)
- [Idempotency](https://docs.upscrape.com/docs/api/idempotency)
