Hosting and storage

Backblaze B2 Cloud Storage API

by backblaze.com

Hosting and storage Added on November 1st, 2026 Checked and working on November 1st, 2026
Visit backblaze.com →

What it does

Backblaze B2 is object storage in the cloud for files, backups, images and other website assets. Apps upload, list and download files through the B2 Native API (JSON over HTTPS) or through its S3-compatible API, so existing S3 tools and SDKs work with it. Every request uses an application key from a Backblaze account. Free for the first 10 GB of storage; more storage is paid per GB. An official MCP server (npm package @backblaze-labs/b2-mcp) lets AI agents work with B2 buckets and files.
  • API
  • JSON
  • MCP
  • REST

At a glance

API key
Needed, free · More APIs with a free key
Pricing
Free for the first 10 GB of storage; more storage is paid per GB.
Formats
JSON
Interface
REST, MCP
Provider
backblaze.com
Last checked
Working on November 1st, 2026

More information: https://www.backblaze.com/docs/cloud-storage-native-api

Compare: Backblaze B2 Cloud Storage API vs Cloudflare R2

Is this your service? Show that it is listed

Put this badge on your website or in your README; it links to this page. About the badge

Listed on Free Web Services

backblaze.com
Backblaze B2 Cloud Storage API

Example request

curl

curl 'https://api.backblazeb2.com/b2api/v3/b2_authorize_account' \
  -H 'Authorization: Basic base64(YOUR_KEY_ID:YOUR_API_KEY)'

JavaScript

const response = await fetch("https://api.backblazeb2.com/b2api/v3/b2_authorize_account", {
  headers: {
    "Authorization": "Basic base64(YOUR_KEY_ID:YOUR_API_KEY)",
  },
});
const data = await response.json();
console.log(data);

Python

import requests

response = requests.get(
    "https://api.backblazeb2.com/b2api/v3/b2_authorize_account",
    headers={
        "Authorization": "Basic base64(YOUR_KEY_ID:YOUR_API_KEY)",
    },
    timeout=30,
)
print(response.json())

Replace YOUR_API_KEY with your own key.

Did it work for you?

Tell us what you found when you tried Backblaze B2 Cloud Storage API.