---
title: "Part numbers for a model year"
method: GET
path: "/v2/parts/{ref}"
tags: ["parts"]
---

# Part numbers for a model year

`GET /v2/parts/{ref}`

## Request

- Base URL: `https://api.cardog.app`
- URL: `https://api.cardog.app/v2/parts/{ref}`
- Auth: one of:
  - API key in header `x-api-key`
  - HTTP bearer

Manufacturer part numbers for a model year, each with the document that names it and, where known, a link to that part on the manufacturer's official parts store. `acquire` lists the make's official stores by market.

A part listed fits some vehicles of the model year, not necessarily every one. A build code (`nano:` ref) is answered for its model year. Today the parts are those named in recalls, so `coverage.complete` is false: this is not the full parts catalogue. No prices; the store has the current one. Costs 3 credits.

## Path parameters

- `ref` string, required

## Response `200`

Parts, their sources and store links, and the make's stores

- Parts
  - `ref` string, required: The ID you asked for
  - `grain` 'model-year', required: The level the parts apply at. Always `model-year`: each part fits some builds of the model year, not necessarily every vehicle. A build-code request is answered at this level too.
  - `modelYearRef` string, required: The model year ID, e.g. "model-year:toyota/rav4/2021"
  - `total` integer, required: Number of parts in `parts`
  - `parts` object[], required: The part numbers on record for this model year. No prices: the manufacturer's store has the current one.
    - `ref` string, required: ID of the part, e.g. "part:hyundai/4295118110"
    - `partNumber` string, required: The number as the manufacturer printed it, e.g. "42951-18110"
    - `make` string, required: The make the part is sold under
    - `name` string, nullable, required: The manufacturer's name for the part, e.g. "SBW CONTROL UNIT"
    - `description` string, nullable, required: A plainer description, e.g. "Shifter Control Unit"
    - `component` object, nullable, required: The part of the vehicle this part belongs to. Null when not filed. More fields may be added.
      - `asPublished` string, required: The vehicle system the part belongs to, exactly as the regulator filed it, e.g. "PARKING BRAKE:ELECTRICAL:CONTROL MODULE:SOFTWARE". Recalls use the same field name for the same text.
    - `sources` object[], required: The documents that name this part for this model year. Always at least one.
      - `source` string, required: Who published the document, e.g. "gov:nhtsa"
      - `ref` string, required: The document that names the part. Today this is always the recall it was filed with, e.g. "recall:nhtsa/22v324000".
      - `observedAt` string, nullable, required: When the document was published, YYYY-MM-DD. Null if it has no date.
    - `recalls` string[], required: The recalls that name this part for this model year, each listed once
    - `acquire` object[]: Links to this part number on the manufacturer's official store, where we know one. Absent otherwise; use the stores in the top-level `acquire`.
      - `market` 'CA' | 'US', required: Market the store sells into
      - `kind` 'search' | 'product', required: "search" opens the store's search for this number; "product" opens the part's own page
      - `url` string, uri, required: Full URL on the manufacturer's store
  - `acquire` object[], required: The manufacturer's official parts stores for this make, by market. Empty when we have none.
    - `make` string, required: The make the store sells parts for
    - `market` 'CA' | 'US', required: Market the store sells into
    - `name` string, required: The store's own name, e.g. "Hyundai Canada Parts"
    - `url` string, uri, required: The store's home page, a full URL on the manufacturer's site
  - `coverage` object, required: How complete the list is
    - `complete` false, required: Always false today. The list holds the part numbers manufacturers filed with recalls, not the full parts catalog for the vehicle.
    - `sources` string[], required: Who published the records the list comes from, e.g. ["gov:nhtsa"]
    - `unpaired` integer, required: Part numbers a document names for several vehicles at once without saying which fits this one. They are left out of `parts`, because the record does not say they fit.
  - `links` object: Paths to related endpoints, ready to request, e.g. {"recalls": "/v2/recalls/entity/model-year:toyota/rav4/2021"}

## Other responses

- `400`: The request is invalid. The error response names each bad value in `refs` or `details` and, where it can, suggests the nearest valid ref in `suggestions`. We never fall back to a fuzzy match.
- `401`: No valid API key or session
- `402`: Out of credits. Only the free plan stops here; paid plans are billed for overage instead.
- `404`: Resource not found
- `429`: Per-minute rate limit exceeded
- `500`: Internal error

## Changes

- **2026-10-26** `9f5eb8f28843`: 6 info
  - added the optional property `requestId` to the response with the `400` status
  - added the optional property `requestId` to the response with the `401` status
  - added the optional property `requestId` to the response with the `402` status
  - added the optional property `requestId` to the response with the `404` status
  - …2 more
- **2026-10-26** `e4c77941b8ec`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/cardog/apis/cardog-api-v2/changes/v2/parts/:ref/get.md)

---

[API](https://skmtc.dev/cardog/apis/cardog-api-v2.md) - [All operations](https://skmtc.dev/cardog/apis/cardog-api-v2/llms.txt) - [OpenAPI document](https://skmtc.dev/cardog/apis/cardog-api-v2/revisions/016058226dc5?raw)
