Skip to main content
GET
/
v1
/
lexemes
/
{id}
Get Lexeme
curl --request GET \
  --url https://api.example.com/v1/lexemes/{id}
{
  "id": 123,
  "lemma": "<string>",
  "language_id": 123,
  "language": "<string>",
  "pos": "<string>",
  "reading": "<string>",
  "romanization": "<string>",
  "source": "<string>",
  "senses": [
    {}
  ],
  "pronunciations": [
    {}
  ],
  "etymology": {},
  "frequency": {}
}

Request

GET https://api.langdex.co/v1/lexemes/{id}

Path Parameters

id
integer
required
Lexeme ID

Query Parameters

include
string
Include related data: senses, pronunciations, etymology, frequency, forms, translations

Response

id
integer
Internal LangDex ID
lemma
string
Dictionary form / headword
language_id
integer
Language ID
language
string
ISO 639-3 code
pos
string
Part of speech
reading
string
Phonetic reading (for logographic scripts)
romanization
string
Latin transliteration
source
string
Data source identifier
senses
array
Array of sense objects (if included)
pronunciations
array
Array of pronunciation objects (if included)
etymology
object
Etymology information (if included)
frequency
object
Frequency data (if included)

Examples

Get lexeme with all details

curl "https://api.langdex.co/v1/lexemes/56789?include=senses,pronunciations,etymology,frequency" \
  -H "Authorization: Bearer YOUR_API_KEY"

Response

{
  "id": 56789,
  "lemma": "水",
  "language_id": 1234,
  "language": "jpn",
  "pos": "noun",
  "reading": "みず",
  "romanization": "mizu",
  "source": "kaikki",
  "senses": [
    {
      "id": 111,
      "sense_order": 1,
      "gloss": "water",
      "meaning_id": 98765,
      "pos": "noun",
      "definitions": [
        {
          "language": "eng",
          "text": "The liquid form of H2O, essential for life"
        }
      ],
      "examples": [
        {
          "text": "水を飲む",
          "translation": "to drink water"
        }
      ]
    },
    {
      "id": 112,
      "sense_order": 2,
      "gloss": "Wednesday",
      "meaning_id": 98766,
      "pos": "noun",
      "register": "abbreviation",
      "definitions": [
        {
          "language": "eng",
          "text": "Short for 水曜日 (Wednesday)"
        }
      ]
    }
  ],
  "pronunciations": [
    {
      "ipa": "mizɯ",
      "audio_url": "https://cdn.langdex.co/audio/jpn/mizu.mp3"
    }
  ],
  "etymology": {
    "text": "From Old Japanese 水 (mi₁du), from Proto-Japonic *mentu"
  },
  "frequency": {
    "rank": 342,
    "count": 1847293,
    "per_million": 3421.5,
    "corpus": "opensubtitles-ja"
  }
}

Get word forms

curl "https://api.langdex.co/v1/lexemes/12345?include=forms" \
  -H "Authorization: Bearer YOUR_API_KEY"
{
  "id": 12345,
  "lemma": "walk",
  "language": "eng",
  "pos": "verb",
  "forms": [
    {"form": "walk", "features": ["verb", "infinitive"]},
    {"form": "walks", "features": ["verb", "present", "3sg"]},
    {"form": "walked", "features": ["verb", "past"]},
    {"form": "walked", "features": ["verb", "past-participle"]},
    {"form": "walking", "features": ["verb", "present-participle"]}
  ]
}

Error Responses

404 Not Found

{
  "error": {
    "code": "not_found",
    "message": "Lexeme not found: 99999999"
  }
}