
You need to reliably identify the OEM behind a VIN so you can match parts catalogs, gate repairs by brand policy, or route vehicles to the right downstream systems. By the end of this guide you will decode a VIN and read the manufacturer field from Vehicle API, understand the response envelope and null-handling, and ship an integration that is production-safe with caching and error handling.
What this endpoint does and when to use it
The VIN Manufacturer API is a focused use of the VIN decode endpoint that returns the official manufacturer for a 17-character VIN. It leverages NHTSA’s vPIC data and works worldwide for VIN decoding, with the most complete coverage for US-market vehicles.
- Endpoint: POST https://vehicles-api.com/api/v1/vin/decode
- Primary field: data.manufacturer
- Other useful context from the same decode: year, make, model, trim, engine, transmission, assembly plant
Downstream data such as recalls, owner complaints, and NCAP crash ratings are US-market only and matched at the make + model + year level, not by VIN. Dutch plates from RDW never include a VIN. Vehicle API is not a vehicle history report; it does not include title, accident, or ownership history.
You can call the REST API directly or integrate via the MCP server at MCP for agent workflows. To get started with the REST API, Register for the 7‑day free trial (Starter is $19/mo) on vehicles-api.com.
Step 1: Create your account and get an API key
Sign up for the free trial and open your dashboard on vehicles-api.com. Copy your API key. All requests require one of the following headers:
- X-API-Key: YOUR_API_KEY
- or Authorization: Bearer YOUR_API_KEY
In the examples below we use the X-API-Key header. Replace YOUR_API_KEY with your dashboard key.
Step 2: Send the official cURL request
Use the control VIN 1HGCM82633A004352 to test your integration. This is a 2003 Honda Accord used in the documentation samples. The request returns an envelope with status, source, and data. The manufacturer appears in data.manufacturer.
cURL (copy-paste)
curl -X POST "https://vehicles-api.com/api/v1/vin/decode" -H "X-API-Key: YOUR_API_KEY" -H "Content-Type: application/json" -d '{"vin":"1HGCM82633A004352"}'
Step 3: Read the official JSON response
This is the exact JSON from the documentation. Note the response envelope (status and source) and the manufacturer field inside data.
JSON (official example)
{
"status": "success",
"source": "nhtsa",
"data": {
"vin": "1HGCM82633A004352",
"valid": true,
"year": 2003,
"make": "HONDA",
"model": "Accord",
"trim": "EX-V6",
"body": "Coupe",
"doors": 2,
"vehicle_type": "PASSENGER CAR",
"engine": {
"cylinders": 6,
"displacement_l": 3,
"configuration": "V-Shaped",
"model": "J30A4",
"hp": 240,
"fuel": "Gasoline"
},
"fuel_type": "Gasoline",
"electrification_level": null,
"ev_drive_unit": null,
"battery_kwh": null,
"charger_level": null,
"charger_power_kw": null,
"drive": null,
"transmission": {
"style": "Automatic",
"speeds": 5
},
"plant": {
"country": "UNITED STATES (USA)",
"city": "MARYSVILLE",
"state": "OHIO"
},
"manufacturer": "AMERICAN HONDA MOTOR CO., INC."
}
}
Fields you will use for manufacturer logic
- status: "success" when decoding succeeds. If an error occurs, status is "error".
- source: "nhtsa" indicates the decode came from NHTSA’s vPIC data.
- data.vin: Echo of the VIN you sent.
- data.valid: Boolean indicating if the VIN format and checksum are valid.
- data.manufacturer: The official OEM entity name, e.g., "AMERICAN HONDA MOTOR CO., INC." Use this for:
- Brand/OEM normalization in inventory or service routing.
- Manufacturer-based business rules (warranty, certification, compliance).
- Linking to manufacturer-specific catalogs or policies.
- data.make, data.model, data.year: Useful for US-market safety data (recalls, complaints, NCAP ratings) that match on make + model + year.
- data.plant: Assembly plant metadata (country, city, state) if you need regional routing or compliance checks.
- data.engine, data.transmission: Tech specs you can surface to users or use for compatibility checks.
Null fields: When NHTSA does not publish a value, fields return null. The control VIN is a gasoline car; electrification fields (electrification_level, battery_kwh, charger_level, charger_power_kw) are null. Your integration should not assume these fields exist for all vehicles.
Step 4: Integrate in code and extract data.manufacturer
Use your preferred language. Below are minimal, production-oriented samples that request the decode and read the manufacturer field, with attention to the response envelope and nulls.
JavaScript (fetch)
async function getManufacturer(vin) {
const res = await fetch("https://vehicles-api.com/api/v1/vin/decode", {
method: "POST",
headers: {
"X-API-Key": "YOUR_API_KEY",
"Content-Type": "application/json"
},
body: JSON.stringify({ vin })
});
// Handle non-2xx without assuming body structure yet
if (!res.ok) {
throw new Error("HTTP error " + res.status);
}
const payload = await res.json();
// Response envelope: status, source, data | error
if (payload.status !== "success") {
const code = payload.error && payload.error.code ? payload.error.code : "unknown_error";
const msg = payload.error && payload.error.message ? payload.error.message : "Decode failed";
throw new Error(code + ": " + msg);
}
// Access the manufacturer with null-safety
const manufacturer = payload.data && payload.data.manufacturer ? payload.data.manufacturer : null;
return {
vin: payload.data && payload.data.vin ? payload.data.vin : vin,
valid: payload.data && payload.data.valid === true,
manufacturer
};
}
// Example usage with the control VIN:
getManufacturer("1HGCM82633A004352")
.then(info => console.log(info))
.catch(err => console.error(err));
How the response envelope and errors work
Every response is wrapped in an envelope. On success, status is "success" and data contains the decoded fields with source indicating the upstream provider ("nhtsa" for VIN decoding). On failure, status is "error" and the envelope includes error.code and error.message. Use these to branch logic, display helpful messages, and decide on retry policy.
- Success envelope: status, source, data{...}
- Error envelope: status = "error", error.code, error.message
- HTTP status: Your client should still check the HTTP status. Treat non-2xx as transport errors before reading the JSON body.
Because fields may be null when not published by the upstream source, use null-safe access for all optional attributes. Do not coerce nulls into misleading defaults.
Coverage notes that affect manufacturer handling
- VIN decoding: Works worldwide for any 17-character VIN, with the most complete results for US-market vehicles.
- Manufacturer field: Sourced from NHTSA vPIC for decoded VINs and reflects the manufacturer responsible for the vehicle’s certification record.
- US safety data: Recalls, complaints, and NCAP ratings are US-market only and matched by make + model + year, not VIN.
- Dutch plates via RDW: Plates do not include a VIN. Do not expect to retrieve data.manufacturer from a Dutch plate lookup.
Caching, quotas, and rate limits
VINs are immutable. Cache VIN decodes in your database or edge cache keyed by vin and invalidate rarely (for example, if you migrate to a new field mapping). This avoids redundant traffic and accelerates your UX.
- Cache key: vin (string)
- Cache value: Entire data object or only the fields you reference (e.g., manufacturer, year, make, model)
- Null caching: Cache nulls for optional fields to prevent hammering the API for missing data
Plans include a monthly quota and rate limits. Exact numbers depend on your plan; you can track consumption on your dashboard and in the Documentation. If you approach limits, implement request queuing and maximize cache hits for repeated VINs.
Production checklist for the manufacturer field
- Validate input: Accept only 17-character VINs. Reject or sanitize anything else before calling the API.
- Envelope guardrails: Check payload.status before accessing payload.data.manufacturer.
- Null handling: Treat missing manufacturer values as unknown and log for analysis. Do not map to arbitrary fallbacks.
- Normalization: If you need a stricter OEM key, normalize manufacturer strings to your internal dictionary (e.g., "AMERICAN HONDA MOTOR CO., INC." → "HONDA") while retaining the original string for auditability.
- Retry policy: Only retry idempotently on transient transport errors. Do not retry on validation errors or permanent decoding failures.
- Observability: Log vin, status, source, and error.code where available. Redact your API key from logs.
- Caching: Cache positive and null results; add a reasonable TTL if required by your governance (the upstream mapping for historic VINs rarely changes).
Common integration patterns that use data.manufacturer
- Dealer tools: Gate OEM-certified actions (e.g., recall processing) by manufacturer; use make/model/year for US safety coverage lookups.
- Marketplaces: Normalize brand filters from data.manufacturer and data.make; expose basic specs (engine, transmission) to buyers.
- Fleet/insurance: Route vehicles by manufacturer to specialized networks or pricing logic; enforce compliance based on assembly plant region if needed.
- AI agents: Through the MCP server, call the same decode tool and extract manufacturer without custom HTTP code.
Troubleshooting manufacturer lookups
- VIN not 17 characters: The API will treat it as invalid. Validate client-side before calling.
- status = error: Inspect error.code and error.message and decide whether to retry or surface a user message. Do not assume partial data is present.
- manufacturer is null: Rare for supported VINs, but possible when the upstream source does not publish it. Cache null and avoid repeated calls.
- Mismatch with your internal brand: Use a normalization layer. Keep the original manufacturer string for traceability.
- Electrification fields expected but null: For gasoline vehicles (like the control VIN) EV-related fields are null by design.
Security and operational notes
- Authentication: Send X-API-Key or Authorization: Bearer in HTTPS only.
- Key management: Rotate keys from your dashboard if compromised; never store keys in client-side apps without a proxy.
- Idempotency: VIN decode is a read-only operation; safe to retry on network failures with exponential backoff.
- Versioning: The base URL is https://vehicles-api.com/api/v1. Pin your integration to the v1 path.
End-to-end example flow
- Start the 7-day free trial and copy your key from the dashboard.
- Send the cURL request above to verify connectivity.
- In your code, POST the VIN to /vin/decode with the X-API-Key header.
- Check payload.status. If success, read payload.data.manufacturer.
- Cache the full payload.data by vin. Log source for diagnostics.
- If you need US-market safety data later, use make + model + year, not VIN.
FAQ
Does the manufacturer field always exist?
Not always. If the upstream source does not publish it, data.manufacturer can be null. Handle nulls without failing your workflow and cache the null result.
Is VIN decoding limited to the US?
No. VIN decoding works worldwide for any 17-character VIN, with the most complete coverage for US-market vehicles. US safety data (recalls, complaints, NCAP ratings) is US-only and matched by make + model + year.
Can I get manufacturer info from a Dutch plate?
Plate data from RDW does not include a VIN. You cannot derive data.manufacturer from a Dutch plate lookup via this endpoint.
How are errors returned?
Every response uses an envelope. On errors, status is "error" and the body includes error.code and error.message. Check HTTP status first, then check the envelope before reading data.
What about rate limits and monthly quotas?
They depend on your plan. Monitor usage in the dashboard and the Documentation. Cache decoded VINs to minimize calls.
Start decoding VINs and reading the manufacturer field in minutes. Register for the 7‑day free trial and ship your integration on vehicles-api.com today.