Get Entity
get_entityGet full Wikidata entity by ID (e.g., "Q42" for Douglas Adams, "Q5" for human, "Q1764" for Budapest). Returns labels, descriptions, aliases, claims/statements (properties and values), sitelinks, and the revision the data came from — lastrevid plus the modified timestamp — so live statements can be pinned to a specific edit. Pass "language" (comma/pipe-joined for several) to get labels/descriptions in languages other than English, side by side. For checking several ids at once, use get_entities instead of looping this.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Wikidata entity ID (e.g., "Q42", "Q937", "P31") | |
| language | No | Language code(s) for labels/descriptions/aliases — a single code (e.g. "ka") or a comma/pipe-joined list to compare several at once (e.g. "ka,ru,en"), which returns every requested language's label side by side in one call — the shape needed to decide whether two records in different languages describe the same entity. Default "en". Falls back to "en", then to Wikidata's language-neutral "mul" label, for any requested language the entity has no label in — Q42 (Douglas Adams) has no English label at all, only a "mul" one. When the name came from "mul" it appears under a "mul" key in the labels map, so you can tell where it came from. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Wikidata entity ID | |
| type | Yes | Entity type (e.g., 'item', 'property') | |
| label | Yes | English label for the entity | |
| claims | Yes | Property claims/statements (up to 30 properties, 5 values each) | |
| aliases | Yes | List of alternative names | |
| modified | Yes | UTC timestamp of that revision (ISO 8601) | |
| lastrevid | Yes | Revision id these statements were read at, for pinning the answer to a specific edit | |
| description | Yes | English description of the entity | |
| revision_url | Yes | Permalink to that exact revision on wikidata.org | |
| wikipedia_en | Yes | English Wikipedia article title if available | |
| sitelinks_count | Yes | Number of Wikipedia/sister project links |