trusted_lookup $0.01 per call

Answer from TRUSTED sources only (Wikipedia, Wikidata, arXiv, Crossref/DOI, World Bank): returns passages with URL, reliability tier and retrieval time for citation. With synthesize=true you also get an LLM answer that cites the passages and admits when they don't contain the answer.

For AI agents: call trusted_lookup
POST https://toll402.dev/v1/lookup
{
 "query": "HTTP 402 payment required",
 "language": "en",
 "sources": [
  "wikipedia",
  "wikidata"
 ],
 "synthesize": false
}
Answers 402 with x402 payment requirements; pay with any x402 client (@x402/fetch, x402 for Python, toll402-client, toll402-mcp) or send a prepaid-credits key as x-toll402-key (https://toll402.dev/credits). Paid per call via x402 (USDC on Base) or with a prepaid-credits key (x-toll402-key, card at /credits); charged only on success. Start at /llms.txt or connect the MCP server: npx -y toll402-mcp · remote https://toll402.dev/mcp.

Input schema

{
 "type": "object",
 "properties": {
  "query": {
   "type": "string",
   "description": "Question or topic",
   "minLength": 2,
   "maxLength": 500
  },
  "language": {
   "type": "string",
   "maxLength": 10,
   "default": "en",
   "description": "Wikipedia language edition (en, es, de, fr, pt, ...)"
  },
  "sources": {
   "type": "array",
   "items": {
    "type": "string",
    "enum": [
     "wikipedia",
     "wikidata",
     "arxiv",
     "crossref",
     "worldbank"
    ]
   },
   "default": [
    "wikipedia",
    "wikidata",
    "arxiv",
    "crossref"
   ]
  },
  "maxPassages": {
   "type": "integer",
   "minimum": 1,
   "maximum": 20,
   "default": 6
  },
  "synthesize": {
   "type": "boolean",
   "default": true,
   "description": "Return a cited answer synthesized by an LLM (when the server has an LLM key)"
  }
 },
 "required": [
  "query"
 ],
 "additionalProperties": false
}

Example output

{
 "passages": [
  {
   "source": "wikipedia",
   "tier": 1,
   "title": "List of HTTP status codes",
   "url": "https://en.wikipedia.org/wiki/List_of_HTTP_status_codes",
   "snippet": "...",
   "retrievedAt": "2026-09-07T00:00:00Z"
  }
 ]
}

MCP

{"mcpServers":{"toll402":{"command":"npx","args":["-y","toll402-mcp"],"env":{"TOLL402_WALLET_KEY":"0x..."}}}}

All tools · OpenAPI