API Monitoring Guide
Get alerted when Vercel has issues before your users notice broken pages or failed API routes. Learn which endpoints to monitor and how to set up proactive alerting.
Vercel powers millions of frontend deployments and serverless functions. Your Next.js app, API routes, and static sites all depend on Vercel's edge network and serverless infrastructure. When issues arise, pages fail to load, API routes timeout, and deployments get stuck. This guide covers how to monitor effectively.
Vercel maintains a status page at vercel-status.com. So why set up external monitoring?
External monitoring checks what your users actually see -- not what Vercel's internal systems report. That's the difference between catching a broken deployment and learning about it from angry users.
Monitor your actual deployment rather than Vercel's platform APIs:
GET https://your-app.vercel.app/
Your production URL. Tests the Edge Network, static rendering, and DNS.
GET https://your-app.vercel.app/api/health
Serverless function health endpoint. Tests that your API routes are executing correctly.
GET https://api.vercel.com/v2/user
Vercel platform API. Requires Bearer token. Tests platform availability for deployments.
GET https://your-custom-domain.com/
Your custom domain. Tests DNS configuration and SSL certificate in addition to the app.
GET https://your-app.vercel.app/api/critical-endpoint
Your most important API route. Monitor any business-critical serverless functions.
Next.js tip: Create a simple /api/health route that returns 200 with system info. This tests the serverless runtime independently from your static pages. See our Next.js monitoring guide for code examples.
Create an /api/health route in your Next.js or serverless app that returns a 200 status with basic system info. This tests the serverless runtime.
Add HTTP monitors for your production URL and health endpoint:
Set up your preferred alert channels:
Add a second monitor for your custom domain (not the .vercel.app URL). This catches DNS and SSL issues that the default Vercel URL wouldn't reveal.
Configure your monitors to alert on these conditions:
Check that the response contains expected content. For your health endpoint, validate "status":"healthy". For your homepage, check for a known string in your HTML. This catches cases where Vercel serves an error page with a 200 status.
When your monitoring alerts you to a Vercel issue, here's how to respond:
Determine if it's your deployment, Vercel's platform, or your custom domain. Check vercel-status.com and try your .vercel.app URL vs. your custom domain to isolate the issue.
If the issue started after a deployment, roll back to the previous version in Vercel's dashboard. Vercel keeps all deployments, so rollback is instant.
Update your status page to inform users. If the issue is on Vercel's side, link to their status page for updates.
If you have a static export or CDN fallback, switch DNS to serve cached content. For critical applications, consider hosting a minimal static fallback page on a different provider.
/api/health serverless function to test backend functionality. Optionally, monitor api.vercel.com/v2/user with a Bearer token to check platform API availability. Focus on your deployment, not Vercel's platform.
/api/health endpoint (serverless) to catch issues in either layer.
Add your Vercel deployment to your monitors and get alerted on issues instantly. Free tier includes 25 monitors.
Start monitoring free →No credit card required. Commercial use allowed.