/v1/link
Cross-reference between databases
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/kegg-api/v1/link" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/kegg-api/v1/link", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/kegg-api/v1/link");
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/kegg-api/v1/link",
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": {
"count": 5,
"links": [
{
"source": "hsa:10458",
"target": "path:hsa04517"
},
{
"source": "hsa:10458",
"target": "path:hsa04520"
},
{
"source": "hsa:10458",
"target": "path:hsa04810"
},
{
"source": "hsa:10458",
"target": "path:hsa05130"
},
{
"source": "hsa:10458",
"target": "path:hsa05135"
}
],
"total": 5,
"source": "hsa:10458",
"target": "pathway"
},
"meta": {
"timestamp": "2026-06-01T08:13:53.490Z",
"request_id": "b14287ea-1721-4db3-962e-f4de29b1880b"
},
"status": "ok",
"message": "Links retrieved",
"success": true
}