VOOZH about

URL: https://apify.com/johnvc/fuelprices

โ‡ฑ Fuel Price Scraper | Gas Station Data | Pay Per Result ยท Apify


๐Ÿ‘ FuelPrices | Pay Per Result, Easy to Use, No Cookies avatar

FuelPrices | Pay Per Result, Easy to Use, No Cookies

Pricing

$1.00 / 1,000 results

Go to Apify Store

FuelPrices | Pay Per Result, Easy to Use, No Cookies

Get live fuel prices, diesel, and gas price data. Pay only for the results you need - no subscriptions, no commitments. Perfect for tracking local fuel costs, building comparison apps, or analyzing price trends. Pay per usage: no setup, no minimums, no subscriptions.

Pricing

$1.00 / 1,000 results

Rating

3.7

(5)

Developer

๐Ÿ‘ John

John

Maintained by Community

Actor stats

14

Bookmarked

134

Total users

27

Monthly active users

9.5 hours

Issues response

13 hours ago

Last modified

Share

Fuel Price Scraper

Real-time gas station prices and details by ZIP, city, or place name.

Get current fuel prices and station metadata in real time for any US location. Designed for quick setup, robust scraping, and clean outputs for analysis or downstream automation.

The coverage of this app is mostly in the United States, but does include some international locations such as Canada.

What this Actor does

  • Scrapes live prices for a location and fuel type
  • Returns clean station data (name, address, distance, ratings, cash/credit prices, timestamps)
  • Exports CSV automatically with an optional custom filename

Common use cases:

  • Price monitoring across cities/ZIP codes
  • Competitive analysis for fuel retail
  • Data pipelines feeding dashboards or alerts

Features

  • Simple input: just provide search (ZIP/city). This is the only mandatory input required.
  • Fuel selection: fuel numeric code (see Inputs). This is optional, but the default will be "1" (Regular Gasoline).
  • Freshness control: maxAge in days. This is optional, but the default will be "0" (any age).
  • Localized badges/text: lang. Currently only en is supported.
  • CSV export: set output_file, or we generate a timestamped name. output_file must be a filename ending in .csv (no directory paths).

Quick start

Find this Actor on the Apify Store.

In Python, see our quickstart tutorial here.

  1. Add the Actor to your Apify account and open it.
  2. Provide minimal input and run.

Example minimal input:

{
"search":"11507"
}

Example with options:

{
"search":"New York, NY",
"fuel":1,
"lang":"en",
"maxAge":0,
"output_file":"stations_nyc.csv"
}

Example using GPS coordinates (copy-paste from Google Maps):

{
"search":"36.0816642, -115.0534345",
"fuel":4
}

Input parameters

  • search (string, required): Location query โ€” accepts ZIP code, city name, or GPS coordinates copy-pasted directly from Google Maps (e.g., "11507", "Los Angeles", "36.0816642, -115.0534345"). Coordinates resolve to the nearest named area โ€” for example, 36.0816642, -115.0534345 returns stations near Henderson, Nevada.
  • fuel (integer, optional, default: 1): Fuel type code. Supported values are:
  • lang (string, optional, default: "en"): Language code for localized fields. Current allowed value: en.
  • maxAge (integer, optional, default: 0): Maximum age of price data in days. Use 0 for the freshest data available.
  • output_file (string, optional): Custom CSV filename. Must match ^[^/\\]+\\.csv$ (filename only, .csv extension required). If omitted, a timestamped filename is auto-generated (e.g., gas_stations_11507_2025-08-19_11-01-12_1.csv).

Local testing

  • Run the shell-based test suite from the repository root:
    • ./test_actor.sh
  • The script runs valid and invalid input scenarios, covers all supported fuel values, and writes failure/warning details to:
    • test_actor.log

Output

Results are stored in the Actor dataset and a CSV file is written to the run storage. The dataset schema includes the following key fields:

  • id, name, distance, priceUnit, ratingsCount, starRating
  • Address: address_line1, address_line2, address_locality, address_region, address_postalCode
  • Prices: price_cash, price_cash_postedTime, price_credit, price_credit_postedTime

Sample dataset item:

{
"id":123456,
"name":"USA",
"distance":1.2,
"priceUnit":"USD/GAL",
"ratingsCount":65,
"starRating":4.5,
"address_line1":"222-33 Braddock Ave",
"address_line2":null,
"address_locality":"Queens Village",
"address_region":"NY",
"address_postalCode":"11428",
"price_cash":2.85,
"price_cash_postedTime":"2025-08-19T10:58:00Z",
"price_credit":2.95,
"price_credit_postedTime":"2025-08-19T10:58:00Z"
}

CSV export

  • A CSV is always written. Control the name via output_file, otherwise a timestamped default is used.
  • Columns include: id,name,distance,priceUnit,ratingsCount,starRating,address_line1,address_line2,address_locality,address_region,address_postalCode,price_credit,price_credit_postedTime,price_cash,price_cash_postedTime.

Pricing

This Actor uses pay-per-result billing โ€” you only pay for the station records returned.

WhatCost
Per station result$0.001
1,000 results$1.00
Typical run (15โ€“25 stations)~$0.02

Billing is automatic โ€” Apify charges per item pushed to the dataset. There is no charge for setup or for runs that return no results.

MCP / AI Integration

