/v1/search
Search structural variants by gene or text
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/dbvar-api/v1/search" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/dbvar-api/v1/search", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/dbvar-api/v1/search");
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/dbvar-api/v1/search",
headers={"x-oanor-key": "oanor_test_..."}
)
Beispiel-Response
Echte Antwort dieses Endpoints, erfasst beim letzten Health-Check.
{
"data": {
"count": 20,
"query": "gene:BRCA1",
"total": 2790,
"variants": [
{
"genes": [
"BRCA1"
],
"study": "nstd232",
"organism": "human",
"taxon_id": 9606,
"accession": "nsv7897183",
"placement": {
"end": 43094800,
"start": 43094800,
"assembly": "GRCh38.p12",
"chromosome": "17"
},
"object_type": "VARIANT",
"variant_type": "insertion",
"clinical_significance": null
},
{
"genes": [
"BRCA1"
],
"study": "nstd232",
"organism": "human",
"taxon_id": 9606,
"accession": "nsv7897034",
"placement": {
"end": 43099831,
"start": 43099831,
"assembly": "GRCh38.p12",
"chromosome": "17"
},
"object_type": "VARIANT",
"variant_type": "insertion",
"clinical_significance": null
},
{
"genes": [
"BRCA1"
],
"study": "nstd232",
"organism": "human",
"taxon_id": 9606,
"accession": "nsv7897014",
"placement": {
"end": 43094089,
"start": 43094089,
"assembly": "GRCh38.p12",
"chromosome": "17"
},
"object_type": "VARIANT",
"variant_type": "insertion",
"clinical_significance": null
},
{
"genes": [
"BRCA1"
],
"study": "nstd232",
"organism": "human",
"taxon_id": 9606,
"accession": "nsv7896967",
"placement": {
"end": 43071123,
"start": 43071123,
"assembly": "GRCh38.p12",
"chromosome": "17"
},
"object_type": "VARIANT",
"variant_type": "insertion",
"clinical_significance": null
},
{
"genes": [
"RPL21P4",
"BRCA1"
],
"study": "nstd232",
"organism": "human",
"taxon_id": 9606,
"accession": "nsv7896545",
"placement": {
"end": 43078805,
"start": 43078805,
"assembly": "GRCh38.p12",
"chromosome": "17"
},
"ob
…