Go to example tasks

Fetch gas prices in Chicago, Illinois by API

Fetch live gas prices in Chicago, Illinois from a REST API: station name, address, distance, cash and credit prices. Clean JSON, pay per result.

Try for free
FuelPrices | Pay Per Result, Easy to Use, No Cookies
FuelPrices | Pay Per Result, Easy to Use, No Cookiesjohnvc/fuelprices
ID
Station
Address
City
+10 fields
Text
Number
Boolean
List
Object

Input

Search Location(required):Chicago, IL
Fuel Type:1

Output fields

ID
Station
Address
City
State
ZIP
Distance (mi)
Price Unit
Cash Price
Cash Posted
Credit Price
Credit Posted
Ratings
Stars

How it works

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.

Image

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

Webhook

n8n

n8n

Make

Make

Zapier

Zapier

Airbyte

Airbyte

Keboola

Keboola

IFTTT

IFTTT

Hubspot

Hubspot

GDrive

GDrive

Gmail

Gmail

Apify MCP

Apify MCP

GitHub

GitHub

Slack

Slack

LangChain

LangChain

LlamaIndex

LlamaIndex

Flowise

Flowise

Pinecone

Pinecone

OpenAI

OpenAI

Mastra

Mastra

Clay

Clay

Frequently asked questions

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.