This Actor works well with Claude Code and any MCP-compatible client via the Apify MCP server. An AI agent only needs to pass one parameter โ€” search (a ZIP code, city name, or GPS coordinates) โ€” and gets back structured JSON with station names, addresses, cash and credit prices, distance, and ratings. The output is ready for immediate use in pipelines, dashboards, or further analysis without any transformation.

How to connect via MCP:

  1. Add the Apify MCP server to your MCP client (Claude Code, Cursor, or any compatible tool).
  2. Search for this Actor by name and add it to your toolset.
  3. Call it with a search value โ€” ZIP code, city, or GPS coordinates โ€” and get structured station data back instantly.

You can test MCP connectivity with the Tester MCP Client Actor on Apify.

Watch: How to set up and use Apify Actors with MCP

FAQ

No results returned? The search location was not recognized or has no data available. Try a ZIP code instead of a city name โ€” ZIP codes resolve more reliably. Check the run log for a warning message showing which search term returned no data.

What countries are supported? Primarily the United States. Some Canadian locations are covered but availability varies by area.

How fresh is the price data? Prices are crowd-reported and updated frequently. Use the maxAge parameter to filter out stations that haven't reported prices within a certain number of days (e.g., maxAge: 3 returns only stations with prices from the last 3 days).

What fuel types are supported? Regular (1), Midgrade (2), Premium (3), Diesel (4), E85 (5), and Unleaded 88 (12).

Support

  • First, check your run logs in the Apify Console for diagnostics.
  • If you need help, open a discussion and we will try to respond as quickly as possible. Please include your run ID so we can quickly review the issue.

Roadmap

  1. Brand filtering: Search by brand or filter by brand name.
  2. More fuel types and payment filters: Add more fuel types and payment filters.
  3. Price freshness filters by hours: Add a freshness filter by hours.
  4. Alerts and notifications: Add alerts and notifications.
  5. Search by distance: Search by distance.
  6. Business metadata: Business metadata.
  • category (e.g., gas station vs. convenience store)
  • website URL, phone number
  • opening hours
  • neighborhood field
  • Geo data
  • latitude/longitude fields
  • operational status and ads
  • "temporarily closed" / "permanently closed"
  • "is advertisement" flag
  • reviews and media
  • review distribution (1โ€“5 stars breakdown)
  • individual reviews
  • station images
  1. Output formats: explicitly export Excel (XLSX) or HTML; we write CSV and dataset items (JSON via Apify dataset export)
  2. Provenance: explicit "scrape timestamp" and "search query used" fields in each record (only price postedTime from source, not scrape time)

n8n integration

Available as an n8n community node, n8n-nodes-fuel-prices-api. In n8n, open Settings, Community Nodes, install n8n-nodes-fuel-prices-api, then use the Fuel Prices node in any workflow (it also works as an AI Agent tool).

Last Updated: 2026.06.19

You might also like

Fuel Prices Scraper

crawlerbros/fuel-prices-scraper

Daily US fuel prices (regular, mid-grade, premium, diesel) at national, state, and metro level. HTTP-only, no proxy, no auth. Filters: states allowlist, fuelTypes, minPrice/maxPrice, sortBy. Source: AAA Fuel Gauge.

10

Gasbuddy Scraper | Gas Price Scraper

stanvanrooy6/gasbuddy-scraper

Scrape real-time gas prices and station information from GasBuddy.

34

US Gas Stations Scraper

eneiromatos/us-gas-stations-scraper

Scrape detailed information about US gas stations. Target specific locations by city and state, or provide a list of Google Maps Place IDs. Extracts name, gas prices, address, phone number, operating hours, and more.

10

We Work Remotely Jobs Scraper

parsebird/wwr-jobs-scraper

Scrape remote job listings from We Work Remotely, the world's largest remote job board. Filter by category, country, salary range, engagement type, and skills. Extract job details, company info, descriptions, and apply links.

Kwai Scraper

natanielsantos/kwai-scraper

This tool enables you to extract video data from Kwai. Use it to scrape post data, like URLs, numbers of followers, likes, video, engagement data and more. Download data as a HTML, JSON, CSV, Excel, or XML doc.

๐Ÿ‘ User avatar

Nataniel Santos

77

5.0

Rumble Video Downloader

easyapi/rumble-video-downloader

Extract and download videos from Rumble.com in multiple quality options (240p to 1080p). Get detailed metadata including title, author, duration, and thumbnail. Perfect for content archiving, research, and offline viewing. Supports batch processing of multiple URLs. ๐ŸŽฅโœจ

Google Scholar Scraper

george.the.developer/google-scholar-scraper

Scrape Google Scholar for academic papers, citations, author profiles. No API key needed. Extract titles, authors, abstracts, citation counts, PDF links, h-index, i10-index. Export JSON, CSV, Excel. Anti-bot protection with residential proxies, UA rotation, CAPTCHA detection.

86

5.0

Screenshot

dz_omar/screenshot

๐Ÿ“ธ Capture high-quality screenshots of any website with full-page support, custom viewports, and cookie authentication. Perfect for web monitoring, documentation, competitor analysis, and automated testing. Features smart loading detection and 30-second interval pricing for cost efficiency.

๐Ÿ‘ User avatar

FlowExtract API

231

5.0

Rumble Scraper โ€” Video Metadata Extractor

dltik/rumble-scraper

Extract metadata from Rumble.com videos. Get titles, descriptions, view counts, likes, dislikes, upload dates, durations, thumbnails and channel info. Batch process multiple URLs. Fast extraction powered by yt-dlp, no proxy needed. Export data as JSON, CSV or Excel. Schedule runs via API.