API reference · Fare calendar
Cached fares by day
/v1/calendar/faresReturns the cheapest fare we have cached for each day from start_date to end_date (at most 62 days apart; a reversed or longer range is a 400). Days we have not priced yet come back with price null and are priced in the background, so calling again a few minutes later fills them in. source tells you which: "cache" (all days known), "partial" or "warming" (none yet).
- URL
- https://api.pointifytravels.com/v1/calendar/fares
- Access
- A key with the
calendarscope (Calendar). New keys have it. - 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
Query parameters
Sent in the query string.
| Name | In | Type | Required | Default | Description |
|---|---|---|---|---|---|
origin | query | string | Required | - | IATA airport code. |
destination | query | string | Required | - | IATA airport code. |
start_date | query | string (YYYY-MM-DD) | Required | - | First day. |
end_date | query | string (YYYY-MM-DD) | Required | - | Last day, up to 62 days after start_date. |
cabin | query | string | Optional | economy | Cabin. Allowed values: economypremium_economybusinessfirst |
search_type | query | string | Optional | both | "points" returns miles prices instead of cash. Allowed values: cashpointsboth |
Request example
curl "https://api.pointifytravels.com/v1/calendar/fares?origin=JFK&destination=LAX&start_date=2027-01-13&end_date=2027-01-19" \
-H "Authorization: Bearer $POINTIFY_API_KEY"Response
200 OK with a JSON body. Examples are shortened; lists usually hold more items.
{
"origin": "JFK",
"destination": "LAX",
"fares": [
{
"date": "2027-01-13",
"price": 169
},
{
"date": "2027-01-19",
"price": null
}
],
"source": "partial",
"payWith": "cash",
"search_type": "both"
}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.
https://api.pointifytravels.com/v1/calendar/fares?origin=JFK&destination=LAX&start_date=2027-01-13&end_date=2027-01-19