Search flight fares (SSE stream)

Fetch fares for a specific flight solution and stream them as Server-Sent Events. Requires a Mercury UUID for searchSolutionId (the value emitted as id by POST /v1/flights/search); unknown or expired identifiers return 410 OFFER_EXPIRED. Each data: event is a JSON-encoded fare object whose fareId is a canonical Mercury UUID. The stream ends with event: done.

Frame vocabulary (event: names on this stream):

  • solution — one priced flight fare.
  • done — terminal frame; the stream is exhausted (data: {}).
  • error — terminal frame on failure; data: {"code": ..., "message": ...}.
Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Body Params

POST body for POST /v1/flights/fares.

string
required

Search-solutions ID from the search stream.

Provider lineage key from the parent search result.

Responses

401

Missing or invalid authentication

410

Search solution expired; refresh search

422

Invalid fare search parameters

503

Flight fare provider unavailable

Language
Credentials
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
text/event-stream