Back

Blog details

How AIOZ Pin Works: Pinning, Gateways, and NFT Tools

AIOZ Network
11 min readAugust 02, 2026
aioz-pinexplainerpillar
Holographic hexagon tiles representing AIOZ Pin's IPFS storage network

AIOZ Pin works through three components on the AIOZ DePIN network. Files Pinning keeps your files on IPFS, NFT Management pins an NFT's asset and metadata in one request, and Premium Gateways serve that content over HTTP. You pay for storage and bandwidth from a wallet funded with AIOZ tokens.

TL;DR:

  • AIOZ Pin has three documented parts: Files Pinning, NFT Management, and Premium Gateways, all running on AIOZ DePIN.
  • Storage costs $20 per TB per month and bandwidth $20 per TB, billed daily. The first 40,000 pinned files are free.
  • You can reach it through the REST API, the Node.js SDK, a pinning CLI, or the standard IPFS Pinning Service API.

Updated Oct 19, 2026: new architecture diagram, gateway limits and billing rechecked against the docs, an unsourced "storage proofs" claim removed, and a closing upload example. Updated Oct 22, 2026: merged our separate post How Does AIOZ Pin Keep Pinned Files Online on IPFS? into this guide. Updated Oct 29, 2026: merged our separate post AIOZ Pin: The Ultimate Web3 IPFS Storage Solution into this guide, adding what AIOZ Pin adds to a plain IPFS node, who uses it, and the W3IPFS name history.

What are the three components of AIOZ Pin?

Our docs describe AIOZ Pin as "the top layer of the AIOZ DePIN." Everything you do with it lands in one of three components. The diagram shows how a request from your app reaches each one, and what sits underneath.

Diagram of how AIOZ Pin works: your app calls Files Pinning, NFT Management, or Premium Gateways, all running on the AIOZ DePIN layer with smart caching and routing
ComponentWhat it does for youMain endpoint
Files PinningKeeps your files available on IPFS so garbage collection never removes themPOST /api/pinning, POST /api/pinning/pinByHash
NFT ManagementPins an NFT's asset and its metadata JSON together in one requestPOST /api/nft/
Premium GatewaysServes your pinned content over HTTP with no set rate limithttps://<gateway>.aiozpin.network/ipfs/<CID>

Under all three, AIOZ DePIN adds smart caching of frequently accessed content and smart routing that sends each request to the nearest available node. The docs also list built-in CDN capabilities. Those two features are why a popular file loads faster than a cold one.

What AIOZ Pin adds to a plain IPFS node

IPFS gives you content addressing on its own, but a CID only loads while some node holds the blocks and answers requests. If you run that node yourself, keeping it online, pinned, and reachable stays your job for as long as the files matter.

That's the gap a pinning service fills. The AIOZ Pin FAQ says the service removes the need to manage and monitor your own IPFS nodes. Here's how the main jobs split between the two setups:

JobYour own IPFS nodeAIOZ Pin
Keep files from garbage collectionYou pin each CID on a node you keep runningEach pin is kept on AIOZ DePIN nodes
Serve files over HTTPYou run a gateway or rely on public onesPublic gateway for testing, premium gateway for production
Pin an NFT's asset and metadataTwo separate adds, and you track which CID belongs to which tokenOne POST /api/nft/ request returns both CIDs
Check that a pin is completeipfs pin ls on your nodeGET /api/pinning/{pinId} returns pinned and status
CostYour hardware, disk, and bandwidth$20 per TB per month for storage, $20 per TB of bandwidth, first 40,000 pinned files free

You don't have to pick one. Because AIOZ Pin implements the IPFS Pinning Service API, a Kubo node you already run can hand its pins to AIOZ Pin as a remote service, as the open standards section below explains.

Files Pinning: how persistence works

An IPFS node runs garbage collection from time to time and deletes any block that nobody marked as important. Pinning is that mark. When you pin a file on AIOZ Pin, our nodes keep its blocks, so the CID keeps resolving whether or not anyone requested it this week.

You have two ways in. Upload a file or folder with POST /api/pinning and get a CID back. Or, if the content already exists on IPFS, send its CID to POST /api/pinning/pinByHash and we fetch the blocks from the network. The second route is handy when you move from another provider, because nothing needs uploading again.

File count has its own small charge. The first 40,000 pinned files are free, and each extra 1,000 costs $0.10. So a project with 100,000 small files pays $6 a month for the count, on top of storage. Our free pins explainer works through more examples.

The docs describe the caching and routing layer, but they don't publish an uptime SLA or a replica count per file.

How do AIOZ Pin gateways work?

A gateway turns a CID into an ordinary HTTPS URL, so a browser can load IPFS content without running a node. AIOZ Pin gives you two kinds, and the limits differ a lot.

  • Public gateway (public.aiozpin.network): open to anyone, no account needed. Each CID is limited to 15 requests per minute across all users, and each IP to 200 per minute. The docs call it a testing tool, not a production one.
  • Premium gateway (your own subdomain): no predefined rate limit, served through 200+ edge caching locations. Free plan users get a limited version that serves single files such as images, video, and audio, but not HTML or scripts.

