Gas Prices Scraper avatar

Gas Prices Scraper

Try for free

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

Go to Store
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.

Do you want to learn more about this Actor?

Get a demo

You can access the Gas Prices Scraper programmatically from your own applications by using the Apify API. You can choose the language preference from below. To use the Apify API, you’ll need an Apify account and your API token, found in Integrations settings in Apify Console.

1{
2  "openapi": "3.0.1",
3  "info": {
4    "version": "0.0",
5    "x-build-id": "nKFyAkwbXyiVGuE6o"
6  },
7  "servers": [
8    {
9      "url": "https://api.apify.com/v2"
10    }
11  ],
12  "paths": {
13    "/acts/natasha.lekh~gas-prices-scraper/run-sync-get-dataset-items": {
14      "post": {
15        "operationId": "run-sync-get-dataset-items-natasha.lekh-gas-prices-scraper",
16        "x-openai-isConsequential": false,
17        "summary": "Executes an Actor, waits for its completion, and returns Actor's dataset items in response.",
18        "tags": [
19          "Run Actor"
20        ],
21        "requestBody": {
22          "required": true,
23          "content": {
24            "application/json": {
25              "schema": {
26                "$ref": "#/components/schemas/inputSchema"
27              }
28            }
29          }
30        },
31        "parameters": [
32          {
33            "name": "token",
34            "in": "query",
35            "required": true,
36            "schema": {
37              "type": "string"
38            },
39            "description": "Enter your Apify token here"
40          }
41        ],
42        "responses": {
43          "200": {
44            "description": "OK"
45          }
46        }
47      }
48    },
49    "/acts/natasha.lekh~gas-prices-scraper/runs": {
50      "post": {
51        "operationId": "runs-sync-natasha.lekh-gas-prices-scraper",
52        "x-openai-isConsequential": false,
53        "summary": "Executes an Actor and returns information about the initiated run in response.",
54        "tags": [
55          "Run Actor"
56        ],
57        "requestBody": {
58          "required": true,
59          "content": {
60            "application/json": {
61              "schema": {
62                "$ref": "#/components/schemas/inputSchema"
63              }
64            }
65          }
66        },
67        "parameters": [
68          {
69            "name": "token",
70            "in": "query",
71            "required": true,
72            "schema": {
73              "type": "string"
74            },
75            "description": "Enter your Apify token here"
76          }
77        ],
78        "responses": {
79          "200": {
80            "description": "OK",
81            "content": {
82              "application/json": {
83                "schema": {
84                  "$ref": "#/components/schemas/runsResponseSchema"
85                }
86              }
87            }
88          }
89        }
90      }
91    },
92    "/acts/natasha.lekh~gas-prices-scraper/run-sync": {
93      "post": {
94        "operationId": "run-sync-natasha.lekh-gas-prices-scraper",
95        "x-openai-isConsequential": false,
96        "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.",
97        "tags": [
98          "Run Actor"
99        ],
100        "requestBody": {
101          "required": true,
102          "content": {
103            "application/json": {
104              "schema": {
105                "$ref": "#/components/schemas/inputSchema"
106              }
107            }
108          }
109        },
110        "parameters": [
111          {
112            "name": "token",
113            "in": "query",
114            "required": true,
115            "schema": {
116              "type": "string"
117            },
118            "description": "Enter your Apify token here"
119          }
120        ],
121        "responses": {
122          "200": {
123            "description": "OK"
124          }
125        }
126      }
127    }
128  },
129  "components": {
130    "schemas": {
131      "inputSchema": {
132        "type": "object",
133        "required": [
134          "location"
135        ],
136        "properties": {
137          "location": {
138            "title": "Where?",
139            "type": "string",
140            "description": "Where you want to search? Be more specific if you seem to get the wrong location. You will only get the prices if you search within the USA (other countries are not supported with this feature on Google mapsa yet)."
141          },
142          "maxCrawledPlacesPerSearch": {
143            "title": "How many places?",
144            "minimum": 1,
145            "maximum": 400,
146            "type": "integer",
147            "description": "The maximum number of places you want to find"
148          }
149        }
150      },
151      "runsResponseSchema": {
152        "type": "object",
153        "properties": {
154          "data": {
155            "type": "object",
156            "properties": {
157              "id": {
158                "type": "string"
159              },
160              "actId": {
161                "type": "string"
162              },
163              "userId": {
164                "type": "string"
165              },
166              "startedAt": {
167                "type": "string",
168                "format": "date-time",
169                "example": "2025-01-08T00:00:00.000Z"
170              },
171              "finishedAt": {
172                "type": "string",
173                "format": "date-time",
174                "example": "2025-01-08T00:00:00.000Z"
175              },
176              "status": {
177                "type": "string",
178                "example": "READY"
179              },
180              "meta": {
181                "type": "object",
182                "properties": {
183                  "origin": {
184                    "type": "string",
185                    "example": "API"
186                  },
187                  "userAgent": {
188                    "type": "string"
189                  }
190                }
191              },
192              "stats": {
193                "type": "object",
194                "properties": {
195                  "inputBodyLen": {
196                    "type": "integer",
197                    "example": 2000
198                  },
199                  "rebootCount": {
200                    "type": "integer",
201                    "example": 0
202                  },
203                  "restartCount": {
204                    "type": "integer",
205                    "example": 0
206                  },
207                  "resurrectCount": {
208                    "type": "integer",
209                    "example": 0
210                  },
211                  "computeUnits": {
212                    "type": "integer",
213                    "example": 0
214                  }
215                }
216              },
217              "options": {
218                "type": "object",
219                "properties": {
220                  "build": {
221                    "type": "string",
222                    "example": "latest"
223                  },
224                  "timeoutSecs": {
225                    "type": "integer",
226                    "example": 300
227                  },
228                  "memoryMbytes": {
229                    "type": "integer",
230                    "example": 1024
231                  },
232                  "diskMbytes": {
233                    "type": "integer",
234                    "example": 2048
235                  }
236                }
237              },
238              "buildId": {
239                "type": "string"
240              },
241              "defaultKeyValueStoreId": {
242                "type": "string"
243              },
244              "defaultDatasetId": {
245                "type": "string"
246              },
247              "defaultRequestQueueId": {
248                "type": "string"
249              },
250              "buildNumber": {
251                "type": "string",
252                "example": "1.0.0"
253              },
254              "containerUrl": {
255                "type": "string"
256              },
257              "usage": {
258                "type": "object",
259                "properties": {
260                  "ACTOR_COMPUTE_UNITS": {
261                    "type": "integer",
262                    "example": 0
263                  },
264                  "DATASET_READS": {
265                    "type": "integer",
266                    "example": 0
267                  },
268                  "DATASET_WRITES": {
269                    "type": "integer",
270                    "example": 0
271                  },
272                  "KEY_VALUE_STORE_READS": {
273                    "type": "integer",
274                    "example": 0
275                  },
276                  "KEY_VALUE_STORE_WRITES": {
277                    "type": "integer",
278                    "example": 1
279                  },
280                  "KEY_VALUE_STORE_LISTS": {
281                    "type": "integer",
282                    "example": 0
283                  },
284                  "REQUEST_QUEUE_READS": {
285                    "type": "integer",
286                    "example": 0
287                  },
288                  "REQUEST_QUEUE_WRITES": {
289                    "type": "integer",
290                    "example": 0
291                  },
292                  "DATA_TRANSFER_INTERNAL_GBYTES": {
293                    "type": "integer",
294                    "example": 0
295                  },
296                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
297                    "type": "integer",
298                    "example": 0
299                  },
300                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
301                    "type": "integer",
302                    "example": 0
303                  },
304                  "PROXY_SERPS": {
305                    "type": "integer",
306                    "example": 0
307                  }
308                }
309              },
310              "usageTotalUsd": {
311                "type": "number",
312                "example": 0.00005
313              },
314              "usageUsd": {
315                "type": "object",
316                "properties": {
317                  "ACTOR_COMPUTE_UNITS": {
318                    "type": "integer",
319                    "example": 0
320                  },
321                  "DATASET_READS": {
322                    "type": "integer",
323                    "example": 0
324                  },
325                  "DATASET_WRITES": {
326                    "type": "integer",
327                    "example": 0
328                  },
329                  "KEY_VALUE_STORE_READS": {
330                    "type": "integer",
331                    "example": 0
332                  },
333                  "KEY_VALUE_STORE_WRITES": {
334                    "type": "number",
335                    "example": 0.00005
336                  },
337                  "KEY_VALUE_STORE_LISTS": {
338                    "type": "integer",
339                    "example": 0
340                  },
341                  "REQUEST_QUEUE_READS": {
342                    "type": "integer",
343                    "example": 0
344                  },
345                  "REQUEST_QUEUE_WRITES": {
346                    "type": "integer",
347                    "example": 0
348                  },
349                  "DATA_TRANSFER_INTERNAL_GBYTES": {
350                    "type": "integer",
351                    "example": 0
352                  },
353                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
354                    "type": "integer",
355                    "example": 0
356                  },
357                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
358                    "type": "integer",
359                    "example": 0
360                  },
361                  "PROXY_SERPS": {
362                    "type": "integer",
363                    "example": 0
364                  }
365                }
366              }
367            }
368          }
369        }
370      }
371    }
372  }
373}

Free Gas Prices Scraper OpenAPI definition

OpenAPI is a standard for designing and describing RESTful APIs, allowing developers to define API structure, endpoints, and data formats in a machine-readable way. It simplifies API development, integration, and documentation.

OpenAPI is effective when used with AI agents and GPTs by standardizing how these systems interact with various APIs, for reliable integrations and efficient communication.

By defining machine-readable API specifications, OpenAPI allows AI models like GPTs to understand and use varied data sources, improving accuracy. This accelerates development, reduces errors, and provides context-aware responses, making OpenAPI a core component for AI applications.

You can download the OpenAPI definitions for Gas Prices Scraper from the options below:

If you’d like to learn more about how OpenAPI powers GPTs, read our blog post.

You can also check out our other API clients:

Developer
Maintained by Apify

Actor Metrics

  • 8 monthly users

  • 5 stars

  • >99% runs succeeded

  • 2.3 days response time

  • Created in Jul 2022

  • Modified 5 hours ago

Categories