Skip to content
GET /v1/assembly

A genome assembly's metadata

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/genomes-api

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

Get an API key

Code snippets

curl "https://api.oanor.com/genomes-api/v1/assembly" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/genomes-api/v1/assembly", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/genomes-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/genomes-api/v1/assembly",
    headers={"x-oanor-key": "oanor_test_..."}
)

Example response

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

{
    "data": {
        "assembly": {
            "uid": "11968211",
            "url": "https://www.ncbi.nlm.nih.gov/datasets/genome/GCF_000001405.40/",
            "date": "2022-02-08",
            "name": "GRCh38.p14",
            "level": "Chromosome",
            "coverage": null,
            "organism": "Homo sapiens (human)",
            "taxon_id": "9606",
            "accession": "GCF_000001405.40",
            "biosample": null,
            "submitter": "Genome Reference Consortium",
            "ucsc_name": "hg38",
            "contig_n50": 57879411,
            "ftp_refseq": "ftp://ftp.ncbi.nlm.nih.gov/genomes/all/GCF/000/001/405/GCF_000001405.40_GRCh38.p14",
            "description": "Genome Reference Consortium Human Build 38 patch release 14 (GRCh38.p14)",
            "ftp_genbank": "ftp://ftp.ncbi.nlm.nih.gov/genomes/all/GCA/000/001/405/GCA_000001405.29_GRCh38.p14",
            "ensembl_name": null,
            "scaffold_n50": 67794873,
            "assembly_type": "haploid-with-alt-loci",
            "release_level": "Patch",
            "refseq_category": "reference genome",
            "genbank_accession": "GCF_000001405.26"
        }
    },
    "meta": {
        "timestamp": "2026-06-01T23:40:54.136Z",
        "request_id": "7a21b94d-2f96-4203-84bc-17fb9d7df733"
    },
    "status": "ok",
    "message": "Assembly retrieved",
    "success": true
}