List wmis
curl --request POST \
--url https://api.aisa.one/apis/v1/vpic-nhtsa-dot-gov/vehicles/list-wmis \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"manufacturer": "987"
}
'import requests
url = "https://api.aisa.one/apis/v1/vpic-nhtsa-dot-gov/vehicles/list-wmis"
payload = { "manufacturer": "987" }
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({manufacturer: '987'})
};
fetch('https://api.aisa.one/apis/v1/vpic-nhtsa-dot-gov/vehicles/list-wmis', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.aisa.one/apis/v1/vpic-nhtsa-dot-gov/vehicles/list-wmis",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'manufacturer' => '987'
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.aisa.one/apis/v1/vpic-nhtsa-dot-gov/vehicles/list-wmis"
payload := strings.NewReader("{\n \"manufacturer\": \"987\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.aisa.one/apis/v1/vpic-nhtsa-dot-gov/vehicles/list-wmis")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"manufacturer\": \"987\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.aisa.one/apis/v1/vpic-nhtsa-dot-gov/vehicles/list-wmis")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"manufacturer\": \"987\"\n}"
response = http.request(request)
puts response.read_body{
"api_url": "https://vpic.nhtsa.dot.gov/api/vehicles/GetWMIsForManufacturer/987?format=json&vehicleType=2",
"count": 2,
"manufacturer": "987",
"observed_at_ms": 1790269234749,
"vehicle_type": "2",
"wmis": [
{
"country": null,
"created_on": "2015-03-26",
"date_available_to_public": "2015-01-01",
"manufacturer_id": 987,
"manufacturer_name": "HONDA MOTOR CO., LTD.",
"updated_on": "2015-06-04",
"vehicle_type": "Passenger Car",
"wmi": "JHM"
},
{
"country": null,
"created_on": "2015-03-27",
"date_available_to_public": "2015-01-01",
"manufacturer_id": 987,
"manufacturer_name": "HONDA MOTOR CO., LTD.",
"updated_on": null,
"vehicle_type": "Passenger Car",
"wmi": "JH4"
}
]
}NHTSA vPIC vehicle decoder
List wmis
Map a manufacturer to the VIN prefixes it uses, or check which vehicle types a WMI covers.
POST
https://api.aisa.one
/
apis
/
v1
/
vpic-nhtsa-dot-gov
/
vehicles
/
list-wmis
List wmis
curl --request POST \
--url https://api.aisa.one/apis/v1/vpic-nhtsa-dot-gov/vehicles/list-wmis \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"manufacturer": "987"
}
'import requests
url = "https://api.aisa.one/apis/v1/vpic-nhtsa-dot-gov/vehicles/list-wmis"
payload = { "manufacturer": "987" }
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({manufacturer: '987'})
};
fetch('https://api.aisa.one/apis/v1/vpic-nhtsa-dot-gov/vehicles/list-wmis', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.aisa.one/apis/v1/vpic-nhtsa-dot-gov/vehicles/list-wmis",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'manufacturer' => '987'
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.aisa.one/apis/v1/vpic-nhtsa-dot-gov/vehicles/list-wmis"
payload := strings.NewReader("{\n \"manufacturer\": \"987\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.aisa.one/apis/v1/vpic-nhtsa-dot-gov/vehicles/list-wmis")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"manufacturer\": \"987\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.aisa.one/apis/v1/vpic-nhtsa-dot-gov/vehicles/list-wmis")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"manufacturer\": \"987\"\n}"
response = http.request(request)
puts response.read_body{
"api_url": "https://vpic.nhtsa.dot.gov/api/vehicles/GetWMIsForManufacturer/987?format=json&vehicleType=2",
"count": 2,
"manufacturer": "987",
"observed_at_ms": 1790269234749,
"vehicle_type": "2",
"wmis": [
{
"country": null,
"created_on": "2015-03-26",
"date_available_to_public": "2015-01-01",
"manufacturer_id": 987,
"manufacturer_name": "HONDA MOTOR CO., LTD.",
"updated_on": "2015-06-04",
"vehicle_type": "Passenger Car",
"wmi": "JHM"
},
{
"country": null,
"created_on": "2015-03-27",
"date_available_to_public": "2015-01-01",
"manufacturer_id": 987,
"manufacturer_name": "HONDA MOTOR CO., LTD.",
"updated_on": null,
"vehicle_type": "Passenger Car",
"wmi": "JH4"
}
]
}Request contract
- Method and path: POST /apis/v1/vpic-nhtsa-dot-gov/vehicles/list-wmis
- Availability: enabled
- Request URL template:
https://api.aisa.one/apis/v1/vpic-nhtsa-dot-gov/vehicles/list-wmis
{
"operationId": "vpic-nhtsa-dot-gov.vehicles.list-wmis",
"method": "POST",
"path": "/apis/v1/vpic-nhtsa-dot-gov/vehicles/list-wmis",
"servers": [
{
"url": "https://api.aisa.one"
}
],
"parameters": [],
"security": [
{
"bearerAuth": []
}
],
"requestBody": {
"content": {
"application/json": {
"examples": {
"provider": {
"summary": "Official provider example; checked against AIsa request constraints",
"value": {
"manufacturer": "987",
"vehicle_type": "2"
}
}
},
"schema": {
"additionalProperties": true,
"properties": {
"manufacturer": {
"description": "Numeric Mfr_ID (`987`) or a name fragment (`honda`).",
"type": "string"
},
"vehicle_type": {
"description": "Vehicle type name or numeric VehicleTypeId (`2` = Passenger Car, `1` = Motorcycle, `3` = Truck, `7` = MPV).",
"type": "string",
"x-alexandria-option-metadata": {
"in": "body"
}
}
},
"required": [
"manufacturer"
],
"type": "object"
}
}
},
"required": true
},
"x-aisa-status": "enabled",
"components": {
"securitySchemes": {
"bearerAuth": {
"scheme": "bearer",
"type": "http"
}
}
}
}
Cost and request rules
Usage-based pricing. Default request estimate: $0.0005 USD. The final charge depends on actual usage. Your account price may differ; use a request quote where supported.Authorizations
Body
application/json
Response
World Manufacturer Identifiers NHTSA assigned to a manufacturer (name fragment or Mfr_ID), each with vehicle type, country and the dates it was created, updated and made public. Optionally narrowed to one vehicle type.
The response contains the tool result directly.
The provider identifies wmis as the primary payload key.
| Documented field | Provider type | Description |
|---|---|---|
country | string | |
created_on | string | |
date_available_to_public | string | |
manufacturer_id | number | |
manufacturer_name | string | |
updated_on | string | |
vehicle_type | string | |
wmi | string |
These are the provider's documented fields. Field requiredness, nullability and nested object structures are specified only where the descriptions explicitly say so.