Flow Diesel Prices: diesel prices near a point
diesel_prices_nearFlow Diesel Prices. Returns posted retail diesel prices at truck stops near a point, nearest first, from ValveRide Flow's price data. The result is { data: StationPrice[] }; stations with no price to offer are left out. 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. radius is in miles (default 10, max 50); limit defaults to 50 (max 100). 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": {
"lat": "<lat>",
"lon": "<lon>"
},
"name": "diesel_prices_near"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lat | Yes | Latitude, -90 to 90 | |
| lon | Yes | Longitude, -180 to 180 (lng is accepted too) | |
| limit | No | Maximum stations returned, 1 to 100 | |
| radius | No | Search radius in miles, up to 50 | |
| include_estimated | No | Include modeled estimates for stations with 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. |