Skip to navigation

Program Accuracy Stats

View as Markdown

Overview

The Program Accuracy Statistics API provides program-level accuracy metrics for supported airline loyalty programs. This endpoint allows clients to retrieve the current accuracy score for a specific program, enabling transparency into data reliability and operational performance.

Accuracy metrics are calculated continuously based on internal validation and monitoring systems and are intended to help partners assess data quality for routing, analytics, and decision-making workflows.


Authentication

All requests must include a valid api_key.


Request

Request Body

{
"program": "AA",
"api_key": "YOUR_API_KEY"
}

Request Fields

FieldTypeRequiredDescription
programStringYesAirline loyalty program code (e.g., AA, DL, UA).
api_keyStringYesAPI key used to authenticate the request.

Response

Successful Response

{
"accuracy": "99.77614326830829",
"machine": "APP_PLATFORM",
"status": 200
}

Response Fields

FieldTypeDescription
accuracyStringAccuracy percentage for the specified program.
machineStringSource system or platform used to compute the metric.
statusNumberHTTP-like status code indicating request success.

Note: Accuracy values are expressed as percentages and may change over time as new data is processed.


Error Handling

StatusDescription
400Invalid or missing request parameters
401Invalid API key
404Program not supported
500Internal server error

Usage Notes

  • Accuracy metrics are program-specific and should be interpreted independently.

  • This endpoint is intended for monitoring, analytics, and transparency, not for real-time availability decisions.

  • Accuracy values are informational and may vary as systems and airline sources change.


Example Use Cases

  • Display program reliability indicators in partner dashboards

  • Filter or weight award search results based on program accuracy

  • Monitor data quality trends over time

Headers

authoritystringOptional
sec-ch-uastringOptional

Request

This endpoint expects an object.
programstringRequired
api_keystringRequired