---
title: "The trouble codes that are described, by code."
method: GET
path: "/v1/codes"
tags: ["Codes"]
---

# The trouble codes that are described, by code.

`GET /v1/codes`

## Request

- Base URL: `https://open.wenmarpro.com`
- URL: `https://open.wenmarpro.com/v1/codes`
- Auth: none declared

## Query parameters

- `q` string
- `system` string
- `limit` integer
- `cursor` string

## Response `200`

One page of codes.

- CodeList: One page of the described codes, by code.
  - `as_of` string, nullable: The newest day a description was approved.
  - `attribution` string[], required
  - `codes` CodeLink[], required
    - `code` string, required
    - `system` string, required: Where the index lists it: a group (`powertrain`, `body`, `chassis`, `network`), or a group and an area of it.
    - `title` string, required
    - `url` string, required: The code's page on this site.
  - `next_cursor` string, nullable: Pass it back as `cursor` for the next page. `null` on the last.
  - `note` string, required

## Other responses

- `400`: `validation_failed`: `system` or `cursor` is not one this API knows; `details.field` names it.
- `404`: `dataset_unavailable`: this server holds no code descriptions.

---

[API](https://skmtc.dev/wenmarpro/apis/wenmar-open.md) · [All operations](https://skmtc.dev/wenmarpro/apis/wenmar-open/llms.txt) · [OpenAPI document](https://skmtc.dev/wenmarpro/apis/wenmar-open/revisions/1027b548b6f0?raw)
