Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.spotzee.com/llms.txt

Use this file to discover all available pages before exploring further.

An airline data generator creates synthetic travel fixture values for tests, demos and sample datasets. Spotzee can return expanded profiles or single-field records for airlines, airplanes, airports, aircraft types, flight numbers, record locators and seats.
Generate sample airline data at spotzee.com/tools/airline-generator.

Why this matters

Travel workflows fail in small, specific ways. Flight numbers need bounded digit lengths. Record locators may block numerals or visually similar characters. Airport codes need compact displays, while airport names can stretch a table cell. Synthetic airline data gives you controlled variation without copying live passenger bookings, operational schedules or customer travel records into lower-control environments. That matters for booking flows, itinerary previews, import jobs, CSV samples and validation tests. But generated airline records are test data only. They are not live flight schedules, passenger data or verified airline records. Each Extended API call deducts a small per-call amount from your Spotzee credit balance. See the Spotzee pricing page for live per-tool pricing.

How it works

1

Send the request

POST to /generic/data/generate/airline with count. The count is a string from 1 to 100.
2

Choose a method

Use method=profile for expanded records, or choose one field method: aircraftType, airline, airplane, airport, flightNumber, recordLocator or seat.
3

Set scoped options

Use record-locator options only with recordLocator or profile, aircraft type only with seat or profile, and flight-number length controls only with flightNumber or profile.
4

Set repeatability

Send locale where supported and an optional numeric seed when the same output needs to repeat in tests.
5

Read the response

The response returns data.airlines[], generated, locale, optional seed, and the resolved method.

Method reference

MethodOutputMain parameters
profileExpanded airline recordcount, locale, seed, record-locator options, aircraft type, length controls
airlineAirline name and IATA codecount, locale, seed
airplaneAirplane name and type codecount, locale, seed
airportAirport name and IATA codecount, locale, seed
aircraftTypeAircraft typecount, locale, seed
flightNumberOne-to-four digit flight numbercount, locale, seed, addLeadingZeros, length, lengthMin, lengthMax
recordLocatorBooking reference valuecount, locale, seed, allowNumerics, allowVisuallySimilarCharacters
seatSeat valuecount, locale, seed, aircraftType
Use profile when a booking screen needs related fields together. Use a field method when a parser, form or import job expects one travel value shape.

What to watch for

  • Count outside 1 to 100. One request generates up to 100 airline records. For more rows, call the endpoint again and vary the seed when you need a different batch.
  • Record-locator options on another method. Send allowNumerics and allowVisuallySimilarCharacters only with recordLocator or profile.
  • Aircraft type on another method. Send aircraftType only with seat or profile.
  • Exact length mixed with range. Use either length or lengthMin plus lengthMax, not both.
  • Only one length bound set. Send both lengthMin and lengthMax, or leave both blank.
  • Treating fixtures as live data. Generated airline values are synthetic sample data. Don’t use them as operational schedules, passenger bookings or verified airline records.

FAQs

An airline data generator creates synthetic travel fixture values for tests, demos and seed scripts. Spotzee can return airline, airplane, airport, aircraft-type, flight-number, record-locator and seat fields from one endpoint.
Yes. Enter a count, choose a method and generate sample airline data in the browser. Use a numeric seed when the same airline data generator online output must repeat across test runs.
Yes. Choose flightNumber for one-to-four digit flight-number output, or choose airport for airport name and three-character airport code fields. Profile output can return both fields together.
Yes. Choose recordLocator to generate booking reference values. You can allow numeric characters and visually similar characters when your validation rules need those branches covered.
No. Generated airline records are synthetic sample data for software testing, fixture files and prototypes. Do not use them as real flight schedules, booking records, passenger data or operational airline data.
Read the airline data generator guide for endpoint options, response fields and integration patterns. The guide also shows where airline fixture data fits beside developer fixture, vehicle, string and company generators.

Try it

Generate sample airline data in the browser at spotzee.com/tools/airline-generator, or call the Extended API when you need travel fixtures inside booking tests, itinerary previews, import jobs and seed scripts.