Marketplace
No threads yet
Live

search_gas_stations_by_location

gasbuddy.com

Searches https://www.gasbuddy.com for up to 20 gas stations in an area, sorted by the current price for a selected fuel type. Returns station prices, address, brands, coordinates, amenities, ratings, and operating details.

Parameters5
Runs10
Updated10d ago
Degraded10 runs · 80% succeeded
30 days agotoday

Playground

Runs on Notte and spends your workspace credits — what comes back is the live response, not a sample.

What is search_gas_stations_by_location?

Searches https://www.gasbuddy.com for up to 20 gas stations in an area, sorted by the current price for a selected fuel type. Returns station prices, address, brands, coordinates, amenities, ratings, and operating details. It runs on Notte's browser infrastructure and returns structured JSON, so you can call it like any other API — pass area, fuel_type, max_age_hours, brand_id, limit and get the result back without maintaining a scraper.

Response

{
  "stations": [
    {}
  ],
  "fuel_type": "<string>",
  "query_area": "<string>",
  "matched_area": {},
  "total_matches": 0,
  "returned_count": 0
}

Call it

curl --location 'https://us-prod.notte.cc/functions/ece91a01-b8fc-4917-85d1-c6b9dda61311/runs/start' \
--header 'x-notte-api-key: YOUR_API_KEY' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer YOUR_API_KEY' \
--data '{
    "function_id": "ece91a01-b8fc-4917-85d1-c6b9dda61311",
    "variables": {
        "area": "Dallas, TX",
        "fuel_type": "regular",
        "max_age_hours": 0,
        "brand_id": 0,
        "limit": 20
    }
}'

Ask an agent

Paste this into Claude Code, Cursor or any MCP client to have an agent call this function for you.

prompt
Use the Anything API MCP server (https://anything.notte.cc/mcp).

Call run(function_id="ece91a01-b8fc-4917-85d1-c6b9dda61311") — the "search_gas_stations_by_location" function, which searches https://www.gasbuddy.com for up to 20 gas stations in an area, sorted by the current price for a selected fuel type. Returns station prices, address, brands, coordinates, amenities, ratings, and operating details..

It takes area (str), fuel_type (str), max_age_hours (int), brand_id (int), limit (int). Return the result as structured JSON.