Fetch gas prices in Chicago, Illinois by API
John
Fetch live gas prices in Chicago, Illinois from a REST API: station name, address, distance, cash and credit prices. Clean JSON, pay per result.
Input
Output fields
Sign up on Apify or log in
The FuelPrices | Pay Per Result, Easy to Use, No Cookies Actor is ready to run with the inputs already set for "Fetch gas prices in Chicago, Illinois by API". Sign up or log in and you'll land in Apify Console with a copy of this exact task.
Start the "Fetch gas prices in Chicago, Illinois by API" task
The FuelPrices | Pay Per Result, Easy to Use, No Cookies Actor will start running based on the input automatically. You can also change all the input fields, like search location and fuel type, to match your specific use case.
Receive the "Fetch gas prices in Chicago, Illinois by API" output
Monitor the progress in real time. You will be notified as soon as your dataset is complete and ready for review. Each result includes data such as ID, station, address, and more.
Integrate into your workflow
The final output is delivered in JSON, CSV, or Excel format, ready to be plugged into your workflow. You can also run the "Fetch gas prices in Chicago, Illinois by API" task via API.

Integrate "Fetch gas prices in Chicago, Illinois by API" into your workflow
Connect "Fetch gas prices in Chicago, Illinois by API" with 100+ integrations, or run it via API or MCP.
Webhook
n8n
Make
Zapier
Airbyte
Keboola
IFTTT
Hubspot
GDrive
Gmail
Apify MCP
GitHub
Slack
LangChain
LlamaIndex
Flowise
Pinecone
OpenAI
Mastra
Clay
One row per station near Chicago, Illinois (search Chicago, IL) with name, address_line1, address_postalCode, distance, price_cash and price_credit for regular gas, each price with its postedTime. Export as JSON, CSV or Excel.
search is the one mandatory field, set here to Chicago, IL. Fetch gas prices in Chicago, Illinois by API also fixes fuel at 1 for regular; maxAge, lang and output_file are optional and can stay at their defaults.
The task is callable from the Apify API or apify-client: pass search Chicago, IL and fuel 1, wait for the run, and read the Chicago, Illinois station rows as JSON or CSV. Once your token is set, nothing in the Console needs clicking.
Set a schedule under Actions in the Console, for example 0 6 1 * * for the first of each month at 6 AM, then route each Chicago, IL run through a webhook or the n8n node n8n-nodes-fuel-prices-api into a sheet or a Slack alert.
Register https://mcp.apify.com/?tools=actors,docs,johnvc/fuelprices as an MCP server, then ask in plain language for regular gas in Chicago, Illinois. The agent only has to supply search, here Chicago, IL; fuel defaults to 1.
Per result. The Actor charges for each Chicago station record it returns for Chicago, IL, never for setup or for a run that finds nothing. Check the Actor page for the current rate; the free tier on every Apify account applies.
Every run of Fetch gas prices in Chicago, Illinois by API writes a CSV for Chicago, IL, named by output_file or a timestamp, and the dataset exports to Excel too. Fetch diesel prices in Chicago, Illinois by MCP does the same.