---
title: "Get a gene"
method: GET
path: "/genes/{geneId}"
tags: ["Genes"]
---

# Get a gene

`GET /genes/{geneId}`

## Request

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

## Path parameters

- `geneId` string, required

## Response `200`

OK

- Gene
  - `entrezGeneId` integer, required
  - `geneticEntityId` integer, required
  - `hugoGeneSymbol` string, required
  - `type` 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)
