Rank the top destinations by travel demand
Ranks destinations by current demand share (a point-in-time snapshot). Optional destination_country (a Country:<code> selector, allowed only with level=city) narrows the ranking to that country’s destination cities.
Request
- Base URLhttps://api.gojinko.com
- URLhttps://api.gojinko.com/v1/destination
- Auth
- API key in header X-API-Key
- or HTTP bearer
Query parameters
Origin selector <Level>:<Code> (e.g. Country:US), or global for all origins. Required for the destination endpoints.
Start of the departure window (YYYY-MM-DD). Supply together with departure_date_to; omit both for no departure-date filter (all departure dates).
End of the departure window (YYYY-MM-DD). Supply together with departure_date_from; omit both for no departure-date filter (all departure dates).
Minimum trip length in nights (return_date − dep_date). Round-trips only.
Maximum trip length in nights (must be >= trip_duration_min).
Minimum advance-purchase window in days (dep_date − search_date): keep demand from searches made at least this many days before departure.
Maximum advance-purchase window in days (must be >= search_window_min).
Number of most-recent days of search activity aggregated into the demand level (min 2, default 7, max 90 — a 1-day window is the current day, whose data is incomplete; data is kept for 90 days).
Maximum number of result rows. Default 20, max 200.
Ranked output granularity: country (default) or city. Applies to destination/market (not audience).
Destination country selector Country:<code> (e.g. Country:FR). Optional and allowed ONLY together with level=city: it scopes the ranked destinations to a single country so that country’s cities are ranked. Must be a country — a City selector is rejected.
Response
Destination demand ranking
Example response
{
"rows": [
{
"rank": 1,
"destination": "City:PAR",
"share": 0.182
}
]
}Changes
No recorded changes to this operation across all 1 revision of this API.