APIHub
Back to Explore

Where to Credit API

The Where to Credit API lets you list the frequent‑flyer programs it supports and calculate the mileage earnings a flight would generate for each of those programs.

Transportation
apiKeyHeader
HTTPS
CORS: Unknown
Description enriched
Visit official documentation

Latency

2021ms p95

Uptime

100.0% 30d

Playground

Verified

live

Endpoints

REST · JSON
POST

/api/1.0/calculate

Calculates the number of miles earned for every frequent flyer program.

GET

/api/1.0/programs

Lists all supported frequent flyer programs.

2 endpoints auto-detected

Authentication

This API uses an API key, passed in the "Authorization-Token" header. No OAuth required.

curl -X POST \
  "https://wheretocredit.com/api/1.0/calculate" \
  -H "Authorization-Token: YOUR_API_KEY"

wheretocredit.com · HTTPS only