# AgentDiet Paywall Scanner

> AgentDiet Paywall Scanner is a paid API for AI agents from mcp-gateway.agentdiet.dev, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-23).

Scans a given HTTP URL to detect and analyze x402/L402 paywall configurations and payment requirements

## Facts

- Endpoint: GET https://mcp-gateway.agentdiet.dev/v1/paywall-scanner?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-23
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/agentdiet-paywall-scanner-273e9e46
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_BWXILH8vDTOivKsSmBOjQ

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 agentdiet-paywall-scanner-273e9e46
```

Example prompt: Can you scan https://api.example.com/data to check if it has an x402 or L402 paywall — use a GET request and tell me what payment requirements you find?

## When to prefer this

Use this endpoint when you need to programmatically detect whether a specific URL is protected by an x402, L402, or similar micropayment paywall before attempting to call it. Prefer this over manual inspection when building agent workflows that must dynamically discover payment requirements at runtime, or when auditing a set of API endpoints for payment-gate compliance.

## Known failure modes

- URL is unreachable or times out — may return error status
- URL does not implement x402/L402 — returns empty or null paywall data
- Invalid or missing URL parameter — schema validation error
- Target URL returns non-standard 402 response that cannot be parsed
- Rate limiting or network errors from the target endpoint

## How this service works

Deterministic B2A/A2A/MCP/x402/MPP/L402 execution and intelligence node at https://mcp-gateway.agentdiet.dev settling in USDC on Base.

## Output

Returns a JSON object with a status field ('ok'), a data object containing paywall detection details, and a roi_proof object showing a compression ratio (e.g. 91.4%), indicating how much metadata was distilled from the scanned URL's payment configuration.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET",
      "POST"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "properties": {
      "url": {
       "type": "string"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "data": {},
  "status": "ok",
  "roi_proof": {
   "compression_ratio_pct": 91.4
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/agentdiet-paywall-scanner-273e9e46/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from mcp-gateway.agentdiet.dev](https://www.zero.xyz/host/mcp-gateway.agentdiet.dev/llms.txt)
