Aller au contenu
GET /v1/links

Commentaries & connections on a passage

Essayez-le en direct

10 appels gratuits par jour — sans inscription, sans clé API. Passe par la passerelle oanor.

En-têtes personnalisés (facultatif)
api.oanor.com/sefaria-api

Ça marche. Récupérez une clé API et utilisez-la dans votre projet.

Obtenez une clé API

Extraits de code

curl "https://api.oanor.com/sefaria-api/v1/links" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/sefaria-api/v1/links", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/sefaria-api/v1/links");
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/links",
    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": {
        "ref": "Genesis 1:1",
        "links": [
            {
                "ref": "Rashbam on Genesis 1:1:1",
                "type": "commentary",
                "category": "Commentary",
                "commentator": "Rashbam"
            },
            {
                "ref": "Ramban on Genesis 1:1:1",
                "type": "commentary",
                "category": "Commentary",
                "commentator": "Ramban"
            },
            {
                "ref": "Sforno on Genesis 1:1:1",
                "type": "commentary",
                "category": "Commentary",
                "commentator": "Sforno"
            },
            {
                "ref": "Sforno on Genesis 1:1:2",
                "type": "commentary",
                "category": "Commentary",
                "commentator": "Sforno"
            },
            {
                "ref": "Sforno on Genesis 1:1:3",
                "type": "commentary",
                "category": "Commentary",
                "commentator": "Sforno"
            },
            {
                "ref": "Sforno on Genesis 1:1:4",
                "type": "commentary",
                "category": "Commentary",
                "commentator": "Sforno"
            },
            {
                "ref": "Sforno on Genesis 1:1:5",
                "type": "commentary",
                "category": "Commentary",
                "commentator": "Sforno"
            },
            {
                "ref": "Kli Yakar on Genesis 1:1:1",
                "type": "commentary",
                "category": "Commentary",
                "commentator": "Kli Yakar"
            },
            {
                "ref": "Kli Yakar on Genesis 1:1:2",
                "type": "commentary",
                "category": "Commentary",
                "commentator": "Kli Yakar"
            },
            {
                "ref": "Kli Yakar on Genesis 1:1:3",
                "type": "commentary",
                "category": "Commentary",
                "commentator": "Kli Yakar"
            },
            {
                "ref": "Ramban on Genesis 1:1:2",
                "type": "commentary",
                "category": "Commentary",
                "commentator": "Ramban"
            },
            {
                "ref": "Ramban on Genesis 1:1:3",
                "type": "commentary",
                "category": "Commentary",
                "commentator": "Ramban"
            },
            {
                "ref": "Ramban on Genesis 1:1:4",
                "type": "commentary",
                "category": "Commentary",
                "commentator": "Ramban"
            },
            {
                "ref": "Ibn Ezra on Genesis 1:1:1",
                "type": "commentary",
                "category": "Commentary",
                "commentator": "Ibn Ezra"
            },
            {
                "ref": "Ibn Ezra on Genesis 1:1:2",
                "type": "commentary",
                "cate
…