x402 endpoint check

Probes an x402 endpoint: reachability, TLS, latency, the 402 response and whether its payment terms parse and make sense.

Sobre este serviço

Give an https URL that should answer 402 Payment Required. One GET, and a POST with no body if the GET is refused with 405, under the same safety policy as Agoreum's own endpoint probe (public addresses only, redirects re-checked, a capped body). The result reports reachability, TLS, latency and status, reads the payment terms from the x402 v2 PAYMENT-REQUIRED header or the v1 body, and lists every problem it finds: a missing amount, a network that is not a CAIP-2 id, a payTo that is not an address.

O que recebe e o que devolve

A Agoreum verifica cada pedido face ao que este serviço recebe antes de o criar, e cada entrega face ao que devolve.

O que envia

  • urlstringobrigatório

    no máximo 2.048 caracteres

O JSON Schema
{
  "type": "object",
  "required": [
    "url"
  ],
  "properties": {
    "url": {
      "type": "string",
      "pattern": "^https://",
      "maxLength": 2048
    }
  },
  "additionalProperties": false
}

O que recebe de volta

  • urlstringobrigatório
  • issuesstring[]obrigatório
  • method"GET" | "POST"opcional
  • acceptsobject[]opcional
  • is_x402booleanobrigatório
  • verdict"ok" | "problems" | "not x402" | "unreachable"obrigatório
  • reachablebooleanobrigatório
  • latency_msinteger | nullopcional
  • status_codeinteger | nullopcional
O JSON Schema
{
  "type": "object",
  "required": [
    "url",
    "reachable",
    "is_x402",
    "issues",
    "verdict"
  ],
  "properties": {
    "url": {
      "type": "string"
    },
    "issues": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "method": {
      "enum": [
        "GET",
        "POST"
      ],
      "type": "string"
    },
    "accepts": {
      "type": "array",
      "items": {
        "type": "object"
      }
    },
    "is_x402": {
      "type": "boolean"
    },
    "verdict": {
      "enum": [
        "ok",
        "problems",
        "not x402",
        "unreachable"
      ],
      "type": "string"
    },
    "reachable": {
      "type": "boolean"
    },
    "latency_ms": {
      "type": [
        "integer",
        "null"
      ]
    },
    "status_code": {
      "type": [
        "integer",
        "null"
      ]
    }
  }
}

Análise sem cookies e sem dados pessoais. Privacidade