If your wallet runs out while a premium gateway is on, the gateway switches off. Your files stay pinned and still load through the public gateway. Our dedicated gateways guide covers setup, and how an IPFS gateway resolves a request explains the general mechanics. How the free and paid dedicated gateway plans compare covers what a free account's gateway can serve.

Gateways also handle images. Add parameters such as img-width, img-fit, or img-quality to a gateway URL and you get a resized copy, with no second upload. The image resizing guide lists every parameter.

Keeping pinned files online: what to rely on and how to check

Staying stored and staying reachable are two different problems, and AIOZ Pin handles them with different parts. The pin handles storage. The infrastructure page says pinning files "guarantees their long-term storage and accessibility, even when they are no longer actively accessed." An unpinned file survives only while some node still has it cached, and the AIOZ Pin FAQ explains that a full cache gets emptied by garbage collection. A pinned file survives even when nobody has opened it in months.

Caching handles speed. The docs say smart caching replicates and stores frequently accessed content, so the extra copies follow demand. For a file your users rarely open, the pin is the part to rely on, not the cache.

You can check all of this yourself rather than take it on trust:

  • Pin status. The upload status guide lists three states: Pinning (queued), Pinned (stored and pinned on IPFS) and Failed (the upload failed or the graph is incomplete). A very large directory, such as a 10K NFT drop, can show Pinning indefinitely while the service validates the graph.
  • A real fetch. Load the CID through the public gateway or your premium gateway and confirm the file comes back.
  • A hash check. Recompute the CID from the bytes you downloaded and compare it with the one you pinned, as our guide to verifying a CID yourself shows. This proves the bytes are yours no matter which node served them.

The status check is one request. This is the cURL example from the pinning API docs (not run here), with a pin ID in the path:

curl --location --request GET 'https://api.aiozpin.network/api/pinning/3c3fec2a-ca65-4b8e-bcf3-c8e2ceaa23d2' \
--header 'pinning_api_key: KEY' \
--header 'pinning_secret_key: SECRET'

The response includes cid, size, pinned and status. To audit everything at once, GET /api/pinning/pins/?pinned=true returns the same fields for your pins, ten per page by default.

When a file looks offline, the cause is usually one of four things, and only the first removes the pin:

  • You or a script unpinned it, for example with DELETE /api/pinning/unpin/:pinId.
  • The pin is still on Pinning or ended on Failed, so the content was never fully stored. Our guide to a pin stuck on Pinning covers each state.
  • The public gateway's 15 requests per minute per CID ran out on a busy file.
  • Your balance ran out while you served through a premium gateway, so the premium option switched off while the public gateway still serves the file.

NFT Management: what pinNft does

Through the API, you send the asset file and the metadata JSON in one multipart POST /api/nft/ request. The response returns an asset_cid and a metadata_cid, and the metadata CID is what goes into your token's URI.

In the Node.js SDK (@aioznetwork/aioz-pin-sdk, version 1.0.1), the same call is pinNft. Pinning both pieces at once means you can't end up with metadata that points at an asset nobody pinned. The SDK also ships pinFilesToIPFS and pinFolderToIPFS for general files, plus pinByHash for content that already has a CID. The quick start page spells the first one pinFileToIPFS, but the published package uses the plural form.

Content addressing is why this suits NFTs. A CID comes from the file's bytes, so changing one byte gives a different CID. A buyer can check that the metadata a token points to is the metadata that was minted.

Who uses AIOZ Pin, and for what

Our customer stories on the AIOZ blog, from 2024 and 2025, show the kinds of files teams pin. Most are NFT media, but not all of them:

  • Artfi, a fine-art platform, stored its Genesis Airdrop Pass on AIOZ Pin and planned to move its art assets there too.
  • Pett.ai, a virtual-pet game on Telegram, pinned its in-game skins, backgrounds, and NFT collection.
  • SoloChain used it for immutable token metadata, including each token's image, name, description, and attributes.
  • METAVERTU, a web3 phone, integrated it behind VBOX, an app that stores users' photo albums and files.
  • Mind Network integrated it as the storage layer for Mind Lake, its encrypted data lake.

The same setup fits games, metaverse scenes, and marketplaces: any app that refers to its files by CID and needs them to stay reachable.

How much does AIOZ Pin cost?

We bill storage and bandwidth separately. Storage is $20 per TB per month, divided by the days in the month and charged daily. Bandwidth is $20 per TB, also charged daily. You fund a wallet with AIOZ tokens, and each deposit converts to credit at the AIOZ/USDT rate at the time you send it.

There are no bundled tiers. Pin 50 GB and serve 200 GB in a month, and you pay about $1 for storage plus $4 for bandwidth. The pricing breakdown has more worked numbers.

Built on open standards

AIOZ Pin implements the IPFS Pinning Service API at https://api.aiozpin.network/api/psa/. That means you can add it to the Kubo CLI as a remote pinning service and pin from your own node. Code written against the standard moves between providers with an endpoint and token swap. Our PSA explainer shows the exact commands.

