Browse API endpoints

Check program accuracy

Look up the current accuracy score for a loyalty program when evaluating its award availability data.

POSThttps://apisv2.awardtoolapi.com/api/program_stats_api

Example request

Shell
curl --request POST \
  'https://apisv2.awardtoolapi.com/api/program_stats_api' \
  --header 'Content-Type: application/json' \
  --data '{
  "program": "AA",
  "api_key": "YOUR_API_KEY"
}'

Use the score to monitor a loyalty program over time. Check the flight search results for availability on a particular itinerary.

Request body

programstring · Required
Code for one loyalty program, such as AA, AC, or UA.
api_keystring · Required
Your AwardTool API key.

Example response

JSON · response excerpt
{
  "accuracy": "99.72",
  "status": 200
}

Response fields

accuracy
Program accuracy as a percentage encoded as a string. It may be null if no observations are available.
status
A value of 200 indicates a successful request.
View original API reference