Get started
Authentication & keys
The Authorization header
Send the key in the Authorization header on every request to https://api.pointifytravels.com.
curl "https://api.pointifytravels.com/v1/points/programs" \
-H "Authorization: Bearer $POINTIFY_API_KEY"Server side only
The API does not allow browser (CORS) requests. Call it from your server, then send the results to your web or mobile front end. Never put a key in front-end code, where anyone can read it.
Test and live keys
| Test key | Live key | |
|---|---|---|
| Prefix | pt_test_ | pt_live_ |
| Plans | Every plan, including Free | Pro, Business, Developer or Enterprise |
| Data | Sample data for searches, real data for deals and points | Real data |
| Daily quota | Never counts | Counts; shared by all keys on the account |
| Per-minute limit | 60 requests | Per key, 100 by default |
| Pointify-Mode header | test | live |
Both kinds validate requests the same way, so code that works with a test key works with a live key. See Test mode and Limits & quotas.
Scopes
Each key has one or more scopes. New keys get all four.
| Scope | Covers |
|---|---|
search | Flights, award seats, award availability, hotels, cars and cruises. |
calendar | Cheapest cash and points fares by day. |
deals | The deal feed, hot deals and trending routes. |
points | Loyalty programs, transfer partners, sweet spots, bonuses and redemption math. |
Endpoints any key can call
These endpoints back public pages on pointifytravels.com that need no sign-in, so every key can call them whatever its scopes:
- POST
/v1/search - POST
/v1/search/multi-city - POST
/v1/search/awards - POST
/v1/hotels/search - POST
/v1/hotels/awards/search - POST
/v1/cars/search - POST
/v1/cruises/search - POST
/v1/calendar/search - GET
/v1/deals/feed - GET
/v1/deals/feed/hot - GET
/v1/trending - GET
/v1/points/sweetspots - GET
/v1/points/transfer-bonuses
Endpoints that need the scope
A key without the scope gets 403 insufficient_scope.
- GET
/v1/availability - GET
/v1/availability/calendar - GET
/v1/availability/routes - GET
/v1/calendar/fares - GET
/v1/points/programs - GET
/v1/points/partners/{bank_program} - GET
/v1/points/paths/{target_program} - POST
/v1/points/transfer-bonuses/check - POST
/v1/points/optimize - POST
/v1/points/buy-calculator
Managing keys
- Create and revoke keys in the dashboard.
- The full key is shown once, when you create it. We keep only a hash. Store it in a secret manager or environment variable.
- Use one key per app and environment, so you can revoke one without breaking the others.
- A revoked key stops working within 10 seconds, with 401 api_key_revoked.
If a key leaks
Revoke it in the dashboard, create a new one and deploy it. Live calls made with a leaked key count toward your daily quota.
Authentication errors
- 401 missing_api_key: no
Authorization: Bearer pt_…header was sent. - 401 invalid_api_key: the key is malformed or unknown.
- 401 api_key_revoked: the key was revoked.
- 429 too_many_invalid_keys: too many unknown keys from your address in a minute.
- 403 plan_required: a live key on a plan without API access.