[{"states":["Alabama","Alaska","Arizona","Arkansas","California","Colorado","Connecticut","Delaware","Florida","Georgia","Hawaii","Idaho","Illinois","Indiana","Iowa","Kansas","Kentucky","Louisiana","Maine","Maryland","Massachusetts","Michigan","Minnesota","Mississippi","Missouri","Montana","Nebraska","Nevada","New Hampshire","New Jersey","New Mexico","New York","North Carolina","North Dakota","Ohio","Oklahoma","Oregon","Pennsylvania","Rhode Island","South Carolina","South Dakota","Tennessee","Texas","Utah","Vermont","Virginia","Washington","West Virginia","Wisconsin","Wyoming"]}]
curl --location --request POST 'https://zylalabs.com/api/6061/usa+airport+info+api/8204/get+all+states+list' --header 'Authorization: Bearer YOUR_API_KEY' --header 'Content-Type: application/json' --data-raw '{}'
[{"cities":["New York","Albany","Binghamton","Buffalo","Elmira \/ Corning","Ithaca","Islip \/ Brookhaven","Newburgh","Niagara Falls","Ogdensburg","Plattsburgh","Rochester","Syracuse","Watertown","White Plains"]}]
curl --location --request POST 'https://zylalabs.com/api/6061/usa+airport+info+api/8205/get+cities+by+state' --header 'Authorization: Bearer YOUR_API_KEY' --header 'Content-Type: application/json' --data-raw '{"state":"Required"}'
[{"airports":["Albany International Airport","Greater Binghamton Airport (Edwin A. Link Field)","Buffalo Niagara International Airport","Elmira\/Corning Regional Airport","Ithaca Tompkins International Airport","John F. Kennedy International Airport","LaGuardia Airport (and Marine Air Terminal)","Long Island MacArthur Airport","New York Stewart International Airport","Niagara Falls International Airport","Plattsburgh International Airport","Frederick Douglass\/Greater Rochester International Airport","Syracuse Hancock International Airport","Watertown International Airport","Westchester County Airport"]}]
curl --location --request POST 'https://zylalabs.com/api/6061/usa+airport+info+api/8206/obtain+airports+in+specific+city' --header 'Authorization: Bearer YOUR_API_KEY' --header 'Content-Type: application/json' --data-raw '{"city":"Required"}'
[{"airport_name":"John F. Kennedy International Airport","location":"New York","codes":{"FAA":"JFK","IATA":"JFK","ICAO":"KJFK"},"details":{"Role":"P-L","Enplanements":30620769}}]
curl --location --request POST 'https://zylalabs.com/api/6061/usa+airport+info+api/8207/obtain+details+of+specific+airport' --header 'Authorization: Bearer YOUR_API_KEY' --header 'Content-Type: application/json' --data-raw '{"airport":"Required"}'
After signing up, every developer is assigned a personal API access key, a unique combination of letters and digits provided to access to our API endpoint. To authenticate with the USA Airport Info API simply include your bearer token in the Authorization header.
| Header | Description |
|---|---|
Authorization
|
Required
Should be Bearer access_key. See "Your API Access Key" above when you are subscribed.
|
No long-term commitment. Upgrade, downgrade, or cancel anytime. Free Trial includes up to 50 requests.
(Save 2 months with annual billing 🎉)
The USA Airport Info API is built to efficiently deliver structured airport data across the U.S. Users can retrieve lists of states with airports, cities within a state, and detailed airport-specific information. With advanced filtering options, the API allows for precise data retrieval without requiring bulk downloads. It is ideal for applications focused on travel planning, transportation analytics, or system integrations.
The USA Airport Info API provides access to detailed information on airports across the United States, including lists of states with airports, cities within a state, and specific airport details.
The API offers advanced filtering options that allow users to filter data by state, city, or specific airport, enabling precise data retrieval without the need for bulk downloads.
Yes, the USA Airport Info API is ideal for applications focused on travel planning, as it provides organized and structured airport data that can enhance user experience.
Absolutely! The API is designed for system integrations, allowing developers to incorporate airport data into their applications seamlessly.
You can retrieve information about airports in a specific state by using the API's filtering options. Simply make a request to the endpoint designed for state queries, specifying the state you are interested in. The API will return a list of airports located within that state, allowing you to access detailed information for each airport.
Each endpoint returns structured data related to U.S. airports. The "get all states list" endpoint returns a list of states, "get cities by state" provides cities with airports, "obtain airports in specific city" lists airports in a city, and "obtain details of specific airport" delivers comprehensive airport details, including location and codes.
Key fields include "states" for the states list, "cities" for cities with airports, "airports" for airport names in a city, and detailed fields like "airport_name," "location," and "codes" (FAA, IATA, ICAO) for specific airport details.
The response data is organized in JSON format, with each endpoint returning an array of objects. For example, the "obtain details of specific airport" endpoint returns an object containing airport name, location, and codes, making it easy to parse and utilize in applications.
Parameters include the state name for "get cities by state," the city name for "obtain airports in specific city," and the airport name for "obtain details of specific airport." These parameters allow users to customize their queries for targeted data retrieval.
The API provides information on states with airports, cities within those states, airports in specific cities, and detailed airport information, including location and operational codes. This comprehensive data supports various travel and transportation applications.
Users can utilize the returned data by integrating it into travel planning applications, analytics tools, or systems requiring airport information. For example, developers can display airport options based on user-selected cities or states, enhancing user experience.
Typical use cases include travel planning apps that help users find airports, transportation analytics for route optimization, and system integrations for logistics management. The API's structured data supports various applications in the travel and transportation sectors.
Data accuracy is maintained through regular updates and quality checks, ensuring that the information about airports, cities, and states is current and reliable. This commitment to data quality enhances user trust and application effectiveness.
To obtain your API key, first sign in to your account and navigate to the API you want to use. From the API's Pricing section, choose a plan and complete the subscription process. Once subscribed, return to the API page and you will see your API Access Key displayed at the top of the documentation page. You can use this key to authenticate your requests.
You can’t switch APIs during the free trial. If you subscribe to a different API, your trial will end and the new subscription will start as a paid plan.
The free trial lasts for 7 days and allows you to make up to 50 API requests.
No, the free trial is available only once, so we recommend using it on the API that interests you the most. Most of our APIs offer a free trial, but some may not include this option.
Yes. If the API offers a free trial, you will see a "Free 7-Day Trial" option in its Pricing section. The trial lasts for 7 days and allows up to 50 API requests, enabling you to evaluate the API before subscribing to a paid plan.
Zyla API Hub is like a big store for APIs, where you can find thousands of them all in one place. We also offer dedicated support and real-time monitoring of all APIs. Once you sign up, you can pick and choose which APIs you want to use. Just remember, each API needs its own subscription. But if you subscribe to multiple ones, you'll use the same key for all of them, making things easier for you.
You can monitor your API usage through the response headers included with every request:
x-zyla-api-calls-monthly-used: Shows the total number of API requests you have used during the current billing period.
x-zyla-api-calls-monthly-remaining: Shows the number of API requests you have remaining for the current billing period.
Yes, you can cancel your subscription at any time. Simply go to the Pricing section of the API you're subscribed to and click the "Unsubscribe" button.
Please note that upgrades, downgrades, and cancellations take effect immediately. Once your subscription is canceled, access to the service will end immediately, regardless of any remaining API calls in your quota.
Please have a look at our Refund Policy: https://zylalabs.com/terms#refund