{"states":["West Virginia","Kentucky","Alabama","Oklahoma","Mississippi","Arkansas","Louisiana","South Dakota","Ohio","Iowa","Indiana","South Carolina","Texas","Kansas","North Carolina","Nebraska","North Dakota","Tennessee","New Mexico","Michigan","Missouri","Maryland","Virginia","Illinois","Delaware","Georgia","Wisconsin","Alaska","Pennsylvania","Minnesota","Wyoming","Maine","Montana","Idaho","Arizona","Nevada","Utah","New Hampshire","Connecticut","Oregon","Rhode Island","New York","Vermont","Washington","New Jersey","Florida","California","Massachusetts","Colorado","Hawaii","District of Columbia"]}
curl --location --request POST 'https://zylalabs.com/api/6660/us+obesity+rates+api/9806/get+states+available+in+the+us' --header 'Authorization: Bearer YOUR_API_KEY' --header 'Content-Type: application/json' --data-raw '{}'
{"state":"Ohio","obesity_rate":"37.7%"}
curl --location --request POST 'https://zylalabs.com/api/6660/us+obesity+rates+api/9807/get+obesity+rates+by+state' --header 'Authorization: Bearer YOUR_API_KEY' --header 'Content-Type: application/json' --data-raw '{"state":"Required"}'
{"state":"Ohio","year":2025,"confidence_interval":"(36.6, 39.0)"}
curl --location --request POST 'https://zylalabs.com/api/6660/us+obesity+rates+api/9808/get+confidence+interval+by+state' --header 'Authorization: Bearer YOUR_API_KEY' --header 'Content-Type: application/json' --data-raw '{"state":"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 US Obesity Rates 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 🎉)
Trusted by leading companies
The US Obesity Rates API provides detailed statistics on obesity rates across US states, including projections for the year 2025, historical trends, and demographic insights. Users can access data fields such as state names, obesity rates, and confidence intervals.
In the context of the US Obesity Rates API, the obesity rate is defined as the percentage of the population classified as obese based on Body Mass Index (BMI) criteria. This classification helps in understanding the prevalence of obesity within different demographics.
To use the US Obesity Rates API, you need a stable internet connection and must adhere to the API rate limits to ensure optimal performance. The API outputs data in a standard JSON format, making it compatible with various applications for easy integration.
The "get states available in the US" endpoint returns a list of U.S. states. The "get obesity rates by state" endpoint provides the obesity rate for a specified state, while the "get confidence interval by state" endpoint returns the confidence interval for the obesity rate of a specific state, including the year of projection.
Key fields in the response data include "states" for the list of U.S. states, "state" for the specific state name, "obesity_rate" for the percentage of obesity, and "confidence_interval" which indicates the range of expected values for the obesity rate.
The response data is structured in JSON format. Each endpoint returns an object containing relevant fields, such as state names, obesity rates, or confidence intervals, making it easy to parse and integrate into applications.
The "get states available in the US" endpoint provides a comprehensive list of states. The "get obesity rates by state" endpoint offers specific obesity rates, while the "get confidence interval by state" endpoint delivers statistical confidence intervals for those rates.
Users can customize their requests by specifying the state parameter when using the "get obesity rates by state" and "get confidence interval by state" endpoints. This allows retrieval of data for any state included in the dataset.
The data is sourced from national health surveys and statistical reports that track obesity rates across the U.S. The API ensures data accuracy by utilizing established methodologies for calculating obesity rates and confidence intervals.
Typical use cases include public health research, policy-making, and health analytics. Researchers and health organizations can use the data to identify trends, assess health interventions, and develop targeted programs to address obesity.
Users can integrate the returned JSON data into health analytics platforms or dashboards. By analyzing obesity rates and confidence intervals, users can visualize trends, compare states, and inform health initiatives based on demographic insights.
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