# Wikidata entity search

Find Wikidata items (companies, people, places, products, concepts), properties or lexemes by label or alias in a given language: QID, label, description. Needs search.

Find Wikidata items (companies, people, places, products, concepts), properties or lexemes by label or alias in a given language: QID, label, description, matched text and concept URI. Use it to resolve a name to a QID before reading the entity or writing a SPARQL query; several items can share a label, so check the description. search-continue gives the next offset.

- Tool ID: `wikidata/entity-search`
- 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": {
    "search": {
      "type": "string",
      "minLength": 1,
      "maxLength": 250,
      "description": "Label or alias to look for, e.g. 'Mistral AI'"
    },
    "language": {
      "type": "string",
      "pattern": "^[a-z]{2,3}(-[a-z0-9]{2,8})?$",
      "default": "en",
      "description": "Language of the search and of the returned labels, e.g. 'fr'"
    },
    "type": {
      "type": "string",
      "enum": [
        "item",
        "property",
        "lexeme"
      ],
      "default": "item",
      "description": "Entity type, e.g. 'item'"
    },
    "limit": {
      "type": "integer",
      "minimum": 1,
      "maximum": 50,
      "default": 10,
      "description": "Matches to return, e.g. 10"
    },
    "continue": {
      "type": "integer",
      "minimum": 0,
      "maximum": 1000,
      "default": 0,
      "description": "Offset from search-continue for the next page, e.g. 0"
    }
  },
  "required": [
    "search"
  ],
  "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/entity-search",
  "input": {
    "search": "Mistral AI",
    "limit": 3
  }
}
```

## 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=wbsearchentities)

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

---

[HTML page](/providers/wikidata/entity-search) · [Agent index](/llms.txt)
