Pointify

API reference · Points

Is buying points worth it?

POST/v1/points/buy-calculator
Scope: pointsTest mode: real data

Tells you whether buying points at a sale price beats paying cash for the redemption you have in mind.

URL
https://api.pointifytravels.com/v1/points/buy-calculator
Access
A key with the points scope (Points). New keys have it.
Test keys
Real data. It costs nothing to serve, so test keys get the live answer. 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
buy_rate_centsbodynumberRequired-Price per point in cents, e.g. 1.5.
redemption_cppbodynumberRequired-Expected value per point in cents.

Request example

curl -X POST "https://api.pointifytravels.com/v1/points/buy-calculator" \
  -H "Authorization: Bearer $POINTIFY_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"buy_rate_cents":1.5,"redemption_cpp":2.1}'

Response

200 OK with a JSON body. Examples are shortened; lists usually hold more items.

application/json
{
  "worth_it": true,
  "multiplier": 1.4,
  "buy_rate_cents": 1.5,
  "redemption_cpp": 2.1
}

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/points/buy-calculator

Ready to find your best fare?

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

Create Free Account