LexemaDevelopersSign in

Find close spellings

GEThttps://api.lexema.fyi/v1/nearby

Spellings close to q, in the not-found page's order: the same letters with accents (accent), one edit away (edit), or words that begin with q (prefix).

Query parameters

  • qstringrequired

    The word, 1 to 128 characters.

Responses

  • 200

    results holds the spellings, and is empty when none is close.

Request

curl -G -H "X-API-Key: lx_…" \
  --data-urlencode "q=mangare" \
  "https://api.lexema.fyi/v1/nearby"

Response

200
{
  "query": "mangare",
  "release_id": "it-0c432803",
  "results": [
    {
      "word": "mangiare",
      "kind": "edit",
      "attribution": {
        "licence": "CC BY-SA 4.0",
        "licence_url": "https://creativecommons.org/licenses/by-sa/4.0/",
        "source": "Wikizionario",
        "source_url": "https://it.wiktionary.org/wiki/mangiare"
      }
    }
  ]
}