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 more

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
Maintained by Apify
Actor metrics
  • 7 monthly users
  • 2 stars
  • 100.0% runs succeeded
  • Created in Jul 2022
  • Modified about 11 hours ago
Categories