Go to example tasks

Fetch gas prices in Houston, Texas by API

Fetch live gas prices in Houston, Texas 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):Houston, TX
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 Houston, Texas 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 Houston, Texas 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 Houston, Texas 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 Houston, Texas by API" task via API.

Image

Integrate "Fetch gas prices in Houston, Texas by API" into your workflow

Connect "Fetch gas prices in Houston, Texas 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 Houston, Texas (search Houston, TX) 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.

Two fields: search set to Houston, TX and fuel set to 1 for regular gas. Add maxAge, in days, to drop Houston, Texas stations whose last reported price is older than you want; the default 0 keeps every station.

Call the task's run endpoint on the Apify API, or use apify-client for Python or Node with search Houston, TX and fuel 1, then read the Houston, Texas dataset back as JSON or CSV. The README's Python quickstart is about ten lines.

Any cron works. Pick Actions, then Schedule, on Fetch gas prices in Houston, Texas by API and enter 0 7 * * * for a daily 7 AM snapshot of Houston, TX. Prices are crowd reported, so intraday reruns mostly catch newly posted ones.

With https://mcp.apify.com/?tools=actors,docs,johnvc/fuelprices in Claude or any other MCP client, an agent runs the Actor with search Houston, TX and reads back each Houston station's distance, price_cash and price_credit.

Every Apify account includes a free tier, and the FuelPrices Actor bills pay per result against it: each station record the Houston, TX run pushes to the dataset is charged, empty runs are not. The exact rate is on the Actor page.

Only live prices with their postedTime come back for Houston, TX; the Actor stores no history. Run it on a schedule and the stacked datasets become your series. Diesel nearby is Fetch diesel prices in Houston, Texas by MCP.