Rank traveler audiences for a destination
Ranks traveler audiences by current demand share (a point-in-time snapshot). Requires destination.
Request
- Base URLhttps://api.gojinko.com
- URLhttps://api.gojinko.com/v1/audience
- 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.
Destination selector <Level>:<Code>. Required for this endpoint.
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.
Response
Audience demand ranking
Example response
{
"rows": [
{
"rank": 1,
"audience": "Couple",
"share": 0.37
}
]
}Changes
No recorded changes to this operation across all 1 revision of this API.