/v1/sequence
DNA sequence of a region
Live testen
10 freie Calls pro Tag — keine Anmeldung, kein API-Key. Geht durchs oanor-Gateway.
Funktioniert. Hol dir einen API-Key und nutze sie in deinem Projekt.
API-Key holenCode-Snippets
curl "https://api.oanor.com/ucsc-api/v1/sequence" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/ucsc-api/v1/sequence", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/ucsc-api/v1/sequence");
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/ucsc-api/v1/sequence",
headers={"x-oanor-key": "oanor_test_..."}
)
Beispiel-Response
Echte Antwort dieses Endpoints, erfasst beim letzten Health-Check.
{
"data": {
"dna": "GATCACAGGTCTATCACCCTATTAACCACTCACGGGAGCTCTCCATGCATTTGGTATTTTCGTCTGGGGGGTATGCACGCGATAGCATTGCGAGACGCTG",
"end": 100,
"chrom": "chrM",
"start": 0,
"genome": "hg38",
"length": 100
},
"meta": {
"timestamp": "2026-06-01T16:23:32.297Z",
"request_id": "c39822db-bf19-4916-acab-08924fe8d9d8"
},
"status": "ok",
"message": "Sequence retrieved",
"success": true
}