# Wikidata Entity Lookup by Name or Q-ID

> Wikidata Entity Lookup by Name or Q-ID is a paid API for AI agents from api.vextorium.com, paid per call via x402, $0.003/call, status unknown (last checked 2026-10-11).

Returns structured, labelled facts about a person, company, place, or creative work from Wikidata, given a name or Wikidata Q-ID.

## Facts

- Endpoint: POST https://api.vextorium.com/v1/wikidata-entity?utm_source=zero.xyz
- Price: $0.003/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-11
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/wikidata-entity-lookup-by-name-or-q-id-bb9e807a
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_UnU9LI8-3y5qmbo7Q71u3

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-by-name-or-q-id-bb9e807a -d '<json body>'
```

Example prompt: Look up structured Wikidata facts about Nvidia in Spanish — I need its founding date, founders, headquarters, ticker, sector, and official website.

## When to prefer this

Choose this endpoint when you need structured, grounded, citation-quality facts about a named entity (company, person, place, or work) without free-text generation. It is ideal when you need specific fields like founding date, headquarters, stock ticker, or revenue in a consistent machine-readable format, especially when accuracy and sourcing matter. Prefer it over LLM-generated answers for factual entity metadata, and over web scraping when Wikidata coverage is sufficient.

## Known failure modes

- Entity name is ambiguous and no confident match is found — returns other_matches list for disambiguation
- Q-ID does not exist in Wikidata — empty or null response
- Requested language not available for labels — may fall back to English or return null labels
- Network timeout or upstream Wikidata API unavailability
- Missing required `input` field — 400 validation error

## How this service works

Structured facts from Wikidata about a person, company, place or work by name or Q-id: type, country, population, dates, founders, headquarters, website, ticker, currency, version... labelled in your language. Grounded answers without free text.

## Output

A JSON object containing the resolved Wikidata Q-ID, a direct Wikidata link, a Wikipedia article title, entity label and description in the requested language, and a structured `facts` map with fields such as country, inception date, founded by, instance of, headquarters, sector, exchange, revenue, employees, official website, GitHub, Twitter/X, and a list of other_matches for disambiguation.

## 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": {
     "required": [],
     "properties": {
      "id": {
       "type": "string",
       "description": "Q-id"
      },
      "name": {
       "type": "string"
      },
      "language": {
       "type": "string"
      }
     }
    },
    "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",
      "null"
     ],
     "properties": {
      "id": {
       "type": [
        "string",
        "null"
       ]
      },
      "link": {
       "type": [
        "string",
        "null"
       ]
      },
      "facts": {
       "type": [
        "object",
        "null"
       ],
       "properties": {
        "GitHub": {
         "type": [
          "array",
          "null"
         ],
         "items": {
          "type": [
           "null",
           "string"
          ]
         }
        },
        "sector": {
         "type": [
          "string",
          "null"
         ]
        },
        "country": {
         "type": [
          "string",
          "null"
         ]
        },
        "revenue": {
         "type": [
          "array",
          "null"
         ],
         "items": {
          "type": [
           "null",
           "number"
          ]
         }
        },
        "exchange": {
         "type": [
          "string",
          "null"
         ]
        },
        "Twitter/X": {
         "type": [
          "string",
          "null"
         ]
        },
        "employees": {
         "type": [
          "array",
          "null"
         ],
         "items": {
          "type": [
           "null",
           "number"
          ]
         }
        },
        "inception": {
         "type": [
          "string",
          "null"
         ]
        },
        "founded by": {
         "type": [
          "array",
          "null"
         ],
         "
… (truncated)
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "id": "Q182477",
  "link": "https://www.wikidata.org/wiki/Q182477",
  "facts": {
   "GitHub": [
    "NVIDIA",
    "NVlabs"
   ],
   "sector": "Semiconductores",
   "country": "Estados Unidos",
   "revenue": [
    4097860000,
    3424859000
   ],
   "exchange": "Nasdaq",
   "Twitter/X": "nvidia",
   "employees": [
    11528,
    13775
   ],
   "inception": "1993-04-05",
   "founded by": [
    "Jen-Hsun Huang",
    "Chris Malachowsky"
   ],
   "instance of": [
    "public company",
    "negocio"
   ],
   "headquarters": "Santa Clara",
   "official website": [
    "https://www.nvidia.com/",
    "https://www.nvidia.com/zh-tw/"
   ]
  },
  "label": "Nvidia",
  "source": "Wikidata (CC0)",
  "wikipedia": "NVIDIA",
  "description": "American multinational technology company",
  "other_matches": [
   {
    "id": "Q19605735",
    "label": "Nvidia Shield TV",
    "description": "reproductor multimedia digital de Nvidia"
   },
   {
    "id": "Q56274119",
    "label": "Nvidia RTX",
    "description": "development platform for rendering graphics"
   }
  ]
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/wikidata-entity-lookup-by-name-or-q-id-bb9e807a/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.vextorium.com](https://www.zero.xyz/host/api.vextorium.com/llms.txt)
