⛽ Fuel & EV Charging Price Finder — Live Gas Prices + Chargers avatar

⛽ Fuel & EV Charging Price Finder — Live Gas Prices + Chargers

Pricing

from $1.00 / 1,000 results

Go to Apify Store
⛽ Fuel & EV Charging Price Finder — Live Gas Prices + Chargers

⛽ Fuel & EV Charging Price Finder — Live Gas Prices + Chargers

Live, per-station fuel prices (every grade, cash & credit) by ZIP, city, address, or GPS coordinates — plus optional nearby EV charging station data (network, connector types, charger counts). No login, no API key, no proxy needed.

Pricing

from $1.00 / 1,000 results

Rating

0.0

(0)

Developer

Hitman studio

Hitman studio

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

24 days ago

Last modified

Features

Limited permissions

Share

Live, per-station fuel prices (every grade, cash and credit) for any US ZIP, city, full address, or GPS coordinates — plus, as a bonus most fuel-price tools don't offer, nearby EV charging stations (network, connector types, charger counts). No login, no API key, and (as tested) no residential proxy needed.

Keywords: gas prices api, fuel price scraper, gasbuddy scraper, gas station finder, EV charging station finder, fuel price by zip code, real-time gas prices, diesel price lookup.

🌟 Why this one

There are already several GasBuddy scrapers on Apify. This one earns its place with real, tested differences, not marketing claims:

  • Every fuel grade in one call — regular, midgrade, premium, diesel, E85, Unleaded 88 — plus both cash and credit price per grade. Several competing tools return only one grade per run.
  • Local price trend included — today's area average, today's low, and trend direction for the searched locality, state, and the whole US — fields no competing GasBuddy actor on Apify currently returns.
  • A real ZIP-code fix, not a known limitation left unhandled: a bare 5-digit ZIP in a dense city (confirmed on 10001 New York and 60601 Chicago) returns zero stations from GasBuddy's own search — their geocoder doesn't resolve it the way it resolves "Austin, TX" or a raw lat/lng. This Actor automatically resolves a bare ZIP to coordinates via a free lookup first, so it works the same for every ZIP, not just the ones GasBuddy's own search happens to like.
  • EV charging stations, optionally, from the same search — network name, connector types (J1772 / CCS / CHAdeMO / Tesla NACS), Level 1/2/DC-fast charger counts, access hours, pricing where reported. This is a second, genuinely useful dataset bundled with the fuel data, not a repackaging of it.
  • No proxy burn — confirmed by direct testing: a plain outbound request (no residential/datacenter proxy) reaches GasBuddy's API successfully. Lower cost for you, passed on as lower pricing.
  • Honest about rate limits: GasBuddy does apply a temporary IP-based rate limit (HTTP 429) under heavy burst traffic. This Actor backs off and retries automatically — see the FAQ for exactly what that means for your run.

⚙️ How it works

  1. Fetches a CSRF token from GasBuddy's own homepage (the same token its own website's browser session would get).
  2. For a bare ZIP code, resolves it to coordinates first via a free, no-key ZIP lookup, then searches GasBuddy by coordinates — this is what fixes the dense-city-ZIP gap described above. City names, full addresses, and raw lat,lng input go straight to GasBuddy's own search.
  3. Calls GasBuddy's own public GraphQL API (the same one its website calls) to get the station list with every grade's cash/credit price, amenities, hours, rating, outage status, and the area's price trend.
  4. If EV search is on, calls the same API's EV-charging-station endpoint centered on the same location.

🚀 Quick start

{ "searches": ["90210", "Austin, TX"], "maxResultsPerSearch": 20 }

Or via the API, once published:

curl "https://api.apify.com/v2/acts/fuel-ev-price-finder/run-sync-get-dataset-items?token=<YOUR_TOKEN>" \
-H "Content-Type: application/json" \
-d '{"searches": ["90210"], "includeEvStations": true}'

📥 Input

FieldTypeDefaultDescription
searchesarray (required)—ZIP code, "City, State", full address, or "lat,lng" — one per line
fuelTypeselectallOnly list stations selling this grade (every row still shows all grades that station has)
maxResultsPerSearchinteger20Max stations per location (1–200)
maxAgeDaysinteger0Ignore price reports older than this many days (0 = no limit)
includeEvStationsbooleanfalseAlso return nearby EV charging stations as a second row type
evRadiusMilesinteger10EV search radius, only used when the above is on

⚠️ Best input formats: "90210", "Austin, TX",

"123 Main St, Chicago, IL"
, or "34.0901,-118.4065". A bare ZIP in a dense city is auto-corrected via ZIP lookup (see "Why this one" above) — but if that lookup itself is ever unavailable, prefer "City, State" for guaranteed results.

📤 Output

Fuel station row (record_type: "fuel_station"):

