22trust / 100

Search Answer

by Aayat AI in Search & web

x402 APIFailing, checked 4 h ago

Search, read and summarise in one call (open-sources tier): finds pages via Wikipedia, Hacker News, DuckDuckGo and Stack Overflow, reads the top ones (robots.txt respected) and writes a concise cited answer, plus pages read and all results. Upgrades itself to full-web search (and price) when a premium index is connected. ?q=question&pages=3

GET https://aayatai.com/search/answer

Last 30 days

All checks passedSome failedAll failedNot checked
Uptime
7.1%
Response time
573 ms typical, 573 ms slowest 5%
Last check
4 h ago: Expected HTTP 402, got 410
Next check
any minute now

How to call it

# See the payment challenge (nothing is charged)
curl -i -X GET "https://aayatai.com/search/answer?pages=3&q=What+is+the+HTTP+402+status+code+used+for%3F"
import { wrapFetchWithPayment } from "@x402/fetch";
import { x402Client } from "@x402/core/client";
import { ExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";

const client = new x402Client().register(
  "eip155:8453",
  new ExactEvmScheme(privateKeyToAccount(process.env.AGENT_KEY)),
);
const pay = wrapFetchWithPayment(fetch, client);

// Not sure it's safe to pay? Preflight it first for $0.005:
// GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Faayatai.com%2Fsearch%2Fanswer
const res = await pay("https://aayatai.com/search/answer?pages=3&q=What+is+the+HTTP+402+status+code+used+for%3F");
console.log(await res.json());

Example input

{
  "pages": 3,
  "q": "What is the HTTP 402 status code used for?"
}

Example output

{
  "answer": "HTTP 402 Payment Required was reserved for digital payments [1] and is now used by the x402 protocol for pay-per-call APIs [2].",
  "answeredAt": "2026-09-28T12:00:00.000Z",
  "pagesRead": [
    {
      "n": 1,
      "read": true,
      "title": "HTTP 402",
      "url": "https://en.wikipedia.org/wiki/HTTP_402"
    }
  ],
  "provider": "open",
  "query": "What is the HTTP 402 status code used for?",
  "results": [
    {
      "publishedAt": "2026-09-01T10:00:00Z",
      "snippet": "HTTP 402 Payment Required is a status code reserved for digital payment systems.",
      "source": "wikipedia",
      "title": "HTTP 402",
      "url": "https://en.wikipedia.org/wiki/HTTP_402"
    }
  ],
  "sources": [
    {
      "count": 1,
      "name": "wikipedia",
      "ok": true
    }
  ]
}

Security scan

  • No findings. We scan names, descriptions and tool definitions for hidden instructions and other prompt-injection patterns.

Recent checks

WhenResultHTTPTimePrice
4 h agoExpected HTTP 402, got 41041046 ms-
8 h agoExpected HTTP 402, got 410410116 ms-
13 h agoExpected HTTP 402, got 410410129 ms-
17 h agoExpected HTTP 402, got 41041043 ms-
21 h agoExpected HTTP 402, got 410410115 ms-
25 h agoExpected HTTP 402, got 410410112 ms-
29 h agoExpected HTTP 402, got 41041041 ms-
33 h agoExpected HTTP 402, got 410410244 ms-
38 h agoExpected HTTP 402, got 410410256 ms-
42 h agoExpected HTTP 402, got 410410119 ms-
46 h agoExpected HTTP 402, got 41041041 ms-
2 days agoExpected HTTP 402, got 41041035 ms-
2 days agoExpected HTTP 402, got 41041034 ms-
2 days agoPassed402573 ms$0.015

History

11 Oct 2026Price changed from $0.03 to $0.015