Skip to content
GET /v1/links

Commentaries & connections on a passage

Try it live

10 free calls per day — no sign-up, no API key. Goes through the oanor gateway.

Custom headers (optional)
api.oanor.com/sefaria-api

It works. Grab an API key and use it in your project.

Get an API key

Code snippets

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_..."}
)

Example response

A real response from this endpoint, captured by the latest health check.

{
    "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
…