Wikidata API guide

wikidata.org

Search Wikidata by label or alias, then look up entity descriptions, aliases, and counts of distinct properties and sitelinks.

Actions and inputs

wikidata search

Find items by label or alias and return their Q-IDs.

Inputs keyword, optional language and limit

wikidata entity

Read an entity's label, description, aliases, and property and sitelink counts.

Inputs Q-ID, P-ID, or L-ID; optional language

Watched entities

Create

Add an entity page to your personal watchlist without editing the entity.

Inputs Entity ID

Read

Review recent changes to entities on your watchlist.

Inputs Optional date range and change filters

Update

Change how long an entity stays on your watchlist using an available watch duration.

Inputs Entity ID, watch duration

Delete

Unwatch an entity without changing its public data.

Inputs Entity ID