# Wikidata Entity Lookup

> Wikidata Entity Lookup is a paid API for AI agents from wikidata.openverbs.com, paid per call via x402, $0.006/call, status unknown (last checked 2026-09-14).

Fetches structured data for a Wikidata entity by its ID, including labels, descriptions, and aliases in a specified language.

## Facts

- Endpoint: POST https://wikidata.openverbs.com/v1/entity
- Price: $0.006/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/wikidata-entity-lookup-2a8fa95e
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_rSw4f2Bs4oFW4MX0H7G_S

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability wikidata-entity-lookup-2a8fa95e -d '<json body>'
```

Example prompt: What does Wikidata say about entity Q42? Give me the label, description, and any aliases in English.

## When to prefer this

Use this endpoint when you have a specific Wikidata QID and need to resolve it to structured, multilingual metadata (label, description, aliases). Ideal for knowledge graph enrichment, entity resolution pipelines, or any workflow that bridges internal identifiers to human-readable encyclopedic descriptions. Prefer this over a full Wikidata SPARQL query when you only need basic entity metadata for a known QID.

## Known failure modes

- Invalid entity ID format (must match pattern Q[0-9]+ or q[0-9]+) — returns validation error
- Entity ID does not exist in Wikidata — returns not-found error
- Requested language code is unsupported or entity has no data in that language — may return empty fields
- Payment or x402 authentication failure — returns 402 Payment Required

## How this service works

Fetch a Wikidata entity by Q-id: label, description, aliases and its claims (property → values).

## Output

Returns structured metadata for the requested Wikidata entity, including the human-readable label, description, and aliases in the specified language (defaulting to English).

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method",
    "bodyType",
    "body"
   ],
   "properties": {
    "body": {
     "type": "object",
     "required": [
      "id"
     ],
     "properties": {
      "id": {
       "type": "string",
       "pattern": "^[Qq][0-9]+$",
       "description": "Wikidata entity id, e.g. \"Q42\"."
      },
      "language": {
       "type": "string",
       "description": "Language code for label/description/aliases. Defaults to \"en\"."
      }
     },
     "additionalProperties": false
    },
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "POST"
     ],
     "type": "string"
    },
    "bodyType": {
     "enum": [
      "json",
      "form-data",
      "text"
     ],
     "type": "string"
    }
   },
   "additionalProperties": false
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/wikidata-entity-lookup-2a8fa95e/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from wikidata.openverbs.com](https://www.zero.xyz/host/wikidata.openverbs.com/llms.txt)
