# Wikidata entity labels and links

Labels, descriptions, aliases and Wikipedia links of up to 50 Wikidata items or properties at once, in the languages you choose. Needs ids.

Labels, descriptions, aliases and Wikipedia links of up to 50 Wikidata items or properties at once, in the languages you choose. Use it to turn QIDs from wikidata/entity-search or wikidata/sparql into names and Wikipedia pages. An unknown id fails the whole call. Statements such as the official website or LEI come from wikidata/statements.

- Tool ID: `wikidata/entities`
- Provider: [Wikidata](/providers/wikidata.md)
- Capability: [Wikipedia, books & web archives](/tools/knowledge/reference.md)
- Price: no charge per call
- Authentication: an authorised Agentik workspace is required for execution, including zero-price tools.

## Pricing contract

No charge per call. A workspace is still needed so your agent can call it.


```json
{
  "model": "per_call",
  "amountUsd": 0
}
```

## Complete input schema


```json
{
  "type": "object",
  "properties": {
    "ids": {
      "type": "string",
      "pattern": "^[QP][0-9]{1,12}(\\|[QP][0-9]{1,12}){0,49}$",
      "description": "Up to 50 ids separated by |, e.g. 'Q312|Q95'"
    },
    "languages": {
      "type": "string",
      "pattern": "^[a-z]{2,3}(-[a-z0-9]{2,8})?(\\|[a-z]{2,3}(-[a-z0-9]{2,8})?){0,9}$",
      "default": "en",
      "description": "Language codes separated by |, e.g. 'en|fr'"
    },
    "sites": {
      "type": "string",
      "pattern": "^[a-z_]{2,20}(\\|[a-z_]{2,20}){0,9}$",
      "default": "enwiki",
      "description": "Wikis whose page links to return, separated by |, e.g. 'enwiki|frwiki'"
    }
  },
  "required": [
    "ids"
  ],
  "additionalProperties": false
}
```

## Published example

This is the provider tool’s published example. Replace example values with the user’s requested inputs, respecting the schema; do not execute an example merely to test a connection.


```json
{
  "tool_id": "wikidata/entities",
  "input": {
    "ids": "Q312|Q95",
    "languages": "en|fr",
    "sites": "enwiki|frwiki"
  }
}
```

## Execute and retrieve

Inspect again before execution, explain the price and obtain the required authority. Use MCP run_tool or POST /v1/run with this tool ID, valid input and an idempotency key. Save the returned run ID and follow the actual state. If Agentik answers that the tool is temporarily unavailable, do not retry it blindly; use discovery to propose an alternative.

A partial or uncertain result can still have consumed provider resources. Consult [billing](/docs/billing.md), [idempotency](/docs/idempotency.md) and [asynchronous results](/docs/async.md).

Licence: CC0 1.0 (Wikidata structured data).

Attribution: Data from Wikidata (CC0).

[Provider documentation](https://www.wikidata.org/w/api.php?action=help&modules=wbgetentities)

[REST inspection](https://api.agentik.cc/v1/tools/wikidata/entities) · [OpenAPI](/openapi.json) · [Connection guide](/connect.md)

---

[HTML page](/providers/wikidata/entities) · [Agent index](/llms.txt)
