---
title: "Resolve a top-marking code to candidate parts"
method: GET
path: "/parts/marking/{code}"
tags: ["parts"]
---

# Resolve a top-marking code to candidate parts

`GET /parts/marking/{code}`

## Request

- Base URL: `https://api.source.parts/v1`
- URL: `https://api.source.parts/v1/parts/marking/{code}`
- Auth: HTTP bearer

Inverse of /parts/{sku}/marking. Markings are not unique, so the response is ranked candidates, each labeled with the lane that matched: catalog (stored marking equals the code), identified (prior identify.parts recognitions of this code), or mpn (MPN starts or ends with the code).

## Path parameters

- `code` string, required

## Query parameters

- `limit` integer

## Headers

- `User-Agent` string, required

## Response `200`

Success — payload under "data"

- SuccessResponse
  - `status` string
  - `data` object: Endpoint-specific payload

## Other responses

- `400`: Bad request
- `404`: Not found

---

[API](https://skmtc.dev/source/apis/source-parts-api.md) · [All operations](https://skmtc.dev/source/apis/source-parts-api/llms.txt) · [OpenAPI document](https://skmtc.dev/source/apis/source-parts-api/revisions/a643e713c7d0?raw)
