-
Notifications
You must be signed in to change notification settings - Fork 0
Connecting Vercel
Stackwatch tracks your Vercel bandwidth, build minutes, and function invocations against your plan's limits, with per-project deployment breakdowns on Pro.
- A Vercel account on the Pro or Team plan. The Vercel billing API is not available on Hobby accounts — if you connect a Hobby account, the integration will show an "unsupported" status.
- A Vercel API Token with access to your account's billing data.
- Go to vercel.com/account/tokens
- Click Create
- Give it a name, e.g.
stackwatch - Set the scope to Full Account (required to read billing/usage data)
- Set an expiry (no expiry is fine for long-term monitoring, but rotation is good practice)
- Click Create Token and copy it — it's only shown once
- Navigate to your project in the Stackwatch dashboard
- Go to the project's Integrations tab
- Find Vercel and click Add account
- Paste your token into the API Token field
- Give the integration a label (e.g.
vercel-prod) - Click Connect
| Metric | Description |
|---|---|
| Bandwidth | Data transferred vs your plan's monthly bandwidth limit (GB) |
| Build minutes | Total build execution time vs monthly limit |
| Function invocations | Serverless function executions vs monthly limit |
| Metric | Description |
|---|---|
| Edge function execution | Edge function execution time (ms) vs limit |
| Image optimizations | Optimized images served vs monthly limit |
| Analytics events | Analytics events recorded vs limit |
| Deployments | Total deployments this month vs account limit |
| Per-project deployments | Deployment count broken down per project for the current month |
The token was revoked or expired. Generate a new one and reconnect from the project's Integrations tab.
The token scope doesn't cover billing data. Make sure you selected Full Account scope when creating it. Team-scoped tokens for a specific team may not have access to account-level billing.
The Vercel billing/usage API is only available on Pro and Team plans. Vercel does not expose usage data for Hobby accounts via their API. You'll need to upgrade your Vercel plan to use this integration.
Vercel's usage API updates periodically, not in real time. If you've just started a billing period or had very little activity, values may be 0. Check back after your next Stackwatch poll cycle.
- Create a new token at vercel.com/account/tokens
- In Stackwatch, go to the project's Integrations tab, find your Vercel integration, and click the edit (pencil) icon
- Paste the new token and save