---
title: "Return the list of ICDO2/ICDO3 primary sites matching a code"
method: GET
path: "/rest/disease/primary_site/{code}"
tags: ["disease"]
---

# Return the list of ICDO2/ICDO3 primary sites matching a code

`GET /rest/disease/primary_site/{code}`

## Request

- Base URL: `https://api.seer.cancer.gov`
- URL: `https://api.seer.cancer.gov/rest/disease/primary_site/{code}`
- Auth: API key in header `X-SEERAPI-Key`
- TypeScript: <https://skmtc.dev/cancer/apis/seer-api/docs/rest/disease/primary_site/:code/get.ts> (a function with typed inputs; its response is checked against the schema)

## Path parameters

- `code` string, required

## Response `200`

Success

- Lookup[]
  - `value` string
  - `label` string

## Other responses

- `404`: Code not found

---

[API](https://skmtc.dev/cancer/apis/seer-api.md) - [All operations](https://skmtc.dev/cancer/apis/seer-api/llms.txt) - [OpenAPI document](https://skmtc.dev/cancer/apis/seer-api/revisions/f6634f7497ad?raw)
