Skip to main content
POST
/
api
/
wikidata
/
lexemes
/wikidata/lexemes
curl --request POST \
  --url https://api.anysite.io/api/wikidata/lexemes \
  --header 'Content-Type: application/json' \
  --header 'access-token: <api-key>' \
  --data '
{
  "lexeme": "<string>",
  "timeout": 300
}
'
[
  {
    "id": "<string>",
    "@type": "@wikidata_lexeme",
    "lemmas": {},
    "lexical_category": "<string>",
    "language": "<string>",
    "last_edited_at": "<string>",
    "statements": [],
    "forms": [],
    "senses": []
  }
]

Authorizations

access-token
string
header
required

API token from the dashboard

Headers

access-token
string
required

Body

application/json
lexeme
string
required

Lexeme identifier — a Wikidata L-id or an entity URL

Minimum string length: 1
Examples:

"L1"

"https://www.wikidata.org/wiki/Lexeme:L1"

"http://www.wikidata.org/entity/L2"

timeout
integer
default:300

Max scrapping execution timeout (in seconds)

Required range: 20 <= x <= 1500

Response

Successful Response

id
string
required
@type
string
default:@wikidata_lexeme
lemmas
Lemmas · object
lexical_category
string | null
language
string | null
last_edited_at
string | null
statements
WikidataStatement · object[]
forms
WikidataLexemeForm · object[]
senses
WikidataLexemeSense · object[]