---
title: "Get a cancer type"
method: GET
path: "/cancer-types/{cancerTypeId}"
tags: ["Cancer Types"]
---

# Get a cancer type

`GET /cancer-types/{cancerTypeId}`

## Request

- Base URL: `https://www.cbioportal.org/api`
- URL: `https://www.cbioportal.org/api/cancer-types/{cancerTypeId}`
- Auth: none declared
- TypeScript: <https://skmtc.dev/waldronlab/apis/cbioportal-web-public-api-beta/docs/cancer-types/:cancerTypeId/get.ts> (a function with typed inputs; its response is checked against the schema)

## Path parameters

- `cancerTypeId` string, required

## Response `200`

OK

- TypeOfCancer
  - `cancerTypeId` string, required
  - `dedicatedColor` string
  - `name` string
  - `parent` string
  - `shortName` string

---

[API](https://skmtc.dev/waldronlab/apis/cbioportal-web-public-api-beta.md) - [All operations](https://skmtc.dev/waldronlab/apis/cbioportal-web-public-api-beta/llms.txt) - [OpenAPI document](https://skmtc.dev/waldronlab/apis/cbioportal-web-public-api-beta/revisions/99265965e66b?raw)
