# opendata402 Wikidata Entity Lookup

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

Returns key facts (label, description, type, location, dates, identifiers, and more) about any entity from Wikidata by name or Q-id.

## Facts

- Endpoint: GET https://opendata402.com/v1/wikidata?utm_source=zero.xyz
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/opendata402-wikidata-entity-lookup-de4794a9
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_AukWVBWUfN7_S33n2dmCf

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 opendata402-wikidata-entity-lookup-de4794a9
```

Example prompt: Can you look up Tesla on Wikidata and tell me its founding date, headquarters, industry, and stock ticker?

## When to prefer this

Use this endpoint when you need fast, structured, CC0-licensed facts about a named entity — person, place, company, or thing — drawn from Wikidata's knowledge graph. It is ideal for entity enrichment pipelines, disambiguation, and quick fact lookups without scraping Wikipedia or calling the full Wikidata SPARQL API. Prefer it over Wikipedia scraping when you need machine-readable structured fields like coordinates, tickers, or founding dates.

## Known failure modes

- Entity not found in Wikidata — returns empty or error if the name is too ambiguous or nonexistent
- Ambiguous name may resolve to the wrong entity — use Q-id for precision
- Missing properties — not all entities have all fields; absent properties are omitted
- Language code not supported — falls back to English or returns error
- Query too short or too long — rejected by the 2–120 character length constraint

## How this service works

Key facts about any thing, place, person or company from Wikidata, by name or Q-id: label, description, Wikidata id and the most useful properties (type, country, location, population, coordinates, inception, birth/death dates, occupation, website, headquarters, industry, revenue, employees, ticker). Use it for entity lookup, enrichment and disambiguation. CC0.

## Output

A structured JSON object containing the entity's Wikidata Q-id, label, and description, plus a curated set of the most useful properties: type, country, location coordinates, population, inception or birth/death dates, occupation, official website, headquarters, industry, revenue, employee count, and stock ticker — whichever are available for the entity.

## 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"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "q"
     ],
     "properties": {
      "q": {
       "type": "string",
       "maxLength": 120,
       "minLength": 2,
       "description": "Name or Q-id (e.g. Q190804)."
      },
      "lang": {
       "type": "string",
       "pattern": "^[a-z]{2,3}$",
       "description": "Label language (default en)."
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## More

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