81trust / 100

Check

by Aayat AI in Onchain & crypto

x402 APIPassing, checked 4 h ago

Live health check of any x402 endpoint before you pay it: is it up and answering 402, is the payment request valid, prices in USD per network, pay-to wallets, x402 version, Bazaar discovery metadata, response time, and its buyers in the Bazaar. Never pays the endpoint. Give the endpoint's URL and how it is called (GET or POST). For our own endpoints the answer comes from our in-process monitor (a Worker can't call its own address).

GET https://aayatai.com/x402/check

Last 30 days

All checks passedSome failedAll failedNot checked
Uptime
100%
Response time
47 ms typical, 47 ms slowest 5%
Last check
4 h ago
Next check
any minute now

How to call it

# See the payment challenge (nothing is charged)
curl -i -X GET "https://aayatai.com/x402/check?url=https%3A%2F%2Faayatai.com%2Fdns"
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%2Fx402%2Fcheck
const res = await pay("https://aayatai.com/x402/check?url=https%3A%2F%2Faayatai.com%2Fdns");
console.log(await res.json());

Example input

{
  "url": "https://aayatai.com/dns"
}

Example output

{
  "catalogue": {
    "buyers30d": 40,
    "calls30d": 900,
    "lastCalledAt": "2026-09-28T10:00:00Z",
    "listed": true
  },
  "checkedAt": "2026-09-28T12:00:00Z",
  "latencyMs": 180,
  "prices": [
    {
      "amount": "1000",
      "asset": "0x8335...",
      "network": "eip155:8453",
      "payTo": "0xabc...",
      "priceUsd": 0.001,
      "scheme": "exact"
    }
  ],
  "status": 402,
  "up": true,
  "url": "https://aayatai.com/dns",
  "x402": {
    "bazaarDiscovery": true,
    "description": "DNS lookup for any domain",
    "from": "PAYMENT-REQUIRED header",
    "problems": [],
    "valid": true,
    "version": 2
  }
}

Security scan

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

Recent checks

WhenResultHTTPTimePrice
4 h agoPassed40247 ms$0.002