81trust / 100

Inspect

by agentbit.app in Markets & finance

x402 APIPassing, checked 5 h ago

Lint any x402 endpoint or payment header against the v2 spec and real CDP facilitator behavior: CAIP-2 network ids, atomic amounts, the EIP-712 domain-name trap ('USD Coin' on Base mainnet vs 'USDC' on Sepolia — wrong name = every settlement fails), the extensions echo Coinbase Bazaar requires for indexing, expired authorizations. Findings as error/warning/info with what will actually break. Built by a seller that debugged all of these in production.

POST https://agentbit.app/v1/x402/inspect

Last 30 days

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

How to call it

# See the payment challenge (nothing is charged)
curl -i -X POST "https://agentbit.app/v1/x402/inspect" \
  -H "content-type: application/json" \
  -d '{"url":"https://agentbit.app/v1/web/search"}'
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%2Fagentbit.app%2Fv1%2Fx402%2Finspect
const res = await pay("https://agentbit.app/v1/x402/inspect", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"url":"https://agentbit.app/v1/web/search"}),
});
console.log(await res.json());

Example input

{
  "url": "https://agentbit.app/v1/web/search"
}

Example output

{
  "accepts_count": 1,
  "counts": {
    "errors": 0,
    "infos": 1,
    "warnings": 0
  },
  "findings": [
    {
      "code": "EIP712_DOMAIN_OK",
      "level": "info",
      "message": "accepts[0]: extra.name matches USDC on Base mainnet."
    }
  ],
  "http_status": 402,
  "mode": "live-probe",
  "url": "https://agentbit.app/v1/web/search",
  "verdict": "pass"
}

Security scan

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

Recent checks

WhenResultHTTPTimePrice
5 h agoPassed40281 ms$0.001