PeumeAPI

Places & travel

Rank Traveller Types

Split travel demand for a destination into solo, couple, family and group travellers.

$0.0075 per call

Call it

curl https://api.peume.com/v1/call/rank-traveller-types \
  -H "Authorization: Bearer $PEUME_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "input": {
    "destination": "your destination"
  }
}'

Answer: {"id": "run_…", "status": "completed", "cost_usd": …, "output": {…}}. Long jobs answer 202 with a run id to read later. From an AI agent, connect the MCP server and ask for this by name: rank-traveller-types.

Parameters

originstring

Origin selector `<Level>:<Code>` (e.g. `Country:US`), or `global` for all origins. Required for the destination endpoints.

destinationRequiredstring

Destination selector `<Level>:<Code>`. Required for this endpoint.

departure_date_fromstring

Start of the departure window (YYYY-MM-DD). Supply together with departure_date_to; omit both for no departure-date filter (all departure dates).

departure_date_tostring

End of the departure window (YYYY-MM-DD). Supply together with departure_date_from; omit both for no departure-date filter (all departure dates).

traveler_typestring

Solo · Couple · Group · Family

trip_typestring

oneway · roundtrip

trip_duration_minstring

Minimum trip length in nights (return_date − dep_date). Round-trips only.

trip_duration_maxstring

Maximum trip length in nights (must be >= trip_duration_min).

search_window_minstring

Minimum advance-purchase window in days (dep_date − search_date): keep demand from searches made at least this many days before departure.

search_window_maxstring

Maximum advance-purchase window in days (must be >= search_window_min).

snapshot_window_daysinteger

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).

limitinteger

Maximum number of result rows. Default 20, max 200.

Start free · $1 of calls included

Every API your product needs. One key.

7,267 endpoints, one bill, and you only pay for calls that work.