Go to example tasks

Fetch gas prices in Dallas, Texas by API

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

Image

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

Connect "Fetch gas prices in Dallas, 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

Each Dallas, Texas station found for search Dallas, TX is a row with name, address_locality, address_region, distance, starRating, ratingsCount, price_cash and price_credit. The run writes a CSV; the dataset exports as JSON.

Fetch gas prices in Dallas, Texas by API ships ready to run with search Dallas, TX and fuel 1 for regular. Change fuel to 3 for premium or 5 for E85, or swap search for a ZIP code, which resolves more reliably than a city name.

Use apify-client in Python or Node: run the task with search Dallas, TX, then iterate its default dataset. Each item is a Dallas, Texas station with name, distance, price_cash and price_credit, ready for a database or a dashboard.

Open the task in the Apify Console, choose Actions, then Schedule, and set 0 7 * * * for 7 AM daily. Each run adds a dated dataset for Dallas, TX, so a week of runs becomes your own Dallas, Texas regular gas price series.

Add https://mcp.apify.com/?tools=actors,docs,johnvc/fuelprices to Claude or any other MCP client; the Actor appears as a tool. The agent sends search Dallas, TX and fuel 1 and gets Dallas rows with price_cash and price_credit.

Only the station records returned for Dallas, TX are billed, so a typical run of a couple of dozen Dallas stations costs very little and an empty run costs nothing. The FuelPrices Actor page lists the current rate and the free Apify tier.

Sort the Fetch gas prices in Dallas, Texas by API dataset on price_cash or price_credit and the cheapest Dallas station is at the top. The diesel companion is Fetch diesel prices in Dallas, Texas by MCP.