Check an x402 seller's trust evidence

FREE with proof-of-work · or $0.005 in USDC · GET /api/x402/seller-trust

Trust evidence for any x402 seller origin: is it indexed, does its manifest parse, how many tools does it publish, which chains does it actually advertise, how many settled calls has it been observed receiving on-chain, and would our own Smart Order Router spend buyer money on it. Send GET /api/x402/seller-trust with the required field origin and pay $0.005 per call over x402 or MPP, or call it free by solving a proof-of-work challenge. It returns the result.

Returns the router's gate field by field, so a refusal is explainable. Never fetches the seller at call time - this is our accumulated crawl and settlement evidence, not a liveness probe.

Category: x402 seller intelligence · Tags: x402 seller trust reputation verify due-diligence counterparty safety

TRY IN PLAYGROUND →

Parameters

NameTypeRequiredDescription
originstringyesSeller origin or bare host, e.g. https://example.com or example.com

Example request

curl -i "https://agent402.tools/api/x402/seller-trust?origin=agent402.tools"

Without payment this returns HTTP 402 Payment Required with the exact price for seller-trust; any x402 v2 or MPP client pays it and retries.

Example response

{}

From an MCP client

catalog.call {
  "slug": "seller-trust",
  "params": {
    "origin": "agent402.tools"
  }
}

On the hosted connector at https://agent402.tools/mcp, catalog.call runs seller-trust free (rate-limited, no wallet). Local install: npx -y agent402-mcp.

Errors and behavior

Paid call (JavaScript agent)

import { wrapFetchWithPayment } from "@x402/fetch";
import { x402Client } from "@x402/core/client";
import { registerExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";

const client = new x402Client();
client.setSpendControls?.(false); // keep your own spending ceiling in code
registerExactEvmScheme(client, { signer: privateKeyToAccount(KEY) });
const payFetch = wrapFetchWithPayment(fetch, client);

const res = await payFetch("https://agent402.tools/api/x402/seller-trust?origin=agent402.tools");

No wallet? Pay with compute

Fetch a challenge, solve the sha256 puzzle (16 leading zero bits, a fraction of a second of CPU), and resend with the X-Pow-Solution header:

import { createHash } from "node:crypto";
const lz = (b) => { let t = 0; for (const x of b) { if (!x) { t += 8; continue; } t += Math.clz32(x) - 24; break; } return t; };
const c = await (await fetch("https://agent402.tools/api/pow/challenge?slug=seller-trust")).json();
let n = 0;
while (lz(createHash("sha256").update(c.challenge + ":" + n).digest()) < c.difficulty) n++;
await fetch("https://agent402.tools/api/x402/seller-trust?origin=agent402.tools", { method: "GET", headers: { "X-Pow-Solution": c.token + ":" + n } });

Related tools

x402 seller dossier

$0.05 · POST /api/seller-dossier

Everything Agent402 knows about one x402 seller origin, in one read: identity and crawl history, the catalog with the pr…

x402 seller payability check

$0.10 · POST /api/seller-payability

Buy one call from an x402 seller endpoint right now and report exactly what happened: the unpaid call's status, the 402 …

Verify B20 token

$0.005 · GET /api/b20-verify

Boolean verdict with reasons: is this address a real factory-issued B20 on Base? Checks the 0xB200 address prefix, ERC-2…

Agent402 bestsellers

$0.005 · GET /api/bestsellers

What agents actually pay for on a 500+ tool x402 catalog - the paid intelligence layer over Agent402's own sales ledger,…

Decide: tool plan for a task

$0.005 · POST /api/decide

Describe a job and get a call-ready plan: which tools, across this catalog and outside x402 sellers with a recently veri…

Rate a call you paid for

$0.001 · POST /api/feedback

Tell this server whether a call you paid for delivered what it promised. Bound to the receipt: give it the settlement tr…