Pointify

API reference · Flights

Search a multi-city trip

POST/v1/search/multi-city
Scope: searchTest mode: sample dataStreams (SSE)

Searches every leg of an open-jaw or multi-stop trip at the same time. Leg dates must be today or later and in order. When a leg is much cheaper from a nearby airport, a positioning event suggests it.

URL
https://api.pointifytravels.com/v1/search/multi-city
Access
Any key. This endpoint does not need a scope.
Test keys
Sample data in the live response shape. Never calls a supplier. Free, up to 60 requests a minute. Test mode
Live keys
Each successful call counts toward your daily quota. Limits

Parameters

Body parameters

Sent as a JSON object with Content-Type: application/json.

Body parameters
NameInTypeRequiredDefaultDescription
legsbodyarray of { origin, destination, date }Required-2 to 6 legs, in the order flown. Dates YYYY-MM-DD.
passengersbodyintegerOptional1Adults, 1 to 9.
cabin_classbodystringOptionaleconomyCabin for every leg.
Allowed values:economypremium_economybusinessfirst
search_typebodystringOptionalbothCash, points or both.
Allowed values:cashpointsboth

Request example

curl -N -X POST "https://api.pointifytravels.com/v1/search/multi-city" \
  -H "Authorization: Bearer $POINTIFY_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"legs":[{"origin":"JFK","destination":"LHR","date":"2027-01-23"},{"origin":"LHR","destination":"CDG","date":"2027-01-27"}],"cabin_class":"economy"}'

Response

A stream of Server-Sent Events. Each event is an event: line and a data: line with JSON, followed by a blank line. complete always arrives last. Reading streams

Events in this stream
EventMeaning
leg_progressA leg started: { leg_index, origin, destination, status }.
leg_resultAll options for one leg: { leg_index, origin, destination, date, deals: [...] }.
positioningOptional: cheaper nearby airports for a leg: { leg_index, suggestions }.
completeAlways last: { total_legs, total_results, total_price_cash }.

Example events

text/event-stream
event: leg_progress
data: {"leg_index":0,"origin":"JFK","destination":"LHR","status":"searching"}

event: leg_result
data: {"leg_index":0,"origin":"JFK","destination":"LHR","date":"2027-01-23","deals":["…same shape as a flight result…"]}

event: complete
data: {"total_legs":2,"total_results":31,"total_price_cash":912.3}

Errors use the shape in Errors. Invalid input returns 422 with a list of problems.

Try it

Try it

Use a test key. A live key uses your daily quota.

No key yet? Create a test key in the dashboard. Test keys are free on every plan.

Path and query values go in the URL; everything else is sent as the JSON body.

POSThttps://api.pointifytravels.com/v1/search/multi-city

Ready to find your best fare?

Create a free account to save your travel plans and explore cash and points options.

Create Free Account