A simple, free API for identifying UK Electric Vehicles
curl https://api.getev.uk/AA19AAA
{
"success": true,
"registrationNumber": "AA19EEE",
"isEV": true
}
{
"success":false,
"registrationNumber":"AA19AB",
"error":"Invalid VRN Format"
}
Use an HTTPS GET request with no additional headers*, the Vehicle Registration Number (VRN) should be added to the end of the URL.
*Commercial use requires an authentication header.
No authentication needed for testing or personal use. Commercial use requires registration first.
Provide the Vehicle Registration Number (VRN) only at the end of the URL string as shown above. Do not include spaces. The VRN can be upper or lower case.
Responses are JSON formatted. If the Vehicle Registration Number (VRN) belongs to a fully electric vehicle the response will include "isEV": true
Errors will be reported with a meaningful message such as "error":"Vehicle Not Found" or "error":"Invalid VRN Format"
Rate limiting is in place to protect our service. Should you encounter the rate limit, the service will respond with "error":"Service Busy"
Register here for no limits or commercial use