---
title: "Get a preferred fuel station."
method: GET
path: "/preferred-stations/{id}"
tags: ["Fuel and Energy"]
---

# Get a preferred fuel station.

`GET /preferred-stations/{id}`

## Request

- Base URL: `https://api.samsara.com`
- URL: `https://api.samsara.com/preferred-stations/{id}`
- Auth: HTTP bearer

Get a single preferred fuel station by ID.

 <b>Rate limit:</b> 100 requests/min (learn more about rate limits <a href="https://developers.samsara.com/docs/rate-limits" target="_blank">here</a>).

To use this endpoint, select **Read Fuel Purchase** under the Fuel & Energy category when creating or editing an API token. <a href="https://developers.samsara.com/docs/authentication#scopes-for-api-tokens" target="_blank">Learn More.</a>
 

 **Submit Feedback**: Likes, dislikes, and API feature requests should be filed as feedback in our <a href="https://forms.gle/zkD4NCH7HjKb7mm69" target="_blank">API feedback form</a>. If you encountered an issue or noticed inaccuracies in the API documentation, please <a href="https://www.samsara.com/help" target="_blank">submit a case</a> to our support team.

## Path parameters

- `id` string, required

## Query parameters

- `includeExternalIds` boolean

## Response `200`

OK response.

- PreferredStationsGetPreferredStationResponseBody
  - `data` PreferredStationObjectResponseBody, required: A preferred fuel station.
    - `address` PreferredStationAddressResponseResponseBody: Address of the preferred fuel station.
      - `city` string: City of the station.
      - `country` string: Country code.
      - `line1` string: Street address of the station.
      - `postalCode` string: Postal or ZIP code.
      - `state` string: State or province code.
    - `discounts` PreferredStationDiscountResponseResponseBody[]: Discount overrides per fuel type.
      - `discount` PreferredStationDiscountResponseMoneyResponseBody: The discount value.
        - `amount` string, required: The money amount.
        - `currency` 'usd' | 'gbp' | 'cad' | 'eur' | 'chf' | 'mxn', required: The currency of money. This is a 3-letter ISO 4217 currency code. Valid values: `usd`, `gbp`, `cad`, `eur`, `chf`, `mxn`
      - `discountPercent` string: The discount percentage value.
      - `discountType` 'centsPerUnit' | 'percentage' | 'fixedPrice' | 'unknown', required: How the discount is calculated. Valid values: `centsPerUnit`, `percentage`, `fixedPrice`, `unknown`
      - `fuelType` 'gasoline' | 'diesel' | 'biodiesel' | 'flexibleFuelE85' | 'electricity' | 'ethanolE100' | 'renewableDiesel' | 'm100' | 'cng' | 'lng' | 'lpg' | 'rng' | 'fcev' | 'unknown', required: The fuel type this discount applies to. Valid values: `gasoline`, `diesel`, `biodiesel`, `flexibleFuelE85`, `electricity`, `ethanolE100`, `renewableDiesel`, `m100`, `cng`, `lng`, `lpg`, `rng`, `fcev`, `unknown`
      - `volumeUnit` 'liter' | 'gallon' | 'imperialGallon' | 'unknown': Volume/energy unit. Valid values: `liter`, `gallon`, `imperialGallon`, `unknown`
    - `externalIds` object: External IDs for this station.
    - `id` string: Samsara-assigned station ID.
    - `latitude` number, double: Latitude in WGS84 degrees.
    - `longitude` number, double: Longitude in WGS84 degrees.
    - `name` string, required: Display name of the station.
    - `prices` PreferredStationPriceResponseResponseBody[]: Per-fuel-type prices.
      - `fuelType` 'gasoline' | 'diesel' | 'biodiesel' | 'flexibleFuelE85' | 'electricity' | 'ethanolE100' | 'renewableDiesel' | 'm100' | 'cng' | 'lng' | 'lpg' | 'rng' | 'fcev' | 'unknown', required: The fuel type this price applies to. Valid values: `gasoline`, `diesel`, `biodiesel`, `flexibleFuelE85`, `electricity`, `ethanolE100`, `renewableDiesel`, `m100`, `cng`, `lng`, `lpg`, `rng`, `fcev`, `unknown`
      - `grossPrice` PreferredStationGrossPriceResponseResponseBody: Gross price per unit of fuel.
        - `amount` string, required: The money amount.
        - `currency` 'usd' | 'gbp' | 'cad' | 'eur' | 'chf' | 'mxn', required: The currency of money. This is a 3-letter ISO 4217 currency code. Valid values: `usd`, `gbp`, `cad`, `eur`, `chf`, `mxn`
      - `netPrice` PreferredStationNetPriceResponseResponseBody: Net price per unit of fuel.
        - `amount` string, required: The money amount.
        - `currency` 'usd' | 'gbp' | 'cad' | 'eur' | 'chf' | 'mxn', required: The currency of money. This is a 3-letter ISO 4217 currency code. Valid values: `usd`, `gbp`, `cad`, `eur`, `chf`, `mxn`
      - `volumeUnit` 'liter' | 'gallon' | 'imperialGallon' | 'unknown', required: Volume/energy unit. Valid values: `liter`, `gallon`, `imperialGallon`, `unknown`

## Other responses

- `401`: Unauthorized response.
- `404`: Not Found response.
- `405`: Method Not Allowed response.
- `413`: Content Too Large response.
- `429`: Too Many Requests response.
- `500`: Internal Server Error response.
- `501`: Not Implemented response.
- `502`: Bad Gateway response.
- `503`: Service Unavailable response.
- `504`: Gateway Timeout response.
- `default`: Bad Request response.

---

[API](https://skmtc.dev/samsara/apis/samsara-api.md) - [All operations](https://skmtc.dev/samsara/apis/samsara-api/llms.txt) - [OpenAPI document](https://skmtc.dev/samsara/apis/samsara-api/revisions/a9e35d4999be?raw)
