Skip to content
Scrappa Get API key
GasBuddy API 1 credit / request

GasBuddy Station API Documentation

GET https://scrappa.co/api/gasbuddy/station

GasBuddy Station API Documentation Get one fuel station by the numeric id returned by GasBuddy Stations. Prices are numbers with a currency, dates use ISO 8601 and image URLs are full size. Returns prices, phone, open status, amenities, brands and address. 1 credit per request. Failed requests are never billed.

GasBuddy Station API Documentation 1 credit / request

Endpoint

Request preview
GET
https://scrappa.co/api/gasbuddy/station
Auth header
x-api-key
Cost
1 credit / request
id = 1234567890
Response preview
200 OK
{
    "data": {
        "id": 205033,
        "name": "Sunoco",
        "phone": "+1-623-555-0100",
        "prices": [
            {
                "price": 4.15,
                "postedTime": "2026-11-16T22:08:51.514Z",
                "fuelProduct": "regular"
            }
        ],
        "address": {
            "line1": "123 Main St",
...

Parameters

Start with the required fields, then add optional filters only when your use case needs them.

Runnable path

1 required parameter needed before sending a request.

id string Required

Numeric station id from a GasBuddy stations result

Example value 1234567890

Response Schema

Example response fields are illustrative; inspect the JSON before integrating.

Example response fields

Scan these fields before integrating.

data meta success
JSON Response
200 OK
{
    "data": {
        "id": 205033,
        "name": "Sunoco",
        "phone": "+1-623-555-0100",
        "prices": [
            {
                "price": 4.15,
                "postedTime": "2026-11-16T22:08:51.514Z",
                "fuelProduct": "regular"
            }
        ],
        "address": {
            "line1": "123 Main St",
            "region": "AZ",
            "country": "US",
            "locality": "Buckeye",
            "postalCode": "85396"
        },
        "openStatus": "open"
    },
    "meta": {
        "billable": true,
        "endpoint_family": "station"
    },
    "success": true
}

Errors

Handle these documented responses before retrying or showing customer-facing failures.

422

Validation Error

Send the numeric station id from a GasBuddy stations result. Failed requests are not billed.

503

Temporarily Unavailable

Fuel price data is temporarily unreachable. Failed requests are not billed.

Generate Code with AI

Copy a ready-made prompt with all the endpoint details, parameters, and example responses. Paste it into ChatGPT, Claude, or any AI assistant to instantly generate working code.

Try It Live

Test this endpoint in our interactive playground with real data.