LexemaDevelopersSign in

Check a word

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

Whether /lookup finds q.

Query parameters

  • qstringrequired

    The word, 1 to 128 characters.

Responses

  • 200

    exists is true with the word's attribution, or false with attribution null.

Request

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

Response

200
{
  "query": "sale",
  "release_id": "it-0c432803",
  "exists": true,
  "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/sale"
  }
}