GasBuddy API

GasBuddy API for Fuel Station Search, Prices per Fuel Type and Station Detail

Scrappa's GasBuddy API returns structured JSON from public fuel station data. Search by ZIP, city or coordinates and get prices per fuel type with update time, brands, rating, address and area trends. Open a station by its id for more detail. Failed requests are never billed.

500 free credits
No card needed
From $0.20 / 1k
Pay as you go
Structured JSON
Ready for apps
API key access
Test in minutes
2
Endpoints
1
Credit per request
$0.20
Per 1k requests

Try it now

Make one request. Inspect structured JSON.

Use the first endpoint in this API family with a Scrappa API key. Every account includes 500 free monthly credits, so you can validate the response shape before buying credits.

Request preview
Request
curl -X GET "https://scrappa.co/api/gasbuddy/stations?search=85396&fuel=1" \
  -H "Accept: application/json" \
  -H "X-API-KEY: YOUR_API_KEY"
JSON response
{
  "success": true,
  "data": {
    "countryCode": "US",
    "displayName": "85396",
    "stations": {
      "count": 2,
      "cursor": { "next": null },
      "results": [
        { "id": 205033, "name": "Sunoco", "prices": [ { "fuelProduct": "regular", "price": 4.15, "postedTime": "2026-11-16T22:08:51.514Z" } ] }
      ]
    },
    "trends": [ { "areaName": "Arizona", "today": 3.19, "trend": "steady" } ]
  },
  "meta": { "endpoint_family": "stations", "billable": true }
}

What you can build

Structured data for real applications. Here are some ideas.

Fleet Cost Tracking

Compare current fuel prices along a route before you plan a refill.

Navigation Apps

Show nearby stations with prices and brands from one public lookup.

Price Research

Follow area trends and per-fuel prices in the US and Canada.

Available endpoints

Everything you need in one API.

Scrappa vs ScrapingBee / Apify actors

See how Scrappa compares to ScrapingBee / Apify actors.

Fuel prices as JSON
Scrappa
ScrapingBee / Apify actors
Build your own scraper
Filters that are always honoured
Scrappa
Typed parameters
ScrapingBee / Apify actors
Build the query yourself
Two routes with reusable station ids
Scrappa
ScrapingBee / Apify actors
Varies
Price per 1k requests
Scrappa
From $0.20
ScrapingBee / Apify actors
Varies by credits per request
Unified API key
Scrappa
Yes (350+ APIs)
ScrapingBee / Apify actors
Scraping only

Key features

Search by ZIP, City, ST or latitude and longitude
Prices as numbers with cash and credit values and update time
US dollars per gallon and Canadian cents per litre
Brands, rating, review count, address and full-size image URLs
Area trends and cursor pagination from the public search
Public data only. Failed requests are never billed

Frequently asked questions

No. Scrappa is an independent service and is not affiliated with or endorsed by GasBuddy. The GasBuddy API returns structured JSON from public data through a Scrappa API key.

Every Scrappa account includes 500 free credits each month. After that each request costs one credit. Failed requests are not billed.

No. No public surface exposes it. The station search returns public area trends instead.

Start using the GasBuddy API

Sign up and get 500 free credits. No credit card required.