Skip to content
GET /v1/gene

Look up a gene by symbol

Try it live

10 free calls per day — no sign-up, no API key. Goes through the oanor gateway.

Custom headers (optional)
api.oanor.com/ensembl-api

It works. Grab an API key and use it in your project.

Get an API key

Code snippets

curl "https://api.oanor.com/ensembl-api/v1/gene" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/ensembl-api/v1/gene", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/ensembl-api/v1/gene");
curl_setopt($ch, CURLOPT_HTTPHEADER, ["x-oanor-key: oanor_test_..."]);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$out = curl_exec($ch);
import requests
requests.get(
    "https://api.oanor.com/ensembl-api/v1/gene",
    headers={"x-oanor-key": "oanor_test_..."}
)

Example response

A real response from this endpoint, captured by the latest health check.

{
    "data": {
        "gene": {
            "id": "ENSG00000139618",
            "end": 32400268,
            "start": 32315086,
            "source": "ensembl_havana",
            "strand": 1,
            "symbol": "BRCA2",
            "biotype": "protein_coding",
            "species": "human",
            "version": 19,
            "assembly": "GRCh38",
            "chromosome": "13",
            "description": "BRCA2 DNA repair associated [Source:HGNC Symbol;Acc:HGNC:1101]",
            "canonical_transcript": "ENST00000380152.8"
        }
    },
    "meta": {
        "timestamp": "2026-06-01T08:14:11.651Z",
        "request_id": "eeae2903-13a7-4203-b35f-a6d709ce42c8"
    },
    "status": "ok",
    "message": "Gene retrieved",
    "success": true
}