API Building Blocks

Vercel REST API

A platform API for managing deployments, projects, domains, environment variables, logs, caches, integrations, teams, and other application infrastructure.

Using the REST API

Interact programmatically with your Vercel account using the SDK or direct HTTP requests. You can deploy new versions of web applications, manage custom domains, retrieve information about deployments, and manage secrets and environment variables for projects.

The API supports any programming language or framework that can send HTTP requests.

API basics

The API is exposed as an HTTP/1 and HTTP/2 service over SSL. All endpoints live under the URL https://api.vercel.com and follow the REST architecture.

Authentication

Vercel Access Tokens are required to authenticate and use the Vercel API. Include the token in the Authorization header:

Authorization: Bearer <TOKEN>

Create and manage Access Tokens in your account settings.

Accessing team resources

By default, you can access resources in your personal account. To access resources owned by a team, append the Team ID as a query string:

https://api.vercel.com/v6/deployments?teamId=[teamID]

Rate limits

The API limits the number of calls you can make over a period of time. Rate limits are specified via response headers: X-RateLimit-LimitX-RateLimit-Remaining, and X-RateLimit-Reset. See the limits documentation for details.

Endpoints

Browse all available REST API endpoints grouped by category.