Text
Maps each requested ref to the canonical passage that contains it. This endpoint is particularly useful for passages of Talmud, as it maps a ref for a single page to the full sugya boundary. It can also be used for Tanakh texts, where a verse maps to its correlating parashah. Pass a pipe-delimited list of refs.
get/api/passages/{refs}
Path parameters
refsstring required
A pipe-delimited list of Sefaria refs. A Sefaria ref is a human-readable text citation, e.g. Genesis 1:1, Berakhot 2a, or Rashi on Genesis 1:1. Use dots for section separators in the URL, e.g. Berakhot.2a|Genesis.1.1.
Response
Successful Response
PassagesJSON required
A map keyed by the requested Sefaria ref. Each value is the canonical passage ref that contains it — for Tanakh a parasha-style passage, for Mishnah a chapter passage, for Talmud a full sugya boundary.