Best of · Everyday APIs

Best file storage and sharing APIs for AI agents

The 10 highest-scoring of 16 file storage and sharing APIs on the Anchor benchmark, with a pick for each need and where each one falls short. Scores come from public evidence, re-checked as vendors change.

  • 16 ranked
  • 7 agent-ready
  • 16 hosted endpoints
  • Updated 13 November 2026

Top three

Picks by need

Worked out from the scores, prices and facts, so they change when the research does.

Highest score overall

Backblaze B2 A

A, 83.8/100 on the benchmark.

Also Amazon S3, A, 79.2/100.

Schema & documentation

Amazon S3 A

92/100 on schema & documentation, against 89 for the overall leader.

Agent ergonomics

Cloudflare R2 A

90/100 on agent ergonomics, against 85 for the overall leader.

Maintenance & community

Supabase API + MCP BB

90/100 on maintenance & community, against 80 for the overall leader.

Transparency & trust

Supabase API + MCP BB

90/100 on transparency & trust, against 83 for the overall leader.

Lowest paid price per GB

Bunny Storage B

$0.005 per GB, the lowest of the 6 listings here with a paid price in this unit (free allowances aside).

Also Backblaze B2, $0.01 per GB.

The shortlist

#ToolGradeBest forPriceWhere
1 Backblaze B2
Backblaze
A 83.8 Cheap bulk storage that an agent writes and a CDN serves, and for operators who want an MCP server with real guardrails. $0.01 / GB Hosted and local
2 Amazon S3
Amazon Web Services
A 79.2 Best when the rest of the stack is on AWS or the job needs versioning, Object Lock, replication or event notifications, and when an operator wants per-prefix, per-hour credentials for an agent. $0.005 / 1k req Hosted
3 Cloudflare R2
Cloudflare
A 78.8 Files an agent stores and then serves to the public, where free egress dominates, and for operators who want short-lived, path-scoped credentials. $0.0045 / 1k req Hosted
4 Google Cloud Storage
Google Cloud
A 78.6 Agents on Google Cloud that store and share files and datasets. amazon-s3, azure-blob-storage and cloudflare-r2 are the closest listings; teams outside Google Cloud with S3 tooling may prefer S3-compatible stores. $0.005 / 1k req Hosted
5 Google Drive API + MCP
Google
BB 77.8 Agents working on files that people already keep in Drive, inside a Workspace organisation with admin controls. Free Hosted
6 Azure Blob Storage
Microsoft
BB 77.1 Agents and runtimes already on Azure, where a managed identity writes to one container with no stored key, and jobs that need tiers, immutability or geo-redundant copies. $0.005 / 1k req Hosted
7 Supabase API + MCP
Supabase
BB 76.2 Agents building on or administering Supabase projects, and for retrieval that wants vectors, full-text and SQL filters in one database. $25 / mo Hosted and local
8 DigitalOcean Spaces
DigitalOcean, LLC
B 69.5 Teams already on DigitalOcean that want object storage with a CDN and a flat $5 entry price for up to 250 GiB, with free transfer to Droplets in the same region. $5 / mo Hosted
9 Box API + MCP
Box
B 68.1 Agents working inside an enterprise's existing Box content with admin oversight, Box AI extraction and audit needs. Your plan Hosted
10 Dropbox API + MCP
Dropbox
B 67.1 An agent acting on a person's or team's existing Dropbox files, especially a solo user on the free plan. Your plan Hosted

6 more are ranked in the full table.

How to choose

  1. Egress fees on downloadsEstimate the egress charge for the downloads the agent will make, because storage that is cheap to keep can cost more once files are read back out.
  2. Expiring share link behaviourTest that a share link stops working at its expiry time, since an agent that sends a link to someone else depends on the expiry being enforced.
  3. Access controls and deletionCheck who can delete or list files under each credential, because an agent given write access to a bucket can remove files it was never meant to touch.
  4. Jurisdiction and legal entityRead which legal entity and jurisdiction hold the stored files, since the location of the data can shape which rules apply to what the agent uploads.

How the benchmark tests this category. An agent uploads a large file, lists a folder, shares a link that expires and deletes the file. We check the upload path, access controls, link expiry, and the storage and egress costs.

Each one in detail

#1

Backblaze B2

A 83.8/100

Object storage at $6.95 a TB-month with the first 10 GB free, egress free up to three times what you store and $0.01 a GB after, and no charge for most API calls.

Verdict $6.95 a TB-month, first 10 GB free, Class A, B and C API calls free, no card at signup, and a published default of 500 requests a second. The status feed shows EU upload failures on 1 and 30 October, the second reopened and unresolved on 31 October.

