---
title: "GasBuddy API: Station | Perceptlayer"
description: "Station from GasBuddy as JSON. 1 credit per successful call."
url: https://perceptlayer.com/apis/gasbuddy/station
---

[APIs](https://perceptlayer.com/apis) / [GasBuddy](https://perceptlayer.com/apis/gasbuddy) / Station

# GasBuddy: Station

Station from GasBuddy as JSON. 1 credit per successful call.

GET `/v1/gasbuddy/station`

## Parameters

Send parameters in the query string.

| Parameter | Type | Required | Allowed values |
| --- | --- | --- | --- |
| `id` | string | Required | Up to 20 characters |

## Example request

GasBuddy

GET /v1/gasbuddy/station?id=205033 

```
{
  "success": true,
  "data": {
    "id": "205033",
    "name": "Sunoco",
    "phone": "",
    "openStatus": "open",
    "open_status": "open",
    "enterprise": false,
    "hasActiveOutage": false,
    "has_active_outage": false,
    "latitude": 40.196589,
    "longitude": -75.47145,
    "starRating": 4.4,
    "star_rating": 4.4,
    "ratingsCount": 99,
    "ratings_count": 99,
    "priceUnit": "dollars_per_gallon",
    "price_unit": "dollars_per_gallon",
    "currency": "USD",
    "fuels": [
      "regular_gas",
      "midgrade_gas",
      "premium_gas"
    ],
    "address": {
      "line1": "306 W Main St",
      "locality": "Collegeville",
      "region": "PA",
      "postalCode": "19426",
      "postal_code": "19426",
      "country": "US"
    },
    "brands": [
      {
        "brandId": "130",
        "brand_id": "130",
        "name": "Sunoco",
        "brandingType": "cstore",
        "branding_type": "cstore",
        "imageUrl": "https://images.gasbuddy.io/b/130.png",
        "image_url": "https://images.gasbuddy.io/b/130.png"
      }
    ],
    "amenities": [
      {
        "name": "Offers Cash Discount"
      },
      {
        "name": "C-Store"
      },
      {
        "name": "Pay At Pump"
      }
    ],
    "offers": [
      {
        "types": [
          "gasbuddy"
        ],
        "use": [
          "strike",
          "sort"
        ],
        "discounts": [
          {
            "grades": [
              "regular_gas",
              "midgrade_gas",
              "premium_gas"
            ],
            "highlight": "Flash Deal: Save 2¢ per gallon",
            "pwgbDiscount": "0.02",
            "pwgb_discount": "0.02"
          }
        ]
      }
    ],
    "prices": [
      {
        "fuelProduct": "regular_gas",
        "fuel_product": "regular_gas",
        "longName": "Regular",
        "long_name": "Regular",
        "cash": {
          "postedTime": "2026-11-17T19:08:53.587Z",
          "posted_time": "2026-11-17T19:08:53.587Z",
          "price": 3.93,
          "formattedPrice": "$3.93",
          "formatted_price": "$3.93"
        },
        "credit": {
          "postedTime": "2026-11-17T19:08:53.603Z",
          "posted_time": "2026-11-17T19:08:53.603Z",
          "price": 4.03,
          "formattedPrice": "$4.03",
          "formatted_price": "$4.03"
        }
      },
      {
        "fuelProduct": "midgrade_gas",
        "fuel_product": "midgrade_gas",
        "longName": "Midgrade",
        "long_name": "Midgrade",
        "cash": {},
        "credit": {}
      },
      {
        "fuelProduct": "premium_gas",
        "fuel_product": "premium_gas",
        "longName": "Premium",
        "long_name": "Premium",
        "cash": {},
        "credit": {}
      }
    ]
  },
  "meta": {
    "endpoint_family": "station",
    "duration_ms": 4486
  }
}
```

200 OK JSON X-Credits-Used: 1

Recorded 18 Nov 2026 and shortened.

[Run this endpoint in the playground](https://perceptlayer.com/apis/gasbuddy?try=station#playground) with your own parameters. 1 credit per successful call; failed calls are free.

## Response fields

`data` has these 23 fields, read from a recorded call. The recording leaves out fields that were empty, so a live call can return more.

| Field | Type |
| --- | --- |
| `id` | string |
| `name` | string |
| `phone` | string |
| `openStatus` | string |
| `open_status` | string |
| `enterprise` | boolean |
| `hasActiveOutage` | boolean |
| `has_active_outage` | boolean |
| `latitude` | number |
| `longitude` | number |
| `starRating` | number |
| `star_rating` | number |
| `ratingsCount` | integer |
| `ratings_count` | integer |
| `priceUnit` | string |
| `price_unit` | string |
| `currency` | string |
| `fuels` | string\[\] |
| `address` | object |
| `brands` | object\[\] |
| `amenities` | object\[\] |
| `offers` | object\[\] |
| `prices` | object\[\] |
