# Agent Data Tools: x402 Endpoint Compliance Check

> Agent Data Tools: x402 Endpoint Compliance Check is a paid API for AI agents from agent-data-tools.revmesh2074.workers.dev, paid per call via x402, $0.01/call, status unknown (last checked 2026-11-25).

Validates whether a given URL correctly implements the x402 HTTP payment protocol, returning a compliance score, payment requirements, and resource metadata

## Facts

- Endpoint: GET https://agent-data-tools.revmesh2074.workers.dev/x402/check?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-25
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/agent-data-tools-x402-endpoint-compliance-check-1f954172
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_fR9gL9z2mRzrYaMHDvdg_

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability agent-data-tools-x402-endpoint-compliance-check-1f954172
```

Example prompt: Can you check whether https://agent-data-tools.revmesh2074.workers.dev/btc-fees is a properly implemented x402 endpoint — tell me if it's paywalled, what it costs in USDC, and whether it passes all compliance checks?

## When to prefer this

Use this endpoint when you need to programmatically verify that a URL correctly implements the x402 HTTP payment protocol before attempting a paid call — especially useful for agent orchestration systems that need to discover payment terms, validate compliance, or debug failed payment flows. Prefer this over manually inspecting HTTP headers when you want a structured compliance score and full payment metadata in one call.

## Known failure modes

- Non-HTTPS or unreachable URL returns an error or low compliance score
- URL that does not implement x402 returns paywalled:false and score near 0
- Malformed payment headers cause specific checks to fail with pass:false
- Network timeout if the target endpoint is slow to respond
- Invalid or relative URL in the query parameter causes a 400 error

## How this service works

Check an x402 seller before you pay it: decode any public endpoint's 402 payment requirements without paying (v1 body or v2 header) into USD price for native USDC, network, asset, recipient, scheme and timeout, plus a listing-quality score for https resource URL, atomic amount, facilitator minimum, description, Bazaar metadata and output schema. Never signs. Use before buying from an unfamiliar seller or to audit your own x402 listing.

## Output

Returns a JSON object with: a compliance score (0–1), the HTTP status code observed, an array of named checks each with pass/fail, the full x402 payment requirements (asset contract, payTo address, scheme, network, price in USD, atomic amount, USDC flag, timeout), the resource metadata (URL, MIME type, description), a boolean indicating whether the endpoint is paywalled, and the x402 protocol version number.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "url"
 ],
 "properties": {
  "url": {
   "type": "string",
   "description": "Absolute public https URL of the paid endpoint, with any query it needs"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "url": {
   "type": "string"
  },
  "score": {
   "type": "number"
  },
  "checks": {
   "type": "array",
   "items": {
    "type": "object",
    "properties": {
     "pass": {
      "type": "boolean"
     },
     "check": {
      "type": "string"
     }
    }
   }
  },
  "status": {
   "type": "number"
  },
  "accepts": {
   "type": "array",
   "items": {
    "type": "object",
    "properties": {
     "asset": {
      "type": "string"
     },
     "payTo": {
      "type": "string"
     },
     "scheme": {
      "type": "string"
     },
     "network": {
      "type": "string"
     },
     "priceUsd": {
      "type": "number"
     },
     "amountAtomic": {
      "type": "string"
     },
     "assetIsNativeUsdc": {
      "type": "boolean"
     },
     "maxTimeoutSeconds": {
      "type": "number"
     }
    }
   }
  },
  "resource": {
   "type": "object",
   "properties": {
    "url": {
     "type": "string"
    },
    "mimeType": {
     "type": "string"
    },
    "description": {
     "type": "string"
    }
   }
  },
  "paywalled": {
   "type": "boolean"
  },
  "x402Version": {
   "type": "number"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/agent-data-tools-x402-endpoint-compliance-check-1f954172/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agent-data-tools.revmesh2074.workers.dev](https://www.zero.xyz/host/agent-data-tools.revmesh2074.workers.dev/llms.txt)
