GET /gene/id/{gene_id}

nih.gov:ncbi-datasets-api

Summary: Get gene by ID
Operation ID: getGeneById
Auth: unknown
Description

Retrieve detailed information about a gene by its NCBI Gene ID.

Parameters (1)

gene_id (string, path, required)

NCBI Gene ID (e.g., 1 for A1BG)

Examples (3)

TitleTypeURLAction
Get gene A1BG by ID curl https://api.ncbi.nlm.nih.gov/datasets/v2/gene/id/1
Get tumor suppressor gene TP53 curl https://api.ncbi.nlm.nih.gov/datasets/v2/gene/id/7157
Get KRAS oncogene curl https://api.ncbi.nlm.nih.gov/datasets/v2/gene/id/3845

Probe History

Latency

Status Codes

TimeStatusLatencySize
2026-03-23 10:48:52.035611 200 378ms
2026-03-23 10:44:12.295055 200 407ms
2026-03-23 10:13:59.231660 200 396ms

Response Changes

WhenOldNew
2026-03-23 10:44:12.295055 6a001cea8d72 72d710007b52
2026-03-23 10:48:52.035611 72d710007b52 ac3a3545fb47