Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we
store it to create your key and to recognise you if you sign in with another
provider. See our Privacy Policy and
Terms.
openapi: 3.2.0
info:
title: Fleetkeep Co Uk Fuel Prices API
version: 0.8.0
contact:
name: Fleetkeep partner integration
url: https://fleetkeep.co.uk/contact
email: hello@fleetkeep.co.uk
license:
name: Proprietary
url: https://fleetkeep.co.uk/legal/terms
description: 'Operations tagged Fuel Prices across 2 of this provider''s published API definitions: openapi.json, fleetkeep-co-uk-openapi.json. Each path carries the servers of the definition it was published in.'
servers:
- url: https://fleetkeep.co.uk
description: Production
security:
- oauth2:
- vehicles:read
tags:
- name: Fuel Prices
paths:
/api/fuel-prices:
get:
operationId: getFuelPrices
summary: Read current fuel price references
description: Return source, date and availability. Reference fuel economy is not measured performance of this fleet vehicle. Report the returned trim and US EPA mpg units explicitly; US mpg is not UK imperial mpg. Never invent a price or match.
parameters: []
security:
- oauth2:
- operations:read
responses:
'200':
description: Provider reference or explicit missing data
tags:
- Fuel Prices
servers:
- url: https://fleetkeep.co.uk
description: Production
components:
securitySchemes:
oauth2:
type: oauth2
description: OAuth 2.1 authorisation-code flow with PKCE (S256). End-user delegates per-vehicle access to a partner client. Access tokens expire after 1 hour; refresh tokens (granted with the offline_access scope) live for 30 days.
flows:
authorizationCode:
authorizationUrl: https://fleetkeep.co.uk/auth/oauth2/authorize
tokenUrl: https://fleetkeep.co.uk/auth/oauth2/token
refreshUrl: https://fleetkeep.co.uk/auth/oauth2/token
scopes:
vehicles:read: Read the authorised user's vehicles and compliance dates.
vehicles:write: Add, update, delete and bulk-add vehicles on the authorised user's behalf.
maintenance:read: Read the authorised user's maintenance tasks and completed history.
maintenance:write: Create, update, complete and cancel the authorised user's maintenance tasks.
operations:read: Read the authorised user's tracking snapshots, Wex route data and operational defect records.
operations:write: Report and complete defects on the authorised user's behalf.
tolls:read: Read the authorised user's toll and clean-air account records, charges and statement previews.
tolls:write: Create toll and clean-air records and apply confirmed statement imports on the authorised user's behalf.
documents:read: List and download the authorised user's private vehicle documents.
documents:write: Create private vehicle document records and uploads on the authorised user's behalf.
reminders:read: Read reminder settings and contacts.
reminders:write: Manage reminder settings and contacts, and explicitly confirm verification sends.
profile:read: Read the authorised user's Fleetkeep account profile.
guidance:read: Read the authorised user's approved driver guidance and private guidance document.
exports:read: Download the authorised user's private account and fleet spreadsheet exports.
offline_access: Issue a refresh token so the partner can refresh access without re-prompting the user.
x-refined-from:
- openapi.json
- fleetkeep-co-uk-openapi.json
x-provenance:
method: harvested
publisher: Fleetkeep
source: https://fleetkeep.co.uk/openapi.json
note: split by refine-openapis from the provider's own published document, verified by fetch (openapi/_original/*.fetch.json);
stamped by stamp-openapi-provenance.py (roadmap#793)