IATA Air Cargo AWB, E-Ticket & Baggage Tag Validator API
Ultra-fast Modulo-7 Air Waybill, 13-digit E-Ticket, Baggage Tag & Airline/Airport Code Engine
The IATA Air Cargo AWB, E-Ticket & Baggage Tag Engine provides enterprise-grade, deterministic verification of global aviation and air freight identifiers. It validates standard 11-digit Air Waybills (AWB) against IATA Resolution 600a Modulo-7 arithmetic, cross-referencing carrier accounting codes with our master airline registry.
A single invalid check digit on an Air Waybill or electronic ticket halts freight handling, generates costly customs delays, and triggers cargo rejections at airport check-in gates. This API runs directly in Cloudflare Workers V8 isolates to provide instant, sub-5ms pre-submission validation across global TMS, booking engines, and logistics platforms.
The engine also features comprehensive support for 13-digit IATA e-Tickets (Resolution 722e), 10-digit Baggage Tag license plates (Resolution 740), and bidirectional $O(1)$ lookup for 200+ international airline accounting prefixes and 300+ major world cargo and passenger airport hubs.
Features
- IATA Resolution 600a 11-digit Air Waybill (AWB) Modulo-7 check digit verification & generation
- IATA Resolution 722e 13-digit Electronic Ticket (e-Ticket) verification with optional coupon support
- IATA Resolution 740/751/1740 10-digit Baggage Tag license plate validation & type classification
- 200+ Airline Accounting Prefix, 2-letter IATA, and 3-letter ICAO carrier resolver
- 300+ World Commercial and Cargo Airport Hub IATA/ICAO code resolver
- Unified Auto-Detect endpoint (/api/v1/validate) for instant single-string classification
- Sub-5ms global edge latency across 300+ Cloudflare edge locations with zero subrequests
Endpoints
| Method | Path | Description | Example |
|---|---|---|---|
GET | /api/v1/awb/{awb} | Validate an 11-digit IATA Air Waybill (AWB) check digit | /api/v1/awb/016-12345675 |
POST | /api/v1/awb | Validate an Air Waybill via JSON payload | /api/v1/awb |
POST | /api/v1/awb/generate | Generate an AWB with valid Modulo-7 check digit | /api/v1/awb/generate |
GET | /api/v1/ticket/{ticket} | Validate a 13-digit IATA Electronic Ticket number | /api/v1/ticket/0161234567890 |
GET | /api/v1/baggage/{tag} | Validate a 10-digit IATA Baggage Tag number | /api/v1/baggage/0016123456 |
GET | /api/v1/airline/{code} | Lookup airline by 3-digit prefix, 2-letter IATA, or 3-letter ICAO code | /api/v1/airline/016 |
GET | /api/v1/airport/{code} | Lookup airport by 3-letter IATA or 4-letter ICAO code | /api/v1/airport/JFK |
GET | /api/v1/validate/{identifier} | Auto-detect and validate any IATA aviation identifier | /api/v1/validate/016-12345675 |
FAQ
How is the IATA Air Waybill (AWB) check digit calculated?
According to IATA Resolution 600a, the 11th digit of an Air Waybill is computed as the 7-digit serial number modulo 7 (Serial % 7). If the remainder matches the 11th digit, the AWB is mathematically valid.
What is an airline 3-digit accounting prefix?
The first 3 digits of an Air Waybill or e-Ticket identify the issuing airline (e.g., 016 is United Airlines, 001 is American Airlines, 176 is Emirates, 020 is Lufthansa). Our API resolves this prefix to carrier details, IATA codes, and ICAO designators.
What is an IATA Baggage Tag License Plate?
Standardized under IATA Resolution 740, a 10-digit baggage tag begins with a 1-digit tag type (0 for interline, 1 for fallback, 2 for expedite/rush), followed by the 3-digit airline code and a 6-digit baggage sequence number.
Can I generate a valid AWB number for testing or booking?
Yes, the /api/v1/awb/generate endpoint accepts a 3-digit airline prefix and serial number, and computes the correct Modulo-7 check digit with canonical formatting.
Does this API make external subrequests or database calls?
No. All algorithms, airline tables, and airport registries are executed as pure functional computations in Cloudflare Workers V8 isolates, delivering sub-5ms deterministic responses.