Fuel / Gas Price API
### USA Gas Prices API A high-performance REST API providing accurate, real-time, and historical gas price data across the United States. Built for developers, analysts, and applications that need fast and reliable access to U.S. fuel pricing at the national, state, and county levels. --- #### Key Features * **Comprehensive Coverage** – National, state, and county-level gas price data *…
Fuel / Gas Price API endpoints
| Method | Endpoint | Description |
|---|---|---|
| national | ||
| GET |
nationalAverage /national |
Get US national average gas prices including current prices, historical data (yesterday, week, month, year ago), and all-time highest recorded prices. Data is updated twice daily… |
| state | ||
| GET |
countyDataByState /state/{stateCode}/counties |
Get county-level gas price data for any US state. Returns an array of counties with current average prices for Regular, Mid-Grade, Premium, and Diesel fuel. Provides the most… |
| GET |
individualState /state/{stateCode} |
Get detailed gas price data for any US state. Returns state name, current prices, historical data (yesterday, week, month, year ago), and all-time highest recorded prices for… |
| GET |
allStates /states |
Get current gas prices for all 50 US states plus Washington DC. Returns an array of 51 states with current average prices for Regular, Mid-Grade, Premium, and Diesel. Useful for… |
| health | ||
| GET |
healthCheck /health |
Check API health status. Returns server status, Redis connection status, and timestamp of last data scrape. Use this endpoint to verify the API is operational and data is fresh.… |
Fuel / Gas Price API pricing
| Plan | Price | Rate limit | Quotas |
|---|---|---|---|
| BASIC | Free | — |
|
| PRO Recommended | $5 / month | — |
|
| ULTRA | $20 / month | — |
|