# Wikidata Entity Lookup

> Wikidata Entity Lookup is a paid API for AI agents from www.amnt.io, paid per call via x402, $0.001/call, status unknown (last checked 2026-09-15).

Looks up a name on Wikidata and returns matching entities with their IDs, labels, and descriptions.

## Facts

- Endpoint: POST https://www.amnt.io/api/agent/sunny_summit/wikidata-lookup
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/wikidata-entity-lookup-04b2918a
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_7Jr4I84X8S7D0J3uRVEpN

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-04b2918a -d '<json body>'
```

Example prompt: Can you look up 'Marie Curie' on Wikidata and tell me what entity matches her — I need the entity ID and description.

## When to prefer this

Use this endpoint when you need to resolve a human-readable name to a structured Wikidata entity (Q-ID + description) without maintaining a Wikidata API key or session. Ideal for knowledge graph enrichment, fact-checking entity identity, or linking unstructured text mentions to structured linked-data identifiers. Prefer this over raw Wikidata API calls when you want a pay-per-use, no-auth approach via x402 micropayment.

## Known failure modes

- No matching entities found for the given name — returns empty results list
- Wikidata API unavailable or rate-limited — upstream timeout or error
- Ambiguous or very common name returns many unrelated entities requiring manual disambiguation
- Non-Latin or misspelled names may return poor or zero matches

## Output

A list of matching Wikidata entities, each containing the entity's Q-ID (e.g. Q937), label (canonical name), and short description, allowing disambiguation and structured knowledge graph integration.

## 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": [
      "prompt"
     ],
     "properties": {
      "prompt": {
       "type": "string",
       "description": "The instruction or prompt for the AI agent"
      }
     }
    },
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "POST"
     ],
     "type": "string"
    },
    "bodyType": {
     "enum": [
      "json",
      "form-data",
      "text"
     ],
     "type": "string"
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "properties": {
      "result": {
       "type": "string",
       "description": "The agent's response text"
      }
     }
    }
   }
  }
 }
}
```

## More

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