UK-EN

PPM Fuel Cost from IDS Code

Powered by Solifi Vehicle Data

Compare fuel costs using a single, comparable pence-per-mile. 

The leading-edge calculation uses Solifi Vehicle Data to provide a comparable estimated fuel cost for cars of all fuel types.  

Key features:

  • Supports all fuel types
  • WLTP and NEDC test regimes
  • Fully adjustable mode-specific and mode-blended PPM values based for PHEV
  • Uses modelled estimates for missing values for optimal coverage
  • Data inclusive pricing
  • From 4p per lookup
 

Pricing

PAYG
20p
Per Use

Sample Response

Documentation

Introduction

This endpoint returns a pence per mile fuel cost for each fuel type, and a total fuel cost based on a blended average for PHEV.

Header

When making calls to our API, include the following header:

x-api-key:your-api-key-here

Example Request

https://api.oneautoapi.com/solifi/ppmfuelcost?ids_code=AU017895&miles_per_annum=8000

Example Sandbox Request

https://sandbox.oneautoapi.com/solifi/ppmfuelcost?ids_code=AU017895&miles_per_annum=8000

Request Parameters

ids_code
mandatory, string, e.g. AU017895
IDS code
miles_per_annum
mandatory, string, e.g. 8000
The expected annual mileage

Sample Response

{
  "success": true,
  "result": {
    "unit_costs": {
      "pence_per_kwh_electric": 12.34,
      "pence_per_kg_hydrogen": 12.34,
      "pence_per_litre_petrol": 12.34,
      "pence_per_litre_diesel": 12.34
    },
    "pence_per_mile": 12.34,
    "miles_per_annum": 12345,
    "total_fuel_cost_per_annum": 12345,
    "ids_code": "AB001234"
  },
  "error": "If there is an error the message would go here"
}

Response Parameters

success
e.g. true
Whether the api call was successful
pence_per_kwh_electric
e.g. 12.34
The pence per kwh cost for electric vehicles.
pence_per_kg_hydrogen
e.g. 12.34
The pence per kg cost for hydrogen vehicles.
pence_per_litre_petrol
e.g. 12.34
The pence per litre cost for petrol vehicles.
pence_per_litre_diesel
e.g. 12.34
The pence per litre cost for diesel vehicles.
pence_per_mile
e.g. 12.34
The pence per mile cost.
miles_per_annum
e.g. 12345
The expected annual mileage
total_fuel_cost_per_annum
e.g. 12345
The total fuel cost per annum.
ids_code
e.g. AB001234
The IDS Code.
error
e.g. If there is an error the message would go here
Details of what went wrong with the api call

Status Codes

200
success, chargeable
Request has been successfully received and a response has been sent.
202
accepted, non-chargeable
Request has been received and accepted for processing, but the action has not yet been completed.
204
no content, non-chargeable
Request has been successfully received but there is no content to return e.g. if an invalid VRM has been sent.
206
partial content, non-chargeable
Request has been successfully received but limited content is returned e.g. if an invalid VRM has been sent.
400
bad request, non-chargeable
Request was not received e.g. if any required parameters are missing.
403
forbidden, non-chargeable
Request was rejected e.g. if the API key is invalid or the service is not enabled.
429
too many requests, non-chargeable
API key rate limit/quota has been exceeded.
500
internal server error, non-chargeable
We are unable to process the request e.g. if the API is under extremely heavy load.
503
service unavailable, non-chargeable
Service is temporarily unavailable. Contact help@oneautoapi.com

Also Available From Solifi Vehicle Data

One Auto API Limited
Terms Privacy Policy