File Upload API Logo

File Upload API

Scalable REST API to handle file uploads from your app: manages file storage, file hosting & file transformations.

✓ Try free for 14 days No credit card required

Upload files using a simple,
scalable, low-latency API.

The Upload API provides high-performance file uploading, file processing & file hosting functionality through a simple & easy-to-integrate REST API.

POST /v1/files/basic
curl --data-binary @sample-image.jpg \
     -H "Content-Type: image/jpeg" \
     -H "Authorization: Bearer YOUR_PUBLIC_API_KEY" \
     -X POST "https://api.upload.io/v1/files/basic"
Response
  {
    "accountId": "W142hJk",
    "fileId": "W142hJkKd759aLFxttm69kZ",
    "fileUniquifier": "Kd759aLFxttm69kZ",
    "fileUrl": "https://upcdn.io/W142h..."
  }
Average request latency = 65 ms
  • Upload files via a simple POST request.
  • Transform, convert & optimize files via the URL.
  • Download files via a global CDN (300+ nodes).

Run file transformations.

Run transformations against your files in real-time, simply by appending "file transformation slugs" to the end of your file URLs.

https://files.upload.io/File IDW142...69kZ/Transformation Slugpng;w=1024;h=768
  • Files transformed & returned on-demand.
  • Images typically processed in under a second.
  • Resize images, extract zips... even run your own code!

Globally distributed CDN.
Out the box.

The Upload API uses a global network of 300+ edge locations in 90+ cities across 47 countries to provide ultra-low-latency downloads to your users.

File Hosting API
  • Over 300 edge locations.
  • Presence in 90+ cities across 47 countries.
  • DDoS protection built-in.

Everything you need to handle
file uploads in your application

Core Features

File Storage

Benefit from fast cloud storage with ultra-low-latency upload API endpoints and encryption at rest.

File Processing

Process files via the URL, for example, to resize images or to extract file archives on-demand.

File Delivery

Files are served via Upload's 300-point CDN for ultra-low-latency downloads.

Authenticated URLs

Upload supports CDN access control via JWTs, allowing you to control access to your images.

Monitoring

Monitor your storage, processing & bandwidth usage over time via the Upload Dashboard.

CDN / Proxy Support

Configure existing HTTP servers as file sources to process your existing files on-the-fly.

Pro Features

Accelerated Uploads

Upload offers a Content Ingestion Network (CIN) to automatically boost file upload speeds.

Custom CNAME

Improve your company's branding by using a custom CNAME for your uploaded file URLs.

Custom S3 Buckets

Use a custom S3 bucket for ultimate cloud portability, or to onboard your existing files.

Upload Widget docs

Learn how our widget and SDKs work with our detailed docs:

Learn More
Image Upload API Docs

Upload API docs

Learn about our file upload REST API. S3 buckets supported.

Learn More
JavaScript Upload Library
Get Started

Ready to start uploading files?

Get Started

Upload, store, and host your first file in as little as 60 seconds.