GET /v1.1/decode_vinMODEL YEAR —
Decoded vehicle
—
- Engine
- —
- Transmission
- —
- Drive
- —
- Fuel
- —
- Tank
- —
- Seating
- —
- Steering
- —
- Brakes
- —
- L × W × H
- —
Car make · United States · 2010–2013Enter a Tesla VIN to read its model year, model, trim, engine and factory specs. The lamps check the format as you type.
/tesla-vin-decoder
GET /v1.1/decode_vinMODEL YEAR —
—
While Martin Sheen yet others ponder Who Wiped out the electrical Vehicle? several Plastic Valley riches is attempting to reply to required: Who'll resurrect the electrical vehicle? Tesla Motors may be the result, a producer of automobiles than run 100 % on electricity.
Tesla introduced in Feb 2007 that it might be creating a new sport sedan referred to as WhiteStar, built in a new factory in Boise State Broncos. The organization intentions of creating 10,000 models every year at a price between $50,000 and $65,000 per vehicle. Such as the Roadster, it ought to have a variety of about 250 miles, however with battery technology enhancing, time could rise.
The organization may be the creation of Martin Eberhard and Marc Tarpenning and PayPal founder Elon Musk. The founders of Google, Sergey Brin and Ray Page, will also be traders. This fresh bloodstream from Plastic Valley is further evidence that Tesla is definitely an entirely different kind of vehicle company.
The organization will get its title from Nikola Tesla, the inventor of alternating electric current, who went foot-to-foot with Thomas Edison (and won) to prove whether AC or Electricity was the most well-liked approach to moving electricity over great distances. For the same reason, Tesla Motors is attempting to prove that electricity isn't just able to moving automobiles great distances but additionally that planet could be fun they are driving.
One sample year per model. The pattern is VIN positions 1–8 and 10–11: everything except the check digit and the serial.
| Model | Year | VIN pattern |
|---|---|---|
| Model S | 2013 | 5YJSA1CN·DF |
| Roadster | 2010 | 5YJRE1A1·A1 |
5YJ maker code (WMI) · SA1CN vehicle descriptor · D model-year code · F plant code. The check digit (position 9) sits where the dot is.
The 2013 Model S pattern from the table, 5YJSA1CN·DF, position by position. A VIN has 17 characters and never uses I, O or Q.
import os, requests r = requests.get( "https://vindecoder.p.rapidapi.com/v2.0/decode_vin", params={"vin": "<Tesla VIN>"}, headers={ "X-RapidAPI-Key": os.environ["RAPIDAPI_KEY"], "X-RapidAPI-Host": "vindecoder.p.rapidapi.com", }, timeout=10, ) spec = r.json()["specification"] # spec["year"], spec["model"], spec["engine"] …
const url = new URL("https://vindecoder.p.rapidapi.com/v2.0/decode_vin"); url.searchParams.set("vin", "<Tesla VIN>"); const res = await fetch(url, { headers: { "X-RapidAPI-Key": process.env.RAPIDAPI_KEY, "X-RapidAPI-Host": "vindecoder.p.rapidapi.com", }, }); const data = await res.json(); if (data.success) console.log(data.specification);
curl -G "https://vindecoder.p.rapidapi.com/v2.0/decode_vin" \ --data "vin=<Tesla VIN>" \ -H "X-RapidAPI-Key: $RAPIDAPI_KEY" \ -H "X-RapidAPI-Host: vindecoder.p.rapidapi.com"