x402 seller reputation detail
GET /api/seller-reputationThe measurements behind one x402 seller's reputation summary, as this server took them over a rolling 30-day window: each metric's score, sample size and method...
Details
The measurements behind one x402 seller's reputation summary, as this server took them over a rolling 30-day window: each metric's score, sample size and method (documents up, 402 up, responsiveness, price matches listing, and delivery measured from purchases Agent402's router made for buyers), the paywall latency in buckets with the median and 90th percentile, every route's price comparison and router delivery outcome, and the day-by-day history (crawl and 402 outcomes, and a delivery word on each day with enough calls to score). The free summary at /api/reputation?seller= gives the verdict and one word per metric. No field counts payments, buyers or settlements. Deterministic and offline: read from the stored record, never a live fetch of the seller.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
seller | string | yes | The seller's host or origin, as on /api/reputation?seller= (e.g. seller.example) Up to 512 characters. The example sends agent402.tools. |
Example request
curl -i "https://agent402.tools/api/seller-reputation?seller=agent402.tools"
Watch a call get paid
GET /api/seller-reputation$0.03 USDCPAYMENT-SIGNATUREon 14 chains200 OKAgent402-ReceiptEd25519Example response
{
"seller": "https://seller.example",
"listed": true,
"summary": {
"recordState": "ready",
"verdict": "high",
"metrics": {
"manifestUptime": {
"status": "scored",
"level": "high",
"lastMeasuredAt": "2026-12-01T00:00:00.000Z"
},
"paywallUptime": {
"status": "scored",
"level": "high",
"lastMeasuredAt": "2026-12-01T00:00:00.000Z"
},
"responsiveness": {
"status": "scored",
"level": "high",
"lastMeasuredAt": "2026-12-01T00:00:00.000Z"
},
"priceMatchesListing": {
"status": "scored",
"level": "high",
"lastMeasuredAt": "2026-12-01T00:00:00.000Z"
},
"delivery": {
"status": "scored",
"level": "high",
"lastMeasuredAt": "2026-12-01T00:00:00.000Z",
"label": "measured from purchases Agent402's router made for buyers"
}
},
"measurementIssue": null,
"lastRecheckedAt": null,
"recheck": {
"path": "/api/reputation/recheck",
"requestedAt": null,
"status": "none"
},
"firstObservedAt": "2026-10-01T00:00:00.000Z",
"computedAt": "2026-12-01T00:00:00.000Z",
"windowDays": 30,
"legend": "Measured by this server from its own crawl and from purchases its router made for buyers, over a rolling 30-day window. Each metric reads a word: high (a score of 0.9 or more), medium (0.6 or more), low (under 0.6), or not-enough-data below its minimum sample; verdict is the same word for the weighted overall score. This summary carries no scores, sample sizes, payments or buyers. The paid seller-reputation tool returns the scores, sample sizes, latency buckets, per-route outcomes and day-by-day history behind each word. A seller can ask for a fresh measurement with POST /api/reputation/recheck?seller=<host>.",
"methodDoc": "(the method document's address)"
},
"reputation": {
"recordState": "ready",
"overall": {
"status": "scored",
"score": 0.97,
"components": [
"paywallUptime",
"delivery",
"manifestUptime",
"priceMatchesListing",
"responsiveness"
],
"weights": {
"paywallUptime": 0.3,
"delivery": 0.25,
"manifestUptime": 0.2,
"priceMatchesListing": 0.15,
"responsiveness": 0.1
},
"method": "(the overall method)"
},
"metrics": {
"manifestUptime": {
"status": "scored",
"score": 1,
"sampleSize": 30,
"minSampleSize": 10,
"windowDays": 30,
"lastMeasuredAt": "2026-12-01T00:00:00.000Z",
"method": "(the metric's method)"
},
"paywallUptime": {
"status": "scored",
"score": 1,
"sampleSize": 12,
"minSampleSize": 5,
"windowDays": 30,
"lastMeasuredAt": "2026-12-01T00:00:00.000Z",
"method": "(the metric's method)"
},
"responsiveness": {
"status": "scored",
"score": 0.917,
"sampleSize": 12,
"minSampleSize": 5,
"windowDays": 30,
"lastMeasuredAt": "2026-12-01T00:00:00.000Z",
"medianMs": 310,
"thresholdMs": 2000,
"method": "(the metric's method)"
},
"priceMatchesListing": {
"status": "scored",
"score": 1,
"sampleSize": 3,
"minSampleSize": 3,
"windowDays": 30,
"lastMeasuredAt": "2026-12-01T00:00:00.000Z",
"method": "(the metric's method)"
},
"delivery": {
"status": "scored",
"score": 0.9,
"sampleSize": 10,
"minSampleSize": 5,
"windowDays": 30,
"lastMeasuredAt": "2026-12-01T00:00:00.000Z",
"method": "(the metric's method)",
"label": "measured from purchases Agent402's router made for buyers"
}
},
"measurementIssue": null,
"lastRecheckedAt": null,
"recheck": {
"path": "/api/reputation/recheck",
"requestedAt": null,
"status": "none"
},
"age": {
"firstObservedAt": "2026-10-01T00:00:00.000Z",
"observedDays": 61,
"recordsSince": "2026-09-20T00:00:00.000Z",
"note": "(the age note)"
},
"computedAt": "2026-12-01T00:00:00.000Z",
"windowDays": 30,
"legend": "Measured by this server from its own crawl and paid calls, over a rolling 30-day window. A metric is scored (0 to 1) only when its sample reaches minSampleSize; below that it reads not-enough-data. No metric counts payments or buyers: router purchases, our own wallets and test traffic are never buyer evidence, and settlement counts are not part of this record. Each metric's method field states how it is measured. A day on which our own crawl cycle failed broadly on our side is left out of the crawl and paywall metrics and named under measurementIssue. A seller can ask for a fresh measurement with POST /api/reputation/recheck?seller=<host>.",
"methodDoc": "(the method document's address)"
},
"latency": {
"samples": 12,
"medianMs": 310,
"p90Ms": 2400,
"buckets": [
{
"upToMs": 250,
"samples": 2
},
{
"upToMs": 500,
"samples": 6
},
{
"upToMs": 1000,
"samples": 2
},
{
"upToMs": 2000,
"samples": 1
},
{
"upToMs": 5000,
"samples": 1
},
{
"overMs": 5000,
"samples": 0
}
],
"method": "(the responsiveness method)"
},
"history": {
"windowDays": 30,
"days": [
{
"day": "2026-11-30",
"manifest": {
"ok": 1,
"n": 1
},
"paywall": {
"ok": 1,
"n": 1
},
"delivery": {
"status": "scored",
"level": "high"
}
},
{
"day": "2026-12-01",
"manifest": {
"ok": 1,
"n": 1
},
"paywall": {
"ok": 1,
"n": 1
}
}
]
},
"routes": {
"toolCount": 1,
"cap": 200,
"returned": 1,
"matched": 1,
"complete": true,
"truncated": false,
"rows": [
{
"method": "GET",
"route": "/api/x",
"reputation": {
"price": {
"status": "matches",
"listedPrice": 0.01,
"livePrice": 0.01,
"measuredAt": "2026-12-01T00:00:00.000Z"
},
"delivery": {
"label": "measured from purchases Agent402's router made for buyers",
"status": "scored",
"score": 0.9,
"sampleSize": 10,
"lastMeasuredAt": "2026-12-01T00:00:00.000Z"
}
}
}
],
"legend": "Per route, measured by this server over a rolling 30-day window. price: matches or differs compares the price this route's 402 asked on our last live read with the price the seller's own documents list (within 1%); not-measured when no live read in the window has both. delivery, measured from purchases Agent402's router made for buyers: the share of those calls to this route that answered 200 after taking the payment, our own probes, canaries and wallets left out; scored from 5 calls, not-enough-data below. Neither counts payments or buyers."
},
"evidenceSource": "this server's own crawl and paywall probe, and the purchases its router made for buyers",
"generatedAt": "2026-12-01T00:00:00.000Z"
}| Field | Type | Always present | In the example |
|---|---|---|---|
seller | string | yes | https://seller.example |
listed | boolean | yes | true |
summary | object | yes | 11 fields: recordState, verdict, metrics, measurementIssue and 7 more |
reputation | object | yes | 11 fields: recordState, overall, metrics, measurementIssue and 7 more |
latency | object | yes | 5 fields: samples, medianMs, p90Ms, buckets, method |
history | object | yes | 2 fields: windowDays, days |
routes | object | yes | 8 fields: toolCount, cap, returned, matched, complete, truncated and 2 more |
evidenceSource | string | yes | this server's own crawl and paywall probe, and the purchases its router made ... |
generatedAt | string | yes | 2026-12-01T00:00:00.000Z |
From an MCP client
catalog.call {
"slug": "seller-reputation",
"params": {
"seller": "agent402.tools"
}
}Hosted connector (https://agent402.tools/mcp): paid in the call. Stdio package (npx -y agent402-mcp@0.19.2): pays from a wallet or AGENT402_CREDITS_KEY.
Errors and behavior
- Pay $0.03 per call over x402 or MPP. Wallet-only: this tool reaches the network or stored state, so it has no proof-of-work tier. A prepaid card-credits key (
Authorization: Bearer a402_...) also pays it. - Required:
seller; a rejected input answers 4xx witherror,tool,expected,requiredandexample. - On this route, a call ending in any status of 400 or above is not charged over x402, MPP or a credits key. A Tempo push credential pays before the call; a failure is a refund owed.
- A
POSTwith a JSON body is served as this GET. - An
Idempotency-Keyreplays the first 200 uncharged (an answer larger than 1 MB is not replayed).
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?.({ maxAmountPerPayment: "$0.03" }); // refuse any quote above this tool's price
registerExactEvmScheme(client, { signer: privateKeyToAccount(process.env.AGENT_KEY) });
const payFetch = wrapFetchWithPayment(fetch, client);
const res = await payFetch("https://agent402.tools/api/seller-reputation?seller=agent402.tools");Get a wallet or run npx -y agent402-mcp@0.19.2 wallet new.
The quote (Python)
import base64, json, urllib.error, urllib.request
req = urllib.request.Request("https://agent402.tools/api/seller-reputation?seller=agent402.tools", method="GET", headers={})
try:
urllib.request.urlopen(req)
except urllib.error.HTTPError as e:
quote = json.loads(base64.b64decode(e.headers["PAYMENT-REQUIRED"]))
print(e.code, [(a["network"], a["amount"]) for a in quote["accepts"]]) # the price, per chain, in base units