The US Alcohol Tax Data API is a RESTful API designed to deliver structured access to U.S. alcohol tax rates across all 50 states. It sources data from reliable and updated listings on alcohol taxation by state, focusing on rates for beer, wine, and spirits. The API enables users to retrieve a list of all states, as well as fetch specific taxation information per state or tax type. By supporting parameters such as filtering by state and sorting by tax rates, it enables developers, analysts, and researchers to build applications or reports with state-specific alcohol tax insights.
{"states":["Tennessee","Alaska","Hawaii","Georgia","South Carolina","North Carolina","Alabama","Florida","Mississippi","New Mexico","Utah","Louisiana","Oklahoma","Maine","Nebraska","New Hampshire","South Dakota","Delaware","Vermont","Virginia","Washington","Connecticut","Arkansas","Illinois","California","Michigan","Iowa","Texas","Kansas","Ohio","West Virginia","Arizona","Nevada","North Dakota","Idaho","Minnesota","Montana","New York","Indiana","New Jersey","Massachusetts","Rhode Island","Maryland","Colorado","Kentucky","Oregon","Pennsylvania","Missouri","Wisconsin","Wyoming"]}
curl --location --request POST 'https://pr197-testing.zylalabs.com/api/6669/us+alcohol+tax+data+api/9830/get+all+us+states+available+in+database' --header 'Authorization: Bearer YOUR_API_KEY' --header 'Content-Type: application/json' --data-raw '{}'
{"state":"Maine","beer_tax_rate":"$0.35"}
curl --location --request POST 'https://pr197-testing.zylalabs.com/api/6669/us+alcohol+tax+data+api/9831/get+beer+tax+by+state' --header 'Authorization: Bearer YOUR_API_KEY' --header 'Content-Type: application/json' --data-raw '{"state":"Required"}'
{"state":"Ohio","spirits_tax_rate":"$0.00"}
curl --location --request POST 'https://pr197-testing.zylalabs.com/api/6669/us+alcohol+tax+data+api/9832/get+spirits+tax+by+state' --header 'Authorization: Bearer YOUR_API_KEY' --header 'Content-Type: application/json' --data-raw '{"state":"Required"}'
{"state":"California","wine_tax_rate":"$0.20"}
curl --location --request POST 'https://pr197-testing.zylalabs.com/api/6669/us+alcohol+tax+data+api/9833/get+wine+tax+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 access tax rates for beer, wine, and spirits across all 50 U.S. states.
You can use the specialized endpoint that allows you to filter by state to fetch the specific taxation information for that state.
Yes, the API supports parameters that allow you to sort tax rates, making it easier to analyze the data.
Yes, the API sources its data from reliable and updated listings on alcohol taxation by state.
Developers, analysts, and researchers can benefit from this API as it enables them to build applications or reports with state-specific alcohol tax insights.
Each endpoint returns structured data related to alcohol tax rates. The "get all US states" endpoint returns a list of states, while the "get beer tax by state," "get spirits tax by state," and "get wine tax by state" endpoints return specific tax rates for the indicated state.
The key fields in the response data include "states" for the list of U.S. states, and "state" along with the respective tax rate fields ("beer_tax_rate," "spirits_tax_rate," "wine_tax_rate") for the tax endpoints.
The response data is organized in JSON format. For state lists, it returns an array of state names. For tax rates, it returns an object containing the state name and the corresponding tax rate, allowing for easy parsing and integration into applications.
The primary parameter used with the tax endpoints is the "state," which must be specified to retrieve the corresponding tax rate. Users can obtain valid state names from the "get all US states" endpoint.
The "get all US states" endpoint provides a comprehensive list of states. The tax endpoints provide specific tax rates for beer, wine, and spirits for the requested state, allowing users to analyze taxation across different alcohol types.
Users can utilize the returned data by integrating it into applications or reports. For example, developers can create visualizations of tax rates by state or generate comparative analyses of alcohol taxation across different regions.
Typical use cases include developing applications for tax compliance, conducting market research on alcohol pricing, and analyzing the impact of tax rates on consumer behavior in different states.
Data accuracy is maintained by sourcing information from reliable and updated listings on alcohol taxation. Regular checks and updates ensure that the API reflects the most current tax rates available for each state.
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
Service Level:
100%
Response Time:
0ms
Service Level:
100%
Response Time:
3,807ms
Service Level:
100%
Response Time:
0ms
Service Level:
100%
Response Time:
291ms
Service Level:
100%
Response Time:
0ms
Service Level:
100%
Response Time:
49ms
Service Level:
100%
Response Time:
693ms
Service Level:
100%
Response Time:
3,409ms
Service Level:
100%
Response Time:
3,563ms
Service Level:
100%
Response Time:
384ms