/v1/search
Search ClinVar by gene or text
Pruébalo en vivo
10 llamadas gratis al día — sin registro, sin clave API. Pasa por el gateway de oanor.
Funciona. Consigue una clave API y úsala en tu proyecto.
Obtener una clave APIFragmentos de código
curl "https://api.oanor.com/clinvar-api/v1/search" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/clinvar-api/v1/search", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/clinvar-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/clinvar-api/v1/search",
headers={"x-oanor-key": "oanor_test_..."}
)
Respuesta de ejemplo
Una respuesta real de este endpoint, capturada en la última comprobación de estado.
{
"data": {
"count": 20,
"query": "BRCA1 (gene)",
"total": 15897,
"variation_ids": [
"4851990",
"4851779",
"4851364",
"4851359",
"4850689",
"4849514",
"4848953",
"4848411",
"4845640",
"4845425",
"4842666",
"4842665",
"4842664",
"4842663",
"4842662",
"4842661",
"4842660",
"4842659",
"4842657",
"4842656"
]
},
"meta": {
"timestamp": "2026-06-01T16:23:33.766Z",
"request_id": "776a062a-3e03-4dc7-aaa5-a3a582213744"
},
"status": "ok",
"message": "Search results retrieved",
"success": true
}