---
title: "Get an earning code"
method: GET
path: "/earning_codes/{earning_code} (COPY)"
---

# Get an earning code

`GET /earning_codes/{earning_code} (COPY)`

## Request

- Base URL: `https://sandbox.checkhq.com`
- URL: `https://sandbox.checkhq.com/earning_codes/{earning_code} (COPY)`
- Auth: API key in header `Authorization`
- TypeScript: <https://skmtc.dev/checkhq/apis/check-api/docs/earning_codes/:earning_code%20(COPY)/get.ts> (a function with typed inputs; its response is checked against the schema)

## Path parameters

- `earning_code` string, required

## Response `200`

200

- object
  - `id` string
  - `company` string
  - `type` string
  - `name` string
  - `metadata` object

## Other responses

- `400`: 400

## Changes

- **2026-11-03** `5a54f5eb888b`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/checkhq/apis/check-api/changes/earning_codes/:earning_code%20%28COPY%29/get.md)

---

[API](https://skmtc.dev/checkhq/apis/check-api.md) - [All operations](https://skmtc.dev/checkhq/apis/check-api/llms.txt) - [OpenAPI document](https://skmtc.dev/checkhq/apis/check-api/revisions/5a54f5eb888b?raw)