Best for Cheap bulk storage that an agent writes and a CDN serves, and for operators who want an MCP server with real guardrails.

Strengths

  • $6.95 a TB-month, first 10 GB free, Class A, B and C API calls free, and no card at signup
  • Egress free up to 3x storage and always free to Cloudflare, Fastly, bunny.net and other partners
  • Official MCP server with 40 annotated tools, capability-aware registration and a confirm or block gate on destructive tools

Weaknesses

  • EU upload failures on 30 October were reopened the same evening and still unresolved in the status feed on 31 October
  • The status feed labels EU upload and download failures of 30 September and 1 October as scheduled maintenance
  • STS temporary credentials are for Enterprise Web Console customers only, in production from 30 September 2026

Price $0.01 / GBAuth API keyx402 NoHosted and local

Full assessment

#2

Amazon S3

A 79.2/100

AWS object storage for files, backups and application data, accessed through an API.

Verdict STS session credentials with session policies, so an agent can hold one prefix for an hour. Egress to the internet is billed per GB after 100 GB a month.

Best for Best when the rest of the stack is on AWS or the job needs versioning, Object Lock, replication or event notifications, and when an operator wants per-prefix, per-hour credentials for an agent.

Strengths

  • STS session credentials with session policies, so an agent can hold one prefix for an hour
  • SLA of 99.9 per cent a month on Standard, and documented rates of 3,500 writes and 5,500 reads a second per prefix
  • Conditional writes, and conditional deletes since 16 September 2025, make retried calls safe

Weaknesses

  • Egress to the internet is billed per GB after 100 GB a month
  • The pricing page renders the Standard table by script, so an agent reading it sees no Standard rate
  • Signup needs a person in a browser, though since October 2026 most new accounts aren't asked for a payment card

Price $0.005 / 1k reqAuth API keyx402 NoHosted

Full assessment · Against #1, Backblaze B2

#3

Cloudflare R2

A 78.8/100

S3-compatible object storage with no egress fees.

Verdict Free egress and a monthly free tier of 10 GB-month plus 1 million writes, though enabling R2 needs a checkout with a payment method on the account. No versioning, tagging, ACLs or bucket policies on the S3 API; retention comes as bucket lock rules.

Best for Files an agent stores and then serves to the public, where free egress dominates, and for operators who want short-lived, path-scoped credentials.

Strengths

  • Free egress and a free tier of 10 GB-month plus 1 million writes a month
  • Temporary credentials bound to a bucket, operations and paths that expire on their own
  • An error table of 29 codes, each with an HTTP status and a recommended fix

Weaknesses

  • No versioning, tagging, ACLs or bucket policies on the S3 API; retention comes as bucket lock rules
  • Presigned URLs don't work on custom domains and can't do POST form uploads
  • One write a second to the same object key, with a 429 above that

Price $0.0045 / 1k reqAuth API keyx402 NoHosted

Full assessment · Against #1, Backblaze B2

#4

Google Cloud Storage

A 78.6/100

Google Cloud Storage is Google Cloud's object store for buckets and objects, reached through JSON and XML REST APIs, a gRPC Storage Control API, the gcloud CLI, client libraries and a generally available remote MCP server.

Verdict IAM per bucket and MCP method, signed URLs, preconditions for safe retries and a 99.95 per cent multi-region SLA make it a well-governed object store for agents. The nine-tool MCP server has no read-only or destructive annotations, reads stop at 8 MiB, and a person must set up a project and billing first.

Best for Agents on Google Cloud that store and share files and datasets. amazon-s3, azure-blob-storage and cloudflare-r2 are the closest listings; teams outside Google Cloud with S3 tooling may prefer S3-compatible stores.

Strengths

  • Generally available MCP server since 20 April 2026, with IAM permissions per MCP method
  • Preconditions and a documented retry strategy make writes safe to retry
  • SLA of 99.95 per cent a month for multi-region Standard storage

Weaknesses

  • MCP tools carry no read-only or destructive annotations and deletes need no confirmation
  • read_object stops at 8 MiB through MCP
  • A high-severity multi-product incident affected Cloud Storage on 20 August 2026

Price $0.005 / 1k reqAuth OAuthx402 NoHosted

Full assessment · Against #1, Backblaze B2

#5

Google Drive API + MCP

BB 77.8/100

REST API for a user's or a Workspace organisation's Drive, files, folders, permissions and share links, with resumable uploads and change feeds.

Verdict No charge for API calls within quota, counted in quota units per minute per project and per user. OAuth consent, scope verification and a Cloud project before an agent can list a folder.

