Wikidata: entities and facts
Wikidata, the free structured knowledge base behind Wikipedia: find the Q-number for a person, place or thing, read its label, description, aliases and Wikipedia link, and read the values of one property such as birth date or country.
No API key needed to call
- Source
- Wikidata (Wikimedia Foundation)
- Licence and terms
- CC0 1.0
- Coverage
- worldwide entities
- Refresh cadence
- Answers are shared and cached for 3600 seconds.
Questions you can ask
- What is the Wikidata ID of Alan Turing?
- What is Wikidata item Q7251?
- What is the date of birth of Wikidata item Q7251?
Operations
Find Wikidata entities by name
Answers: what is the Wikidata ID (Q-number) of this person, place, organization or concept? Returns the best matches with label and description so the right one can be picked.
| search | required, string, Name or label to look for. |
|---|---|
| language | optional, string, default en, Language of labels, for example en or fr. |
| limit | optional, integer, default 5 |
Example: What is the Wikidata ID of Alan Turing?
Over MCP
{"tool":"call_connector_operation","arguments":{"connector":"wikidata","operation":"wikidata_entity_search","params":{"search":"Alan Turing","limit":3}}}Over HTTP
curl '/v1/connectors/wikidata/wikidata_entity_search?search=Alan+Turing&limit=3'Wikidata entity label, description and links
Answers: what is this Wikidata entity (label, description, aliases) and what is its English Wikipedia article? Looks up by Q-number.
| id | required, string, Wikidata item ID such as Q42. |
|---|---|
| language | optional, string, default en |
Example: What is Wikidata item Q7251?
Over MCP
{"tool":"call_connector_operation","arguments":{"connector":"wikidata","operation":"wikidata_entity_summary","params":{"id":"Q7251"}}}Over HTTP
curl '/v1/connectors/wikidata/wikidata_entity_summary?id=Q7251'Wikidata values of one property
Answers: what are the values of one property of a Wikidata item, for example date of birth (P569), country (P17), population (P1082), official website (P856) or coordinates (P625)? Entity values are returned as Q-numbers.
| id | required, string, Wikidata item ID. |
|---|---|
| property | required, string, Wikidata property ID such as P569 (date of birth). |
Example: What is the date of birth of Wikidata item Q7251?
Over MCP
{"tool":"call_connector_operation","arguments":{"connector":"wikidata","operation":"wikidata_entity_claims","params":{"id":"Q7251","property":"P569"}}}Over HTTP
curl '/v1/connectors/wikidata/wikidata_entity_claims?id=Q7251&property=P569'Source notice
Source: Wikidata, Wikimedia Foundation. Terms were not quoted here: see the terms page. Wikidata structured data is released under the Creative Commons CC0 1.0 dedication.