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.

The code examples below show how to run the Actor and get its results. To run the code, you need to have an Apify account. Replace <YOUR_API_TOKEN> in the code with your API token, which you can find under Settings > Integrations in Apify Console. Learn mode

Node.js

Python

curl

1# Set API token
2API_TOKEN=<YOUR_API_TOKEN>
3
4# Prepare Actor input
5cat > input.json <<'EOF'
6{
7  "location": "New York",
8  "maxCrawledPlacesPerSearch": 10
9}
10EOF
11
12# Run the Actor using an HTTP API
13# See the full API reference at https://docs.apify.com/api/v2
14curl "https://api.apify.com/v2/acts/natasha.lekh~gas-prices-scraper/runs?token=$API_TOKEN" \
15  -X POST \
16  -d @input.json \
17  -H 'Content-Type: application/json'
Developer
Apify logo Maintained by Apify
Actor metrics
  • 12 monthly users
  • 99.5% runs succeeded
  • 0.7 days response time
  • Created in Jul 2022
  • Modified about 10 hours ago
Categories

You might also like these Actors