v1

latestOpenAPI 3.0.2GNU AGPLv32026-07-245983524.8 KB
Lexicon

Word Completion

Serves primarily as an autocompleter, returning potential lexicon entries for a given input.

Returns an array of arrays, each containing two strings. The first is a completion entry in Hebrew without vowels, and the second is an entry with vowels.

get/api/words/completion/{word}/{lexicon}

Path parameters

lexiconstring required

An optional text string matching the name of one of Sefaria's lexicons to limit the search.

Query parameters

limitinteger

Number of results to return (0 is the default; indicates no limit)

Response

Successful response

string[] required

An array of arrays, each containing two strings. The first is a completion entry in Hebrew without vowels and the second includes vowels.

Example response

[
  [
    "אב",
    "אַב"
  ]
]