Best for Agents working on files that people already keep in Drive, inside a Workspace organisation with admin controls.

Strengths

  • No charge for API calls within quota, counted in quota units per minute per project and per user
  • Public discovery document (revision 20261028, 64 methods) and 40-odd documented error reasons with backoff advice
  • Official MCP server with eight tools, none that delete or share, and a setup page that warns about prompt injection

Weaknesses

  • OAuth consent, scope verification and a Cloud project before an agent can list a folder
  • The MCP server is Developer Preview and needs your own OAuth client and programme membership
  • expirationTime can't be set on domain or anyone shares, so a public link never expires on its own

Price FreeAuth OAuthx402 NoHosted

Full assessment · Against #1, Backblaze B2

#6

Azure Blob Storage

BB 77.1/100

Microsoft Azure's object storage for files, backups and application data. Agents call a REST API or the Azure SDKs on a storage account, signing in with Microsoft Entra ID, an account key or a shared access signature.

Verdict Microsoft Entra ID roles can be scoped to one container, and a user delegation signature hands out a link that expires within seven days. Account keys with full access stay enabled until the owner turns them off, request logs are off until configured, and an Azure account needs a person, a phone number and a payment card.

Best for Agents and runtimes already on Azure, where a managed identity writes to one container with no stored key, and jobs that need tiers, immutability or geo-redundant copies.

Strengths

  • Microsoft Entra ID roles such as Storage Blob Data Reader can be assigned on one container, with no stored key for workloads on Azure
  • A user delegation shared access signature is signed with Entra credentials, lasts at most seven days and can be limited by permission, IP address and protocol
  • SLA of 99.9 per cent on the hot tier, 99.99 per cent for reads on RA-GRS accounts, in the 1 October 2026 SLA document

Weaknesses

  • Shared Key authorisation with the account's access keys is allowed until the owner sets AllowSharedKeyAccess to false
  • Request logs are not collected until a diagnostic setting routes the StorageRead, StorageWrite and StorageDelete categories somewhere
  • Requests and responses use headers and XML, and every authorised call must carry x-ms-version

Price $0.005 / 1k reqAuth OAuth or keyx402 NoHosted

Full assessment · Against #1, Backblaze B2

#7

Supabase API + MCP

BB 76.2/100

Hosted Postgres with an auto-generated REST API (PostgREST), GraphQL, auth, storage, realtime and Edge Functions, plus a Management API and an official MCP server.

Verdict OAuth 2.1 with dynamic client registration, plus personal access tokens scoped to chosen projects and permissions. The status feed lists 3 critical and 6 major platform incidents between 31 August and 31 October 2026.

Best for Agents building on or administering Supabase projects, and for retrieval that wants vectors, full-text and SQL filters in one database.

Strengths

  • OAuth 2.1 with dynamic client registration, plus personal access tokens scoped to chosen projects and permissions
  • read_only, project_ref and features cut the server from 38 tools to as few as 6 and run SQL as a read-only role
  • Destructive SQL and cost-bearing creates ask for confirmation through elicitation since v0.13.0

Weaknesses

  • The status feed lists 3 critical and 6 major platform incidents between 31 August and 31 October 2026, three of the majors on 21 and 22 October
  • Read-write with eight feature groups is the default, and the agent plugin has no read-only option
  • Untrusted data in tables can still steer an agent that reads it, as Supabase says itself

Price $25 / moAuth OAuth or keyx402 NoHosted and local

Full assessment

#8

DigitalOcean Spaces

B 69.5/100

DigitalOcean Spaces is S3-compatible object storage with a built-in CDN, sold as a $5 monthly subscription. Agents use it through AWS S3 SDKs with a Spaces access key, and manage keys through the DigitalOcean API or MCP server.

Verdict Per-bucket access keys with read or read-write-delete grants, an 800 operations a second limit per bucket and a 99.9 per cent SLA are all published. The MCP server manages keys and CDN endpoints only, not objects, the S3 reference documents no error codes, and a payment method is required before any bucket is created.

Best for Teams already on DigitalOcean that want object storage with a CDN and a flat $5 entry price for up to 250 GiB, with free transfer to Droplets in the same region.

Strengths

  • Spaces access keys can be limited to named buckets with read or read-write-delete grants, and are created through /v2/spaces/keys or the control panel
  • Limits are published with numbers, 800 operations a second per new bucket, with exponential backoff advised on 503 Slow Down
  • The Spaces SLA of 2 December 2025 gives 99.9 per cent monthly uptime per bucket, with credits of 10, 25 and 100 per cent

