Gas Price Scraper avatar

Gas Price Scraper

Pricing

Pay per usage

Go to Apify Store
Gas Price Scraper

Gas Price Scraper

Pricing

Pay per usage

Rating

0.0

(0)

Developer

Donny Nguyen

Donny Nguyen

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

2 days ago

Last modified

Categories

Share

Overview

The Gas Price Scraper extracts fuel pricing data from GasBuddy, the leading platform for crowdsourced gas price reporting. This actor collects structured data about gas station names, brands, addresses, and prices for regular, midgrade, premium, and diesel fuel, enabling fuel cost comparison and tracking for consumers, fleet managers, and transportation analysts.

Features

  • Scrapes gas station pricing from GasBuddy.com
  • Search by ZIP code with configurable radius
  • Collects all fuel grade prices: regular, midgrade, premium, and diesel
  • Includes cash and credit pricing when available
  • Tracks last updated timestamps for price freshness
  • Lists station amenities (convenience store, car wash, ATM, etc.)
  • Filter focus by primary fuel type of interest

Input Configuration

The actor accepts the following input parameters:

ParameterTypeDefaultDescription
zipCodestring75024ZIP code to search for gas stations
radiusinteger10Search radius in miles
fuelTypestringregularPrimary fuel type: regular, midgrade, premium, diesel
maxResultsinteger50Maximum number of stations to return

Output Format

Each gas station in the dataset contains the following fields:

  • stationName - Station name
  • brand - Fuel brand (Shell, Exxon, Chevron, etc.)
  • address - Station street address
  • regularPrice - Regular unleaded price per gallon
  • midgradePrice - Midgrade fuel price per gallon
  • premiumPrice - Premium fuel price per gallon
  • dieselPrice - Diesel fuel price per gallon
  • lastUpdated - When the price was last reported
  • cashPrice - Cash payment price when different
  • creditPrice - Credit card price when different
  • amenities - Available station amenities

Use Cases

This scraper is useful for consumers finding the cheapest gas near them, fleet management companies optimizing fuel costs, transportation researchers tracking regional fuel price trends, personal finance apps showing nearby prices, and logistics companies planning efficient fueling stops. The structured data enables price comparison dashboards and cost optimization tools.

Data Quality

Prices on GasBuddy are crowdsourced, meaning they are reported by users and may have slight delays. The lastUpdated timestamp indicates when each price was last confirmed. For the most accurate pricing, focus on recently updated stations.

Limitations

  • Prices are crowdsourced and may not always be up to the minute
  • Not all gas stations are listed on GasBuddy
  • Cash vs credit pricing differences may not be available for all stations
  • Price data accuracy depends on user reporting frequency
  • Some stations may only show prices for certain fuel grades