---
updatedAt: 2026-06-02T06:51:34.000Z
agentTools:
  projectIndex: https://developers.sefaria.org/llms.txt
---

# 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.

# OpenAPI definition

```json
{
  "openapi": "3.0.2",
  "info": {
    "title": "Sefaria API",
    "version": "1.0.0",
    "description": "The Sefaria API endpoints grant live access to Sefaria's structured database of Jewish texts and their interconnections.",
    "contact": {
      "url": "https://www.sefaria.org",
      "email": "developers@sefaria.org"
    },
    "license": {
      "name": "GNU AGPLv3",
      "url": "https://www.gnu.org/licenses/agpl.txt"
    }
  },
  "servers": [
    {
      "url": "https://www.sefaria.org",
      "description": ""
    }
  ],
  "tags": [
    {
      "name": "Lexicon",
      "description": "Operations related to retrieving lexicon (dictionary) data"
    }
  ],
  "paths": {
    "/api/words/completion/{word}/{lexicon}": {
      "description": "Serves primarily as an autocompleter, returning potential lexicon entries for a given input. \n\nReturns 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": {
        "operationId": "get-words-completion",
        "tags": [
          "Lexicon"
        ],
        "parameters": [
          {
            "name": "limit",
            "description": "Number of results to return (0 is the default; indicates no limit)",
            "schema": {
              "type": "integer"
            },
            "in": "query"
          },
          {
            "examples": {
              "Klein Dictionary": {
                "value": "Klein Dictionary"
              },
              "Jastrow Dictionary": {
                "value": "Jastrow Dictionary"
              },
              "Sefer HaShorashim": {
                "value": "Sefer HaShorashim"
              },
              "Animadversions by Elias Levita on Sefer HaShorashim": {
                "value": "Animadversions by Elias Levita on Sefer HaShorashim"
              },
              "BDB Dictionary": {
                "value": "BDB Dictionary"
              },
              "BDB Aramaic Dictionary": {
                "value": "BDB Aramaic Dictionary"
              }
            },
            "name": "lexicon",
            "description": "An optional text string matching the name of one of Sefaria's lexicons to limit the search.",
            "schema": {
              "type": "string",
              "default": "Klein Dictionary"
            },
            "in": "path",
            "required": true
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/wordCompletionAPIResponse"
                  }
                },
                "examples": {
                  "result": {
                    "value": [
                      [
                        "אב",
                        "אַב"
                      ],
                      [
                        "אב",
                        "אֵב"
                      ],
                      [
                        "אב",
                        "אָב"
                      ],
                      [
                        "אבד",
                        "אֲבַד"
                      ],
                      [
                        "אבה",
                        "אבה"
                      ],
                      [
                        "אבן",
                        "אֶ֫בֶן"
                      ],
                      [
                        "אגרה",
                        "אִגְּרָה"
                      ],
                      [
                        "אדין",
                        "אֱדַ֫יִן"
                      ],
                      [
                        "אדר",
                        "אִדַּר"
                      ],
                      [
                        "אדר",
                        "אֲדָר"
                      ],
                      [
                        "אדרגזר",
                        "אֲדַרְגָּזַר"
                      ],
                      [
                        "אדרזדא",
                        "אַדְרַזְדָּא"
                      ],
                      [
                        "אדרע",
                        "אֶדְרַע"
                      ]
                    ]
                  }
                }
              }
            },
            "description": "Successful response"
          }
        },
        "summary": "Word Completion",
        "description": "Serves primarily as an autocompleter, returning potential lexicon entries for a given input.\n\nReturns 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."
      },
      "parameters": [
        {
          "name": "word",
          "description": "An arbitrary text string to match against Sefaria's lexicon collections.",
          "schema": {
            "type": "string",
            "default": "תורה"
          },
          "in": "path",
          "required": true
        }
      ]
    }
  },
  "components": {
    "schemas": {
      "wordCompletionAPIResponse": {
        "description": "An array of arrays, each containing two strings. The first is a completion entry in Hebrew without vowels and the second includes vowels.",
        "type": "array",
        "items": {
          "type": "string"
        },
        "example": [
          "אב",
          "אַב"
        ]
      }
    }
  }
}
```