# gateway.offchain.wtf IPFS Gateway (x402)

> gateway.offchain.wtf IPFS Gateway (x402) is a paid API for AI agents from gateway.offchain.wtf, paid per call via x402, $0.01/call, status down (last checked 2026-09-15).

Retrieves IPFS content by CID via a pay-per-request x402-authenticated gateway for $0.01 USDC per call

## Facts

- Endpoint: GET https://gateway.offchain.wtf/ipfs/bafybeid6jupqkrukju6jbsdw6iueinbyh2as2z3235acqqvxoy5nlbciyq
- Price: $0.01/call
- Payment: x402
- Status: down
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/gateway-offchain-wtf-c282f540
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_bt8rX1-Ouux9jyunI8A1U

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 gateway-offchain-wtf-c282f540
```

Example prompt: Fetch the content stored at IPFS CID bafybeid6jupqkrukju6jbsdw6iueinbyh2as2z3235acqqvxoy5nlbciyq for me — it's on a pay-per-request IPFS gateway that charges $0.01 USDC via x402.

## When to prefer this

Use this endpoint when you need to retrieve content from IPFS by CID and want a reliable, pay-per-use gateway that accepts x402/USDC micropayments rather than running your own IPFS node or managing a subscription. Ideal for agent workflows that occasionally need to dereference IPFS hashes without persistent infrastructure.

## Known failure modes

- CID not found on IPFS network — content may have been unpinned or never existed
- Payment failure — insufficient USDC balance or x402 auth error returns 402
- Invalid CID format — malformed content identifier returns 400
- Network timeout if IPFS peers are slow to respond
- Content too large for single retrieval call

## How this service works

IPFS content retrieval with x402 payment

## Output

The raw content (file bytes or text) stored at the specified IPFS CID, returned after the micropayment is processed. The response body contains the actual content addressed by that hash on the IPFS network.

## More

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