parts

Resolve a top-marking code to candidate parts

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).

get/parts/marking/{code}

Request

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

Path parameters

codestring required

The marking as printed on the package (e.g. F407VG)

Query parameters

limitinteger

Max candidates per match lane

Headers

User-Agentstring required
Example:your-app/1.0

Required on every request. Must be a non-empty string identifying your application; requests without a User-Agent are rejected with 403 Forbidden before authentication.

Response

Success — payload under "data"

statusstring
dataobject

Endpoint-specific payload

Example response

{
  "status": "success"
}

Changes

No recorded changes to this operation across all 1 revision of this API.