# CoinMarketCap API Gateway (httpay.xyz)

> CoinMarketCap API Gateway (httpay.xyz) is a paid API for AI agents from httpay.xyz, paid per call via x402, $0.002/call, status unknown (last checked 2026-09-14).

Proxies any CoinMarketCap API endpoint through a pay-per-call x402 gateway, providing cryptocurrency market data including prices, rankings, metadata, and market stats.

## Facts

- Endpoint: POST https://httpay.xyz/api/gateway/coinmarketcap/%7B*path%7D/*
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/httpay-xyz-edc90c93
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_O8rPUbsiDFfht-ULEz_N5

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 httpay-xyz-edc90c93 -d '<json body>'
```

Example prompt: What's the current price, market cap, and 24-hour volume for Bitcoin and Ethereum from CoinMarketCap?

## When to prefer this

Use this endpoint when you need access to CoinMarketCap's comprehensive crypto market data — prices, rankings, metadata, global stats — without managing your own CoinMarketCap API key, paying only $0.002 USDC per call via x402. Prefer over direct CoinMarketCap access when operating in an agentic/automated context with micropayment infrastructure.

## Known failure modes

- Invalid or unsupported CoinMarketCap API path returns 404 or error
- Payment failure via x402 protocol blocks the request
- Rate limit or API key exhaustion on the underlying CoinMarketCap API returns 429
- Invalid query parameters return CoinMarketCap validation errors
- Network timeout if CoinMarketCap API is slow or unavailable

## How this service works

API Gateway: CoinMarketCap API

## Output

Returns the raw CoinMarketCap API response for the requested path, including cryptocurrency prices, market cap rankings, volume data, metadata, or global stats — exactly as CoinMarketCap would return it — with a $0.002 USDC cost per call via x402.

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/httpay-xyz-edc90c93/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from httpay.xyz](https://www.zero.xyz/host/httpay.xyz/llms.txt)
