# AgentDiet x402/MPP Paywall Verifier

> AgentDiet x402/MPP Paywall Verifier is a paid API for AI agents from rag-diet.agentdiet.dev, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-22).

Verifies whether an x402/MPP paywall URL is accessible and validates payment-gated HTTP endpoints via a GET request

## Facts

- Endpoint: GET https://rag-diet.agentdiet.dev/v1/x402-mpp-paywall-verifier?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-22
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/agentdiet-x402-mpp-paywall-verifier-8ce66678
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_wOnb6RSoteGcdV1wloXZl

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-x402-mpp-paywall-verifier-8ce66678
```

Example prompt: Can you verify whether this x402 paywall URL is accessible and returning valid data: https://example-paywall-endpoint.dev/resource — check it with a GET request and tell me the status and compression ratio?

## When to prefer this

Choose this endpoint when you need to programmatically verify that an x402, MPP, or L402 paywall-protected URL is correctly configured and accessible — especially in A2A or MCP agent pipelines where you need to confirm payment-gated access before routing downstream work. It is purpose-built for the x402/Base/USDC micropayment ecosystem and returns structured ROI/compression proof useful for agent auditing.

## Known failure modes

- URL not reachable or returns HTTP error — status field may reflect failure
- Invalid or missing URL query parameter — returns validation error
- Payment not confirmed or x402 token invalid — access denied response
- Timeout if the target paywall endpoint is slow to respond
- Malformed input object missing required 'type' or 'method' fields

## How this service works

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

## Output

Returns a JSON object with a status field (e.g. 'ok'), a data object containing any payload returned by the verified URL, and an roi_proof object that includes a compression_ratio_pct showing the efficiency gain (e.g. 91.4%).

## 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-x402-mpp-paywall-verifier-8ce66678/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from rag-diet.agentdiet.dev](https://www.zero.xyz/host/rag-diet.agentdiet.dev/llms.txt)
