The USA Fast Food Data API is a RESTful service that provides insights into the cost of popular fast food items by U.S. state. Based on publicly available data, the API helps consumers, analysts, and researchers compare prices of commonly ordered items like the Big Mac, Happy Meal, fries, and more. Users can request specific state data or retrieve data segmented by food item using parameters. This API supports filters, data aggregation, and comparisons across states for economic and market analysis.
{"states":["Hawaii","Washington","Alaska","Arizona","California","Colorado","Kansas","Maine","Massachusetts","Missouri","Montana","Wyoming","Connecticut","Illinois","New York","North Carolina","Virginia","Delaware","Florida","Georgia","Indiana","Maryland","Minnesota","Nevada","New Hampshire","New Jersey","New Mexico","Ohio","Oregon","South Carolina","Wisconsin","Texas","Mississippi","Utah","Alabama","Arkansas","Iowa","Louisiana","Michigan","North Dakota","Oklahoma","Pennsylvania","Rhode Island","South Dakota","Tennessee","Vermont","West Virginia","Kentucky","Idaho","Nebraska"]}
curl --location --request POST 'https://zylalabs.com/api/7088/usa+fast+food+data+api/11064/get+us+state+with+fast+food+data' --header 'Authorization: Bearer YOUR_API_KEY' --header 'Content-Type: application/json' --data-raw '{}'
{"state":"Hawaii","dominos_medium_cheese":"$18.99"}
curl --location --request POST 'https://zylalabs.com/api/7088/usa+fast+food+data+api/11065/get+dominos+medium+cheese+price+by+state' --header 'Authorization: Bearer YOUR_API_KEY' --header 'Content-Type: application/json' --data-raw '{"state":"Required"}'
{"state":"Hawaii","mc_donalds_happy_meal_price":"3.71"}
curl --location --request POST 'https://zylalabs.com/api/7088/usa+fast+food+data+api/11066/get+mc+donalds+happy+meal+price+by+state' --header 'Authorization: Bearer YOUR_API_KEY' --header 'Content-Type: application/json' --data-raw '{"state":"Required"}'
{"state":"Hawaii","mc_donalds_big_mac_price":"5.31"}
curl --location --request POST 'https://zylalabs.com/api/7088/usa+fast+food+data+api/11067/get+mc+donalds+big+mac+price+by+state' --header 'Authorization: Bearer YOUR_API_KEY' --header 'Content-Type: application/json' --data-raw '{"state":"Required"}'
{"state":"Hawaii","chick_fill_a_chicken_sandwich_price":"4.06"}
curl --location --request POST 'https://zylalabs.com/api/7088/usa+fast+food+data+api/11068/get+chick-fill-a+chicken+sandwich+price+by+state' --header 'Authorization: Bearer YOUR_API_KEY' --header 'Content-Type: application/json' --data-raw '{"state":"Required"}'
{"state":"Hawaii","taco_bell_combo_meal":7.7}
curl --location --request POST 'https://zylalabs.com/api/7088/usa+fast+food+data+api/11069/get+taco+bell+combo+meal+price+by+state' --header 'Authorization: Bearer YOUR_API_KEY' --header 'Content-Type: application/json' --data-raw '{"state":"Required"}'
| 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.
You can query a variety of popular fast food items such as the Big Mac, Happy Meal, fries, and more.
The API allows you to filter data by specific food items or by U.S. states, enabling you to retrieve targeted pricing information.
The pricing data is based on publicly available information and may not reflect real-time prices, but it provides a structured overview of costs across different states.
Yes, the API supports data aggregation and comparisons across states, making it a useful tool for economic and market analysis of fast food pricing.
Each endpoint returns structured JSON data specific to fast food item prices by state. For example, the endpoint for Domino's medium cheese pizza returns the state and its corresponding price in a key-value format.
The key fields in the response data typically include "state" and the specific fast food item price, such as "dominos_medium_cheese" or "mc_donalds_happy_meal_price," providing clear identification of the state and item price.
Each endpoint requires a "state" parameter to specify which state's data you want to retrieve. This parameter must match one of the states listed in the dataset returned by the first endpoint.
The response data is organized in a JSON format, with each response containing a "state" field and a corresponding price field for the queried fast food item, making it easy to parse and utilize programmatically.
Typical use cases include market analysis, consumer research, and price comparison studies. Researchers and analysts can use the data to identify pricing trends across different states for popular fast food items.
The data is sourced from publicly available information, and while specific accuracy measures are not detailed, it is important for users to verify data against current market conditions for precise applications.
Users can customize their requests by selecting specific states from the initial endpoint and querying for different fast food items using the corresponding endpoints, allowing for targeted data retrieval.
Users can expect consistent data patterns across responses, with each response containing the state name and the price of the queried item, facilitating straightforward comparisons and analyses across states.
To obtain your API key, you first need to sign in to your account and subscribe to the API you want to use. Once subscribed, go to your Profile, open the Subscription section, and select the specific API. Your API key will be available there and can be used 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.
If you don’t cancel before the 7th day, your free trial will end automatically and your subscription will switch to a paid plan under the same plan you originally subscribed to, meaning you will be charged and gain access to the API calls included in that plan.
The free trial ends when you reach 50 API requests or after 7 days, whichever comes first.
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, we offer a 7-day free trial that allows you to make up to 50 API calls at no cost, so you can test our APIs without any commitment.
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.
Service Level:
100%
Response Time:
6,159ms
Service Level:
100%
Response Time:
2,367ms
Service Level:
100%
Response Time:
5,290ms
Service Level:
100%
Response Time:
51ms
Service Level:
100%
Response Time:
4,579ms
Service Level:
100%
Response Time:
57ms
Service Level:
100%
Response Time:
4,802ms
Service Level:
100%
Response Time:
53ms
Service Level:
100%
Response Time:
524ms
Service Level:
100%
Response Time:
4,030ms
Service Level:
100%
Response Time:
1,586ms
Service Level:
100%
Response Time:
1,344ms
Service Level:
100%
Response Time:
1,812ms
Service Level:
100%
Response Time:
1,245ms
Service Level:
100%
Response Time:
2,507ms
Service Level:
100%
Response Time:
546ms
Service Level:
100%
Response Time:
1,429ms
Service Level:
100%
Response Time:
878ms
Service Level:
100%
Response Time:
256ms
Service Level:
100%
Response Time:
1,945ms