Why an x402 endpoint fails to charge or appear in the Bazaar: verifies the 402 (version, C
Why an x402 endpoint fails to charge or appear in the Bazaar: verifies the 402 (version, CAIP-2 network, currency, payTo, amount, window) and the discovery listing without paying. Score, findings with fixes, signed receipt. / Por qué un endpoint x402 no cobra o no aparece en el Bazaar: verifica el 402 (versión, red CAIP-2, moneda, destino, importe, ventana) y la ficha de discovery sin pagar. Puntuación, hallazgos con arreglo y recibo firmado.
10000 (raw units)
price
1
calls / 30d
1
unique payers
2026-09-14
updated
Provider
agente.revenuerecoveryai.app · discovered, not yet claimed by its owner
Payment (x402 accepts[])
[
{
"scheme": "exact",
"network": "eip155:8453",
"payTo": "0x464374fB066F08273740e99Ad5c07B92d8aC665F",
"asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"amount": "10000",
"maxTimeoutSeconds": 300
}
]Output schema
{
"bazaar": {
"info": {
"input": {
"body": {
"modo": "completo",
"url": "https://api.ejemplo.com/v1/datos"
},
"bodyType": "json",
"method": "POST",
"type": "http"
},
"output": {
"example": {
"analysis_mode": "live_probe",
"elapsed_ms": 640,
"findings": [
{
"detail": "La ficha no declara input.method. El validador la rechaza y el servicio NO se indexa.",
"remediation": "Añade 'method' dentro de info.input con el verbo de la ruta.",
"rule_id": "BZR-002",
"severity": "ERROR",
"title": "Declara el método HTTP en la ficha"
}
],
"grade": "B",
"observed": {
"amount": "10000",
"asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"http_status": 402,
"http_status_get": 405,
"latency_ms": 210,
"network": "eip155:8453",
"pay_to": "0x0000000000000000000000000000000000000001",
"scheme": "exact",
"url": "https://api.ejemplo.com/v1/datos",
"x402_version": 2
},
"receipt": {
"algorithm": "Ed25519",
"endpoint": "/v1/x402/diagnose",
"input_hash": "sha256:0000000000000000000000000000000000000000000000000000000000000000",
"issued_at": "2026-08-06T12:00:00+00:00",
"output_hash": "sha256:0000000000000000000000000000000000000000000000000000000000000000",
"request_id": "00000000-0000-0000-0000-000000000000",
"rule_pack_version": "2026.08.07.1",
"signature": "...",
"signed": true,
"verification_key_id": "ajk_0000000000000000"
},
"recommended_actions": [
{
"action": "Añade 'method' dentro de info.input con el verbo de la ruta.",
"rule_id": "BZR-002",
"severity": "ERROR",
"title": "Declara el método HTTP en la ficha"
}
],
"report_hash": "sha256:0000000000000000000000000000000000000000000000000000000000000000",
"rule_pack_version": "2026.08.07.1",
"rule_packs_applied": {
"bazaar": 11,
"x402": 11
},
"score": 82,
"summary": {
"errors": 1,
"info": 0,
"passed": 18,
"unknown": 0,
"warnings": 2
}
},
"type": "json"
}
},
"schema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"input": {
"additionalProperties": false,
"properties": {
"body": {
"description": "Se admite una URL viva o un 402 ya capturado. Al menos una de las dos.",
"properties": {
"incluir_recibo": {
"default": true,
"description": "Adjunta un recibo firmado con el que verificar el informe.",
"title": "Incluir Recibo",
"type": "boolean"
},
"modo": {
"default": "completo",
"description": "'completo' sondea GET, POST y el ejemplo declarado. 'rapido' solo hace la llamada mínima.",
"enum": [
"rapido",
"completo"
],
"title": "Modo",
"type": "string"
},
"payment_required": {
"anyOf": [
{
"type": "string"
},
{
"additionalProperties": true,
"type": "object"
},
{
"type": "null"
}
],
"default": null,
"description": "Alternativa sin red: el contenido de la cabecera Payment-Required (base64 o JSON ya decodificado) de un 402 que ya capturaste. Más rápido y no toca el endpoint.",
"title": "Payment Required"
},
"url": {
"anyOf": [
{
"maxLength": 2048,
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "URL del endpoint x402 a diagnosticar. Se le llama SIN pagar. Debe ser pública: las direcciones internas se rechazan.",
"title": "Url"
}
},
"title": "PeticionDiagnostico",
"type": "object"
},
"bodyType": {
"enum": [
"json",
"form-data",
"text"
],
"type": "string"
},
"method": {
"enum": [
"POST",
"PUT",
"PATCH"
],
"type": "string"
},
"type": {
"const": "http",
"type": "string"
}
},
"required": [
"type",
"method",
"bodyType",
"body"
],
"type": "object"
},
"output": {
"properties": {
"example": {
"properties": {
"analysis_mode": {
"title": "Analysis Mode",
"type": "string"
},
"elapsed_ms": {
"title": "Elapsed Ms",
"type": "integer"
},
"findings": {
"items": {
"additionalProperties": true,
"type": "object"
},
"title": "Findings",
"type": "array"
},
"grade": {
"title": "Grade",
"type": "string"
},
"observed": {
"anyOf": [
{
"additionalProperties": true,
"type": "object"
},
{
"type": "null"
}
],
"default": null,
"title": "Observed"
},
"receipt": {
"anyOf": [
{
"additionalProperties": true,
"type": "object"
},
{
"type": "null"
}
],
"default": null,
"title": "Receipt"
},
"recommended_actions": {
"items": {
"additionalProperties": true,
"type": "object"
},
"title": "Recommended Actions",
"type": "array"
},
"report_hash": {
"title": "Report Hash",
"type": "string"
},
"rule_pack_version": {
"title": "Rule Pack Version",
"type": "string"
},
"rule_packs_applied": {
"additionalProperties": {
"type": "integer"
},
"title": "Rule Packs Applied",
"type": "object"
},
"score": {
"title": "Score",
"type": "integer"
},
"summary": {
"additionalProperties": {
"type": "integer"
},
"title": "Summary",
"type": "object"
}
},
"required": [
"score",
"grade",
"summary",
"rule_pack_version",
"rule_packs_applied",
"findings",
"recommended_actions",
"report_hash",
"analysis_mode",
"elapsed_ms"
],
"title": "RespuestaDiagnostico",
"type": "object"
},
"type": {
"type": "string"
}
},
"required": [
"type"
],
"type": "object"
}
},
"required": [
"input"
],
"type": "object"
}
}
}Use it
curl
curl "https://agente.revenuerecoveryai.app/v1/x402/diagnose" # -> 402 Payment Required, accepts[] lists how to pay # retry with a PAYMENT-SIGNATURE (or PAYMENT header) once paid
JavaScript
const res = await fetch("https://agente.revenuerecoveryai.app/v1/x402/diagnose");
if (res.status === 402) {
const { accepts } = await res.json();
// pay one of accepts[] via an x402 client, then retry with the payment header
}Python
import httpx
res = httpx.get("https://agente.revenuerecoveryai.app/v1/x402/diagnose")
if res.status_code == 402:
accepts = res.json()["accepts"]
# pay one of accepts[] via an x402 client, then retry with the payment headerMachine-readable
Everything on this page is also available as clean JSON at /resources/5321.json, and this resource appears in /discovery/resources and /discovery/search.