API Reference

@vercel/blob

Serverless blob storage client for Vercel with put, list, del, and head operations and automatic CDN distribution.

Official Documentation ↗
CompatibilityThis documentation covers version v0.27. Check the official docs for the latest API surface.

Installation

npmnpm install @vercel/blob

Methods

@vercel/blob is serverless blob storage client for vercel with put, list, del, and head operations and automatic cdn distribution. This page documents the core methods, installation, and common usage patterns for the current stable release.

Installation

Install @vercel/blob with your preferred package manager using the command shown in the frontmatter. The package is published to the npm registry and ships with TypeScript types where applicable.

Core methods

The methods listed in the frontmatter cover the primary API surface. Each signature reflects the v0.27 release. Consult the official documentation linked in sourceUrl for advanced options, edge cases, and breaking changes between major versions.

Frequently asked questions

The faq section in the frontmatter answers the most common questions about @vercel/blob, including comparisons with alternatives, configuration tips, and runtime requirements. If your question is not covered, check the source URL for the full guide.

Errors

The following points are quoted verbatim from the official documentation. 来源:https://vercel.com/docs/storage/vercel-blob · 取证方式:HTTP GET 官方 README/文档页(HTML 去标签) · 抓取时间:2026-11-07T13:53:21.226Z. Any error type, throw condition or recovery step not stated there is left unspecified; this page does not infer exception classes or return values.

Security notes

Quoted verbatim from the official documentation; this is not a complete threat model. 来源:https://vercel.com/docs/storage/vercel-blob · 取证方式:HTTP GET 官方 README/文档页(HTML 去标签) · 抓取时间:2026-11-07T13:53:21.226Z.

FAQ

Is it S3-compatible?
No. It is a proprietary API; use AWS S3 SDK for S3-compatible storage.
What is the max file size?
4 GB for a single upload; use multipart for larger files.
Does it work in edge functions?
Yes. It uses fetch and works in Vercel Edge Functions and Cloudflare Workers.