# Pinata IPFS File Download by CID

> Pinata IPFS File Download by CID is a paid API for AI agents from Pinata IPFS at mpp.pinata.cloud, paid per call via MPP, $0.001000/call, status unknown (last checked 2026-10-12).

Downloads a public file from IPFS via Pinata using its Content Identifier (CID)

## Facts

- Endpoint: GET https://mpp.pinata.cloud/v1/pin/public/:cid?utm_source=zero.xyz
- Price: $0.001000/call
- Payment: MPP
- Status: unknown
- Last checked: 2026-10-12
- Activations on Zero: 0
- Provider: Pinata IPFS
- Docs: https://docs.pinata.cloud/files/mpp/overview
- Website: https://pinata.cloud
- Tags: ipfs, pinata, storage, files, upload, download, cid
- Canonical page: https://www.zero.xyz/c/pinata-ipfs-cid-3f13a204
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_j9enidEMJUuCFv3FaHhJ3

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 pinata-ipfs-cid-3f13a204
```

Example prompt: Can you download the IPFS file with CID bafkreigh2akiscaildcqabab4atofhebbbubb6bkzacobubb2vlbubb for me using Pinata?

## When to prefer this

Use this endpoint when you need to retrieve a specific file from IPFS by its CID through a reliable, paid gateway (Pinata). Prefer this over free public IPFS gateways when reliability and uptime matter, or when you need programmatic access with predictable pricing at $0.001 per request. Ideal for Web3 applications, NFT metadata/asset retrieval, or decentralized storage access.

## Known failure modes

- CID not found or not pinned on the public Pinata network — returns 404
- Malformed CID string — returns 400 bad request
- Payment not provided or insufficient USDC — returns 402 payment required
- Gateway timeout for very large files — returns 504
- CID refers to a directory rather than a file — may return unexpected content

## How this service works

Download file from IPFS — $0.01 per request

## Output

The raw file content (bytes) of the IPFS object identified by the given CID, served through Pinata's gateway infrastructure.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "cid"
 ],
 "properties": {
  "cid": {
   "type": "string"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/pinata-ipfs-cid-3f13a204/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from mpp.pinata.cloud](https://www.zero.xyz/host/mpp.pinata.cloud/llms.txt)
