---
title: "Fetch genes by ID"
method: POST
path: "/genes/fetch"
tags: ["Genes"]
---

# Fetch genes by ID

`POST /genes/fetch`

## Query parameters

- `geneIdType` 'ENTREZ_GENE_ID' | 'HUGO_GENE_SYMBOL'
- `projection` 'DETAILED' | 'ID' | 'META' | 'SUMMARY'

## Request body

- string[]

## Response `200`

OK

- Gene[]
  - `entrezGeneId` integer, required
  - `geneticEntityId` integer, required
  - `hugoGeneSymbol` string, required
  - `type` string

---

[API](https://skmtc.net/waldronlab/apis/cbioportal-web-public-api-beta.md) · [All operations](https://skmtc.net/waldronlab/apis/cbioportal-web-public-api-beta/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/waldronlab/cbioportal-web-public-api-beta/revisions/99265965e66b/schema)
