{
  "x402Version": 2,
  "id": 30607,
  "slug": "30607",
  "resource": "https://toll402.dev/v1/lookup",
  "description": "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.",
  "type": "http",
  "serviceName": "Toll402",
  "resourceType": "AI Inference",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0x318d34fa0bd69eff17fac648d2df8cf7a88b3dbe",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "10000",
      "amountUsd": 0.01,
      "maxTimeoutSeconds": 300
    }
  ],
  "outputSchema": {
    "properties": {
      "example": {
        "properties": {
          "ms": {
            "type": "integer"
          },
          "ok": {
            "type": "boolean"
          },
          "result": {
            "properties": {
              "passages": {
                "items": {
                  "properties": {
                    "retrievedAt": {
                      "type": "string"
                    },
                    "snippet": {
                      "type": "string"
                    },
                    "source": {
                      "type": "string"
                    },
                    "tier": {
                      "type": "integer"
                    },
                    "title": {
                      "type": "string"
                    },
                    "url": {
                      "type": "string"
                    }
                  },
                  "type": "object"
                },
                "type": "array"
              }
            },
            "type": "object"
          },
          "tool": {
            "type": "string"
          }
        },
        "type": "object"
      },
      "type": {
        "type": "string"
      }
    },
    "required": [
      "type"
    ],
    "type": "object"
  },
  "extensions": {
    "bazaar": {
      "info": {
        "input": {
          "body": {
            "language": "en",
            "query": "HTTP 402 payment required",
            "sources": [
              "wikipedia",
              "wikidata"
            ],
            "synthesize": false
          },
          "bodyType": "json",
          "method": "POST",
          "type": "http"
        },
        "output": {
          "example": {
            "passages": [
              {
                "retrievedAt": "2026-09-07T00:00:00Z",
                "snippet": "...",
                "source": "wikipedia",
                "tier": 1,
                "title": "List of HTTP status codes",
                "url": "https://en.wikipedia.org/wiki/List_of_HTTP_status_codes"
              }
            ]
          },
          "type": "json"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "body": {
                "additionalProperties": false,
                "properties": {
                  "language": {
                    "default": "en",
                    "description": "Wikipedia language edition (en, es, de, fr, pt, ...)",
                    "maxLength": 10,
                    "type": "string"
                  },
                  "maxPassages": {
                    "default": 6,
                    "maximum": 20,
                    "minimum": 1,
                    "type": "integer"
                  },
                  "query": {
                    "description": "Question or topic",
                    "maxLength": 500,
                    "minLength": 2,
                    "type": "string"
                  },
                  "sources": {
                    "default": [
                      "wikipedia",
                      "wikidata",
                      "arxiv",
                      "crossref"
                    ],
                    "items": {
                      "enum": [
                        "wikipedia",
                        "wikidata",
                        "arxiv",
                        "crossref",
                        "worldbank"
                      ],
                      "type": "string"
                    },
                    "type": "array"
                  },
                  "synthesize": {
                    "default": true,
                    "description": "Return a cited answer synthesized by an LLM (when the server has an LLM key)",
                    "type": "boolean"
                  }
                },
                "required": [
                  "query"
                ],
                "type": "object"
              },
              "bodyType": {
                "enum": [
                  "json",
                  "form-data",
                  "text"
                ],
                "type": "string"
              },
              "method": {
                "enum": [
                  "POST"
                ],
                "type": "string"
              },
              "type": {
                "const": "http",
                "type": "string"
              }
            },
            "required": [
              "type",
              "method",
              "bodyType",
              "body"
            ],
            "type": "object"
          },
          "output": {
            "properties": {
              "example": {
                "properties": {
                  "ms": {
                    "type": "integer"
                  },
                  "ok": {
                    "type": "boolean"
                  },
                  "result": {
                    "properties": {
                      "passages": {
                        "items": {
                          "properties": {
                            "retrievedAt": {
                              "type": "string"
                            },
                            "snippet": {
                              "type": "string"
                            },
                            "source": {
                              "type": "string"
                            },
                            "tier": {
                              "type": "integer"
                            },
                            "title": {
                              "type": "string"
                            },
                            "url": {
                              "type": "string"
                            }
                          },
                          "type": "object"
                        },
                        "type": "array"
                      }
                    },
                    "type": "object"
                  },
                  "tool": {
                    "type": "string"
                  }
                },
                "type": "object"
              },
              "type": {
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          }
        },
        "required": [
          "input"
        ],
        "type": "object"
      }
    }
  },
  "tags": [
    "research",
    "facts",
    "citations",
    "trusted",
    "reference",
    "bazaar"
  ],
  "sourceHost": "toll402.dev",
  "lastUpdated": "2026-10-06T00:59:39.259Z",
  "quality": {
    "calls30d": 3,
    "uniquePayers30d": 1,
    "lastCalledAt": "2026-10-06T00:59:38.18Z"
  },
  "metadata": {
    "serviceName": "Toll402",
    "extensions": {
      "bazaar": {
        "info": {
          "input": {
            "body": {
              "language": "en",
              "query": "HTTP 402 payment required",
              "sources": [
                "wikipedia",
                "wikidata"
              ],
              "synthesize": false
            },
            "bodyType": "json",
            "method": "POST",
            "type": "http"
          },
          "output": {
            "example": {
              "passages": [
                {
                  "retrievedAt": "2026-09-07T00:00:00Z",
                  "snippet": "...",
                  "source": "wikipedia",
                  "tier": 1,
                  "title": "List of HTTP status codes",
                  "url": "https://en.wikipedia.org/wiki/List_of_HTTP_status_codes"
                }
              ]
            },
            "type": "json"
          }
        },
        "schema": {
          "$schema": "https://json-schema.org/draft/2020-12/schema",
          "properties": {
            "input": {
              "additionalProperties": false,
              "properties": {
                "body": {
                  "additionalProperties": false,
                  "properties": {
                    "language": {
                      "default": "en",
                      "description": "Wikipedia language edition (en, es, de, fr, pt, ...)",
                      "maxLength": 10,
                      "type": "string"
                    },
                    "maxPassages": {
                      "default": 6,
                      "maximum": 20,
                      "minimum": 1,
                      "type": "integer"
                    },
                    "query": {
                      "description": "Question or topic",
                      "maxLength": 500,
                      "minLength": 2,
                      "type": "string"
                    },
                    "sources": {
                      "default": [
                        "wikipedia",
                        "wikidata",
                        "arxiv",
                        "crossref"
                      ],
                      "items": {
                        "enum": [
                          "wikipedia",
                          "wikidata",
                          "arxiv",
                          "crossref",
                          "worldbank"
                        ],
                        "type": "string"
                      },
                      "type": "array"
                    },
                    "synthesize": {
                      "default": true,
                      "description": "Return a cited answer synthesized by an LLM (when the server has an LLM key)",
                      "type": "boolean"
                    }
                  },
                  "required": [
                    "query"
                  ],
                  "type": "object"
                },
                "bodyType": {
                  "enum": [
                    "json",
                    "form-data",
                    "text"
                  ],
                  "type": "string"
                },
                "method": {
                  "enum": [
                    "POST"
                  ],
                  "type": "string"
                },
                "type": {
                  "const": "http",
                  "type": "string"
                }
              },
              "required": [
                "type",
                "method",
                "bodyType",
                "body"
              ],
              "type": "object"
            },
            "output": {
              "properties": {
                "example": {
                  "properties": {
                    "ms": {
                      "type": "integer"
                    },
                    "ok": {
                      "type": "boolean"
                    },
                    "result": {
                      "properties": {
                        "passages": {
                          "items": {
                            "properties": {
                              "retrievedAt": {
                                "type": "string"
                              },
                              "snippet": {
                                "type": "string"
                              },
                              "source": {
                                "type": "string"
                              },
                              "tier": {
                                "type": "integer"
                              },
                              "title": {
                                "type": "string"
                              },
                              "url": {
                                "type": "string"
                              }
                            },
                            "type": "object"
                          },
                          "type": "array"
                        }
                      },
                      "type": "object"
                    },
                    "tool": {
                      "type": "string"
                    }
                  },
                  "type": "object"
                },
                "type": {
                  "type": "string"
                }
              },
              "required": [
                "type"
              ],
              "type": "object"
            }
          },
          "required": [
            "input"
          ],
          "type": "object"
        }
      }
    }
  },
  "liveness": {
    "reliability": null
  },
  "verified": false,
  "featured": false,
  "provider": {
    "host": "toll402.dev",
    "manifest_name": "toll402.dev",
    "source": "cdp-mirror",
    "source_manifest_url": "https://api.cdp.coinbase.com/platform/v2/x402/discovery/resources",
    "submitted_at": "2026-10-14T01:15:01.050Z"
  },
  "exampleResponse": {
    "example": {
      "ms": 0,
      "ok": true,
      "result": {
        "passages": [
          {
            "retrievedAt": "string",
            "snippet": "string",
            "source": "string",
            "tier": 0,
            "title": "string",
            "url": "string"
          }
        ]
      },
      "tool": "string"
    },
    "type": "string"
  }
}