NHTSA vPIC Vehicle API — Vehicle Types

NHTSA vPIC Vehicle API — Vehicle Types. 2 operations. Lead operation: Get vehicle types for a make. Self-contained Naftiko capability covering one National Highway Traffic Safety Administration business surface.

Run with Naftiko National Highway Traffic Safety AdministrationVehicle Types

What You Can Do

GET
Get — Get vehicle types for a make
/v1/getvehicletypesformake/{makename}
GET
Get — Get vehicle types for a make ID
/v1/getvehicletypesformakeid/{makeid}

MCP Tools

get-vehicle-types-make

Get vehicle types for a make

read-only idempotent
get-vehicle-types-make-id

Get vehicle types for a make ID

read-only idempotent

Capability Spec

national-highway-traffic-safety-administration-vehicle-types.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: NHTSA vPIC Vehicle API — Vehicle Types
  description: 'NHTSA vPIC Vehicle API — Vehicle Types. 2 operations. Lead operation: Get vehicle types for a make. Self-contained
    Naftiko capability covering one National Highway Traffic Safety Administration business surface.'
  tags:
  - National Highway Traffic Safety Administration
  - Vehicle Types
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    NATIONAL_HIGHWAY_TRAFFIC_SAFETY_ADMINISTRATION_API_KEY: NATIONAL_HIGHWAY_TRAFFIC_SAFETY_ADMINISTRATION_API_KEY
capability:
  consumes:
  - type: http
    namespace: national-highway-traffic-safety-administration-vehicle-types
    baseUri: https://vpic.nhtsa.dot.gov/api/vehicles
    description: NHTSA vPIC Vehicle API — Vehicle Types business capability. Self-contained, no shared references.
    resources:
    - name: GetVehicleTypesForMake-makeName
      path: /GetVehicleTypesForMake/{makeName}
      operations:
      - name: get
        method: GET
        description: Get vehicle types for a make
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: makeName
          in: path
          type: string
          required: true
    - name: GetVehicleTypesForMakeId-makeId
      path: /GetVehicleTypesForMakeId/{makeId}
      operations:
      - name: get
        method: GET
        description: Get vehicle types for a make ID
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: makeId
          in: path
          type: integer
          required: true
  exposes:
  - type: rest
    namespace: national-highway-traffic-safety-administration-vehicle-types-rest
    port: 8080
    description: REST adapter for NHTSA vPIC Vehicle API — Vehicle Types. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1/getvehicletypesformake/{makename}
      name: getvehicletypesformake-makename
      description: REST surface for GetVehicleTypesForMake-makeName.
      operations:
      - method: GET
        name: get
        description: Get vehicle types for a make
        call: national-highway-traffic-safety-administration-vehicle-types.get
        with:
          makeName: rest.makeName
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/getvehicletypesformakeid/{makeid}
      name: getvehicletypesformakeid-makeid
      description: REST surface for GetVehicleTypesForMakeId-makeId.
      operations:
      - method: GET
        name: get
        description: Get vehicle types for a make ID
        call: national-highway-traffic-safety-administration-vehicle-types.get
        with:
          makeId: rest.makeId
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: national-highway-traffic-safety-administration-vehicle-types-mcp
    port: 9090
    transport: http
    description: MCP adapter for NHTSA vPIC Vehicle API — Vehicle Types. One tool per consumed operation, routed inline through
      this capability's consumes block.
    tools:
    - name: get-vehicle-types-make
      description: Get vehicle types for a make
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: national-highway-traffic-safety-administration-vehicle-types.get
      with:
        makeName: tools.makeName
      outputParameters:
      - type: object
        mapping: $.
    - name: get-vehicle-types-make-id
      description: Get vehicle types for a make ID
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: national-highway-traffic-safety-administration-vehicle-types.get
      with:
        makeId: tools.makeId
      outputParameters:
      - type: object
        mapping: $.