> ## Documentation Index
> Fetch the complete documentation index at: https://aisa.one/docs/llms.txt
> Use this file to discover all available pages before exploring further.

> ## Agent Instructions
> - Base URLs: models `https://api.aisa.one/v1` (Gemini GenerateContent: `https://api.aisa.one/v1beta`); data APIs `https://api.aisa.one/apis/v1`. The `servers` of each operation in https://aisa.one/openapi.yaml is authoritative.
> - Auth: `Authorization: Bearer $AISA_API_KEY`. Never print, log, or commit the key.
> - MCP (preferred for agents): `https://mcp.aisa.one/mcp`, signed in with OAuth, so there is no key to paste.
> - Agent Skill: `npx skills add AIsa-team/agent-skills --skill aisa`. Fallback with the AIsa CLI: `aisa skills install aisa`.
> - Spending: docs, https://aisa.one/models, https://aisa.one/api, `/v1/models`, and MCP `search`, `list_categories`, `get_details`, `batch_quote`, and the `account` operation are free. Quote the exact calls before running them (MCP `batch_quote`, CLI `aisa quote --json`). If the quote reports `auto_execute_eligible: true`, run it unless the user set a tighter limit or asked only for a quote. Otherwise, tell the user in one message the planned calls, the quoted price, and a total USD budget for the task, then wait for approval. Direct HTTP calls follow the stricter rule at https://aisa.one/docs/get-started/cli.md#direct-http-fallback. Do not make paid calls to test availability. Full rule: https://aisa.one/llms.txt

# Decode vin

> Dealer inventory intake, title or listing checks: turn a 17-character VIN into structured vehicle identity. Pass model_year for partial VINs or when the 10th character is ambiguous.

## Request contract

* **Method and path:** POST /apis/v1/vpic-nhtsa-dot-gov/vehicles/decode-vin
* **Availability:** enabled
* **Request URL template:** `https://api.aisa.one/apis/v1/vpic-nhtsa-dot-gov/vehicles/decode-vin`

