List monitored routes
Find the airport pairs AwardTool checks on a schedule for each loyalty program.
POST
https://apisv2.awardtoolapi.com/panorama/panorama_all_routesAlso available at POST /panorama/routes_all.
Example request
Shell
curl --request POST \
'https://apisv2.awardtoolapi.com/panorama/panorama_all_routes' \
--header 'Content-Type: application/json' \
--data '{
"api_key": "YOUR_API_KEY"
}'Panorama also caches routes searched by AwardTool users. Query flight details directly if a route is missing from the scheduled list.
Request body
api_keystring · Required- The AwardTool API key issued for your integration.
programsstring array · Optional- Limit routes to the listed loyalty program codes, such as AA or AC. Omit or send an empty array to include all programs.
programstring · Optional- Select a single loyalty program. If both fields are supplied, programs takes precedence.
Example response
JSON · response excerpt
{
"status": 200,
"res": [
{
"route": "SFO-JFK",
"program": "AA",
"update_time": "1794240000"
}
]
}Response fields
res[]- One record for each airport pair and program in the scheduled route list.
route- Departure and arrival airport codes joined with a hyphen. Each direction has its own entry.
program- Loyalty program that supplies availability for the route.
update_time- Last update as Unix time in seconds.