---
type: "firecrawl-provider"
description: "Sefaria (www.sefaria.org), the open library of Jewish texts, through its public keyless API: the Hebrew Bible (Tanakh: Torah, Prophets, Writings) with English translations, Mishnah, Talmud, Midrash, halakhah and the classical commentaries (Rashi, Ramban, Ibn Ezra, Sforno, Rashbam, Tosafot, ...). Read any passage by Sefaria ref (Genesis 1:1-3, Exodus 20, Berakhot 2a) as Hebrew or Aramaic and English side by side, segment by segment; read a commentator on a verse with citable metadata (authors, era such as Rishonim or Acharonim, composition date and place); and list the cross-reference graph for a verse: commentaries, Talmud and Midrash passages that cite it. Every text version carries its own licence: only Public Domain, CC0, CC-BY and CC-BY-SA versions are returned (CC-BY-NC and unlicensed ones never are), and each response names the version, licence and source for attribution. Links are CC-BY."
use_when: "Sefaria (www.sefaria.org), the open library of Jewish texts, through its public keyless API: the Hebrew Bible (Tanakh: Torah, Prophets, Writings) with English translations, Mishnah, Talmud, Midrash, halakhah and the classical commentaries (Rashi, Ramban, Ibn Ezra, Sforno, Rashbam, Tosafot, ...). Read any passage by Sefaria ref (Genesis 1:1-3, Exodus 20, Berakhot 2a) as Hebrew or Aramaic and English side by side, segment by segment; read a commentator on a verse with citable metadata (authors, era such as Rishonim or Acharonim, composition date and place); and list the cross-reference graph for a verse: commentaries, Talmud and Midrash passages that cite it. Every text version carries its own licence: only Public Domain, CC0, CC-BY and CC-BY-SA versions are returned (CC-BY-NC and unlicensed ones never are), and each response names the version, licence and source for attribution. Links are CC-BY."
categories: "Research"
capabilities: 3
credits_per_call: 5
---
# Sefaria: Hebrew Bible, Jewish commentaries and links (sefaria.org) on Firecrawl Alexandria

Sefaria (www.sefaria.org), the open library of Jewish texts, through its public keyless API: the Hebrew Bible (Tanakh: Torah, Prophets, Writings) with English translations, Mishnah, Talmud, Midrash, halakhah and the classical commentaries (Rashi, Ramban, Ibn Ezra, Sforno, Rashbam, Tosafot, ...). Read any passage by Sefaria ref (Genesis 1:1-3, Exodus 20, Berakhot 2a) as Hebrew or Aramaic and English side by side, segment by segment; read a commentator on a verse with citable metadata (authors, era such as Rishonim or Acharonim, composition date and place); and list the cross-reference graph for a verse: commentaries, Talmud and Midrash passages that cite it. Every text version carries its own licence: only Public Domain, CC0, CC-BY and CC-BY-SA versions are returned (CC-BY-NC and unlicensed ones never are), and each response names the version, licence and source for attribution. Links are CC-BY.

