
Vercel Has a Free API — Deploy, Manage Domains, and Set Env Vars Programmatically (No Credit Card)
Most developers know Vercel for deploying Next.js apps. But Vercel also has a REST API that lets you manage deployments, domains, environment variables, and logs programmatically. Free tier: 100 GB bandwidth, serverless functions, edge functions, unlimited deployments from CLI or API. No credit card. Here's what you can do with the API — and the code to get started. What the API Covers Endpoint What it does /v13/deployments Create, list, delete deployments /v9/projects Manage projects and env vars /v4/domains Add, verify, configure domains /v1/integrations Manage marketplace integrations /v2/user Account info, usage stats Quick Start: List Your Deployments # Get your token: vercel.com/account/tokens export VERCEL_TOKEN = "your_token_here" # List recent deployments curl -s -H "Authorization: Bearer $VERCEL_TOKEN " "https://api.vercel.com/v6/deployments?limit=5" | jq '.deployments[] | {name, url, state, created}' Output: { "name" : "my-nextjs-app" , "url" : "my-nextjs-app-abc123.vercel.a
Continue reading on Dev.to Webdev
Opens in a new tab




