# Trusted Information API — Knowledge Lookup

> Trusted Information API — Knowledge Lookup is a paid API for AI agents from api.trustedinformation.site, paid per call via x402, $0.002/call, status unknown (last checked 2026-09-14).

Returns structured factual summaries about a topic or entity (UK companies, crypto, general knowledge) sourced from Wikipedia/Wikidata via a pay-per-call x402 endpoint.

## Facts

- Endpoint: GET https://api.trustedinformation.site/api/web/knowledge
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/trusted-information-api-knowledge-lookup-55e23f6c
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_TK6tPijdtcgTXXhezuXWD

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 trusted-information-api-knowledge-lookup-55e23f6c
```

Example prompt: Can you look up Tesco for me and give me a short factual summary — what it is, what it does, and any key identifiers like its Wikidata ID?

## When to prefer this

Prefer this endpoint when you need a quick, structured factual summary of a named entity (UK company, crypto asset, or general topic) without signing up or managing API keys, and when you want to pay only for successful calls. It is especially useful for agent pipelines doing entity enrichment or due diligence on UK-centric subjects. For deep financial filings or real-time market prices, use a dedicated financial data API instead.

## Known failure modes

- Query matches no Wikipedia/Wikidata entity — extract and title may be null
- Ambiguous entity name returns a generic or incorrect Wikipedia article
- Non-UK or obscure entities may have sparse or missing data
- Payment failure results in no charge and no data returned
- Rate or network errors may return HTTP 402 or 5xx with no body

## How this service works

Pay-per-call UK company, property and crypto market data for AI agents via x402. Official sources, no signup, no API keys, failed calls never charged.

## Output

Returns a JSON object containing the query string, Wikipedia title, short description, a longer extract (plain text summary), the Wikipedia URL, a thumbnail image URL, the Wikidata entity ID, and the source label ('Wikipedia').

## 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 or entity name"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "required": [
      "query",
      "title"
     ],
     "properties": {
      "url": {
       "type": [
        "string",
        "null"
       ]
      },
      "query": {
       "type": "string"
      },
      "title": {
       "type": [
        "string",
        "null"
       ]
      },
      "extract": {
       "type": [
        "string",
        "null"
       ]
      },
      "wikidataId": {
       "type": [
        "string",
        "null"
       ]
      },
      "description": {
       "type": [
        "string",
        "null"
       ]
      }
     }
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "url": "https://en.wikipedia.org/wiki/Tesco",
  "query": "Tesco",
  "title": "Tesco",
  "source": "Wikipedia",
  "extract": "Tesco plc is a British multinational groceries and general merchandise retailer headquartered in the UK.",
  "thumbnail": "https://upload.wikimedia.org/...",
  "wikidataId": "Q487494",
  "description": "British multinational retail groceries company"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/trusted-information-api-knowledge-lookup-55e23f6c/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.trustedinformation.site](https://www.zero.xyz/host/api.trustedinformation.site/llms.txt)
