You can query the latest and average fuel prices per state, also you will receive prices for Diesel, premium, and regular.
Navigation Applications: Integration of the Colorado Fuel Prices API enables navigation apps to provide users with real-time fuel prices along their routes. Users can choose the most cost-effective gas stations, optimizing their travel expenses.
Fleet Management Systems: Fleet managers can utilize the API to monitor fuel prices across different regions, optimizing routes to refuel at locations with the most competitive prices. This helps reduce operational costs for transportation companies.
Consumer Applications: Mobile apps can leverage the API to display nearby gas stations along with current fuel prices, helping users find the cheapest options in their vicinity and plan their refueling stops efficiently.
Market Analysis Tools: Researchers and analysts can utilize the API to gather historical fuel price data, identify trends, and conduct market analysis. This information can be invaluable for predicting future price movements and making informed investment decisions in the energy sector.
Environmental Impact Assessment: Environmental organizations and policymakers can use the API to analyze fuel price fluctuations and their impact on consumer behavior. Understanding how changes in fuel prices influence vehicle usage patterns can inform policy decisions aimed at reducing carbon emissions and promoting sustainable transportation options.
Besides the number of API calls per plan, there are no other limitations.
Pass the State code and receive the latest fuel prices. Updated everyday!
Latest Prices - Endpoint Features
| Object | Description |
|---|---|
state |
[Required] State Code |
{"status":200,"success":true,"state":"Colorado","date":"2024-02-29","prices":{"regular":"$2.943","mid-grade":"$3.316","premium":"$3.629","diesel":"$3.799"}}
curl --location --request GET 'https://zylalabs.com/api/3600/colorado+fuel+prices+api/3985/latest+prices?state=CO' --header 'Authorization: Bearer YOUR_API_KEY'
Pass the state code and receive the average fuel prices per state. Today's average, yesterday's, weekly, and anually.
Average per State - Endpoint Features
| Object | Description |
|---|---|
state |
[Required] State code |
{"status":200,"success":true,"state":"Colorado","date":"2024-02-29","prices":{"today_average":{"regular":"$2.943","mid-grade":"$3.316","premium":"$3.629","diesel":"$3.799"},"yesterday_average":{"regular":"$2.944","mid-grade":"$3.316","premium":"$3.632","diesel":"$3.808"},"week_ago_average":{"regular":"$2.954","mid-grade":"$3.338","premium":"$3.647","diesel":"$3.862"},"month_ago_average":{"regular":"$2.746","mid-grade":"$3.119","premium":"$3.429","diesel":"$3.468"},"year_ago_average":{"regular":"$4.046","mid-grade":"$4.404","premium":"$4.711","diesel":"$4.765"}}}
curl --location --request GET 'https://zylalabs.com/api/3600/colorado+fuel+prices+api/3986/average+per+state?state=CO' --header 'Authorization: Bearer YOUR_API_KEY'
PAss the state code, and receive the averages from the metro areas within that state.
Metro Area Averages - Endpoint Features
| Object | Description |
|---|---|
state |
[Required] State code |
{"status":200,"success":true,"state":"New Jersey","date":"2024-02-29","prices":{"Atlantic City":{"today_average":{"regular":"$3.143","mid-grade":"$3.644","premium":"$3.860","diesel":"$4.025"},"yesterday_average":{"regular":"$3.152","mid-grade":"$3.663","premium":"$3.860","diesel":"$4.032"},"week_ago_average":{"regular":"$3.215","mid-grade":"$3.712","premium":"$3.916","diesel":"$4.091"},"month_ago_average":{"regular":"$3.164","mid-grade":"$3.654","premium":"$3.865","diesel":"$4.011"},"year_ago_average":{"regular":"$3.118","mid-grade":"$3.624","premium":"$3.871","diesel":"$4.287"}},"Bergen-Passaic":{"today_average":{"regular":"$3.179","mid-grade":"$3.794","premium":"$4.082","diesel":"$4.136"},"yesterday_average":{"regular":"$3.184","mid-grade":"$3.804","premium":"$4.089","diesel":"$4.150"},"week_ago_average":{"regular":"$3.203","mid-grade":"$3.831","premium":"$4.120","diesel":"$4.163"},"month_ago_average":{"regular":"$3.126","mid-grade":"$3.722","premium":"$4.051","diesel":"$4.055"},"year_ago_average":{"regular":"$3.196","mid-grade":"$3.798","premium":"$4.133","diesel":"$4.438"}},"Middlesex-Somerset-Hunterdon":{"today_average":{"regular":"$3.193","mid-grade":"$3.777","premium":"$4.051","diesel":"$4.050"},"yesterday_average":{"regular":"$3.202","mid-grade":"$3.767","premium":"$4.050","diesel":"$4.050"},"week_ago_average":{"regular":"$3.238","mid-grade":"$3.796","premium":"$4.080","diesel":"$4.106"},"month_ago_average":{"regular":"$3.149","mid-grade":"$3.716","premium":"$4.003","diesel":"$3.973"},"year_ago_average":{"regular":"$3.229","mid-grade":"$3.778","premium":"$4.081","diesel":"$4.352"}},"Monmouth-Ocean":{"today_average":{"regular":"$3.182","mid-grade":"$3.740","premium":"$3.994","diesel":"$4.088"},"yesterday_average":{"regular":"$3.190","mid-grade":"$3.757","premium":"$3.995","diesel":"$4.094"},"week_ago_average":{"regular":"$3.244","mid-grade":"$3.821","premium":"$4.032","diesel":"$4.138"},"month_ago_average":{"regular":"$3.177","mid-grade":"$3.742","premium":"$3.968","diesel":"$4.038"},"year_ago_average":{"regular":"$3.221","mid-grade":"$3.810","premium":"$4.056","diesel":"$4.449"}},"Trenton":{"today_average":{"regular":"$3.148","mid-grade":"$3.800","premium":"$4.037","diesel":"$4.086"},"yesterday_average":{"regular":"$3.153","mid-grade":"$3.793","premium":"$4.024","diesel":"$4.113"},"week_ago_average":{"regular":"$3.185","mid-grade":"$3.813","premium":"$4.074","diesel":"$4.145"},"month_ago_average":{"regular":"$3.125","mid-grade":"$3.716","premium":"$4.011","diesel":"$4.096"},"year_ago_average":{"regular":"$3.207","mid-grade":"$3.798","premium":"$4.130","diesel":"$4.282"}},"Philadelphia (NJ Only)":{"today_average":{"regular":"$3.096","mid-grade":"$3.624","premium":"$3.835","diesel":"$4.005"},"yesterday_average":{"regular":"$3.101","mid-grade":"$3.617","premium":"$3.840","diesel":"$4.019"},"week_ago_average":{"regular":"$3.155","mid-grade":"$3.681","premium":"$3.893","diesel":"$4.075"},"month_ago_average":{"regular":"$3.092","mid-grade":"$3.640","premium":"$3.848","diesel":"$3.966"},"year_ago_average":{"regular":"$3.100","mid-grade":"$3.627","premium":"$3.806","diesel":"$4.338"}},"Cape May":{"today_average":{"regular":"$3.208","mid-grade":"$3.722","premium":"$3.897","diesel":"$4.068"},"yesterday_average":{"regular":"$3.212","mid-grade":"$3.694","premium":"$3.949","diesel":"$4.080"},"week_ago_average":{"regular":"$3.263","mid-grade":"$3.760","premium":"$3.985","diesel":"$4.133"},"month_ago_average":{"regular":"$3.196","mid-grade":"$3.705","premium":"$4.005","diesel":"$4.082"},"year_ago_average":{"regular":"$3.243","mid-grade":"$3.651","premium":"$3.950","diesel":"$4.416"}},"Parsippany-Troy Hills":{"today_average":{"regular":"$3.140","mid-grade":"$3.768","premium":"$4.001","diesel":"$4.058"},"yesterday_average":{"regular":"$3.150","mid-grade":"$3.768","premium":"$4.002","diesel":"$4.080"},"week_ago_average":{"regular":"$3.184","mid-grade":"$3.780","premium":"$4.039","diesel":"$4.100"},"month_ago_average":{"regular":"$3.112","mid-grade":"$3.712","premium":"$3.963","diesel":"$4.011"},"year_ago_average":{"regular":"$3.212","mid-grade":"$3.830","premium":"$4.138","diesel":"$4.400"}},"Vineland":{"today_average":{"regular":"$3.132","mid-grade":"$3.588","premium":"$3.803","diesel":"$4.030"},"yesterday_average":{"regular":"$3.141","mid-grade":"$3.603","premium":"$3.814","diesel":"$4.043"},"week_ago_average":{"regular":"$3.173","mid-grade":"$3.660","premium":"$3.881","diesel":"$4.082"},"month_ago_average":{"regular":"$3.123","mid-grade":"$3.601","premium":"$3.785","diesel":"$3.983"},"year_ago_average":{"regular":"$3.172","mid-grade":"$3.619","premium":"$3.811","diesel":"$4.389"}}}}
curl --location --request GET 'https://zylalabs.com/api/3600/colorado+fuel+prices+api/3987/metro+area+averages?state=CO' --header 'Authorization: Bearer YOUR_API_KEY'
| 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.
The API offers real-time and historical fuel price data for various fuel types, including gasoline, diesel, and alternative fuels, across the United States. It includes information such as fuel prices per gallon, location coordinates, and timestamps.
The data is updated at regular intervals, typically in real-time or near-real-time, ensuring that users have access to the latest fuel price information available from the sources we aggregate.
The API covers fuel prices across the entire United States, including all states, territories, and major metropolitan areas. Users can access data for specific regions or nationwide as needed.
Yes, the API provides access to historical fuel price data, allowing users to retrieve past prices for analysis, trend identification, and forecasting purposes.
The API may impose rate limits or usage restrictions to maintain service stability and fairness among users. Users can refer to the API documentation for details on rate limits and usage policies.
The "GET Latest Prices" endpoint returns the most current fuel prices for regular, mid-grade, premium gasoline, and diesel in a specified state. The response includes the state code, date of the data, and a structured list of prices.
The response includes fields such as "today_average," "yesterday_average," "week_ago_average," "month_ago_average," and "year_ago_average," each containing prices for regular, mid-grade, premium, and diesel fuels.
The response for the "GET Metro Area Averages" endpoint is structured to include a status code, success indicator, and a message. If data is found, it will list average fuel prices for various metro areas within the specified state.
The "GET Latest Prices" endpoint requires the state code as a parameter. Users can customize their requests by specifying different state codes to retrieve the latest fuel prices for that particular state.
Users can analyze the average fuel prices over different timeframes (today, yesterday, week, month, year) to identify trends, make budget forecasts, and optimize refueling strategies based on historical price fluctuations.
The "GET Metro Area Averages" endpoint provides average fuel prices for various metropolitan areas within a specified state, allowing users to compare prices across different regions and make informed refueling decisions.
The Colorado Fuel Prices API aggregates data from various fuel price reporting sources, including gas stations and industry reports, ensuring a comprehensive and up-to-date representation of fuel prices across the state.
Data accuracy is maintained through regular updates and quality checks, including validation against multiple sources. This process helps ensure that users receive reliable and current fuel price information.
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:
1,479ms
Service Level:
100%
Response Time:
457ms
Service Level:
100%
Response Time:
437ms
Service Level:
100%
Response Time:
17ms
Service Level:
100%
Response Time:
424ms
Service Level:
67%
Response Time:
1,982ms
Service Level:
100%
Response Time:
1,033ms
Service Level:
100%
Response Time:
1,037ms
Service Level:
100%
Response Time:
1,049ms
Service Level:
100%
Response Time:
6,897ms