FieldDescription
search_termThe location this row was found for
station_id, name, brandsStation identity
address_line1, city, region, postal_code, countryAddress
latitude, longitude, distance_milesLocation
price_regular, price_midgrade, price_premium, price_diesel, price_e85, price_unl88Best available price per grade
prices_detailFull cash + credit breakdown per grade, with posted timestamps
fuels_availableWhich grades this station sells
star_rating, ratings_countCommunity rating
amenitiese.g. C-Store, Car Wash, ATM, Pay At Pump
has_active_outage, open_status, hours_status, opening_hoursOperational status
pay_at_pump_available, offers, phoneExtras
area_name, area_avg_price_today, area_avg_price_today_low, area_trend_directionLocal price trend

EV station row (record_type: "ev_station"):

FieldDescription
name, network, network_urlCharging station identity
level1_charger_count, level2_charger_count, dc_fast_charger_countCharger counts by speed
connector_countsJ1772 / CCS / CHAdeMO / Tesla NACS counts
pricing, access_hours, access_code, cards_acceptedUsage details
last_confirmedLast time this listing was confirmed
{
"record_type": "fuel_station",
"search_term": "90210",
"station_id": "6258",
"name": "76",
"brands": ["76"],
"city": "Beverly Hills",
"region": "CA",
"price_regular": 6.59,
"price_midgrade": 6.74,
"price_premium": 6.99,
"price_diesel": 9.14,
"star_rating": 4.2,
"ratings_count": 74,
"amenities": ["ATM", "C-Store", "Car Wash", "Pay At Pump"],
"area_name": "Beverly Hills",
"area_avg_price_today": 6.4,
"area_trend_direction": -1
}

A search that fails outright (e.g. an unresolvable location) produces one record_type: "error" row with a real error message — never a silent empty result that looks like "no stations found" when it was actually a request failure.

🎯 Use cases

  • Price comparison apps / widgets — live per-grade prices by location
  • Fleet & logistics cost planning — diesel prices along a route
  • EV route planning — charging network/connector coverage by area
  • Market research — regional fuel price trend tracking over time
  • Local SEO / directory sites — real-time station data for a gas-station or EV-charger locator page
  • Personal finance / commute-cost tools — nearest cheapest grade

🔌 Integration examples

Python (apify-client):

from apify_client import ApifyClient
client = ApifyClient("<YOUR_TOKEN>")
run = client.actor("fuel-ev-price-finder").call(
run_input={"searches": ["90210"], "includeEvStations": True}
)
for item in client.dataset(run["defaultDatasetId"]).iterate_items():
print(item["name"], item.get("price_regular"))

JavaScript (apify-client):

import { ApifyClient } from 'apify-client';
const client = new ApifyClient({ token: '<YOUR_TOKEN>' });
const run = await client.actor('fuel-ev-price-finder').call({
searches: ['Austin, TX'], fuelType: 'diesel',
});
const { items } = await client.dataset(run.defaultDatasetId).listItems();

📊 Performance & reliability

MetricValue (measured, not estimated)
Cost per run (1 location, 5 stations)~$0.002 (real cloud run, tracked via Apify REST API)
Proxy requiredNo — confirmed by direct testing, plain outbound request
Login / API key requiredNo
Data sourceGasBuddy's own public GraphQL API (the one its website uses)
Bare-ZIP coverage fixAutomatic (ZIP lookup fallback), confirmed fixing dense-city ZIPs that returned 0 results otherwise
Rate-limit handlingAutomatic backoff + retry on HTTP 429; a sustained block surfaces as one clear error row, not a silent empty result
Known failure modeHeavy burst traffic can trigger GasBuddy's own temporary IP rate limit — see FAQ

❓ FAQ

Does this need a GasBuddy login or API key? No — it calls the same public endpoint GasBuddy's own website calls, with no authenticated session.

Why did my search return 0 stations? Usually one of: the ZIP/city genuinely has no reporting stations nearby, or (for a bare ZIP) the automatic ZIP-lookup fallback itself was briefly unavailable — retry with "City, State" format in that case. A real request failure always comes back as a record_type: "error" row with a message, never a silent empty result.

Is this affiliated with GasBuddy? No. It's an independent tool reading the same public data GasBuddy's own website serves to any visitor — not an official GasBuddy product.

What happens if GasBuddy rate-limits the run? GasBuddy applies a temporary HTTP 429 to IPs sending a burst of requests too fast. The Actor backs off and retries automatically. If you're running many searches, a maxResultsPerSearch in the 10–30 range per search is the sweet spot — keep concurrency modest and you shouldn't hit it in normal use.

How fresh are the prices? These are the same crowd-reported prices GasBuddy's own site shows — freshness depends on how recently someone reported that station's price. Use maxAgeDays to exclude stale reports.

Does it cover Canada? GasBuddy itself has some Canadian coverage; this Actor passes through whatever GasBuddy's search returns for the location given, so Canadian cities may work but aren't the primary tested coverage (US is).

Found a bug or a location that fails unexpectedly? A failed row always includes a real error message — worth reporting through the Actor's Issues tab if it doesn't match a known limitation above.

⚖️ Notes

Reads only public, already-crowd-sourced price data and public station/EV listings — no login, no private data, no scraping of personal information.