Reference$0.001 per call, 1,000 free a month

EV specs

EPA figures for battery-electric and plug-in hybrid vehicles: electric range (city, highway, combined), efficiency in kWh per 100 miles, MPGe, charge time at 240 volts and motor description. Returns not_found for vehicles that are not electrified.

GET /v1/vin/{vin}/ev

Parameters

NameInDescription
vin*path17-character VIN (letters and digits, no I, O or Q).

Request

curl "https://api.hubcapdata.com/v1/vin/5YJ3E1EB7LF100004/ev" \
  -H "Authorization: Bearer YOUR_API_KEY"

Response

Sample data from test mode. Live responses have the same fields.

{
  "data": {
    "vin": "5YJ3E1EB7LF100004",
    "vehicle": {
      "year": 2020,
      "make": "Tesla",
      "model": "Model 3"
    },
    "configurations": [
      {
        "epa_id": "44800",
        "description": "Model 3 AWD",
        "powertrain": "electric",
        "electric_range_miles": 322,
        "city_range_miles": 332,
        "highway_range_miles": 309,
        "kwh_per_100_miles": 26,
        "mpge_combined": 131,
        "charge_hours_240v": 10,
        "motor": "AC permanent magnet"
      }
    ]
  },
  "meta": {
    "request_id": "req_4n8b2v6c1x9z3l7k5j0h",
    "mode": "live",
    "cost": 0.001,
    "cached": false,
    "balance": 98.42
  }
}

Errors

400 invalid input, 401 bad key, 402 not enough credit, 404 no record (free), 429 rate limited, 503 sources unavailable (free). See Errors.

All docs pages