- Categories: Research
- Category index: [Research category](https://firecrawl.dev/alexandria/agents/categories/research)
- Provider key: `sefaria-org`
- Access: Firecrawl credits
- Cost: 5 credits per call

## More

- [Human guide](https://firecrawl.dev/app/alexandria/sefaria-org)
- [OpenAPI spec](https://firecrawl.dev/alexandria/agents/providers/sefaria-org/openapi.json)

## Capabilities

- [Get commentary](https://firecrawl.dev/alexandria/agents/providers/sefaria-org/bible/get_commentary): Read one classical commentator on a verse or passage (Rashi on Genesis 1:1, Ramban on Exodus 20:2, Ibn Ezra, Sforno, Rashbam, Or HaChaim, Tosafot on Berakhot 2a): each comment with its ref, Hebrew and English side by side, plus citable metadata from Sefaria's index: the commentary's title, authors, era (Geonim, Rishonim, Acharonim), composition years and place. Licence filtering is as in get_text: only Public Domain, CC0, CC-BY and CC-BY-SA versions are returned, and a language without one is listed in withheld.
- [Get links](https://firecrawl.dev/alexandria/agents/providers/sefaria-org/bible/get_links): List the cross-references Sefaria records for a verse or passage (Genesis 1:1, Exodus 20:2, Berakhot 2a): commentaries on it, Talmud and Midrash passages that quote it, related Tanakh verses, halakhic and Kabbalistic sources. Filter by category (Commentary, Talmud, Midrash, Tanakh, Halakhah, ...) or commentator (Rashi); each link has the linked ref, category, type, commentator, composition years and a Sefaria URL, with counts by category and by commentator. The links dataset is CC-BY (commercial use with attribution to Sefaria); linked text is read with get_text, which applies the version licence filter.
- [Get text](https://firecrawl.dev/alexandria/agents/providers/sefaria-org/bible/get_text): Read a passage of the Hebrew Bible, Talmud, Mishnah, Midrash or any Sefaria text by ref (Genesis 1:1-3, Gen. 1:1, Exodus 20, Psalms 23, Isaiah 40:1-5, Berakhot 2a, Mishnah Berakhot 1:1, Rashi on Genesis 1:1): each verse or segment with its ref, the Hebrew (or Aramaic) source text and an English translation side by side, HTML and footnotes stripped. Sefaria's default English translation of the Tanakh is CC-BY-NC, so the best-ranked commercially licensed version (Public Domain, CC0, CC-BY or CC-BY-SA, e.g. JPS 1917 or Metsudah) is used instead; a language with no such version is returned as null and listed in withheld with the reason. Versions carry title, licence and source; attribution is a ready citation line.

## 1. Choose this provider when

Sefaria (www.sefaria.org), the open library of Jewish texts, through its public keyless API: the Hebrew Bible (Tanakh: Torah, Prophets, Writings) with English translations, Mishnah, Talmud, Midrash, halakhah and the classical commentaries (Rashi, Ramban, Ibn Ezra, Sforno, Rashbam, Tosafot, ...). Read any passage by Sefaria ref (Genesis 1:1-3, Exodus 20, Berakhot 2a) as Hebrew or Aramaic and English side by side, segment by segment; read a commentator on a verse with citable metadata (authors, era such as Rishonim or Acharonim, composition date and place); and list the cross-reference graph for a verse: commentaries, Talmud and Midrash passages that cite it. Every text version carries its own licence: only Public Domain, CC0, CC-BY and CC-BY-SA versions are returned (CC-BY-NC and unlicensed ones never are), and each response names the version, licence and source for attribution. Links are CC-BY.

## 2. Minimal request

Call `POST https://api.firecrawl.dev/v2/scrape` with `{ alexandria: { provider, capability, options } }`. For a batch, send `{ alexandria: [...] }` with up to 10 calls.

```json
{
  "provider": "sefaria-org",
  "capability": "bible/get_commentary",
  "options": {
    "commentator": "Rashi",
    "ref": "Genesis 1:1"
  }
}
```

## 3. Add provider options

Use only the options needed for the task:

- `commentator` (string, required): The commentator as Sefaria titles the series: Rashi, Ramban, Ibn Ezra, Sforno, Rashbam, Or HaChaim, Kli Yakar, Tosafot, Malbim, Radak... get_links with category Commentary lists who comments on a ref. Example: `<commentator>`
- `english_version` (string): Exact Sefaria versionTitle of the English translation to use, e.g. The Holy Scriptures: A New Translation (JPS 1917). It is returned only if its licence permits commercial use. Example: `<english_version>`
- `hebrew_version` (string): Exact Sefaria versionTitle of the Hebrew edition to use (from versions.hebrew.version_title). It is returned only if its licence permits commercial use. Example: `<hebrew_version>`
- `language` (string): both: Hebrew (or Aramaic) source and English side by side; hebrew or english: one side only. Example: `both`
- `max_segments` (number): At most this many segments; a whole book or tractate is cut here with truncated true. Example: `200`
- `ref` (string, required): The base-text ref commented on: Genesis 1:1, Exodus 20:2-3, Psalms 23:1, Berakhot 2a. Example: `<ref>`

## 4. Request through your preferred interface

### JavaScript

```javascript
const result = await firecrawl.scrape({
  alexandria: {
    provider: "sefaria-org",
    capability: "bible/get_commentary",
    options: {
      commentator: "Rashi",
      ref: "Genesis 1:1",
    },
  },
});
```

### Python

```python
result = firecrawl.scrape_alexandria({
  "provider": "sefaria-org",
  "capability": "bible/get_commentary",
  "options": {
    "commentator": "Rashi",
    "ref": "Genesis 1:1"
  }
})
```

### cURL

```sh
curl https://api.firecrawl.dev/v2/scrape \
  -H "Authorization: Bearer $FIRECRAWL_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "alexandria": {
    "provider": "sefaria-org",
    "capability": "bible/get_commentary",
    "options": {
      "commentator": "Rashi",
      "ref": "Genesis 1:1"
    }
  }
}'
```

### CLI

```sh
firecrawl scrape 'sefaria-org/bible/get_commentary' \
  --options '{"commentator":"Rashi","ref":"Genesis 1:1"}'
```


### MCP

Call the FCX MCP retrieve tool with this object:

```json
{
  "provider": "sefaria-org",
  "capability": "bible/get_commentary",
  "options": {
    "commentator": "Rashi",
    "ref": "Genesis 1:1"
  }
}
```

Ask for only the returned fields needed by the task.

## 5. Full request shape

```json
{
  "provider": "sefaria-org",
  "capability": "bible/get_commentary",
  "options": {
    "commentator": "Rashi",
    "ref": "Genesis 1:1"
  }
}
```

## 6. Response data

The response includes `success`, `provider`, `capability`, `creditsCost` and `data`. This example shows the provider payload in `data`:

```json
{
  "attribution": "Rashi on Genesis 1:1. Hebrew: Pentateuch with Rashi's commentary by M. Rosenbaum and A.M. Silbermann, 1929-1934 (Public Domain); English: Pentateuch with Rashi's commentary by M. Rosenbaum and A.M. Silbermann, 1929-1934 (Public Domain). Via Sefaria.org, https://www.sefaria.org/Rashi_on_Genesis.1.1",
  "book": "Rashi on Genesis",
  "categories": [
    "Tanakh",
    "Rishonim on Tanakh",
    "Rashi",
    "Torah"
  ],
  "collective_title": "Rashi",
  "commentary": {
    "authors": [
      {
        "name": "Rashi",
        "name_he": "רש״י",
        "slug": "rashi"
      }
    ],
    "base_ref": "Genesis 1:1",
    "base_text_titles": [
      "Genesis"
    ],
    "commentator": "Rashi",
    "commentator_he": "רש\"י",
    "composed_approximate": true,
    "composed_from": 1075,
    "composed_place": "Middle-Age France",
    "composed_to": 1105,
    "era": "Rishonim",
    "era_code": "RI",
    "index_title": "Rashi on Genesis",
    "index_url": "https://www.sefaria.org/Rashi_on_Genesis"
  },
  "he_book": "רש\"י על בראשית",
  "he_ref": "רש\"י על בראשית א׳:א׳",
  "next_ref": "Rashi on Genesis 1:2",
  "observed_at_ms": 1793155172890,
  "prev_ref": null,
  "primary_category": "Commentary",
  "ref": "Rashi on Genesis 1:1",
  "section_names": [
    "Chapter",
    "Verse",
    "Comment"
  ],
  "segment_count": 3,
  "segments": [
    {
      "english": "בראשית IN THE BEGINNING — Rabbi Isaac said: The Torah which is the Law book of Israel should have commenced with the verse (Exodus 12:2) “This month shall be unto you the first of the months” which is the first commandment given to Israel. What is the reason, then, that it commences with the account of the Creation? Because of the thought expressed in the text (Psalms 111:6) “He declared to His people the strength of His works (i.e. He gave an account of the work of Creation), in order that He might give them the heritage of the nations.” For should the peoples of the world say to Israel, “You are robbers, because you took by force the lands of the seven nations of Canaan”, Israel may reply to them, “All the earth belongs to the Holy One, blessed be He; He created it and gave it to whom He pleased. When He willed He gave it to them, and when He willed He took it from them and gave it to us” (Yalkut Shimoni on Torah 187).",
      "hebrew": "בראשית. אָמַר רַבִּי יִצְחָק לֹֹֹֹֹא הָיָה צָרִיךְ לְהַתְחִיל אֶת הַתּוֹרָה אֶלָּא מֵהַחֹדֶשׁ הַזֶּה לָכֶם, שֶׁהִיא מִצְוָה רִאשׁוֹנָה שֶׁנִּצְטַוּוּ בָּהּ יִשׂרָאֵל, וּמַה טַּעַם פָּתַח בִּבְרֵאשִׁית? מִשׁוּם כֹּחַ מַעֲשָׂיו הִגִּיד לְעַמּוֹ לָתֵת לָהֶם נַחֲלַת גּוֹיִם (תהילים קי\"א), שֶׁאִם יֹאמְרוּ אֻמּוֹת הָעוֹלָם לְיִשְׁרָאֵל לִסְטִים אַתֶּם, שֶׁכְּבַשְׁתֶּם אַרְצוֹת שִׁבְעָה גוֹיִם, הֵם אוֹמְרִים לָהֶם כָּל הָאָרֶץ שֶׁל הַקָּבָּ\"ה הִיא, הוּא בְרָאָהּ וּנְתָנָהּ לַאֲשֶׁר יָשַׁר בְּעֵינָיו, בִּרְצוֹנוֹ נְתָנָהּ לָהֶם, וּבִרְצוֹנוֹ נְטָלָהּ מֵהֶם וּנְתָנָהּ לָנוּ:",
      "ref": "Rashi on Genesis 1:1:1"
    },
    {
      "english": "בראשית ברא IN THE BEGINNING GOD CREATED — This verse calls aloud for explanation in the manner that our Rabbis explained it: God created the world for the sake of the Torah which is called (Proverbs 8:22) “The beginning (ראשית) of His (God’s) way”, and for the sake of Israel who are called (Jeremiah 2:3) “The beginning (ראשית) of His (God’s) increase’’. If, however, you wish to explain it in its plain sense, explain it thus: At the beginning of the Creation of heaven and earth when the earth was without form and void and there was darkness, God said, “Let there be light”. The text does not intend to point out the order of the acts of Creation — to state that these (heaven and earth) were created first; for if it intended to point this out, it should have written 'בראשונה ברא את השמים וגו “At first God created etc.” And for this reason: Because, wherever the word ראשית occurs in Scripture, it is in the construct state. E. g., (Jeremiah 26:1) “In the beginning of (בראשית) the reign of Jehoiakim”; (Genesis 10:10) “The beginning of (ראשית) his kingdom”; (Deuteronomy 18:4) “The first fruit of (ראשית) thy corn.” Similarly here you must translate בראשית ברא אלהים as though it read בראשית ברוא, at the beginning of God’s creating. A similar grammatical construction (of a noun in construct followed by a verb) is: (Hosea 1:2) תחלת דבר ה' בהושע, which is as much as to say, “At the beginning of God’s speaking through Hosea, the Lord said to Hosea.” Should you, however, insist that it does actually intend to point out that these (heaven and earth) were created first, and that the meaning is, “At the beginning of everything He created these, admitting therefore that the word בראשית is in the construct state and explaining the omission of a word signifying “everything” by saying that you have texts which are elliptical, omitting a word, as for example (Job 3:10) “Because it shut not up the doors of my mother’s womb” where it does not explicitly explain who it was that closed the womb; and (Isaiah 8:4) “He shall take away the spoil of Samaria” without explaining who shall take it away; and (Amos 6:12) “Doth he plough with oxen,\" and it does not explicitly state, “Doth a man plough with oxen”; (Isaiah 46:10) “Declaring from the beginning the end,” and it does not explicitly state, “Declaring from the beginning of a thing the end of a thing’ — if it is so (that you assert that this verse intends to point out that heaven and earth were created first), you should be astonished at yourself, because as a matter of fact the waters were created before heaven and earth, for, lo, it is written, (v. 2) “The Spirit of God was hovering on the face of the waters,” and Scripture had not yet disclosed when the creation of the waters took place — consequently you must learn from this that the creation of the waters preceded that of the earth. And a further proof that the heavens and earth were not the first thing created is that the heavens were created from fire (אש) and water (מים), from which it follows that fire and water were in existence before the heavens. Therefore you must admit that the text teaches nothing about the earlier or later sequence of the acts of Creation.",
      "hebrew": "בראשית ברא אֵין הַמִּקְרָא הַזֶּה אוֹמֵר אֶלָּא דָּרְשֵׁנִי, כְּמוֹ שֶׁדְּרָשׁוּהוּ רַבּוֹתֵינוּ בִּשְׁבִיל הַתּוֹרָה שֶׁנִקְרֵאת רֵאשִׁית דַּרְכּוֹ (משלי ח'), וּבִשְׁבִיל יִשְׂרָאֵל שֶׁנִקְרְאוּ רֵאשִׁית תְּבוּאָתוֹ (ירמיה ב'); וְאִם בָּאתָ לְפָרְשׁוֹ כִּפְשׁוּטוֹ, כָּךְ פָּרְשֵׁהוּ בְּרֵאשִׁית בְּרִיאַת שָׁמַיִם וָאָרֶץ, וְהָאָרֶץ הָיְתָה תֹהוּ וָבֹהוּ וְחֹשֶׁךְ וַיֹּאמֶר אֱלֹהִים יְהִי אוֹר וְלֹא בָא הַמִּקְרָא לְהוֹרוֹת סֵדֶר הַבְּרִיאָה לוֹמַר שֶׁאֵלּוּ קָדְמוּ, שֶׁאִם בָּא לְהוֹרוֹת כָּךְ, הָיָה לוֹ לִכְתֹּב בָּרִאשׁוֹנָה בָּרָא אֶת הַשָּׁמַיִם וְגוֹ' שֶׁאֵין לְךָ רֵאשִׁית בַּמִּקְרָא שֶׁאֵינוֹ דָבוּק לַתֵּבָה שֶׁלְּאַחֲרָיו, כְּמוֹ בְּרֵאשִׁית מַמְלֶכֶת יְהוֹיָקִים (שׁם כ\"ז), רֵאשִׁית מַמְלַכְתּוֹ (בראשית י'), רֵאשִׁית דְּגָנְךָ (דברים י\"ח, ד'), – אַף כָּאן אַתָּה אוֹמֵר בְּרֵאשִׁית בָּרָא אֱלֹהִים וְגוֹ', כְּמוֹ בְּרֵאשִׁית בְּרֹא; וְדוֹמֶה לוֹ תְּחִלַּת דִּבֶּר ה' בְּהוֹשֵׁעַ (הושע א'), כְּלוֹמַר תְּחִלַת דִּבּוּרוֹ שֶׁל הַקָּבָּ\"ה בְּהוֹשֵׁעַ, וַיֹּאמֶר ה' אֶל הוֹשֵׁעַ וְגוֹ'. וְאִ\"תֹּ לְהוֹרוֹת בָּא שֶׁאֵלּוּ תְּחִלָּה נִבְרְאוּ, וּפֵרוּשׁוֹ בְּרֵאשִׁית הַכֹּל בָּרָא אֵלוּ – וְֵישׁ לְךָ מִקְרָאוֹת שֶׁמְּקַצְּרִים לְשׁוֹנָם וּמְמַעֲטִים תֵּבָה אַחַת, כְּמוֹ כִּי לֹא סָגַר דַּלְתֵי בִטְנִי (איוב ג'), וְלֹא פֵּרֵשׁ מִי הַסּוֹגֵר וּכְמוֹ יִשָּׂא אֶת חֵיל דַּמֶּשֶׂק (ישעיהו ח'), וְלֹא פֵּרֵשׁ מִי יִשָּׂאֶנּוּ; וּכְמוֹ אִם יַחֲרוֹשׁ בַּבְּקָרִים (עמוס ו'), וְלֹא פֵּרֵשׁ אִם יַחֲרוֹשׁ אָדָם בַּבְּקָרִים, וּכְמוֹ מַגִּיד מֵרֵאשִׁית אַחֲרִית (ישעיהו מ\"ו), וְלֹא פֵּרֵשׁ מַגִּיד מֵרֵאשִׁית דָּבָר אַחֲרִית דָּבָר – אִ\"כֵּ, תְּמַהּ עַל עַצְמְךָ, שֶׁהֲרֵי הַמַּיִם קָדְמוּ, שֶׁהֲרֵי כְתִיב וְרוּחַ אֱלֹהִים מְרַחֶפֶת עַל פְּנֵי הַמָּיִם, וְעַדַיִין לֹא גִלָּה הַמִּקְרָא, בְּרִיאַת הַמַּיִם מָתַי הָיְתָה, הָא לָמַדְתָּ, שֶׁקָּדְמוּ הַמַּיִם לָאָרֶץ, וְעוֹד, שֶׁהַשָּׁמַיִם מֵאֵשׁ וּמַיִם נִבְרְאוּ, עַל כָּרְחֲךָ לֹא לִמֵּד הַמִּקְרָא סֵדֶר הַמֻּקְדָמִים וְהַמְאֻחָרִים כְּלוּם:",
      "ref": "Rashi on Genesis 1:1:2"
    },
    {
      "english": "ברא אלהים GOD [AS JUDGE] CREATED — It does not state 'ברא ה “The Lord (the Merciful One) created, because at first God intended to create it (the world) to be placed under the attribute (rule) of strict justice, but He realised that the world could not thus endure and therefore gave precedence to Divine Mercy allying it with Divine Justice. It is to this that what is written in (Genesis 2:4) alludes — “In the day that the Lord God made earth and heaven”.",
      "hebrew": "ברא אלהים וְלֹא נֶאֱמַר בָּרָא ה', שֶׁבַּתְּחִלָּה עָלָה בְמַחֲשָׁבָה לִבְרֹאתוֹ בְּמִדַּת הַדִּין, רָאָה שֶׁאֵין הָעוֹלָם מִתְקַיֵּם, הִקְדִּים מִדַּת רַחֲמִים וְשִׁתְּפָהּ לְמִהַ\"דִּ, וְהַיְינוּ דִּכְתִיב בְּיוֹם עֲשׂוֹת ה' אֱלֹהִים אֶרֶץ וְשָׁמָיִם:",
      "ref": "Rashi on Genesis 1:1:3"
    }
  ],
  "truncated": false,
  "url": "https://www.sefaria.org/Rashi_on_Genesis.1.1",
  "versions": {
    "english": {
      "direction": "ltr",
      "language": "en",
      "license": "Public Domain",
      "source": "https://www.nli.org.il/he/books/NNL_ALEPH001969084",
      "version_title": "Pentateuch with Rashi's commentary by M. Rosenbaum and A.M. Silbermann, 1929-1934",
      "version_title_he": "חמישה חומשי תורה עם פירוש רש״י, מ. רוזנבאום וא.מ. סילברמן"
    },
    "hebrew": {
      "direction": "rtl",
      "language": "he",
      "license": "Public Domain",
      "source": "https://www.nli.org.il/he/books/NNL_ALEPH001969084",
      "version_title": "Pentateuch with Rashi's commentary by M. Rosenbaum and A.M. Silbermann, 1929-1934",
      "version_title_he": null
    }
  },
  "withheld": []
}
```

## API reference-derived contract

The following capability contract is generated from the same normalized Alexandria API reference exposed in the API spec.

### Get commentary

- Capability: `bible/get_commentary`
- Description: Read one classical commentator on a verse or passage (Rashi on Genesis 1:1, Ramban on Exodus 20:2, Ibn Ezra, Sforno, Rashbam, Or HaChaim, Tosafot on Berakhot 2a): each comment with its ref, Hebrew and English side by side, plus citable metadata from Sefaria's index: the commentary's title, authors, era (Geonim, Rishonim, Acharonim), composition years and place. Licence filtering is as in get_text: only Public Domain, CC0, CC-BY and CC-BY-SA versions are returned, and a language without one is listed in withheld.
- Instructions: Use for 'what does Rashi say on Genesis 1:1', a Jewish commentary on a Bible verse, or to cite a commentator with author and date. A verse the commentator does not comment on is not_found; get_links with category Commentary lists who comments on a ref.
- Cost: 5 credits per call
- Capability file: [Get commentary](https://firecrawl.dev/alexandria/agents/providers/sefaria-org/bible/get_commentary)

Accepted options:
- `commentator` (string, required): The commentator as Sefaria titles the series: Rashi, Ramban, Ibn Ezra, Sforno, Rashbam, Or HaChaim, Kli Yakar, Tosafot, Malbim, Radak... get_links with category Commentary lists who comments on a ref. Example: `<commentator>`
- `english_version` (string): Exact Sefaria versionTitle of the English translation to use, e.g. The Holy Scriptures: A New Translation (JPS 1917). It is returned only if its licence permits commercial use. Example: `<english_version>`
- `hebrew_version` (string): Exact Sefaria versionTitle of the Hebrew edition to use (from versions.hebrew.version_title). It is returned only if its licence permits commercial use. Example: `<hebrew_version>`
- `language` (string): both: Hebrew (or Aramaic) source and English side by side; hebrew or english: one side only. Example: `both`
- `max_segments` (number): At most this many segments; a whole book or tractate is cut here with truncated true. Example: `200`
- `ref` (string, required): The base-text ref commented on: Genesis 1:1, Exodus 20:2-3, Psalms 23:1, Berakhot 2a. Example: `<ref>`

Response schema example:
```json
{
  "attribution": "Rashi on Genesis 1:1. Hebrew: Pentateuch with Rashi's commentary by M. Rosenbaum and A.M. Silbermann, 1929-1934 (Public Domain); English: Pentateuch with Rashi's commentary by M. Rosenbaum and A.M. Silbermann, 1929-1934 (Public Domain). Via Sefaria.org, https://www.sefaria.org/Rashi_on_Genesis.1.1",
  "book": "Rashi on Genesis",
  "categories": [
    "Tanakh",
    "Rishonim on Tanakh",
    "Rashi",
    "Torah"
  ],
  "collective_title": "Rashi",
  "commentary": {
    "authors": [
      {
        "name": "Rashi",
        "name_he": "רש״י",
        "slug": "rashi"
      }
    ],
    "base_ref": "Genesis 1:1",
    "base_text_titles": [
      "Genesis"
    ],
    "commentator": "Rashi",
    "commentator_he": "רש\"י",
    "composed_approximate": true,
    "composed_from": 1075,
    "composed_place": "Middle-Age France",
    "composed_to": 1105,
    "era": "Rishonim",
    "era_code": "RI",
    "index_title": "Rashi on Genesis",
    "index_url": "https://www.sefaria.org/Rashi_on_Genesis"
  },
  "he_book": "רש\"י על בראשית",
  "he_ref": "רש\"י על בראשית א׳:א׳",
  "next_ref": "Rashi on Genesis 1:2",
  "observed_at_ms": 1793155172890,
  "prev_ref": null,
  "primary_category": "Commentary",
  "ref": "Rashi on Genesis 1:1",
  "section_names": [
    "Chapter",
    "Verse",
    "Comment"
  ],
  "segment_count": 3,
  "segments": [
    {
      "english": "בראשית IN THE BEGINNING — Rabbi Isaac said: The Torah which is the Law book of Israel should have commenced with the verse (Exodus 12:2) “This month shall be unto you the first of the months” which is the first commandment given to Israel. What is the reason, then, that it commences with the account of the Creation? Because of the thought expressed in the text (Psalms 111:6) “He declared to His people the strength of His works (i.e. He gave an account of the work of Creation), in order that He might give them the heritage of the nations.” For should the peoples of the world say to Israel, “You are robbers, because you took by force the lands of the seven nations of Canaan”, Israel may reply to them, “All the earth belongs to the Holy One, blessed be He; He created it and gave it to whom He pleased. When He willed He gave it to them, and when He willed He took it from them and gave it to us” (Yalkut Shimoni on Torah 187).",
      "hebrew": "בראשית. אָמַר רַבִּי יִצְחָק לֹֹֹֹֹא הָיָה צָרִיךְ לְהַתְחִיל אֶת הַתּוֹרָה אֶלָּא מֵהַחֹדֶשׁ הַזֶּה לָכֶם, שֶׁהִיא מִצְוָה רִאשׁוֹנָה שֶׁנִּצְטַוּוּ בָּהּ יִשׂרָאֵל, וּמַה טַּעַם פָּתַח בִּבְרֵאשִׁית? מִשׁוּם כֹּחַ מַעֲשָׂיו הִגִּיד לְעַמּוֹ לָתֵת לָהֶם נַחֲלַת גּוֹיִם (תהילים קי\"א), שֶׁאִם יֹאמְרוּ אֻמּוֹת הָעוֹלָם לְיִשְׁרָאֵל לִסְטִים אַתֶּם, שֶׁכְּבַשְׁתֶּם אַרְצוֹת שִׁבְעָה גוֹיִם, הֵם אוֹמְרִים לָהֶם כָּל הָאָרֶץ שֶׁל הַקָּבָּ\"ה הִיא, הוּא בְרָאָהּ וּנְתָנָהּ לַאֲשֶׁר יָשַׁר בְּעֵינָיו, בִּרְצוֹנוֹ נְתָנָהּ לָהֶם, וּבִרְצוֹנוֹ נְטָלָהּ מֵהֶם וּנְתָנָהּ לָנוּ:",
      "ref": "Rashi on Genesis 1:1:1"
    },
    {
      "english": "בראשית ברא IN THE BEGINNING GOD CREATED — This verse calls aloud for explanation in the manner that our Rabbis explained it: God created the world for the sake of the Torah which is called (Proverbs 8:22) “The beginning (ראשית) of His (God’s) way”, and for the sake of Israel who are called (Jeremiah 2:3) “The beginning (ראשית) of His (God’s) increase’’. If, however, you wish to explain it in its plain sense, explain it thus: At the beginning of the Creation of heaven and earth when the earth was without form and void and there was darkness, God said, “Let there be light”. The text does not intend to point out the order of the acts of Creation — to state that these (heaven and earth) were created first; for if it intended to point this out, it should have written 'בראשונה ברא את השמים וגו “At first God created etc.” And for this reason: Because, wherever the word ראשית occurs in Scripture, it is in the construct state. E. g., (Jeremiah 26:1) “In the beginning of (בראשית) the reign of Jehoiakim”; (Genesis 10:10) “The beginning of (ראשית) his kingdom”; (Deuteronomy 18:4) “The first fruit of (ראשית) thy corn.” Similarly here you must translate בראשית ברא אלהים as though it read בראשית ברוא, at the beginning of God’s creating. A similar grammatical construction (of a noun in construct followed by a verb) is: (Hosea 1:2) תחלת דבר ה' בהושע, which is as much as to say, “At the beginning of God’s speaking through Hosea, the Lord said to Hosea.” Should you, however, insist that it does actually intend to point out that these (heaven and earth) were created first, and that the meaning is, “At the beginning of everything He created these, admitting therefore that the word בראשית is in the construct state and explaining the omission of a word signifying “everything” by saying that you have texts which are elliptical, omitting a word, as for example (Job 3:10) “Because it shut not up the doors of my mother’s womb” where it does not explicitly explain who it was that closed the womb; and (Isaiah 8:4) “He shall take away the spoil of Samaria” without explaining who shall take it away; and (Amos 6:12) “Doth he plough with oxen,\" and it does not explicitly state, “Doth a man plough with oxen”; (Isaiah 46:10) “Declaring from the beginning the end,” and it does not explicitly state, “Declaring from the beginning of a thing the end of a thing’ — if it is so (that you assert that this verse intends to point out that heaven and earth were created first), you should be astonished at yourself, because as a matter of fact the waters were created before heaven and earth, for, lo, it is written, (v. 2) “The Spirit of God was hovering on the face of the waters,” and Scripture had not yet disclosed when the creation of the waters took place — consequently you must learn from this that the creation of the waters preceded that of the earth. And a further proof that the heavens and earth were not the first thing created is that the heavens were created from fire (אש) and water (מים), from which it follows that fire and water were in existence before the heavens. Therefore you must admit that the text teaches nothing about the earlier or later sequence of the acts of Creation.",
      "hebrew": "בראשית ברא אֵין הַמִּקְרָא הַזֶּה אוֹמֵר אֶלָּא דָּרְשֵׁנִי, כְּמוֹ שֶׁדְּרָשׁוּהוּ רַבּוֹתֵינוּ בִּשְׁבִיל הַתּוֹרָה שֶׁנִקְרֵאת רֵאשִׁית דַּרְכּוֹ (משלי ח'), וּבִשְׁבִיל יִשְׂרָאֵל שֶׁנִקְרְאוּ רֵאשִׁית תְּבוּאָתוֹ (ירמיה ב'); וְאִם בָּאתָ לְפָרְשׁוֹ כִּפְשׁוּטוֹ, כָּךְ פָּרְשֵׁהוּ בְּרֵאשִׁית בְּרִיאַת שָׁמַיִם וָאָרֶץ, וְהָאָרֶץ הָיְתָה תֹהוּ וָבֹהוּ וְחֹשֶׁךְ וַיֹּאמֶר אֱלֹהִים יְהִי אוֹר וְלֹא בָא הַמִּקְרָא לְהוֹרוֹת סֵדֶר הַבְּרִיאָה לוֹמַר שֶׁאֵלּוּ קָדְמוּ, שֶׁאִם בָּא לְהוֹרוֹת כָּךְ, הָיָה לוֹ לִכְתֹּב בָּרִאשׁוֹנָה בָּרָא אֶת הַשָּׁמַיִם וְגוֹ' שֶׁאֵין לְךָ רֵאשִׁית בַּמִּקְרָא שֶׁאֵינוֹ דָבוּק לַתֵּבָה שֶׁלְּאַחֲרָיו, כְּמוֹ בְּרֵאשִׁית מַמְלֶכֶת יְהוֹיָקִים (שׁם כ\"ז), רֵאשִׁית מַמְלַכְתּוֹ (בראשית י'), רֵאשִׁית דְּגָנְךָ (דברים י\"ח, ד'), – אַף כָּאן אַתָּה אוֹמֵר בְּרֵאשִׁית בָּרָא אֱלֹהִים וְגוֹ', כְּמוֹ בְּרֵאשִׁית בְּרֹא; וְדוֹמֶה לוֹ תְּחִלַּת דִּבֶּר ה' בְּהוֹשֵׁעַ (הושע א'), כְּלוֹמַר תְּחִלַת דִּבּוּרוֹ שֶׁל הַקָּבָּ\"ה בְּהוֹשֵׁעַ, וַיֹּאמֶר ה' אֶל הוֹשֵׁעַ וְגוֹ'. וְאִ\"תֹּ לְהוֹרוֹת בָּא שֶׁאֵלּוּ תְּחִלָּה נִבְרְאוּ, וּפֵרוּשׁוֹ בְּרֵאשִׁית הַכֹּל בָּרָא אֵלוּ – וְֵישׁ לְךָ מִקְרָאוֹת שֶׁמְּקַצְּרִים לְשׁוֹנָם וּמְמַעֲטִים תֵּבָה אַחַת, כְּמוֹ כִּי לֹא סָגַר דַּלְתֵי בִטְנִי (איוב ג'), וְלֹא פֵּרֵשׁ מִי הַסּוֹגֵר וּכְמוֹ יִשָּׂא אֶת חֵיל דַּמֶּשֶׂק (ישעיהו ח'), וְלֹא פֵּרֵשׁ מִי יִשָּׂאֶנּוּ; וּכְמוֹ אִם יַחֲרוֹשׁ בַּבְּקָרִים (עמוס ו'), וְלֹא פֵּרֵשׁ אִם יַחֲרוֹשׁ אָדָם בַּבְּקָרִים, וּכְמוֹ מַגִּיד מֵרֵאשִׁית אַחֲרִית (ישעיהו מ\"ו), וְלֹא פֵּרֵשׁ מַגִּיד מֵרֵאשִׁית דָּבָר אַחֲרִית דָּבָר – אִ\"כֵּ, תְּמַהּ עַל עַצְמְךָ, שֶׁהֲרֵי הַמַּיִם קָדְמוּ, שֶׁהֲרֵי כְתִיב וְרוּחַ אֱלֹהִים מְרַחֶפֶת עַל פְּנֵי הַמָּיִם, וְעַדַיִין לֹא גִלָּה הַמִּקְרָא, בְּרִיאַת הַמַּיִם מָתַי הָיְתָה, הָא לָמַדְתָּ, שֶׁקָּדְמוּ הַמַּיִם לָאָרֶץ, וְעוֹד, שֶׁהַשָּׁמַיִם מֵאֵשׁ וּמַיִם נִבְרְאוּ, עַל כָּרְחֲךָ לֹא לִמֵּד הַמִּקְרָא סֵדֶר הַמֻּקְדָמִים וְהַמְאֻחָרִים כְּלוּם:",
      "ref": "Rashi on Genesis 1:1:2"
    },
    {
      "english": "ברא אלהים GOD [AS JUDGE] CREATED — It does not state 'ברא ה “The Lord (the Merciful One) created, because at first God intended to create it (the world) to be placed under the attribute (rule) of strict justice, but He realised that the world could not thus endure and therefore gave precedence to Divine Mercy allying it with Divine Justice. It is to this that what is written in (Genesis 2:4) alludes — “In the day that the Lord God made earth and heaven”.",
      "hebrew": "ברא אלהים וְלֹא נֶאֱמַר בָּרָא ה', שֶׁבַּתְּחִלָּה עָלָה בְמַחֲשָׁבָה לִבְרֹאתוֹ בְּמִדַּת הַדִּין, רָאָה שֶׁאֵין הָעוֹלָם מִתְקַיֵּם, הִקְדִּים מִדַּת רַחֲמִים וְשִׁתְּפָהּ לְמִהַ\"דִּ, וְהַיְינוּ דִּכְתִיב בְּיוֹם עֲשׂוֹת ה' אֱלֹהִים אֶרֶץ וְשָׁמָיִם:",
      "ref": "Rashi on Genesis 1:1:3"
    }
  ],
  "truncated": false,
  "url": "https://www.sefaria.org/Rashi_on_Genesis.1.1",
  "versions": {
    "english": {
      "direction": "ltr",
      "language": "en",
      "license": "Public Domain",
      "source": "https://www.nli.org.il/he/books/NNL_ALEPH001969084",
      "version_title": "Pentateuch with Rashi's commentary by M. Rosenbaum and A.M. Silbermann, 1929-1934",
      "version_title_he": "חמישה חומשי תורה עם פירוש רש״י, מ. רוזנבאום וא.מ. סילברמן"
    },
    "hebrew": {
      "direction": "rtl",
      "language": "he",
      "license": "Public Domain",
      "source": "https://www.nli.org.il/he/books/NNL_ALEPH001969084",
      "version_title": "Pentateuch with Rashi's commentary by M. Rosenbaum and A.M. Silbermann, 1929-1934",
      "version_title_he": null
    }
  },
  "withheld": []
}
```

### Get links

- Capability: `bible/get_links`
- Description: List the cross-references Sefaria records for a verse or passage (Genesis 1:1, Exodus 20:2, Berakhot 2a): commentaries on it, Talmud and Midrash passages that quote it, related Tanakh verses, halakhic and Kabbalistic sources. Filter by category (Commentary, Talmud, Midrash, Tanakh, Halakhah, ...) or commentator (Rashi); each link has the linked ref, category, type, commentator, composition years and a Sefaria URL, with counts by category and by commentator. The links dataset is CC-BY (commercial use with attribution to Sefaria); linked text is read with get_text, which applies the version licence filter.
- Instructions: Use to find which commentators discuss a verse, where the Talmud or Midrash cites a Bible verse, or parallel passages. Page with cursor.
- Cost: 5 credits per call
- Capability file: [Get links](https://firecrawl.dev/alexandria/agents/providers/sefaria-org/bible/get_links)

Accepted options:
- `category` (string): Only links whose source is in this Sefaria category, case-insensitive: Commentary, Quoting Commentary, Talmud, Midrash, Tanakh, Mishnah, Halakhah, Targum, Kabbalah, Chasidut, Jewish Thought, Musar, Liturgy, Responsa, Reference. Example: `<category>`
- `commentator` (string): Only links from this commentator (Rashi), case-insensitive. Example: `<commentator>`
- `cursor` (string): next_cursor from the previous page; repeat the same filters with it. Pattern: ^[0-9]+$. Example: `<cursor>`
- `limit` (number): Links per page. Example: `50`
- `ref` (string, required): A Sefaria ref: Genesis 1:1, Exodus 20:2, Berakhot 2a. A whole chapter works but returns thousands of links. Example: `<ref>`

Response schema example:
```json
{
  "categories": [
    {
      "category": "Commentary",
      "count": 529
    }
  ],
  "category": "Commentary",
  "commentator": null,
  "commentators": [
    {
      "count": 115,
      "name": "Mechokekei Yehudah; Yahel Ohr",
      "name_he": "מחוקקי יהודה; יהל אור"
    },
    {
      "count": 63,
      "name": "Or HaChaim",
      "name_he": "אור החיים"
    },
    {
      "count": 40,
      "name": "Mechokekei Yehudah; Karnei Ohr",
      "name_he": "מחוקקי יהודה; קרני אור"
    },
    {
      "count": 31,
      "name": "Paaneach Raza",
      "name_he": "פענח רזא"
    },
    {
      "count": 18,
      "name": "Mizrachi",
      "name_he": "מזרחי"
    },
    {
      "count": 17,
      "name": "Siftei Chakhamim",
      "name_he": "שפתי חכמים"
    },
    {
      "count": 16,
      "name": "Gur Aryeh",
      "name_he": "גור אריה"
    },
    {
      "count": 15,
      "name": "Aderet Eliyahu",
      "name_he": "אדרת אליהו"
    },
    {
      "count": 13,
      "name": "The Kehot Chumash; A Chasidic Commentary",
      "name_he": "חומש קה\"ת; ביאורי חסידות"
    },
    {
      "count": 12,
      "name": "Pardes Yosef",
      "name_he": "פרדס יוסף"
    },
    {
      "count": 12,
      "name": "Siftei Kohen",
      "name_he": "שפתי כהן"
    },
    {
      "count": 10,
      "name": "Em LaMikra",
      "name_he": "אם למקרא"
    },
    {
      "count": 9,
      "name": "Torah Temimah on Torah",
      "name_he": "תורה תמימה על התורה"
    },
    {
      "count": 8,
      "name": "Kli Yakar",
      "name_he": "כלי יקר"
    },
    {
      "count": 7,
      "name": "Hadar Zekenim",
      "name_he": "הדר זקנים"
    },
    {
      "count": 7,
      "name": "Divrei David",
      "name_he": "דברי דוד"
    },
    {
      "count": 6,
      "name": "Radak",
      "name_he": "רד\"ק"
    },
    {
      "count": 6,
      "name": "Nachal Kedumim",
      "name_he": "נחל קדומים"
    },
    {
      "count": 6,
      "name": "Yeriot Shlomo",
      "name_he": "יריעות שלמה"
    },
    {
      "count": 6,
      "name": "Rav Hirsch",
      "name_he": "רש\"ר הירש"
    },
    {
      "count": 6,
      "name": "Levush HaOrah",
      "name_he": "לבוש האורה"
    },
    {
      "count": 6,
      "name": "Birkat Asher on Torah",
      "name_he": "ברכת אשר על התורה"
    },
    {
      "count": 5,
      "name": "Sforno",
      "name_he": "ספורנו"
    },
    {
      "count": 5,
      "name": "Ibn Ezra",
      "name_he": "אבן עזרא"
    },
    {
      "count": 5,
      "name": "Penei David",
      "name_he": "פני דוד"
    },
    {
      "count": 5,
      "name": "HaKtav VeHaKabalah",
      "name_he": "הכתב והקבלה"
    },
    {
      "count": 5,
      "name": "Chizkuni",
      "name_he": "חזקוני"
    },
    {
      "count": 4,
      "name": "Ramban",
      "name_he": "רמב\"ן"
    },
    {
      "count": 4,
      "name": "Rabbeinu Bahya",
      "name_he": "רבנו בחיי"
    },
    {
      "count": 4,
      "name": "The Torah; A Women's Commentary",
      "name_he": "התורה: פירושן של נשים"
    },
    {
      "count": 4,
      "name": "Bartenura on Torah",
      "name_he": "ברטנורא על התורה"
    },
    {
      "count": 3,
      "name": "Shadal",
      "name_he": "שד\"ל"
    },
    {
      "count": 3,
      "name": "Rosh",
      "name_he": "רא\"ש"
    },
    {
      "count": 3,
      "name": "Toledot Yitzchak",
      "name_he": "תולדות יצחק"
    },
    {
      "count": 3,
      "name": "Maskil LeDavid",
      "name_he": "משכיל לדוד"
    },
    {
      "count": 3,
      "name": "Saadia Gaon",
      "name_he": "ר' סעדיה גאון"
    },
    {
      "count": 3,
      "name": "Reggio",
      "name_he": "ביאור יש\"ר"
    },
    {
      "count": 3,
      "name": "Rashi",
      "name_he": "רש\"י"
    },
    {
      "count": 3,
      "name": "Nachalat Ya'akov",
      "name_he": "נחלת יעקב"
    },
    {
      "count": 3,
      "name": "Ba'al HaTurim",
      "name_he": "בעל הטורים "
    },
    {
      "count": 3,
      "name": "Avi Ezer",
      "name_he": "אבי עזר"
    },
    {
      "count": 2,
      "name": "Haamek Davar",
      "name_he": "העמק דבר"
    },
    {
      "count": 2,
      "name": "Netinah LaGer",
      "name_he": "נתינה לגר"
    },
    {
      "count": 2,
      "name": "Da'at Zekenim",
      "name_he": "דעת זקנים"
    },
    {
      "count": 2,
      "name": "Abarbanel",
      "name_he": "אברבנאל"
    },
    {
      "count": 2,
      "name": "Chatam Sofer",
      "name_he": "חתם סופר"
    },
    {
      "count": 1,
      "name": "Rashbam",
      "name_he": "רשב\"ם"
    },
    {
      "count": 1,
      "name": "Kitzur Ba'al HaTurim",
      "name_he": "קיצור בעל הטורים "
    },
    {
      "count": 1,
      "name": "Tur HaAroch",
      "name_he": "הטור הארוך"
    },
    {
      "count": 1,
      "name": "Minchat Shai",
      "name_he": "מנחת שי"
    },
    {
      "count": 1,
      "name": "Malbim",
      "name_he": "מלבי\"ם"
    },
    {
      "count": 1,
      "name": "Riva",
      "name_he": "ריב\"א"
    },
    {
      "count": 1,
      "name": "Ralbag Beur HaMilot",
      "name_he": "רלב\"ג ביאור המלות"
    },
    {
      "count": 1,
      "name": "Tzror HaMor",
      "name_he": "צרור המור"
    },
    {
      "count": 1,
      "name": "Ralbag on Torah",
      "name_he": "רלב\"ג על התורה"
    },
    {
      "count": 1,
      "name": "Recanati on the Torah",
      "name_he": "רקנאטי על התורה"
    },
    {
      "count": 1,
      "name": "Minei Targuma",
      "name_he": "מיני תרגומא"
    },
    {
      "count": 1,
      "name": "Steinsaltz",
      "name_he": "ביאור שטיינזלץ"
    },
    {
      "count": 1,
      "name": "Tze'enah Ure'enah",
      "name_he": "צאינה וראינה"
    },
    {
      "count": 1,
      "name": "Minchat Ani",
      "name_he": "מנחת עני"
    },
    {
      "count": 1,
      "name": "Bekhor Shor",
      "name_he": "בכור שור"
    },
    {
      "count": 1,
      "name": "Chomat Anakh",
      "name_he": "חומת אנך"
    },
    {
      "count": 1,
      "name": "Aderet Eliyahu (Rabbi Yosef Chaim)",
      "name_he": "אדרת אליהו (ר' יוסף חיים)"
    },
    {
      "count": 1,
      "name": "Alshich",
      "name_he": "אלשיך"
    },
    {
      "count": 1,
      "name": "Cassuto",
      "name_he": "קאסוטו"
    }
  ],
  "count": 10,
  "license": {
    "attribution": "Links data from Sefaria (www.sefaria.org), CC-BY",
    "name": "CC-BY",
    "url": "https://developers.sefaria.org/docs/usage-of-our-name-and-logo"
  },
  "links": [
    {
      "anchor_ref": "Genesis 1:1",
      "category": "Commentary",
      "commentator": "Rashbam",
      "commentator_he": "רשב\"ם",
      "composed_from": 1120,
      "composed_to": 1160,
      "has_english": true,
      "he_ref": "רשב\"ם על בראשית א׳:א׳:א׳",
      "index_title": "Rashbam on Genesis",
      "ref": "Rashbam on Genesis 1:1:1",
      "type": "commentary",
      "url": "https://www.sefaria.org/Rashbam_on_Genesis.1.1.1"
    },
    {
      "anchor_ref": "Genesis 1:1",
      "category": "Commentary",
      "commentator": "Ramban",
      "commentator_he": "רמב\"ן",
      "composed_from": 1246,
      "composed_to": 1270,
      "has_english": true,
      "he_ref": "רמב\"ן על בראשית א׳:א׳:א׳",
      "index_title": "Ramban on Genesis",
      "ref": "Ramban on Genesis 1:1:1",
      "type": "commentary",
      "url": "https://www.sefaria.org/Ramban_on_Genesis.1.1.1"
    },
    {
      "anchor_ref": "Genesis 1:1",
      "category": "Commentary",
      "commentator": "Sforno",
      "commentator_he": "ספורנו",
      "composed_from": 1500,
      "composed_to": 1550,
      "has_english": true,
      "he_ref": "ספורנו על בראשית א׳:א׳:א׳",
      "index_title": "Sforno on Genesis",
      "ref": "Sforno on Genesis 1:1:1",
      "type": "commentary",
      "url": "https://www.sefaria.org/Sforno_on_Genesis.1.1.1"
    },
    {
      "anchor_ref": "Genesis 1:1",
      "category": "Commentary",
      "commentator": "Sforno",
      "commentator_he": "ספורנו",
      "composed_from": 1500,
      "composed_to": 1550,
      "has_english": true,
      "he_ref": "ספורנו על בראשית א׳:א׳:ב׳",
      "index_title": "Sforno on Genesis",
      "ref": "Sforno on Genesis 1:1:2",
      "type": "commentary",
      "url": "https://www.sefaria.org/Sforno_on_Genesis.1.1.2"
    },
    {
      "anchor_ref": "Genesis 1:1",
      "category": "Commentary",
      "commentator": "Sforno",
      "commentator_he": "ספורנו",
      "composed_from": 1500,
      "composed_to": 1550,
      "has_english": true,
      "he_ref": "ספורנו על בראשית א׳:א׳:ג׳",
      "index_title": "Sforno on Genesis",
      "ref": "Sforno on Genesis 1:1:3",
      "type": "commentary",
      "url": "https://www.sefaria.org/Sforno_on_Genesis.1.1.3"
    },
    {
      "anchor_ref": "Genesis 1:1",
      "category": "Commentary",
      "commentator": "Sforno",
      "commentator_he": "ספורנו",
      "composed_from": 1500,
      "composed_to": 1550,
      "has_english": true,
      "he_ref": "ספורנו על בראשית א׳:א׳:ד׳",
      "index_title": "Sforno on Genesis",
      "ref": "Sforno on Genesis 1:1:4",
      "type": "commentary",
      "url": "https://www.sefaria.org/Sforno_on_Genesis.1.1.4"
    },
    {
      "anchor_ref": "Genesis 1:1",
      "category": "Commentary",
      "commentator": "Sforno",
      "commentator_he": "ספורנו",
      "composed_from": 1500,
      "composed_to": 1550,
      "has_english": true,
      "he_ref": "ספורנו על בראשית א׳:א׳:ה׳",
      "index_title": "Sforno on Genesis",
      "ref": "Sforno on Genesis 1:1:5",
      "type": "commentary",
      "url": "https://www.sefaria.org/Sforno_on_Genesis.1.1.5"
    },
    {
      "anchor_ref": "Genesis 1:1",
      "category": "Commentary",
      "commentator": "Kli Yakar",
      "commentator_he": "כלי יקר",
      "composed_from": 1598,
      "composed_to": 1602,
      "has_english": true,
      "he_ref": "כלי יקר על בראשית א׳:א׳:א׳",
      "index_title": "Kli Yakar on Genesis",
      "ref": "Kli Yakar on Genesis 1:1:1",
      "type": "commentary",
      "url": "https://www.sefaria.org/Kli_Yakar_on_Genesis.1.1.1"
    },
    {
      "anchor_ref": "Genesis 1:1",
      "category": "Commentary",
      "commentator": "Kli Yakar",
      "commentator_he": "כלי יקר",
      "composed_from": 1598,
      "composed_to": 1602,
      "has_english": true,
      "he_ref": "כלי יקר על בראשית א׳:א׳:ב׳",
      "index_title": "Kli Yakar on Genesis",
      "ref": "Kli Yakar on Genesis 1:1:2",
      "type": "commentary",
      "url": "https://www.sefaria.org/Kli_Yakar_on_Genesis.1.1.2"
    },
    {
      "anchor_ref": "Genesis 1:1",
      "category": "Commentary",
      "commentator": "Kli Yakar",
      "commentator_he": "כלי יקר",
      "composed_from": 1598,
      "composed_to": 1602,
      "has_english": true,
      "he_ref": "כלי יקר על בראשית א׳:א׳:ג׳",
      "index_title": "Kli Yakar on Genesis",
      "ref": "Kli Yakar on Genesis 1:1:3",
      "type": "commentary",
      "url": "https://www.sefaria.org/Kli_Yakar_on_Genesis.1.1.3"
    }
  ],
  "next_cursor": "10",
  "observed_at_ms": 1793155180936,
  "ref": "Genesis 1:1",
  "total": 529
}
```

### Get text

- Capability: `bible/get_text`
- Description: Read a passage of the Hebrew Bible, Talmud, Mishnah, Midrash or any Sefaria text by ref (Genesis 1:1-3, Gen. 1:1, Exodus 20, Psalms 23, Isaiah 40:1-5, Berakhot 2a, Mishnah Berakhot 1:1, Rashi on Genesis 1:1): each verse or segment with its ref, the Hebrew (or Aramaic) source text and an English translation side by side, HTML and footnotes stripped. Sefaria's default English translation of the Tanakh is CC-BY-NC, so the best-ranked commercially licensed version (Public Domain, CC0, CC-BY or CC-BY-SA, e.g. JPS 1917 or Metsudah) is used instead; a language with no such version is returned as null and listed in withheld with the reason. Versions carry title, licence and source; attribution is a ready citation line.
- Instructions: Use for a Bible verse or chapter in Hebrew or English, a Torah portion, a Talmud daf or any Jewish source by its citation, and to check a quotation against the text. Pin an edition with english_version or hebrew_version (titles from a previous answer). For a commentator on a verse with author and era use get_commentary; to find what cites a verse use get_links.
- Cost: 5 credits per call
- Capability file: [Get text](https://firecrawl.dev/alexandria/agents/providers/sefaria-org/bible/get_text)

Accepted options:
- `english_version` (string): Exact Sefaria versionTitle of the English translation to use, e.g. The Holy Scriptures: A New Translation (JPS 1917). It is returned only if its licence permits commercial use. Example: `<english_version>`
- `hebrew_version` (string): Exact Sefaria versionTitle of the Hebrew edition to use (from versions.hebrew.version_title). It is returned only if its licence permits commercial use. Example: `<hebrew_version>`
- `language` (string): both: Hebrew (or Aramaic) source and English side by side; hebrew or english: one side only. Example: `both`
- `max_segments` (number): At most this many segments; a whole book or tractate is cut here with truncated true. Example: `200`
- `ref` (string, required): A Sefaria ref, in Sefaria's own syntax: Genesis 1:1, Gen. 1:1-3, Exodus 20, Psalms 23, Berakhot 2a, Mishnah Berakhot 1:1, Rashi on Genesis 1:1, Mishneh Torah, Foundations of the Torah 1:1. Example: `<ref>`

Response schema example:
```json
{
  "attribution": "Genesis 1:1-3. Hebrew: Miqra according to the Masorah (CC-BY-SA); English: Metsudah Chumash, Metsudah Publications, 2009 (CC-BY). Via Sefaria.org, https://www.sefaria.org/Genesis.1.1-3",
  "book": "Genesis",
  "categories": [
    "Tanakh",
    "Torah"
  ],
  "collective_title": null,
  "he_book": "בראשית",
  "he_ref": "בראשית א׳:א׳-ג׳",
  "next_ref": "Genesis 2",
  "observed_at_ms": 1793155161867,
  "prev_ref": null,
  "primary_category": "Tanakh",
  "ref": "Genesis 1:1-3",
  "section_names": [
    "Chapter",
    "Verse"
  ],
  "segment_count": 3,
  "segments": [
    {
      "english": "In the beginning Elohim created the heavens and the earth.",
      "hebrew": "בְּרֵאשִׁ֖ית בָּרָ֣א אֱלֹהִ֑ים אֵ֥ת הַשָּׁמַ֖יִם וְאֵ֥ת הָאָֽרֶץ׃",
      "ref": "Genesis 1:1"
    },
    {
      "english": "The earth was unformed and desolate, and (there was) darkness over the surface of the abyss. The breath of Elohim hovered above the surface of the water.",
      "hebrew": "וְהָאָ֗רֶץ הָיְתָ֥ה תֹ֙הוּ֙ וָבֹ֔הוּ וְחֹ֖שֶׁךְ עַל־פְּנֵ֣י תְה֑וֹם וְר֣וּחַ אֱלֹהִ֔ים מְרַחֶ֖פֶת עַל־פְּנֵ֥י הַמָּֽיִם׃",
      "ref": "Genesis 1:2"
    },
    {
      "english": "Elohim said, Let there be light. and there was light.",
      "hebrew": "וַיֹּ֥אמֶר אֱלֹהִ֖ים יְהִ֣י א֑וֹר וַֽיְהִי־אֽוֹר׃",
      "ref": "Genesis 1:3"
    }
  ],
  "truncated": false,
  "url": "https://www.sefaria.org/Genesis.1.1-3",
  "versions": {
    "english": {
      "direction": "ltr",
      "language": "en",
      "license": "CC-BY",
      "source": "https://www.nli.org.il/he/books/NNL_ALEPH002691623",
      "version_title": "Metsudah Chumash, Metsudah Publications, 2009",
      "version_title_he": null
    },
    "hebrew": {
      "direction": "rtl",
      "language": "he",
      "license": "CC-BY-SA",
      "source": "https://he.wikisource.org/wiki/%D7%9E%D7%A9%D7%AA%D7%9E%D7%A9:Dovi/%D7%9E%D7%A7%D7%A8%D7%90_%D7%A2%D7%9C_%D7%A4%D7%99_%D7%94%D7%9E%D7%A1%D7%95%D7%A8%D7%94",
      "version_title": "Miqra according to the Masorah",
      "version_title_he": "מקרא על פי המסורה"
    }
  },
  "withheld": []
}
```
