An aviation API integration starts with a product question, not an endpoint. A flight app may need a current arrival time; an OTA may need cabin attributes; a fleet team may need aircraft positions. Those tasks call for different datasets, request inputs and update patterns.
VariFlight offers aviation data APIs under the VariFlight DataWorks brand. This guide explains a repeatable way to select an API, run a business trial and validate the data inside a customer-owned product. The Flight Status Query API is the worked example, not a specification for every VariFlight interface. Subscription and push are covered only where that delivery method is documented.
Which VariFlight API Fits the Product Task?
The first decision is what the product needs to show or verify. Similar-looking flight identifiers do not make two datasets interchangeable. A live status record answers a different question from a cabin-amenity record or an aircraft-position record.
| Product task | Relevant API documentation | What to verify |
|---|---|---|
| Show a flight’s current operation | Flight Status Query API | Flight matching, status and scheduled, estimated and actual times |
| Review past flight events | Flight Status Data | Record availability for the required dates, routes and fields |
| Enrich flight-shopping details | Flight Happiness Index API | Cabin, seat and amenity fields for the target flights |
| Follow aircraft movement | ADS-B Aircraft Position API | Position or track data for the aircraft and area of interest |
| Add performance or emissions context | Historical On-Time Performance or Carbon Emissions API | The metric, unit and matching inputs the application requires |
The Download Zone lists further interfaces, including connections, cabin layout and airport data. This table is a starting point, not a claim that all interfaces share the same endpoint, fields or delivery method. DataWorks supplies aviation data; the customer decides how to display, combine or act on it.
What Should a Team Define Before a Data Trial?
A useful trial tests one or two real product workflows. List the target markets, airlines or airports, expected query inputs, required fields, date range and acceptable handling of missing data. Record whether the application needs a one-time lookup, repeated queries or a documented subscription flow.
The Flight Status Data product page offers a 14-day business trial. The enabled APIs and fields should be confirmed for the specific evaluation; the status-product trial should not be treated as automatic access to every DataWorks API. For flight-status testing, the team can provide the IP from which it will call the API. If it will test flight-status push, the customer also supplies receiving details for its endpoint. The calling IP and push destination serve different purposes.
Historical flight-status queries can be included in a trial. The earliest available records date from 2014, but that is not a guarantee that every flight or field is present for every date. A trial should sample routes and time periods relevant to the intended product rather than equate an earliest date with complete coverage.
How Does a First API Request Work? A Flight Status Query Example
VariFlight assigns each partner its own appid and appsecurity and configures the caller’s IP allowlist for this interface. The request includes appid and a token generated using appsecurity; appsecurity itself is not sent as a request parameter. Keep this registration code on the server, not in a public app bundle.

For a first lookup, send fnum (flight number) and date (flight date) with appid and the generated token. Add lang=EN when English status text is needed. The Query API signs every parameter actually present except token itself, including optional parameters such as lang or fid. The Query API documentation provides the sorting and double-MD5 steps and worked examples; use that version when implementing the signature.
The same Query API also documents route, city-pair and airport-list searches. Airport lists use page and perpage, so a first page is not necessarily the full result. Before displaying a match, compare the returned flight number, airport codes and dated time fields with the requested flight date. Here date is a request parameter, not a dedicated FlightDate response field.
This is an example of one interface. FHI, ADS-B, on-time performance and carbon-emissions APIs have their own documented request inputs and response schemas. Developers should check the selected interface’s current documentation rather than copy the flight-status endpoint or field names into another integration.
How Should Returned Data Become a Product Feature?
Data mapping connects a documented response to a specific product element. For the flight-status example, FlightState and FlightStateNum describe the recorded state. FlightArrtimePlanDate, FlightArrtimeReadyDate and FlightArrtimeDate represent scheduled, estimated and actual arrival. FlightIngateTime, when available, describes on-block time. ShareFlag, ShareFlightNo and the origin and destination time-zone fields add matching and display context.
Consider an illustrative example, not a real flight or API response. Flight EX123 is scheduled to arrive at 18:10, now estimated at 18:45, and has no actual arrival time. A flight page can label 18:45 as an estimate; it cannot report that the aircraft has arrived. If a later record changes the estimate, the customer application decides when to refresh its display.
An OTA can use FHI’s seat and onboard-amenity fields in a flight-details view. A fleet application can use ADS-B position data on an aircraft map. Neither should reuse the status example’s arrival-time logic as though it were a universal aviation-data schema. Missing fields should remain unknown in the customer product rather than being turned into a negative answer or a fabricated value.
Do All Aviation APIs Support Push or Historical Queries?
No. Query, history and push describe different data-access needs, not universal features of every API. The Flight Status Query API retrieves a record for a request. Historical flight-status records can support past-event review, subject to enabled permissions and actual availability. For selected flights that need ongoing monitoring, the separately documented Subscription and Push API provides a different flow.
In that flight-status flow, the customer subscribes with a flight number, origin and destination airport codes, and date. After subscription, DataWorks sends changed flight data to the configured receiving endpoint as an HTTP POST containing a JSON array. The receiver returns HTTP 2xx to acknowledge delivery; a non-2xx response triggers a retry. This is data delivery to the customer system, not a traveler notification service. Other DataWorks APIs should be evaluated against their own documentation for query modes, history, update frequency and delivery options.
What Should an Integration Trial Prove?
A trial should produce evidence that the chosen dataset can support the intended feature. Keep the checks consistent across APIs, while using each interface’s own parameter and error-code definitions.
- Access: Can the approved system authenticate and use the specific API and fields enabled for the trial?
- Matching: Do the returned flight, aircraft, route or other identifiers correspond to the customer product’s record?
- Coverage: Are records and required fields available for representative markets, dates and edge cases?
- Meaning: Are time types, units, codes, time zones and missing values interpreted as documented?
- Delivery: If an interface supports push, can the customer receive, acknowledge and associate updates with the right record?
- Fallback: What does the product show when a lookup has no data, a field is empty or a cached value is old?
For the status-query example, error_code=2 indicates a non-allowlisted calling IP, 3 a parameter or token problem, 4 a permission problem and 10 no available data, including permission-filtered results. Those codes are not a universal error model for every DataWorks API. The flight-status subscription interface has its own responses. A useful evaluation separates access failures from data-availability gaps and product-side mapping errors, then compares the amount of manual checking needed during the trial without claiming a fixed efficiency gain.
FAQ
Do all VariFlight APIs use the same endpoint and parameters?
No. The Flight Status Query API is the worked example here. Select the appropriate product first, then use its own documentation for endpoint, authentication details, request parameters, response fields and error handling.
Does a VariFlight API automatically send alerts to travelers?
No. The documented flight-status push flow delivers updated aviation data to a customer endpoint. The customer application controls user accounts, notification rules and any messages sent to travelers.
Is historical coverage complete from 2014 across all products?
No. The 2014 earliest-record date refers to historical flight-status data, not every DataWorks dataset. It does not guarantee a record or every field for every flight. Evaluate each dataset’s scope and availability separately.
Can VariFlight deliver data through scheduled SFTP transfers?
Some VariFlight datasets support scheduled SFTP delivery; others do not. Please confirm availability for the data you need with our team. (dataworks@variflight.com)


