Vercel platform API for managing deployments, projects, domains, and environment variables. Best for CI/CD automation workflows — triggering deployments, checking build status, and managing project configuration.
7 example endpoints available through Lava’s AI Gateway. See the Vercel API docs for full documentation.
This provider is managed — no additional setup required.
This is a catch-all provider — any valid URL under https://api.vercel.com is supported. Vercel REST API. Use GET/POST/PUT/PATCH/DELETE on any versioned endpoint. The endpoints below are curated examples.
Endpoints
List all projects
GET https://api.vercel.com/v9/projects — Free
const data = await lava . gateway ( 'https://api.vercel.com/v9/projects' , { method: 'GET' });
curl "https://api.lava.so/v1/forward?u=https%3A%2F%2Fapi.vercel.com%2Fv9%2Fprojects" \
-H "Authorization: Bearer $LAVA_SECRET_KEY "
List deployments
GET https://api.vercel.com/v6/deployments — Free
const data = await lava . gateway ( 'https://api.vercel.com/v6/deployments' , { method: 'GET' });
curl "https://api.lava.so/v1/forward?u=https%3A%2F%2Fapi.vercel.com%2Fv6%2Fdeployments" \
-H "Authorization: Bearer $LAVA_SECRET_KEY "
List domains
GET https://api.vercel.com/v5/domains — Free
const data = await lava . gateway ( 'https://api.vercel.com/v5/domains' , { method: 'GET' });
curl "https://api.lava.so/v1/forward?u=https%3A%2F%2Fapi.vercel.com%2Fv5%2Fdomains" \
-H "Authorization: Bearer $LAVA_SECRET_KEY "
Create a deployment
POST https://api.vercel.com/v13/deployments — Free
const data = await lava . gateway ( 'https://api.vercel.com/v13/deployments' , { body: { "name" : "my-project" , "target" : "production" } });
curl -X POST "https://api.lava.so/v1/forward?u=https%3A%2F%2Fapi.vercel.com%2Fv13%2Fdeployments" \
-H "Authorization: Bearer $LAVA_SECRET_KEY " \
-H "Content-Type: application/json" \
-d '{"name":"my-project","target":"production"}'
Update a project
PATCH https://api.vercel.com/v9/projects/my-project — Free
const data = await lava . gateway ( 'https://api.vercel.com/v9/projects/my-project' , { method: 'PATCH' , body: { "name" : "renamed-project" } });
curl -X PATCH "https://api.lava.so/v1/forward?u=https%3A%2F%2Fapi.vercel.com%2Fv9%2Fprojects%2Fmy-project" \
-H "Authorization: Bearer $LAVA_SECRET_KEY " \
-H "Content-Type: application/json" \
-d '{"name":"renamed-project"}'
Add a domain to a project
PUT https://api.vercel.com/v10/projects/my-project/domains — Free
const data = await lava . gateway ( 'https://api.vercel.com/v10/projects/my-project/domains' , { method: 'PUT' , body: { "name" : "example.com" } });
curl -X PUT "https://api.lava.so/v1/forward?u=https%3A%2F%2Fapi.vercel.com%2Fv10%2Fprojects%2Fmy-project%2Fdomains" \
-H "Authorization: Bearer $LAVA_SECRET_KEY " \
-H "Content-Type: application/json" \
-d '{"name":"example.com"}'
Delete a deployment
DELETE https://api.vercel.com/v13/deployments/dpl_123 — Free
const data = await lava . gateway ( 'https://api.vercel.com/v13/deployments/dpl_123' , { method: 'DELETE' });
curl -X DELETE "https://api.lava.so/v1/forward?u=https%3A%2F%2Fapi.vercel.com%2Fv13%2Fdeployments%2Fdpl_123" \
-H "Authorization: Bearer $LAVA_SECRET_KEY " \
-H "Content-Type: application/json"
Next Steps
All Providers Browse all supported AI providers
Forward Proxy Learn how to construct proxy URLs and authenticate requests