For scripts, there is also a Go command line tool on the AIOZNetwork GitHub, pinning-service-cli. It covers pinning login --key ... --secret ..., pinning pin --file, pinning list-pins, and pinning unpin. The CLI tutorial walks through it.

How AIOZ Pin handles your first upload

A first upload takes one request. Create an API key in the dashboard, store the key and secret as environment variables, then send the file as multipart form data. This is the example from the AIOZ Pin API reference (not run on this machine):

import fs from 'fs'
import path from 'path'

const BASE = 'https://api.aiozpin.network/api'
const PIN_HEADERS = {
  'pinning_api_key': process.env.AIOZ_PIN_API_KEY!,
  'pinning_secret_key': process.env.AIOZ_PIN_SECRET_KEY!
}

async function pinFile(filePath: string, name?: string) {
  const form = new FormData()
  form.append('file', new Blob([await fs.promises.readFile(filePath)]), path.basename(filePath))
  if (name) form.append('metadata', JSON.stringify({ name }))
  const res = await fetch(`${BASE}/pinning`, { method: 'POST', headers: PIN_HEADERS, body: form })
  return res.json()
}

const result = await pinFile('./image.png', 'my-image')
// result.data.cid    - IPFS CID
// result.data.id     - pin ID

The CID in result.data.cid then loads at https://public.aiozpin.network/ipfs/<CID>, or through your premium gateway. The general API allows 180 requests per minute, and the /users/ and /apiKeys/ routes allow 60.

Next step: follow the AIOZ Pin quick start to create your key and pin a file.

Frequently Asked Questions

What are AIOZ Pin's three main components? Files Pinning, NFT Management, and Premium Gateways, per the AIOZ Pin infrastructure docs. Files Pinning keeps content on IPFS, NFT Management pins an asset and its metadata together, and Premium Gateways serve content without a set rate limit.

Does AIOZ Pin guarantee my files stay online? Pinned files are kept from garbage collection, and the docs describe smart caching and routing across AIOZ DePIN. They don't publish an uptime SLA or a replica count, so plan your own backups for critical data.

What does the NFT Management feature do? It pins an NFT's asset and metadata JSON in one request, through POST /api/nft/ or the SDK's pinNft, and returns a CID for each.

How much does AIOZ Pin cost? Storage is $20 per TB per month and bandwidth $20 per TB, both billed daily. The first 40,000 pinned files are free, then $0.10 per extra 1,000.

Can I switch to another pinning provider without rewriting my code? For core pinning, largely yes, because AIOZ Pin implements the IPFS Pinning Service API. Provider-specific features such as image parameters or the NFT endpoint need their own changes.

What's the difference between the public and premium gateway? The public gateway is free and open but limited to 15 requests per minute per CID and 200 per IP. A premium gateway has no predefined rate limit and is billed by bandwidth.

How can I check that my pinned file is still online? Check its status with GET /api/pinning/{pinId}, fetch it through a gateway, and recompute the CID from the bytes you get back. Pinned status plus a matching CID means the file is stored and intact.

Why does my pinned file look offline? Usually it was unpinned, its pin is still on Pinning or Failed, the public gateway rate limit kicked in, or a premium gateway switched off at zero balance. Only the first one removes the pin.

In This Pillar

References

We only send updates when meaningful changes ship, and you can unsubscribe anytime

Related Content

blog thumbnail

ENS IPFS Contenthash: Point an .eth Name at a Website

An ENS IPFS contenthash points your .eth name at a site on IPFS. See the byte format, a real encoding, ipfs vs ipns records, gas used, and common mistakes.

7 min readDecember 04, 2026
blog thumbnail

ERC-721 Metadata JSON: Fields, Images and ipfs:// URIs

ERC-721 metadata JSON explained: the three fields EIP-721 defines, OpenSea attributes and animation_url, ipfs:// image links, and folder CIDs for collections.

8 min readDecember 02, 2026
blog thumbnail

Merkle DAG vs Merkle Tree: What IPFS Changes and Why

Merkle DAG vs Merkle tree explained: a tree gives each node one parent and short proofs, while the DAG IPFS uses shares blocks, carries data and links by CID.

8 min readNovember 30, 2026
blog thumbnail

What Is IPNI? How the IPFS Network Indexer Finds Providers

IPNI is the IPFS network indexer behind cid.contact. See how index providers publish signed advertisement chains and how one HTTP query finds providers.

8 min readNovember 27, 2026
blog thumbnail

On-Chain vs Off-Chain NFT Metadata: Where the Data Lives

On-chain vs off-chain NFT metadata: what the contract stores, what lives on IPFS or a web server, what each costs in gas, and how to check any token yourself.

6 min readNovember 25, 2026
blog thumbnail

What Is a Kademlia DHT? The Routing Algorithm Behind IPFS

A Kademlia DHT finds peers by XOR distance. See how k-buckets, k = 20 and iterative lookups let IPFS locate who holds a CID, and how to watch it on Kubo.

6 min readNovember 23, 2026