# gateway.offchain.wtf IPFS Gateway

> gateway.offchain.wtf IPFS Gateway 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-gated HTTP gateway

## Facts

- Endpoint: GET https://gateway.offchain.wtf/ipfs/bafybeigdyrzt5sfp7udm7hu76uh7y26nf3efuylqabf3oclgtqy55fbzdi
- 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-bca77592
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_9LWYoVG7IVVsGow7WPfI5

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-bca77592
```

Example prompt: Fetch the IPFS file with CID bafybeigdyrzt5sfp7udm7hu76uh7y26nf3efuylqabf3oclgtqy55fbzdi for me — it's hosted on IPFS and I need its raw content retrieved over HTTP.

## When to prefer this

Use this endpoint when you need to retrieve content from IPFS via a simple HTTP request without running your own IPFS node, and are willing to pay a small per-request micropayment via the x402 protocol. Ideal for AI agents operating in web3 contexts that need to resolve IPFS CIDs for NFT metadata, decentralized documents, or pinned assets.

## Known failure modes

- CID not found or not yet propagated on the IPFS network — 404 response
- Payment not provided or insufficient — 402 Payment Required
- Invalid or malformed CID in the URL path — 400 Bad Request
- IPFS gateway timeout if content is rarely accessed or node is offline — 504
- Rate limiting if too many requests are made without payment

## How this service works

IPFS content retrieval with x402 payment

## Output

Returns the raw content of the IPFS file identified by the given CID — could be JSON metadata, binary media, text, or any file type stored at that content address. The gateway handles IPFS resolution and streams back the file bytes over HTTP.

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/gateway-offchain-wtf-bca77592/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)