Weaknesses

  • The Spaces MCP server has ten tools for access keys and CDN endpoints. None reads, writes, lists or shares an object
  • The access guide and the limits page say keys cannot be created through the API, while the API reference documents POST /v2/spaces/keys
  • The limits page lists list-objects-v2 pagination as unsupported, and the compatibility page says to use ListObjectsV2 for new applications

Price $5 / moAuth API keyx402 NoHosted

Full assessment · Against #1, Backblaze B2

#9

Box API + MCP

B 68.1/100

Enterprise content platform with a REST API for files, folders, shared links, collaborations, metadata and Box AI, published as OpenAPI with year-based API versions.

Verdict Public OpenAPI 3.0 spec with 297 operations, year-based API versions and an llms.txt of Markdown pages. The status feed shows two majors in the 90 days to 1 November 2026, and the October SDK minor releases marked breaking changes without notice.

Best for Agents working inside an enterprise's existing Box content with admin oversight, Box AI extraction and audit needs.

Strengths

  • Public OpenAPI 3.0 spec with 297 operations, year-based API versions and an llms.txt of Markdown pages
  • At least 24 months between deprecation and retirement of an API version, with Deprecation response headers
  • Official remote MCP server with OAuth, 54 tools and 16 riskier ones off until an admin enables them

Weaknesses

  • Two major incidents in the 90 days to 1 November 2026, multiple services on 6 August and the Public API on 19 October
  • Minor SDK releases on 1 and 15 October 2026 carried breaking CollaborationItem type changes with no advance notice found
  • The MCP server asks for root_readwrite, so a connected agent can write wherever its user can once tools are on

Price Your planAuth OAuthx402 NoHosted

Full assessment · Against #1, Backblaze B2

#10

Dropbox API + MCP

B 67.1/100

HTTP API v2 for a user's or team's Dropbox, files, folders, upload sessions to about 2 TiB, shared links with passwords and expiry, file requests and change cursors.

Verdict Typed Stone spec of 276 routes with per-route OAuth scopes and error unions, updated 31 October 2026, and a paid bug bounty with SOC 2 and ISO 27001 reports. No numeric rate limits are published, the MCP server is still beta, and October patch releases of the Python SDK removed public methods without dated notice.

Best for An agent acting on a person's or team's existing Dropbox files, especially a solo user on the free plan.

Strengths

  • Typed Stone spec of 276 routes with per-route OAuth scopes and error unions, updated 31 October 2026
  • Granular OAuth scopes and App folder apps that see one folder
  • Official hosted MCP server with OAuth and dynamic client registration, no app to register

Weaknesses

  • MCP server is beta, extracts at most 5 MB per file and can be blocked by team admins
  • Link expiry and passwords aren't available to Basic accounts
  • No numeric rate limits published; the performance guide says Dropbox doesn't publish exact limits

Price Your planAuth OAuthx402 NoHosted

Full assessment · Against #1, Backblaze B2

Head to head

All 109 comparisons in this category

Questions

What are the highest-rated file storage and sharing APIs for AI agents?

Backblaze B2 has the highest benchmark score of the 16 ranked file storage and sharing APIs, 83.8 (A). Amazon S3 is second with 79.2 (A).

How many file storage and sharing APIs are agent-ready?

7 of the 16 ranked here grade BB or better, the bar for agent-ready on the Anchor benchmark.

Which file storage and sharing APIs accept x402 payments?

None of the ranked listings here accepts x402 for its main call yet.

Which of these file storage and sharing APIs is cheapest?

By published paid prices, Bunny Storage, at $0.005 per GB, the lowest of the 6 listings here with a paid price in this unit (free allowances aside). Plans, volume tiers and free allowances change the sum, so check the listing's price table.

How is this list ranked?

By the Anchor benchmark score out of 100, a weighted mean of the scored categories minus deductions for negative events, from public evidence re-checked as vendors change. Listings cannot pay for a place. The latest assessment behind this page is from 13 November 2026.

How this list is made

The order is the Anchor benchmark score, the same number as on each listing and in the top list. Each listing is graded from public evidence against the benchmark checklist, and the picks above are worked out from those grades, prices and facts. No listing pays for its place, and paid audits or listing help never change a score.

Full ranked table · 109 head-to-head comparisons · Best tools in every category

For companies

Do agents find, use and choose your tools?

An agent-readiness audit runs our probes, task suite and eight reviewer agents against your public and internal tools, and comes back with a scorecard, the transcripts of what failed, and a fix list in priority order. From $2,500, re-run included. We never take payment to move a rank. We do help companies earn one.