The IPFS API provides endpoints for resolving content from the InterPlanetary File System. This is particularly useful for fetching NFT metadata and images stored on IPFS.Documentation Index
Fetch the complete documentation index at: https://nexus.gerowallet.io/docs/llms.txt
Use this file to discover all available pages before exploring further.
Available endpoints
Resolve IPFS content
Fetch content from IPFS by CID or path
What is IPFS?
IPFS (InterPlanetary File System) is a distributed file system used to store NFT metadata, images, and other decentralized content. Content is addressed by its hash (CID), ensuring immutability.CID formats
The API supports both CID versions:| Version | Example | Description |
|---|---|---|
| CIDv0 | Qm... | Legacy format, starts with “Qm” |
| CIDv1 | ba... | Modern format, starts with “ba” |
Accepted path formats
Thepath parameter accepts multiple formats:
Gateway fallback
Gero Nexus fetches IPFS content through multiple gateways with automatic fallback:- Primary gateway - Low latency, high availability
- Secondary gateways - Backup for redundancy
- Public gateways - Final fallback option
Response format
The endpoint returns the raw content with appropriate Content-Type headers based on the file type. Common IPFS content includes:| Content Type | Description |
|---|---|
application/json | NFT metadata files |
image/png, image/jpeg | NFT images |
video/mp4 | NFT videos |
text/html | HTML content |