Concepts
Gateways

Gateways

Gateways let you serve IPFS content over HTTP. Pinarkive provides primary gateways and supports the public IPFS gateway as a fallback.

Primary gateway

Use the main Pinarkive gateway for content pinned to the global cluster:

https://gateway.pinarkive.com/ipfs/<cid>

Replace <cid> with your content identifier.

Secondary gateway

For redundancy, use the public IPFS gateway:

https://ipfs.io/ipfs/<cid>

Cluster-specific gateways

ClusterGateway URL
globalhttps://gateway.pinarkive.com/ipfs/<cid>
euhttps://eu1.gateway.pinarkive.com/ipfs/<cid>
nahttps://na1.gateway.pinarkive.com/ipfs/<cid>
ushttps://us1.gateway.pinarkive.com/ipfs/<cid>
dehttps://de1.gateway.pinarkive.com/ipfs/<cid>

Usage in apps

Build the URL from the cid returned by the upload or pin API. You can also get gateway bases from GET /users/me/clusters:

const cid = response.cid
const url = `https://gateway.pinarkive.com/ipfs/${cid}`

See Clusters for more on regions.