# Grapevine IPFS File Retrieval via x402

> Grapevine IPFS File Retrieval via x402 is a paid API for AI agents from grapevine.dev-mypinata.cloud, paid per call via x402, $1/call, status down (last checked 2026-09-15).

Retrieves a specific IPFS file (CID bafkreibculhjx6ypm4dmxlko4a2bdezbq3le5cazx5mnbmsxsl6eqceme4) gated behind a 1 USDC micropayment on Base Sepolia via the x402 payment protocol.

## Facts

- Endpoint: POST https://grapevine.dev-mypinata.cloud/x402/cid/bafkreibculhjx6ypm4dmxlko4a2bdezbq3le5cazx5mnbmsxsl6eqceme4
- Price: $1/call
- Payment: x402
- Status: down
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/grapevine-dev-mypinata-cloud-7a6ce3b0
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap__d_nkFJyNYI83WQJ7ONVx

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 grapevine-dev-mypinata-cloud-7a6ce3b0 -d '<json body>'
```

Example prompt: Can you fetch the IPFS file at CID bafkreibculhjx6ypm4dmxlko4a2bdezbq3le5cazx5mnbmsxsl6eqceme4 from Grapevine? It costs 1 USDC on Base Sepolia to access.

## When to prefer this

Use this endpoint when you specifically need to retrieve the IPFS file at CID bafkreibculhjx6ypm4dmxlko4a2bdezbq3le5cazx5mnbmsxsl6eqceme4 and are willing to pay 1 USDC on Base Sepolia via x402. Ideal for agents operating in Web3/crypto environments that can handle on-chain micropayments.

## Known failure modes

- Payment not authorized or insufficient USDC balance — 402 Payment Required
- Invalid or malformed x402 payment header — 400 Bad Request
- CID not found on IPFS network — 404 Not Found
- Base Sepolia network congestion causing payment verification timeout
- Incorrect network (not Base Sepolia) used for payment

## How this service works

Paid GET access to the IPFS CID via Grapevine, requiring 1 USDC on Base Sepolia to retrieve the file (application/octet-stream).

## Output

Returns the raw file bytes as application/octet-stream for the specified IPFS CID after the 1 USDC micropayment is processed on Base Sepolia via the x402 protocol.

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/grapevine-dev-mypinata-cloud-7a6ce3b0/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from grapevine.dev-mypinata.cloud](https://www.zero.xyz/host/grapevine.dev-mypinata.cloud/llms.txt)
