Skip to content
Eden Engine

Wikidata Entity Search (Find a Q-id or P-id by Name)

wikidata/search-entities

Searches Wikidata, the open structured knowledge base behind Wikipedia, for items (Q-ids: people, places, companies, concepts) or properties (P-ids: 'date of birth', 'population') whose label or alias matches a name. Each result gives the id, the label, a short description, which label or alias matched and in which language, and for a property its datatype. Names are ambiguous and the ranking does not put the famous match first, so read the description of each result before choosing an id. Results are in the language you ask for; page with offset. An empty list means no match. Wikidata structured data is released under Creative Commons Zero (CC0 1.0, public domain). Source: Wikidata, wikidata.org. Served by Eden Engine; not an official Wikimedia product.

activeper callv2

Price

$0.0026 per call

You pay the price shown. If a call turns out to cost more than its quote, you pay the actual price, capped at twice the quote. No monthly minimum. Top-ups start at $5.

Data source

Wikidata

Source: Wikidata (wikidata.org), structured data released under Creative Commons Zero (CC0 1.0, public domain) per wikidata.org/wiki/Wikidata:Licensing. Credit is not required. Served by Eden Engine; not an official Wikimedia Foundation product.

Use it

Five steps: search, inspect, learn, run, settle. No per-tool setup; your agent reaches this tool through the meta-tools it already has.

Connect once and your AI can find and run this tool, and any other it needs.

agent
// 1. search: find the tool
omnial_search({ query: "what you need" })

// 2. inspect: price and input schema
omnial_inspect({ tool: "wikidata/search-entities" })

// 3. learn: read the usage guide at runtime
omnial_learn({ tool: "wikidata/search-entities" })

// 4. run: price the exact call first, then run it
omnial_execute({ tool: "wikidata/search-entities", input: { /* see input_schema */ }, dry_run: true })
omnial_execute({ tool: "wikidata/search-entities", input: { /* ... */ } })

// 5. settle: the call is charged when it finishes, nothing to do

Not connected yet? Point your MCP client at https://mcp.eden-engine.com/mcp, then copy a config for your client.

Pricing

Every charge this tool can incur.

ChargePrice
Per call
$0.0026
Updated
Oct 20, 2026

Input and output schemas

Input schema
input_schema.json
{
  "type": "object",
  "required": [
    "search"
  ],
  "properties": {
    "type": {
      "enum": [
        "item",
        "property"
      ],
      "type": "string",
      "default": "item",
      "description": "What to search: item for people, places, organisations and concepts (Q-ids), property for the attributes statements are made with (P-ids). Default item."
    },
    "limit": {
      "type": "integer",
      "default": 10,
      "maximum": 50,
      "minimum": 1,
      "description": "How many results to return, 1 to 50. Default 10."
    },
    "offset": {
      "type": "integer",
      "default": 0,
      "maximum": 10000,
      "minimum": 0,
      "description": "How many results to skip, for paging. Use the search-continue value of the previous answer as the next offset. Default 0."
    },
    "search": {
      "type": "string",
      "maxLength": 200,
      "minLength": 1,
      "description": "The name, label or alias to look for, for example Douglas Adams, Paris, NYC or date of birth. Matching is by prefix of a label or alias, case-insensitive. A bare id such as Q42 returns that entity first."
    },
    "language": {
      "type": "string",
      "default": "en",
      "pattern": "^[a-z]{2,3}(-[a-z0-9]{2,8}){0,2}$",
      "description": "Wikimedia language code to search in and to receive labels and descriptions in, for example en, fr, de, ja or zh-hans. Default en. A code Wikidata does not recognise is a validation error."
    }
  },
  "additionalProperties": false
}
Output schema
output_schema.json
{
  "type": "object",
  "required": [
    "search"
  ],
  "properties": {
    "search": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "description": "The entity id: Q followed by digits for an item, P followed by digits for a property."
          },
          "url": {
            "type": "string",
            "description": "Protocol-relative address of the entity's page on wikidata.org."
          },
          "label": {
            "type": "string",
            "description": "The entity's name in the requested language, falling back to the multilingual label."
          },
          "match": {
            "type": "object",
            "description": "What matched: type is label, alias or entityId, language is the language of the matched text (mul for the multilingual label) and text is the matched string.",
            "additionalProperties": true
          },
          "title": {
            "type": "string",
            "description": "The page title, which is the id."
          },
          "pageid": {
            "type": "integer",
            "description": "Wikidata's internal page number."
          },
          "aliases": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "Present when an alias matched: the matching alias or aliases."
          },
          "display": {
            "type": "object",
            "description": "The label and description each with the language they are in, as label.value, label.language, description.value and description.language.",
            "additionalProperties": true
          },
          "datatype": {
            "type": "string",
            "description": "Properties only: the datatype of the property's values, for example time, quantity, wikibase-item, string, url or globe-coordinate."
          },
          "concepturi": {
            "type": "string",
            "description": "The entity's absolute URI, http://www.wikidata.org/entity/ followed by the id."
          },
          "repository": {
            "type": "string",
            "description": "Always wikidata."
          },
          "description": {
            "type": "string",
            "description": "A short description in the requested language. Absent on an entity that has none, so do not rely on it being there."
          }
        },
        "additionalProperties": true
      },
      "description": "The matches in Wikidata's order, which is not by fame or importance. Empty when nothing matches."
    },
    "success": {
      "type": "integer",
      "description": "1 when Wikidata served the request."
    },
    "warnings": {
      "type": "object",
      "description": "Wikidata's own warnings, for example a limit it clamped.",
      "additionalProperties": true
    },
    "searchinfo": {
      "type": "object",
      "description": "The search term as Wikidata received it, in search.",
      "additionalProperties": true
    },
    "search-continue": {
      "type": "integer",
      "description": "The offset to pass for the next page. Absent when this is the last page."
    }
  },
  "description": "Wikidata's answer: the matches in search, the term echoed in searchinfo, search-continue when more results exist, and a warnings block when Wikidata clamped a parameter.",
  "additionalProperties": true
}