[Complete OpenAPI definition](https://aisa.one/docs/openapi/vpic-nhtsa-dot-gov.json)

Effective request declaration (including authentication and referenced schemas):

```json theme={null}
{
  "operationId": "vpic-nhtsa-dot-gov.vehicles.decode-vin",
  "method": "POST",
  "path": "/apis/v1/vpic-nhtsa-dot-gov/vehicles/decode-vin",
  "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": {
              "vin": "1HGCM82633A004352"
            }
          }
        },
        "schema": {
          "additionalProperties": true,
          "properties": {
            "extended": {
              "description": "Use DecodeVinValuesExtended, which adds NCSA mapping fields and additional error details.",
              "type": "boolean",
              "x-alexandria-option-metadata": {
                "in": "body"
              }
            },
            "model_year": {
              "description": "Model year hint sent as vPIC's `modelyear`; improves partial decodes and disambiguates the 10th VIN character.\n\nProvider reference: minimum 1900; maximum 2100.",
              "type": "number",
              "x-alexandria-option-metadata": {
                "in": "body",
                "max": 2100,
                "min": 1900
              }
            },
            "vin": {
              "description": "Full 17-character VIN, or a partial VIN with `*` in unknown positions (e.g. `5UXWX7C5*BA`). Case-insensitive. Pattern: ^[A-Za-z0-9*]{5,17}$.",
              "type": "string"
            }
          },
          "required": [
            "vin"
          ],
          "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.


## OpenAPI

````yaml openapi/vpic-nhtsa-dot-gov.json POST /apis/v1/vpic-nhtsa-dot-gov/vehicles/decode-vin
openapi: 3.1.0
info:
  description: ''
  title: NHTSA vPIC vehicle decoder
  version: '1'
  x-aisa-capabilities:
    idempotency: Idempotency-Key
    max_price: X-AISA-Max-Price-USD
    quote:
      header: X-AISA-Cost-Mode
      value: quote
  x-aisa-catalogs:
    vpic-nhtsa-dot-gov:
      description: ''
      title: NHTSA vPIC vehicle decoder
      x-aisa-capabilities:
        idempotency: Idempotency-Key
        max_price: X-AISA-Max-Price-USD
        quote:
          header: X-AISA-Cost-Mode
          value: quote
      x-aisa-document:
        facts_hash: 888e905702645eb45464d075526527956d9845b3e9402dc8fe9243d013442ee3
        generator_version: '3'
        protocol_version: '1'
        schema_version: '1'
      x-aisa-plans:
        builder: 1
        display_plan: payg
        payg: 1
        similarweb_payg: 1
        team: 1
        version: e70a0959cd1b93b84ae16dffd7a538273ddb9c1d46277b82823c37ff1b6bc0fb
  x-aisa-configured-paths:
    - /apis/v1/vpic-nhtsa-dot-gov/vehicles/decode-vin
    - /apis/v1/vpic-nhtsa-dot-gov/vehicles/decode-vin-batch
    - /apis/v1/vpic-nhtsa-dot-gov/vehicles/decode-wmi
    - /apis/v1/vpic-nhtsa-dot-gov/vehicles/get-manufacturer
    - /apis/v1/vpic-nhtsa-dot-gov/vehicles/list-makes
    - /apis/v1/vpic-nhtsa-dot-gov/vehicles/list-manufacturers
    - /apis/v1/vpic-nhtsa-dot-gov/vehicles/list-models
    - /apis/v1/vpic-nhtsa-dot-gov/vehicles/list-variables
    - /apis/v1/vpic-nhtsa-dot-gov/vehicles/list-wmis
  x-aisa-document:
    composer_version: '31'
    document_hash: sha256:39672d7bb010af98802b673dd9f7ae9b8d9d0640fb35ee095d96a01cf1d33955
    facts_hash: 888e905702645eb45464d075526527956d9845b3e9402dc8fe9243d013442ee3
    generator_version: '3'
    protocol_version: '1'
    response_pending: []
    schema_version: '1'
  x-aisa-plans:
    builder: 1
    display_plan: payg
    payg: 1
    similarweb_payg: 1
    team: 1
    version: e70a0959cd1b93b84ae16dffd7a538273ddb9c1d46277b82823c37ff1b6bc0fb
  x-aisa-provider: vpic-nhtsa-dot-gov
servers:
  - url: https://api.aisa.one
security:
  - bearerAuth: []
paths:
  /apis/v1/vpic-nhtsa-dot-gov/vehicles/decode-vin:
    post:
      tags:
        - NHTSA vPIC vehicle decoder
      summary: Decode vin
      description: >-
        Dealer inventory intake, title or listing checks: turn a 17-character
        VIN into structured vehicle identity. Pass model_year for partial VINs
        or when the 10th character is ambiguous.
      operationId: vpic-nhtsa-dot-gov.vehicles.decode-vin
      requestBody:
        content:
          application/json:
            examples:
              provider:
                summary: >-
                  Official provider example; checked against AIsa request
                  constraints
                value:
                  vin: 1HGCM82633A004352
            schema:
              additionalProperties: true
              properties:
                extended:
                  description: >-
                    Use DecodeVinValuesExtended, which adds NCSA mapping fields
                    and additional error details.
                  type: boolean
                  x-alexandria-option-metadata:
                    in: body
                model_year:
                  description: >-
                    Model year hint sent as vPIC's `modelyear`; improves partial
                    decodes and disambiguates the 10th VIN character.


                    Provider reference: minimum 1900; maximum 2100.
                  type: number
                  x-alexandria-option-metadata:
                    in: body
                    max: 2100
                    min: 1900
                vin:
                  description: >-
                    Full 17-character VIN, or a partial VIN with `*` in unknown
                    positions (e.g. `5UXWX7C5*BA`). Case-insensitive. Pattern:
                    ^[A-Za-z0-9*]{5,17}$.
                  type: string
              required:
                - vin
              type: object
        required: true
      responses:
        '200':
          content:
            application/json:
              examples:
                provider:
                  description: Published by the provider on 2026-09-24.
                  summary: Official provider example
                  value:
                    model_year_hint: null
                    observed_at_ms: 1790269118685
                    vehicle:
                      additional_error_text: null
                      api_url: >-
                        https://vpic.nhtsa.dot.gov/api/vehicles/DecodeVinValues/1HGCM82633A004352?format=json
                      attributes:
                        AirBagLocCurtain: 1st and 2nd Rows
                        AirBagLocFront: 1st Row (Driver and Passenger)
                        AirBagLocSide: 1st Row (Driver and Passenger)
                        BedType: Not Applicable
                        BodyCabType: Not Applicable
                        BodyClass: Coupe
                        BusFloorConfigType: Not Applicable
                        BusType: Not Applicable
                        CustomMotorcycleType: Not Applicable
                        DisplacementCC: '2998.832712'
                        DisplacementCI: '183'
                        DisplacementL: '2.998832712'
                        Doors: '2'
                        EngineConfiguration: V-Shaped
                        EngineCylinders: '6'
                        EngineHP: '240'
                        EngineModel: J30A4
                        ErrorCode: '0'
                        ErrorText: >-
                          0 - VIN decoded clean. Check Digit (9th position) is
                          correct
                        FuelTypePrimary: Gasoline
                        GVWR: 'Class 1C: 4,001 - 5,000 lb (1,814 - 2,268 kg)'
                        GVWR_to: 'Class 1: 6,000 lb or less (2,722 kg or less)'
                        Make: HONDA
                        MakeID: '474'
                        Manufacturer: AMERICAN HONDA MOTOR CO., INC.
                        ManufacturerId: '988'
                        Model: Accord
                        ModelID: '1861'
                        ModelYear: '2003'
                        MotorcycleChassisType: Not Applicable
                        MotorcycleSuspensionType: Not Applicable
                        OtherRestraintSystemInfo: Seat Belt (Rr center position)
                        PlantCity: MARYSVILLE
                        PlantCountry: UNITED STATES (USA)
                        PlantState: OHIO
                        SeatBeltsAll: Manual
                        TrailerBodyType: Not Applicable
                        TrailerType: Not Applicable
                        TransmissionSpeeds: '5'
                        TransmissionStyle: Automatic
                        Trim: EX-V6
                        VIN: 1HGCM82633A004352
                        ValveTrainDesign: Single Overhead Cam (SOHC)
                        VehicleDescriptor: 1HGCM826*3A
                        VehicleType: PASSENGER CAR
                      base_price: null
                      battery_kwh: null
                      body_cab_type: Not Applicable
                      body_class: Coupe
                      decoded: true
                      decoded_clean: true
                      destination_market: null
                      displacement_cc: '2998.832712'
                      displacement_l: '2.998832712'
                      doors: '2'
                      drive_type: null
                      electrification_level: null
                      engine_configuration: V-Shaped
                      engine_cylinders: '6'
                      engine_hp: '240'
                      engine_kw: null
                      engine_manufacturer: null
                      engine_model: J30A4
                      error_codes:
                        - '0'
                      error_text: >-
                        0 - VIN decoded clean. Check Digit (9th position) is
                        correct
                      fuel_type_primary: Gasoline
                      fuel_type_secondary: null
                      gvwr: 'Class 1C: 4,001 - 5,000 lb (1,814 - 2,268 kg)'
                      make: HONDA
                      make_id: 474
                      manufacturer: AMERICAN HONDA MOTOR CO., INC.
                      manufacturer_id: 988
                      model: Accord
                      model_id: 1861
                      model_year: 2003
                      ncsa_body_type: null
                      ncsa_make: null
                      ncsa_model: null
                      plant_city: MARYSVILLE
                      plant_company_name: null
                      plant_country: UNITED STATES (USA)
                      plant_state: OHIO
                      seat_rows: null
                      seats: null
                      series: null
                      series2: null
                      source_url: >-
                        https://vpic.nhtsa.dot.gov/decoder/VinDecoder?VIN=1HGCM82633A004352
                      suggested_vin: null
                      transmission_speeds: '5'
                      transmission_style: Automatic
                      trim: EX-V6
                      trim2: null
                      vehicle_descriptor: 1HGCM826*3A
                      vehicle_type: PASSENGER CAR
                      vin: 1HGCM82633A004352
                    vin: 1HGCM82633A004352
              schema:
                not:
                  type: 'null'
                x-aisa-schema-completeness: documented-fields-only
          description: >-
            Decode one VIN (full or partial with `*` wildcards) into make,
            model, model year, trim, series, body class, vehicle type,
            manufacturer, assembly plant, engine and every other populated vPIC
            variable. vPIC's error codes are returned, not hidden: an incomplete
            VIN still decodes with code 6.


            The response contains the tool result directly.


            | Documented field | Provider type | Description |

            | --- | --- | --- |

            | `model_year_hint` | number |  |

            | `observed_at_ms` | number |  |

            | `vehicle` | object | One decoded VIN as vPIC DecodeVinValues
            returns it. Every string field is null when vPIC returned an empty
            value; per NHTSA's own note, a missing value means NHTSA has no data
            on that variable, not that the feature is absent. |

            | `vin` | string | The normalized (uppercase) VIN that was sent. |



            These are the provider's documented fields. Field requiredness,
            nullability and nested object structures are specified only where
            the descriptions explicitly say so.
        default:
          content:
            application/json:
              schema: {}
          description: >-
            Error response; upstream passthrough responses may use provider
            formats
components:
  securitySchemes:
    bearerAuth:
      scheme: bearer
      type: http

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.