Files API

Pinata's File API makes it easy to integrate public or private files to your application and fetch them with speed and security with our global CDN. Spend less time configuring more complicated tools like S3 and just use Pinata!
MacBook mockup

Simple File Uploads

Integrate file uploads into your app in just minutes using the Pinata SDK.

Content Authenticity

The Files API uses content addressing for every file upload, that can help verify the authenticity of your files.

Access Controls

With private files on the Files API you can ensure only authorized parties can access your content!

Get started

For the past six years, Pinata has mastered the file storage business, playing on hard mode. Building the largest and most scalable IPFS pinning service on the market required us to excel not only in IPFS but also in file storage and distribution. Surviving and scaling through the NFT boom was our trial by fire, leading us to develop a world-class CDN that's incredibly easy to use, alongside the best IPFS upload experience available.

Today, we’re taking everything we've learned and applying it to the broader file storage and content distribution market. We've had countless conversations with developers and businesses who appreciate the immutability and content addressability of IPFS but are uncomfortable with storing files on a public network. While encryption has always been an option, it’s often too complex and insufficient for businesses that require absolute data privacy. That's why we've channeled our expertise into creating a private file storage solution with full CDN support and built-in access controls — introducing our Files API.

The Files API

Just like we did with IPFS uploads, we’ve created the simplest and most seamless file upload experience on the market. No matter the file size or your development environment, we’ve got you covered. We'll handle the heavy lifting of uploads so that you can focus on building the rest of your app.

But files are about more than just uploading. We’ve applied our top-tier CDN to the Files API, allowing each customer to benefit from one or multiple CDNs. These CDNs come with powerful features, including:

  • Custom Domains
  • Image Optimizations
  • Plugin Support

One of our key design goals was to make accessing these private files as straightforward as possible. From our experience with other storage providers, we knew that the more time spent configuring access policies, the less time available for solving business problems. That’s why accessing private files is as easy as generating a time-limited access URL or creating a public group for your files.

File management is handled through intuitive API endpoints — list, filter, and organize your files with ease. Prefer SDKs? The new Pinata Typescript SDK offers a seamless experience, getting you up and running in minutes.

What About IPFS?

We're still fully committed to supporting IPFS. We've updated our documentation to clearly differentiate between IPFS and Files API, ensuring you have the right resources at your fingertips. Everything you've come to expect from Pinata on the IPFS front remains supported and continually improving.

If your files need to be public, IPFS is still the best solution. You’ll enjoy the benefits of open, portable data while leveraging Pinata’s Dedicated IPFS Gateways for fast and accessible content.

The bottom line is that we’re still the go-to solution for IPFS, and if your app requires it, Pinata has you covered.

Getting Started

While we are in the early access period, the Files API is free for up to 1GB of storage total, 10GB of bandwidth per month, and 10,000 requests per month. On paid plans, it is unlimited until we find the right price point.

Ready to dive in? Pinata's Files API is available now! While we’re working on adding a UI to our web app, the API is currently accessible programmatically. Generate your Pinata API Key and get started with our quick start guide.

Focus on your app, not file storage.

FAQs

Everything you need to know about the tool. Can’t find the answer you’re looking for? Please chat to our friendly team.

Want to add your tool?

If you'd like to list your Digital Identity tool in this directory, please fill out this form.