Gas Prices Scraper avatar
Gas Prices Scraper
Try for free

7 days trial then $10.00/month - No credit card required now

View all Actors
Gas Prices Scraper

Gas Prices Scraper

natasha.lekh/gas-prices-scraper
Try for free

7 days trial then $10.00/month - No credit card required now

⛽ Find lowest gas prices and timestamps of price updates from gas stations in your area. Scrape gas station addresses, gas company names, open/closed status, website, reviews (stars), postal code and more. Download data scraped from Google Maps in various formats including HTML, JSON, and Excel.

Whether you're trying to find the cheapest gas stations in your area or lowest gas prices in the US, you can't find all of them quickly without some automation tool. Try our free Gas Stations Scraper!

There's only two things you have to indicate to gas station details: the area you want to scrape, (e.g. Houston) and the number of gas stations you want to examine. Then hit the "Save & Start" button at the bottom of the page and get data on fuel prices, types, and companies anywhere in the world!

Can I use gas station data to make a gas prices app?

Yes, you can use the data any way you like. The datasets produced by this scraper are extracted from Google Maps so the data stays relevant. Also, the Gas Station Scraper datasets you will extract can be downloaded in machine-readable formats (HTML, JSON, Excel, CSV) which are perfect for populating applications, reports, and other documents for data analysis.

Here are just some ways scraping gas prices and stations can be useful:

  • get live data on gas prices from Google Maps
  • monitor gas prices by state, city, or area
  • find details on all gas stations near you: address, phone, website, open/closed status and more
  • see the price range by fuel types: premium gas, midgrade gas, diesel
  • automate keeping an eye on different fuel supplier and gas company offers

For more inspiration on how to use the extracted Google Maps data, check out our industries pages. See how web scraping results are already being used by companies of all sizes, including manufacturing and logistics.

How much will it cost me to scrape gas prices?

Apify provides you with $5 free usage credits to use every month on the Apify Free plan. For that $5 you can get up to 2,000 data items from this Gas Station Scraper. So it will be completely free for 2,000 results!

If you need to scrape gas station data on a more regular basis, you should opt for an Apify subscription. We recommend our $49/month Starter plan - that one will cover 20,000 gas station results every month with the free $49 in monthly usage credits!

Input example

There are just two fields to fill out: the area you want to get data from and the number of results you'd like to receive.

Let's scrape 100 gas stations in Houston, Texas.

This is how it would look in JSON format:

1{
2  "location": "Houston",
3  "maxCrawledPlaces": 100
4}

Output example

You can view the extracted data as a table or change the format and go through all fields. You can manage your results in any language (Python, PHP, Node.js/NPM) and any format (CSV, JSON, HTML, Excel). Last but not least - you can download your data from the Apify platform onto your computer or integrate it with other apps directly with our great range of integrations.

Gas station scraper_output

Or, as it would look in JSON format:

1[{
2  "title": "Texaco Houston",
3  "subTitle": null,
4  "price": null,
5  "menu": null,
6  "categoryName": "Gas station",
7  "address": "5333 Katy Fwy, Houston, TX 77007",
8  "locatedIn": null,
9  "neighborhood": "Washington Avenue Coalition / Memorial Park",
10  "street": "5333 Katy Fwy",
11  "city": "Houston",
12  "postalCode": "77007",
13  "state": "Texas",
14  "countryCode": "US",
15  "plusCode": "QHGM+M2 Washington Avenue Coalition / Memorial Park, Houston, TX",
16  "website": "http://www.texaco.com/",
17  "phone": "(713) 861-7240",
18  "temporarilyClosed": false,
19  "location": {
20    "lat": 29.7767003,
21    "lng": -95.4174596
22  },
23  "permanentlyClosed": false,
24  "totalScore": 3,
25  "isAdvertisement": false,
26  "rank": 21,
27  "placeId": "ChIJl_XcfzbHQIYRgRBOGELqZ7c",
28  "categories": [
29    "Gas station",
30    "Auto repair shop",
31    "Convenience store",
32    "Diesel fuel supplier",
33    "Fuel pump",
34    "Gas company"
35  ],
36  "cid": "13215789201138520193",
37  "url": "https://www.google.com/maps/place/Texaco+Houston/@29.7767003,-95.4174596,17z/data=!3m1!4b1!4m5!3m4!1s0x8640c7367fdcf597:0xb767ea42184e1081!8m2!3d29.7766652!4d-95.4174594?hl=en",
38  "searchPageUrl": "https://www.google.com/maps/search/gas+station+in+Houston/@42.0839424,-72.0371712,14z?hl=en",
39  "searchString": "gas station in Houston",
40  "scrapedAt": "2022-07-12T16:37:36.783Z",
41  "reviewsCount": 8,
42  "reviewsDistribution": {
43    "oneStar": 3,
44    "twoStar": 1,
45    "threeStar": 0,
46    "fourStar": 1,
47    "fiveStar": 3
48  },
49  "imageUrls": [
50    "https://lh5.googleusercontent.com/p/AF1QipMktjTD6ylmcKfx5_urprrU775a0p4cFcDZGX4V=w1920-h1080-k-no"
51  ],
52  "reviews": [],
53  "orderBy": [],
54  "gasPrices": [
55    {
56      "priceTag": "$4.76",
57      "updatedAt": "2022-07-11T16:53:35.000Z",
58      "unit": "gallon",
59      "currency": "USD",
60      "price": 4.76,
61      "gasType": "Midgrade"
62    },
63    {
64      "priceTag": "$5.26",
65      "updatedAt": "2022-07-11T06:25:09.000Z",
66      "unit": "gallon",
67      "currency": "USD",
68      "price": 5.26,
69      "gasType": "Premium"
70    }
71  ]
72},
73  ...

FAQ

Can I integrate Gas Prices Scraper with other apps?

Last but not least, Gas Prices Scraper can be connected with almost any cloud service or web app thanks to integrations on the Apify platform. You can integrate with Make, Zapier, Slack, Airbyte, GitHub, Google Sheets, Google Drive, and more. Or you can use webhooks to carry out an action whenever an event occurs, e.g. get a notification whenever Gas Prices Scraper successfully finishes a run.

Can I use Gas Prices Scraper with API?

Yes. The Apify API gives you programmatic access to the Apify platform. The API is organized around RESTful HTTP endpoints that enable you to manage, schedule, and run Apify actors. The API also lets you access any datasets, monitor actor performance, fetch results, create and update versions, and more.

To access the API using Node.js, use the apify-client NPM package. To access the API using Python, use the apify-client PyPI package.

Check out the Apify API reference docs for full details or click on the API tab for code examples.

Need to scrape emails from Google Maps?

Looking to scrape contact information from Google Maps? Give our Google Maps Email Extractor a try! This email scraper allows you to extract almost any contact data from Google places: emails, addresses, phone numbers, and social media details. You can also follow this tutorial to get started.

Need a more advanced scraper for Google Maps?

If you need more detailed data from Google Maps, try our Google Maps Scraper. It's a little more complicated to set up but you can get almost any data from Google Maps. You can always just follow this comprehesive guide. Or try one of these other map scrapers:

🧭 Google Maps Itinerary🍃 Easy Google Maps Scraper
⭐️ Google Maps Reviews Scraper🤟 Google Datasets Translator
🍎 Apple Maps Scraper 📍 OCR for Google Map pins
Developer
Maintained by Apify
Actor metrics
  • 13 monthly users
  • 99.2% runs succeeded
  • 0.7 days response time
  • Created in Jul 2022
  • Modified about 12 hours ago
Categories