# x402-gateway — Pay-per-call MCP on Base via Coinbase CDP x402

> x402-gateway — Pay-per-call MCP on Base via Coinbase CDP x402 is a paid API for AI agents from x402.freeq.one, paid per call via x402, $0.001/call, status unknown (last checked 2026-09-15).

A pay-per-use MCP gateway exposing 15 tools (including markdown, token prices, wallet portfolio, whale alerts, and more) over the x402 payment protocol on Base, requiring no accounts, logins, or API keys.

## Facts

- Endpoint: POST https://x402.freeq.one/tools
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/x402-gateway-pay-per-call-mcp-on-base-via-coinbase-cdp-x402-f98eb185
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_no23oxvdY12iT-aGAJ5Z1

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 x402-gateway-pay-per-call-mcp-on-base-via-coinbase-cdp-x402-f98eb185 -d '<json body>'
```

Example prompt: Use the x402 pay-per-call gateway to fetch the current price of ETH — no API key needed, just pay $0.001 USDC per call via the x402 protocol on Base.

## When to prefer this

Choose this endpoint when you need frictionless, no-account access to a variety of utility tools (crypto data, media generation, proof verification, job search) and can pay $0.001 USDC per call via the x402 protocol on Base. Ideal for agents that need to avoid API key management overhead or subscription commitments across multiple tool categories.

## Known failure modes

- Insufficient USDC balance causes payment failure and 402 response
- Invalid or malformed request body returns a 400 error
- Unsupported body type (not json/form-data/text) causes validation failure
- Network or RPC issues on Base may cause payment timeouts
- Calling a tool with incorrect parameters returns a tool-specific error response

## How this service works

21 tools. Pay per call. No accounts. No logins. No API keys. Blockchain data, web scraping, ZK proofs, QR & diagram rendering, LLM chat, gift cards — settled in USDC on Base via the x402 payment protocol and Coinbase CDP facilitator.

## Output

Returns a JSON object containing the structured output of the invoked tool — e.g. token prices, wallet balances, whale alerts, rendered markdown, generated images, or verification results, depending on which of the 15 tools was called.

## 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",
    "bodyType",
    "body"
   ],
   "properties": {
    "body": {
     "type": "object",
     "description": "JSON request body. See GET /tools for the parameter catalog."
    },
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "POST"
     ],
     "type": "string"
    },
    "headers": {
     "type": "object",
     "additionalProperties": {
      "type": "string"
     }
    },
    "bodyType": {
     "enum": [
      "json",
      "form-data",
      "text"
     ],
     "type": "string"
    },
    "toolName": {
     "type": "string"
    },
    "transport": {
     "type": "string"
    },
    "description": {
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "additionalProperties": {
      "type": "string"
     }
    },
    "mcpServerUrl": {
     "type": "string"
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "json"
    },
    "example": {
     "type": "object",
     "properties": {
      "result": {
       "description": "Tool output (JSON)"
      }
     }
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json"
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/x402-gateway-pay-per-call-mcp-on-base-via-coinbase-cdp-x402-f98eb185/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402.freeq.one](https://www.zero.xyz/host/x402.freeq.one/llms.txt)
