/v1/assembly
A genome assembly's metadata
Essayez-le en direct
10 appels gratuits par jour — sans inscription, sans clé API. Passe par la passerelle oanor.
Ça marche. Récupérez une clé API et utilisez-la dans votre projet.
Obtenez une clé APIExtraits de code
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_..."}
)
Exemple de réponse
Une réponse réelle de ce endpoint, capturée lors du dernier contrôle de santé.
{
"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
}