The Gasoline Prices API is presented as a dynamic and resilient platform, providing users with complete and accurate information on fuel expenses in the United States. In a landscape marked by constant fluctuations in fuel prices, this API emerges as an essential resource for applications that strive to deliver accurate and timely data to users.
A notable feature of the API is the provision of location-specific details. By providing accurate gas prices tailored to specific regions, the API enables applications to disseminate highly relevant data. This functionality is valuable for users who are looking for optimal fuel prices nearby or planning profitable refueling stops during their trips.
Designed with seamless integration in mind, the Gasoline Prices API ensures accessibility for users with varying experience levels, making it easy to effortlessly incorporate gasoline price data into your applications.
The versatility of the API makes it suitable for a wide variety of applications in various industries. Whether used for fuel price comparison, route planning, expense monitoring, or environmental impact assessments, the API can be tailored to meet a variety of needs, making it a valuable asset for users looking to enrich your applications with accurate and relevant fuel price data.
As a cornerstone in the fuel price information space, the Gasoline Prices API equips users with a powerful tool to enhance their applications. With its accuracy, location-specific information, historical data analysis capabilities, and easy-to-use integration, the API enables a broad spectrum of applications to provide users with timely and relevant information, ultimately fostering more informed decision making. in the midst of the complex panorama of fuel prices.
It will receive parameters and provide you with a JSON.
Fuel Price Comparison Apps: Enable users to compare gas prices at different stations to find the most cost-effective option.
Route Planning Apps: Integrate real-time gas prices into navigation apps to optimize routes based on fuel costs.
Expense Tracking Apps: Assist users in managing and tracking their fuel expenses by providing up-to-date gas prices.
Budgeting Apps: Enhance budgeting tools by incorporating current gas prices, helping users plan and manage transportation costs.
Fleet Management Systems: Optimize fuel expenses for businesses with multiple vehicles by integrating gas price data into fleet management software.
Besides the number of API calls per month, there are no other limitations.
Fetch the Gas Prices for every State in the US.
{"success":true,"result":[{"currency":"usd","name":"Alaska","gasoline":"3.688","midGrade":"3.927","premium":"4.172","diesel":"3.712"},{"currency":"usd","name":"Alabama","gasoline":"2.795","midGrade":"3.236","premium":"3.623","diesel":"3.372"},{"currency":"usd","name":"Arkansas","gasoline":"2.846","midGrade":"3.250","premium":"3.631","diesel":"3.296"},{"currency":"usd","name":"Arizona","gasoline":"3.370","midGrade":"3.688","premium":"4.010","diesel":"3.611"},{"currency":"usd","name":"California","gasoline":"4.733","midGrade":"4.943","premium":"5.116","diesel":"4.945"},{"currency":"usd","name":"Colorado","gasoline":"3.508","midGrade":"3.891","premium":"4.210","diesel":"3.487"},{"currency":"usd","name":"Connecticut","gasoline":"3.134","midGrade":"3.764","premium":"4.122","diesel":"3.725"},{"currency":"usd","name":"District of Columbia","gasoline":"3.354","midGrade":"3.899","premium":"4.342","diesel":"3.781"},{"currency":"usd","name":"Delaware","gasoline":"2.973","midGrade":"3.538","premium":"3.842","diesel":"3.288"},{"currency":"usd","name":"Florida","gasoline":"3.137","midGrade":"3.566","premium":"3.894","diesel":"3.431"},{"currency":"usd","name":"Georgia","gasoline":"2.957","midGrade":"3.409","premium":"3.804","diesel":"3.507"},{"currency":"usd","name":"Hawaii","gasoline":"4.608","midGrade":"4.827","premium":"5.100","diesel":"5.405"},{"currency":"usd","name":"Iowa","gasoline":"3.037","midGrade":"3.352","premium":"3.783","diesel":"3.343"},{"currency":"usd","name":"Idaho","gasoline":"3.540","midGrade":"3.792","premium":"4.032","diesel":"3.618"},{"currency":"usd","name":"Illinois","gasoline":"3.444","midGrade":"4.033","premium":"4.463","diesel":"3.668"},{"currency":"usd","name":"Indiana","gasoline":"3.146","midGrade":"3.694","premium":"4.192","diesel":"3.700"},{"currency":"usd","name":"Kansas","gasoline":"2.908","midGrade":"3.224","premium":"3.523","diesel":"3.306"},{"currency":"usd","name":"Kentucky","gasoline":"2.877","midGrade":"3.407","premium":"3.818","diesel":"3.322"},{"currency":"usd","name":"Louisiana","gasoline":"2.787","midGrade":"3.203","premium":"3.582","diesel":"3.242"},{"currency":"usd","name":"Massachusetts","gasoline":"3.134","midGrade":"3.730","premium":"4.088","diesel":"3.795"},{"currency":"usd","name":"Maryland","gasoline":"3.070","midGrade":"3.687","premium":"4.007","diesel":"3.442"},{"currency":"usd","name":"Maine","gasoline":"3.136","midGrade":"3.645","premium":"4.129","diesel":"3.816"},{"currency":"usd","name":"Michigan","gasoline":"3.349","midGrade":"3.899","premium":"4.451","diesel":"3.656"},{"currency":"usd","name":"Minnesota","gasoline":"3.079","midGrade":"3.487","premium":"3.903","diesel":"3.477"},{"currency":"usd","name":"Missouri","gasoline":"2.879","midGrade":"3.210","premium":"3.522","diesel":"3.234"},{"currency":"usd","name":"Mississippi","gasoline":"2.715","midGrade":"3.127","premium":"3.503","diesel":"3.211"},{"currency":"usd","name":"Montana","gasoline":"3.318","midGrade":"3.622","premium":"3.915","diesel":"3.632"},{"currency":"usd","name":"North Carolina","gasoline":"2.922","midGrade":"3.371","premium":"3.762","diesel":"3.490"},{"currency":"usd","name":"North Dakota","gasoline":"3.141","midGrade":"3.455","premium":"3.793","diesel":"3.514"},{"currency":"usd","name":"Nebraska","gasoline":"3.031","midGrade":"3.250","premium":"3.692","diesel":"3.314"},{"currency":"usd","name":"New Hampshire","gasoline":"3.053","midGrade":"3.619","premium":"4.040","diesel":"3.776"},{"currency":"usd","name":"New Jersey","gasoline":"3.032","midGrade":"3.643","premium":"3.908","diesel":"3.438"},{"currency":"usd","name":"New Mexico","gasoline":"3.051","midGrade":"3.445","premium":"3.747","diesel":"3.391"},{"currency":"usd","name":"Nevada","gasoline":"3.956","midGrade":"4.257","premium":"4.488","diesel":"3.750"},{"currency":"usd","name":"New York","gasoline":"3.298","midGrade":"3.807","premium":"4.195","diesel":"3.999"},{"currency":"usd","name":"Ohio","gasoline":"3.074","midGrade":"3.612","premium":"4.131","diesel":"3.589"},{"currency":"usd","name":"Oklahoma","gasoline":"2.801","midGrade":"3.141","premium":"3.407","diesel":"3.143"},{"currency":"usd","name":"Oregon","gasoline":"3.702","midGrade":"3.932","premium":"4.184","diesel":"3.907"},{"currency":"usd","name":"Pennsylvania","gasoline":"3.335","midGrade":"3.778","premium":"4.130","diesel":"4.016"},{"currency":"usd","name":"Rhode Island","gasoline":"3.017","midGrade":"3.698","premium":"4.034","diesel":"3.759"},{"currency":"usd","name":"South Carolina","gasoline":"2.828","midGrade":"3.255","premium":"3.618","diesel":"3.328"},{"currency":"usd","name":"South Dakota","gasoline":"3.083","midGrade":"3.283","premium":"3.717","diesel":"3.299"},{"currency":"usd","name":"Tennessee","gasoline":"2.782","midGrade":"3.205","premium":"3.590","diesel":"3.317"},{"currency":"usd","name":"Texas","gasoline":"2.780","midGrade":"3.218","premium":"3.565","diesel":"3.077"},{"currency":"usd","name":"Utah","gasoline":"3.574","midGrade":"3.821","premium":"4.029","diesel":"3.554"},{"currency":"usd","name":"Virginia","gasoline":"2.996","midGrade":"3.464","premium":"3.845","diesel":"3.526"},{"currency":"usd","name":"Vermont","gasoline":"3.235","midGrade":"3.789","premium":"4.189","diesel":"3.637"},{"currency":"usd","name":"Washington","gasoline":"4.101","midGrade":"4.365","premium":"4.585","diesel":"4.389"},{"currency":"usd","name":"Wisconsin","gasoline":"3.022","midGrade":"3.517","premium":"4.006","diesel":"3.405"},{"currency":"usd","name":"West Virginia","gasoline":"3.056","midGrade":"3.454","premium":"3.891","diesel":"3.617"},{"currency":"usd","name":"Wyoming","gasoline":"3.301","midGrade":"3.547","premium":"3.840","diesel":"3.569"}]}
curl --location --request GET 'https://zylalabs.com/api/3927/gasoline+prices+api/4649/fuel+costs' --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 commitments. One click upgrade/downgrade or cancellation. No questions asked.
To use this API just run your single endpoint and you will get gas prices from different states.
Gasoline Prices API is a robust and dynamic tool that provides users with access to complete and accurate information on fuel prices throughout the United States.
Zyla provides a wide range of integration methods for almost all programming languages. You can use these codes to integrate with your project as you need.
There are different plans suits everyone including a free trial for small amount of requests, but itβs rate is limit to prevent abuse of the service.
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.
Prices are listed in USD (United States Dollar), EUR (Euro), CAD (Canadian Dollar), AUD (Australian Dollar), and GBP (British Pound). We accept all major debit and credit cards. Our payment system uses the latest security technology and is powered by Stripe, one of the worldβs most reliable payment companies. If you have any trouble paying by card, just contact us at [email protected]
Additionally, if you already have an active subscription in any of these currencies (USD, EUR, CAD, AUD, GBP), that currency will remain for subsequent subscriptions. You can change the currency at any time as long as you don't have any active subscriptions.
The local currency shown on the pricing page is based on the country of your IP address and is provided for reference only. The actual prices are in USD (United States Dollar). When you make a payment, the charge will appear on your card statement in USD, even if you see the equivalent amount in your local currency on our website. This means you cannot pay directly with your local currency.
Occasionally, a bank may decline the charge due to its fraud protection settings. We suggest reaching out to your bank initially to check if they are blocking our charges. Also, you can access the Billing Portal and change the card associated to make the payment. If these does not work and you need further assistance, please contact our team at [email protected]
Prices are determined by a recurring monthly or yearly subscription, depending on the chosen plan.
API calls are deducted from your plan based on successful requests. Each plan comes with a specific number of calls that you can make per month. Only successful calls, indicated by a Status 200 response, will be counted against your total. This ensures that failed or incomplete requests do not impact your monthly quota.
Zyla API Hub works on a recurring monthly subscription system. Your billing cycle will start the day you purchase one of the paid plans, and it will renew the same day of the next month. So be aware to cancel your subscription beforehand if you want to avoid future charges.
To upgrade your current subscription plan, simply go to the pricing page of the API and select the plan you want to upgrade to. The upgrade will be instant, allowing you to immediately enjoy the features of the new plan. Please note that any remaining calls from your previous plan will not be carried over to the new plan, so be aware of this when upgrading. You will be charged the full amount of the new plan.
To check how many API calls you have left for the current month, look at the βX-Zyla-API-Calls-Monthly-Remainingβ header. For example, if your plan allows 1000 requests per month and you've used 100, this header will show 900.
To see the maximum number of API requests your plan allows, check the βX-Zyla-RateLimit-Limitβ header. For instance, if your plan includes 1000 requests per month, this header will display 1000.
The βX-Zyla-RateLimit-Resetβ header shows the number of seconds until your rate limit resets. This tells you when your request count will start fresh. For example, if it displays 3600, it means 3600 seconds are left until the limit resets.
Yes, you can cancel your plan anytime by going to your account and selecting the cancellation option on the Billing page. Please note that upgrades, downgrades, and cancellations take effect immediately. Additionally, upon cancellation, you will no longer have access to the service, even if you have remaining calls left in your quota.
You can contact us through our chat channel to receive immediate assistance. We are always online from 8 am to 5 pm (EST). If you reach us after that time, we will get back to you as soon as possible. Additionally, you can contact us via email at [email protected]
To let you experience our APIs without any commitment, we offer a 7-day free trial that allows you to make API calls at no cost during this period. Please note that you can only use this trial once, so make sure to use it with the API that interests you the most. Most of our APIs provide a free trial, but some may not support it.
After 7 days, you will be charged the full amount for the plan you were subscribed to during the trial. Therefore, itβs important to cancel before the trial period ends. Refund requests for forgetting to cancel on time are not accepted.
When you subscribe to an API trial, you can make only 25% of the calls allowed by that plan. For example, if the API plan offers 1000 calls, you can make only 250 during the trial. To access the full number of calls offered by the plan, you will need to subscribe to the full plan.
Service Level:
100%
Response Time:
1,007ms
Service Level:
98%
Response Time:
1,480ms
Service Level:
100%
Response Time:
1,424ms
Service Level:
100%
Response Time:
812ms
Service Level:
100%
Response Time:
7,856ms
Service Level:
100%
Response Time:
520ms
Service Level:
100%
Response Time:
2,148ms
Service Level:
100%
Response Time:
2,179ms
Service Level:
100%
Response Time:
5,143ms
Service Level:
100%
Response Time:
1,621ms
Service Level:
100%
Response Time:
2,494ms
Service Level:
100%
Response Time:
1,602ms
Service Level:
100%
Response Time:
1,826ms
Service Level:
100%
Response Time:
1,033ms
Service Level:
100%
Response Time:
4,761ms
Service Level:
100%
Response Time:
622ms
Service Level:
100%
Response Time:
1,067ms