Skip to content

Get rating dictionary

Return the full airplane rating catalog so you can map the keys that appear in rating_breakdown to human-readable labels (e.g. type_a320 to “A320”). The payload is stable and suitable for client-side caching.

GET /v1/rating-dictionary

Required scope: rating-dictionary. This scope is off by default and must be enabled on your API key. Contact support@skyden.app if you need it.

Terminal window
curl -X GET \
"https://api.skyden.app/functions/v1/api/v1/rating-dictionary" \
-H "Authorization: Bearer YOUR_API_KEY"

200 OK

{
"data": {
"ratings": [
{
"key": "sep_land",
"label": "SEP (land)",
"category": "class_rating"
},
{
"key": "mep_land",
"label": "MEP (land)",
"category": "class_rating"
},
{
"key": "type_a320",
"label": "A320",
"category": "type_rating",
"manufacturer": "Airbus"
},
{
"key": "type_b737_300_900",
"label": "B737 300-900",
"category": "type_rating",
"manufacturer": "Boeing"
}
]
},
"meta": {
"api_version": "v1",
"request_id": "req_1a2b3c4d"
}
}
CodeStatusMeaning
INSUFFICIENT_SCOPE403Your API key doesn’t have the rating-dictionary scope

See Errors for the full list of common error codes.

FieldDescription
keyStable rating identifier. The same string that appears as a key in rating_breakdown.
labelShort human-readable name (e.g. A320, SEP (land)). English only.
categoryOne of class_rating, type_rating, or other.
manufacturerAirframer name for type ratings (e.g. Airbus, Boeing). Omitted for class ratings.

Only airplane ratings are exposed. Helicopter and sailplane hours are not included in rating_breakdown and are correspondingly not present in the dictionary.