T

TrustAgent · Endpoint Screen

by TrustAgent

GETBase

$0.005

per call · USD Coin on Base

Is this x402 endpoint safe to pay? Reads the endpoint's own payment challenge under BOTH protocol versions — v1 body and v2 PAYMENT-REQUIRED header, so a live v2-only service is not reported as dead — extracts the payout wallet it advertises, and screens that wallet: OFAC sanctions, sybil-filtered ERC-8004 reputation, on-chain behaviour. Flags an endpoint that names different recipients under the two versions. Scores the wallet, not the service behind it, and says so.

Endpoint

GET https://trust-agent.io/v1/endpoint/screen

1

Calls / 30d

1

Unique payers / 30d

Sep 3

Last called

exact

Payment scheme

Call this service

TypeScript · @x402/fetch
import { wrapFetchWithPayment } from "@x402/fetch";
import { privateKeyToAccount } from "viem/accounts";

const account = privateKeyToAccount(process.env.PRIVATE_KEY);
const fetchWithPay = wrapFetchWithPayment(fetch, account);

const res = await fetchWithPay("https://trust-agent.io/v1/endpoint/screen", {
  method: "GET",
});
const data = await res.json();
cURL
curl -X GET \
  "https://trust-agent.io/v1/endpoint/screen?chain=base&url=https%3A%2F%2Ftrust-agent.io%2Fv1%2Fverify%2Fquick" \
  -H "X-PAYMENT: <signed x402 payment>"

Example response

{
  "additionalPayoutWallets": "present only when the offers disagree about the recipient",
  "components": "per-rule scoring breakdown",
  "flags": "array of {code, severity, title, detail}",
  "offers": "every advertised offer: payTo, network, asset, amount, version",
  "payoutWallet": "the address scored",
  "paywalled": "whether the endpoint answered 402 with a parseable payment offer",
  "recommendation": "proceed | proceed_with_caution | hold | block | insufficient_data",
  "trustScore": "0-100 for the payout wallet; null when no rule could be evaluated",
  "x402Versions": "which protocol generations answered — [1], [2] or [1,2]"
}

Payment details

Pay to0x6121654d3fd4c8b42a90d30472e4d40927c3e6bb
AssetUSD Coin · 0x833589fcd6edb6e08f4c7c32d4f71b54bda02913
NetworksBase
Schemesexact

Is this your API?

Pin it to the top of Onchain Data and the homepage with a featured placement.

Get featured →

More from TrustAgent & similar services