{"success":true,"result":[{"currency":"usd","name":"Alaska","regular":"$3.874","midGrade":"$4.118","premium":"$4.361","diesel":"$4.100"},{"currency":"usd","name":"Alabama","regular":"$2.736","midGrade":"$3.171","premium":"$3.565","diesel":"$3.392"},{"currency":"usd","name":"Arkansas","regular":"$2.663","midGrade":"$3.092","premium":"$3.461","diesel":"$3.302"},{"currency":"usd","name":"Arizona","regular":"$3.483","midGrade":"$3.853","premium":"$4.179","diesel":"$3.627"},{"currency":"usd","name":"California","regular":"$4.666","midGrade":"$4.894","premium":"$5.083","diesel":"$5.135"},{"currency":"usd","name":"Colorado","regular":"$2.902","midGrade":"$3.284","premium":"$3.616","diesel":"$3.366"},{"currency":"usd","name":"Connecticut","regular":"$3.087","midGrade":"$3.701","premium":"$4.074","diesel":"$3.747"},{"currency":"usd","name":"District of Columbia","regular":"$3.222","midGrade":"$3.839","premium":"$4.235","diesel":"$3.936"},{"currency":"usd","name":"Delaware","regular":"$2.965","midGrade":"$3.523","premium":"$3.804","diesel":"$3.609"},{"currency":"usd","name":"Florida","regular":"$2.912","midGrade":"$3.352","premium":"$3.672","diesel":"$3.646"},{"currency":"usd","name":"Georgia","regular":"$2.867","midGrade":"$3.294","premium":"$3.700","diesel":"$3.499"},{"currency":"usd","name":"Hawaii","regular":"$4.464","midGrade":"$4.706","premium":"$4.963","diesel":"$5.219"},{"currency":"usd","name":"Iowa","regular":"$2.776","midGrade":"$3.100","premium":"$3.577","diesel":"$3.461"},{"currency":"usd","name":"Idaho","regular":"$3.456","midGrade":"$3.743","premium":"$4.009","diesel":"$3.777"},{"currency":"usd","name":"Illinois","regular":"$3.211","midGrade":"$3.800","premium":"$4.260","diesel":"$3.698"},{"currency":"usd","name":"Indiana","regular":"$2.844","midGrade":"$3.407","premium":"$3.904","diesel":"$3.791"},{"currency":"usd","name":"Kansas","regular":"$2.773","midGrade":"$3.099","premium":"$3.450","diesel":"$3.385"},{"currency":"usd","name":"Kentucky","regular":"$2.722","midGrade":"$3.264","premium":"$3.676","diesel":"$3.356"},{"currency":"usd","name":"Louisiana","regular":"$2.683","midGrade":"$3.090","premium":"$3.483","diesel":"$3.271"},{"currency":"usd","name":"Massachusetts","regular":"$3.042","midGrade":"$3.662","premium":"$4.027","diesel":"$3.827"},{"currency":"usd","name":"Maryland","regular":"$3.069","midGrade":"$3.654","premium":"$3.961","diesel":"$3.653"},{"currency":"usd","name":"Maine","regular":"$3.044","midGrade":"$3.587","premium":"$4.045","diesel":"$3.871"},{"currency":"usd","name":"Michigan","regular":"$2.907","midGrade":"$3.504","premium":"$4.064","diesel":"$3.650"},{"currency":"usd","name":"Minnesota","regular":"$2.896","midGrade":"$3.308","premium":"$3.746","diesel":"$3.569"},{"currency":"usd","name":"Missouri","regular":"$2.731","midGrade":"$3.083","premium":"$3.408","diesel":"$3.343"},{"currency":"usd","name":"Mississippi","regular":"$2.657","midGrade":"$3.066","premium":"$3.456","diesel":"$3.239"},{"currency":"usd","name":"Montana","regular":"$3.092","midGrade":"$3.397","premium":"$3.723","diesel":"$3.558"},{"currency":"usd","name":"North Carolina","regular":"$2.847","midGrade":"$3.298","premium":"$3.689","diesel":"$3.475"},{"currency":"usd","name":"North Dakota","regular":"$2.868","midGrade":"$3.217","premium":"$3.576","diesel":"$3.444"},{"currency":"usd","name":"Nebraska","regular":"$2.834","midGrade":"$3.070","premium":"$3.586","diesel":"$3.335"},{"currency":"usd","name":"New Hampshire","regular":"$2.982","midGrade":"$3.557","premium":"$3.985","diesel":"$3.788"},{"currency":"usd","name":"New Jersey","regular":"$3.015","midGrade":"$3.576","premium":"$3.835","diesel":"$3.569"},{"currency":"usd","name":"New Mexico","regular":"$2.843","midGrade":"$3.244","premium":"$3.556","diesel":"$3.440"},{"currency":"usd","name":"Nevada","regular":"$3.882","midGrade":"$4.177","premium":"$4.440","diesel":"$3.918"},{"currency":"usd","name":"New York","regular":"$3.159","midGrade":"$3.679","premium":"$4.048","diesel":"$3.874"},{"currency":"usd","name":"Ohio","regular":"$2.777","midGrade":"$3.302","premium":"$3.820","diesel":"$3.611"},{"currency":"usd","name":"Oklahoma","regular":"$2.553","midGrade":"$2.950","premium":"$3.240","diesel":"$3.154"},{"currency":"usd","name":"Oregon","regular":"$4.092","midGrade":"$4.356","premium":"$4.625","diesel":"$4.442"},{"currency":"usd","name":"Pennsylvania","regular":"$3.266","midGrade":"$3.712","premium":"$4.087","diesel":"$3.972"},{"currency":"usd","name":"Rhode Island","regular":"$2.994","midGrade":"$3.709","premium":"$4.122","diesel":"$3.765"},{"currency":"usd","name":"South Carolina","regular":"$2.777","midGrade":"$3.213","premium":"$3.592","diesel":"$3.355"},{"currency":"usd","name":"South Dakota","regular":"$2.875","midGrade":"$3.071","premium":"$3.564","diesel":"$3.318"},{"currency":"usd","name":"Tennessee","regular":"$2.710","midGrade":"$3.171","premium":"$3.551","diesel":"$3.359"},{"currency":"usd","name":"Texas","regular":"$2.659","midGrade":"$3.114","premium":"$3.479","diesel":"$3.147"},{"currency":"usd","name":"Utah","regular":"$3.347","midGrade":"$3.617","premium":"$3.850","diesel":"$3.673"},{"currency":"usd","name":"Virginia","regular":"$2.953","midGrade":"$3.428","premium":"$3.804","diesel":"$3.589"},{"currency":"usd","name":"Vermont","regular":"$3.146","midGrade":"$3.673","premium":"$4.109","diesel":"$3.816"},{"currency":"usd","name":"Washington","regular":"$4.478","midGrade":"$4.731","premium":"$4.971","diesel":"$5.024"},{"currency":"usd","name":"Wisconsin","regular":"$2.697","midGrade":"$3.230","premium":"$3.725","diesel":"$3.417"},{"currency":"usd","name":"West Virginia","regular":"$2.950","midGrade":"$3.356","premium":"$3.808","diesel":"$3.576"},{"currency":"usd","name":"Wyoming","regular":"$3.030","midGrade":"$3.290","premium":"$3.581","diesel":"$3.507"}]}
curl --location --request GET 'https://zylalabs.com/api/10741/loadrush+v2+api/20317/getfuelpricesbylocation?lat=41.8787&lon=-87.6298&fuelType=Diesiel' --header 'Authorization: Bearer YOUR_API_KEY'
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 loadrush v2 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
## Overview
The LoadRush Vehicle Transport API powers the next generation of smart car-hauling and logistics management. It connects verified drivers, brokers, and shippers to post, match, and manage vehicle transport loads in real time.
## Key Features
- 🔹 Real-time load posting and matching
- 🔹 Live GPS tracking and ETA calculations
- 🔹 Route optimization and rate-per-mile analytics
- 🔹 Secure driver and shipper profiles
- 🔹 Fuel cost insights powered by EIA data
## Use Cases
- Brokers can post vehicle loads and find available verified drivers.
- Drivers can search for nearby loads and optimize their routes.
- Shippers can monitor delivery progress, ETAs, and driver performance.
The GetFuelPricesByLocation endpoint returns current fuel prices for specified locations and fuel types. The data includes prices for regular, mid-grade, premium, and diesel fuels, along with the currency and state name.
The key fields in the response include "currency," "name" (state), and fuel price categories: "regular," "midGrade," "premium," and "diesel." Each field provides essential information about fuel costs in different states.
Users can customize their requests using parameters such as latitude (lat), longitude (lon), and fuel type (e.g., diesel or regular). These parameters help specify the location and type of fuel for which prices are needed.
The response data is organized in a JSON format, with a "success" boolean indicating the request status, followed by a "result" array containing objects for each state with fuel price details.
The fuel price data is sourced from the Energy Information Administration (EIA), ensuring that users receive accurate and up-to-date fuel pricing information for various locations.
Typical use cases include logistics applications needing to calculate transportation costs, travel planning tools that help users find the cheapest fuel options, and fleet management systems optimizing fuel expenses.
Users can analyze the fuel prices across different states to make informed decisions about route planning and cost management. For example, comparing prices can help identify the most economical refueling stops during transport.
If the response contains partial or empty results, users should check the parameters for accuracy, such as ensuring valid latitude and longitude values. Implementing error handling in the application can also help manage such scenarios gracefully.
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