/v1/name
Resolve a reference or name
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/sefaria-api/v1/name" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/sefaria-api/v1/name", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/sefaria-api/v1/name");
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/sefaria-api/v1/name",
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": {
"type": "AuthorTopic",
"query": "Rashi",
"is_ref": false,
"completions": [
"Rashi on Job",
"Rashi on Amos",
"Rashi on Avot",
"Rashi",
"Rashi on Ezra",
"Rashi on Joel",
"Rashi on Ruth",
"Rashi on Yoma",
"Rashi on Hosea",
"Rashi on Jonah",
"Rashi on Micah",
"Rashi on Nahum"
]
},
"meta": {
"timestamp": "2026-06-08T01:19:32.525Z",
"request_id": "98d0940e-7cb2-4791-a833-4f96c72590d1"
},
"status": "ok",
"message": "Name resolved successfully",
"success": true
}