Pointify

API reference · Fare calendar

Live fare calendar

POST/v1/calendar/search
Scope: calendarTest mode: sample dataStreams (SSE)

Prices each day from days_before to days_after around target_date and streams each day as soon as it is priced, cached days first.

URL
https://api.pointifytravels.com/v1/calendar/search
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
originbodystringRequired-IATA airport code.
destinationbodystringRequired-IATA airport code.
target_datebodystring (YYYY-MM-DD)Required-Center date.
days_beforebodyintegerOptional30Days before target_date.
days_afterbodyintegerOptional30Days after target_date.
cabin_classbodystringOptionaleconomyCabin.
Allowed values:economypremium_economybusinessfirst
search_typebodystringOptionalbothCash, points or both.
Allowed values:cashpointsboth

Request example

curl -N -X POST "https://api.pointifytravels.com/v1/calendar/search" \
  -H "Authorization: Bearer $POINTIFY_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"origin":"JFK","destination":"LAX","target_date":"2027-01-23","days_before":3,"days_after":3}'

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
calendar_dayOne day: { date, min_cash, min_points, source, is_cached }.
completeAlways last: { total_days }.

Example events

text/event-stream
event: calendar_day
data: {"date":"2027-01-23","min_cash":169,"min_points":11800,"source":"google_flights","is_cached":false}

event: complete
data: {"total_days":7}

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/calendar/search

Ready to find your best fare?

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

Create Free Account