/v1/assembly
Genome-assembly metadata
Try it live
10 free calls per day — no sign-up, no API key. Goes through the oanor gateway.
It works. Grab an API key and use it in your project.
Get an API keyCode snippets
curl "https://api.oanor.com/ensembl-api/v1/assembly" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/ensembl-api/v1/assembly", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/ensembl-api/v1/assembly");
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/assembly",
headers={"x-oanor-key": "oanor_test_..."}
)
Example response
A real response from this endpoint, captured by the latest health check.
{
"data": {
"species": "human",
"assembly": {
"date": "2013-12",
"name": "GRCh38.p14",
"accession": "GCA_000001405.29",
"karyotype": [
"1",
"2",
"3",
"4",
"5",
"6",
"7",
"8",
"9",
"10",
"11",
"12",
"13",
"14",
"15",
"16",
"17",
"18",
"19",
"20",
"21",
"22",
"X",
"Y",
"MT"
],
"chromosomes": [
{
"name": "Y",
"length": 57227415
},
{
"name": "20",
"length": 64444167
},
{
"name": "X",
"length": 156040895
},
{
"name": "13",
"length": 114364328
},
{
"name": "22",
"length": 50818468
},
{
"name": "10",
"length": 133797422
},
{
"name": "6",
"length": 170805979
},
{
"name": "19",
"length": 58617616
},
{
"name": "14",
"length": 107043718
},
{
"name": "18",
"length": 80373285
},
{
"name": "2",
"length": 242193529
},
{
"name": "4",
"length": 190214555
},
{
"name": "21",
"length": 46709983
},
{
"name": "9",
"length": 138394717
},
{
"name": "11",
"length": 135086622
},
{
"name": "17",
"length": 83257441
},
{
"name": "8",
"length": 145138636
},
{
"name": "7",
"length": 159345973
},
{
"name": "15",
"length": 101991189
},
{
"name": "12",
"length": 133275309
},
…