/ensembl/genes

POST /api/ensembl/genes

Price: 10 credits

Get an Ensembl gene by stable id or by symbol within a species

How to use it

Takes either an Ensembl stable id or a gene symbol. A stable id resolves on its own and `species` is ignored; a symbol is only meaningful inside one species, so set `species` whenever the input is not a stable id. A version suffix such as ENSG00000139618.19 is accepted and stripped. Transcript, translation and exon stable ids resolve here too and come back with `object_type` saying Transcript, Translation or Exon rather than Gene, so check that field before treating the answer as a gene; on those `parent_id` carries the feature one level up, the gene of a transcript or the transcript of a translation, which is how to walk back to the gene. `species` is echoed back as it was spelled, so an alias like `human` stays `human`.

Parameters

Request body

Response

Errors

Response headers