Roadtrip API
Live fuel prices and EV chargers, in one API.
Every UK station, New South Wales, Queensland and New Zealand, plus chargers worldwide. Clean brand names, logos and prices per litre, the same data the Roadtrip app runs on.
Get a free keyOne request
The cheapest petrol near Westminster. Prices are per litre in pounds or dollars, distances in kilometres, and every answer says whose data it is.
curl -G https://api.roadtripapp.com/v1/fuel/stations \
-d country=GB -d lat=51.5007 -d lng=-0.1246 -d sort=price \
-H "Authorization: Bearer rt_live_..."{
"data": [
{
"id": "1844",
"name": "Kennington Service Station",
"brand": "Texaco",
"logo_url": "https://api.roadtripapp.com/logos/stations/texaco.png",
"address": "212-214 Kennington Road, London",
"latitude": 51.49084,
"longitude": -0.1113,
"distance_km": 1.185,
"fuel": "petrol",
"price_per_litre": 1.759,
"currency": "GBP"
}
],
"attribution": "Roadtrip (getroadtrip.app). Contains public sector information..."
}What's in it
- United Kingdom
- Every forecourt in the government's Fuel Finder scheme, about 8,000 stations
- Australia
- New South Wales and Queensland, live from the state schemes
- New Zealand
- Prices reported by Roadtrip drivers at the pump
- EV chargers
- New Zealand, Australia, the UK, Europe, the US and Canada
Pricing
Pay monthly in US dollars. Change or cancel any time.
Free
$0/month
1,000 requests a month
Stations, prices and chargers. For trying it out and side projects.
Get a free keyStarter
$29/month
50,000 requests a month
Everything in Free, plus 90 days of price history for every station.
Choose StarterGrowth
$149/month
500,000 requests a month
Everything in Starter, at the volume of an app in production.
Choose GrowthNeed more, bulk files or the right to resell the data in your own product? Ask for a custom plan.
Endpoints
GET /v1/fuel/stationsStations near a point, with today's price for one fuel. Sort by distance or price.GET /v1/fuel/stations/{id}One station: every fuel it sells, its price, and when it last changed.GET /v1/fuel/stations/{id}/historyDaily prices for the last 90 days. Starter and up.GET /v1/charging/sitesEV charging sites near a point, worldwide. Filter by kW.GET /v1/charging/sites/{id}One site: its plugs, speeds, network, and what charging costs where known.
Send your key as Authorization: Bearer rt_live_.... Every response carries X-Monthly-Remaining; past your plan's month you get a 429 until the 1st. Errors come back as { "error": { "code", "message" } } and say what to fix.
Show the attribution line wherever you show the data. UK prices are published under the Open Government Licence, NSW and charger data under Creative Commons Attribution, and they ask to be credited.
Get a key
Free to start. We'll email your key, usually within a day.