# Citiview Fact Lookup (Wikipedia + Wikidata)

> Citiview Fact Lookup (Wikipedia + Wikidata) is a paid API for AI agents from agents.citiviewgroup.com, paid per call via x402, $0.002/call, status unknown (last checked 2026-10-14).

Returns the best-matching Wikipedia article summary plus structured Wikidata facts (website, founding date, birth/death dates, population, coordinates) and a source link for any topic, person, place, or thing in any language edition.

## Facts

- Endpoint: GET https://agents.citiviewgroup.com/v1/facts?utm_source=zero.xyz
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/citiview-fact-lookup-wikipedia-wikidata-13a50d77
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_nesbFWm9G7102JE6GQC9e

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 citiview-fact-lookup-wikipedia-wikidata-13a50d77
```

Example prompt: What are the key facts about Marie Curie — her birth and death dates, nationality, and a brief summary of who she was?

## When to prefer this

Choose this endpoint when an AI agent needs to ground its responses in verified encyclopedic facts about a person, place, organization, or concept — especially when structured fields like coordinates, population, or founding dates are needed alongside a readable summary. Prefer it over a general web search when you want reliable, structured Wikidata properties rather than unstructured web content. Ideal for fact-checking, entity enrichment, and knowledge grounding tasks. Supports multilingual queries, making it suitable for non-English contexts.

## Known failure modes

- No matching Wikipedia article found for the query — returns empty or null result
- Ambiguous query matches a disambiguation page rather than a specific entity
- Wikidata entry exists but lacks certain structured fields (e.g. no founding date), returning partial data
- Unsupported or invalid language code returns error or falls back to English
- Rate limiting or payment failure returns HTTP 402 or 429

## How this service works

Fact lookup for grounding: best-matching Wikipedia article summary plus structured Wikidata facts (website, founding date, birth/death dates, population, coordinates) and the source link. Any language edition.

## Output

Returns the best-matching Wikipedia article's plain-text summary, structured Wikidata fields (official website, founding/establishment date, birth date, death date, population, geographic coordinates), and a direct source URL to the Wikipedia article. Supports any language edition via the lang parameter.

## 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",
       "description": "Topic, person, place or thing"
      },
      "lang": {
       "type": "string",
       "description": "Wikipedia language code, 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/citiview-fact-lookup-wikipedia-wikidata-13a50d77/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agents.citiviewgroup.com](https://www.zero.xyz/host/agents.citiviewgroup.com/llms.txt)
