Term
Name
Serves primarily as an autocompleter, returning potential keyword matches for Refs, book titles, authors, topics, and collections available on Sefaria.
get/api/name/{name}
Query parameters
limitinteger
Number of results to return (0 indicates no limit)
type'ref' | 'Collection' | 'Topic' | 'TocCategory' | 'Term' | 'User'
By default the Name API returns Refs, book titles, authors, topics, and collections. If the type is set, the response will only contain items of that type. Note: Topic includes authors, topics and people without differentiation.
Response
Successful response
Example response
{
"lang": "en",
"type": "ref",
"completions": [
"Job",
"Rashi on Job",
"Rashi on Amos",
"Rashi on Arachin",
"Rashi on Beiah",
"Rashi on Bechorot",
"Rashi on Berachoth",
"Rashi on Chag.",
"Rashi on Hullin",
"Rashi on Dan."
],
"completion_objects": [
{
"title": "Job",
"key": "Job",
"type": "ref",
"is_primary": true,
"order": 1000000
},
{
"title": "Job",
"type": "Topic",
"key": "job-and-his-friends",
"is_primary": false,
"order": 4999978
},
{
"title": "Rashi on Job",
"key": "Rashi on Job",
"type": "ref",
"is_primary": true,
"order": 1000000
},
{
"title": "Rashi on Amos",
"key": "Rashi on Amos",
"type": "ref",
"is_primary": true,
"order": 1000000
},
{
"title": "Rashi on Arachin",
"key": "Rashi on Arakhin",
"type": "ref",
"is_primary": false,
"order": 1000000
},
{
"title": "Rashi on Beiah",
"key": "Rashi on Beitzah",
"type": "ref",
"is_primary": false,
"order": 1000000
},
{
"title": "Rashi on Bechorot",
"key": "Rashi on Bekhorot",
"type": "ref",
"is_primary": false,
"order": 1000000
},
{
"title": "Rashi on Berachoth",
"key": "Rashi on Berakhot",
"type": "ref",
"is_primary": false,
"order": 1000000
},
{
"title": "Rashi on Chag.",
"key": "Rashi on Chagigah",
"type": "ref",
"is_primary": false,
"order": 1000000
},
{
"title": "Rashi on Hullin",
"key": "Rashi on Chullin",
"type": "ref",
"is_primary": false,
"order": 1000000
},
{
"title": "Rashi on Dan.",
"key": "Rashi on Daniel",
"type": "ref",
"is_primary": false,
"order": 1000000
}
],
"is_book": false,
"is_node": false,
"is_section": false,
"is_segment": true,
"is_range": false,
"ref": "Rashi on Job 1:3:3",
"url": "Rashi_on_Job.1.3.3",
"index": "Rashi on Job",
"book": "Rashi on Job",
"internalSections": [
1,
3,
3
],
"internalToSections": [
1,
3,
3
],
"sections": [
"1",
"3",
"3"
],
"toSections": [
"1",
"3",
"3"
],
"examples": [],
"sectionNames": [
"Chapter",
"Verse",
"Comment"
],
"heSectionNames": [
"פרק",
"פסוק",
"פירוש"
],
"addressExamples": [
"3",
"6",
"9"
],
"heAddressExamples": [
"ג׳",
"ו׳",
"ט׳"
]
}