Flow Diesel Prices: diesel price at a truck stop
diesel_price_stationFlow Diesel Prices. Returns the posted retail diesel price at one truck stop from ValveRide Flow's price data, by the stop's public station id (pf_ followed by 16 hex characters, as returned by diesel_prices_near). The result is { data: StationPrice }, or { data: null } when the station has no price to offer. Each StationPrice has station_id, source, brand, name, city, state, lat, lng, price (pump-posted retail diesel in US dollars per gallon, before any discount), confidence (0 to 1), estimated (true when the price is modeled from nearby observations rather than observed at the station) and observed_at. On a ValveRide partner API key, send partner_tenant_ref (or the X-Partner-Tenant-Ref header) with every call; the lookup counts toward the key's plan. On a developer API key, partner_tenant_ref is not needed and the lookup counts toward the account's Flow Diesel Prices plan.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"station_id": "<station_id>"
},
"name": "diesel_price_station"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| station_id | Yes | Public station id, e.g. pf_0123456789abcdef | |
| include_estimated | No | Return a modeled estimate when there is no recent observation (default true) | |
| partner_tenant_ref | No | Partner API keys only, and required there: your opaque id for the tenant this call is made for. Not needed on a developer API key. |