Flightera Search API Documentation Search suggestions for flight numbers (with route), airports (with ICAO code, city and position), airlines and aircraft models. Use it to find the codes for the other calls. Cost: 1 credit per request. An empty answer is free.
Run this endpoint
Endpoint
Parameters
Start with the required fields, then add optional filters only when your use case needs them.
Runnable path
1 required parameter needed before sending a request.
1 optional filter available.
string
Required
Search text, at least 2 characters, e.g. LH40, Frankfurt or A38.
coffee shops
string
Optional
flight (default), airport, airline or aircraft_model.
example
Response Schema
Example response fields are illustrative; inspect the JSON before integrating.
Example response fields
Scan these fields before integrating.
data
meta
success
{
"data": {
"kind": "flnr",
"count": 1,
"query": "LH40",
"results": [
{
"arr": "JFK",
"dep": "FRA",
"kind": "flight",
"live": false,
"value": "LH400",
"airline_code": "LH"
}
]
},
"meta": {
"credits": 1,
"billable": true,
"endpoint_family": "search"
},
"success": true
}
Errors
Handle these documented responses before retrying or showing customer-facing failures.
Validation Error
A parameter is missing or invalid. This response is not billable.
{
"errors": {
"query": [
"The query field is required."
]
},
"message": "The request validation failed"
}Service Unavailable
Flightera could not be reached or changed its answer. This response is not billable. Retry later.
{
"meta": {
"billable": false,
"retryable": true,
"endpoint_family": "search"
},
"error": {
"code": "UPSTREAM_UNAVAILABLE",
"message": "The Flightera source is temporarily unavailable. Please retry."
},
"success": false
}Generate Code with AI
Copy a ready-made prompt with all the endpoint details, parameters, and example responses. Paste it into ChatGPT, Claude, or any AI assistant to instantly generate working code.
Try It Live
Test this endpoint in our interactive playground with real data.