API Monitoring Guide

Monitor Vercel API

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.

Why Monitor Vercel Externally?

Vercel maintains a status page at vercel-status.com. So why set up external monitoring?

The problem with platform status pages

  • Deployment-specific issues: Your serverless functions may timeout or error while Vercel's platform is technically "operational"
  • Cold start problems: Serverless functions have cold starts that cause intermittent slowness, which Vercel's status page won't report
  • Edge caching issues: Stale cache may serve outdated content or error pages without triggering a platform alert
  • Region-specific outages: Vercel's edge network is globally distributed -- issues may only affect specific regions

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.

Which Vercel Endpoints to Monitor

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.

Critical
GET https://your-app.vercel.app/api/health

Serverless function health endpoint. Tests that your API routes are executing correctly.

Critical
GET https://api.vercel.com/v2/user

Vercel platform API. Requires Bearer token. Tests platform availability for deployments.

High
GET https://your-custom-domain.com/

Your custom domain. Tests DNS configuration and SSL certificate in addition to the app.

High
GET https://your-app.vercel.app/api/critical-endpoint

Your most important API route. Monitor any business-critical serverless functions.

Medium

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.

How to Set Up Vercel Monitoring

1

Add a health endpoint to your app

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.

2

Create monitors in UptimeSignal

Add HTTP monitors for your production URL and health endpoint:

URL: https://your-app.vercel.app/api/health
Method: GET
Expected status: 200
Timeout: 5000ms (accounts for cold starts)
3

Configure alerting

Set up your preferred alert channels:

  • Email -- Immediate notification to your inbox
  • Slack -- Alert your engineering team
  • Webhook -- Trigger your incident management system
4

Monitor your custom domain separately

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.

What to Watch For

Configure your monitors to alert on these conditions:

HTTP Status

  • 200 -- App is serving correctly
  • 304 -- Cached response (usually fine)
  • 500, 502, 504 -- Serverless function error or timeout

Response Time

  • < 500ms -- Normal (cached or warm)
  • 500ms-3s -- Possible cold start
  • > 5s -- Problem, approaching timeout

Response body validation

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 Vercel Goes Down: Response Playbook

When your monitoring alerts you to a Vercel issue, here's how to respond:

1. Check what's affected

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.

2. Check recent deployments

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.

3. Communicate with users

Update your status page to inform users. If the issue is on Vercel's side, link to their status page for updates.

4. Enable fallback (if available)

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.

Frequently Asked Questions

Why monitor my Vercel deployment instead of just using their status page?
Vercel's status page reports platform-wide issues but won't catch problems specific to your deployment: serverless function errors, cold start timeouts, edge caching issues, or DNS misconfigurations. External monitoring detects user-facing issues in 1-2 minutes -- before your users report them.
Which Vercel endpoints should I monitor?
Monitor your production URL for overall site health and a /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.
Can I monitor my Vercel deployment for free?
Yes. UptimeSignal's free tier includes 25 monitors with 5-minute check intervals. You can monitor your Vercel deployment, API routes, and other services. Commercial use is allowed on the free tier.
How do I handle serverless function cold starts in monitoring?
Cold starts can cause occasional slow responses (1-3 seconds) that trigger false alerts. Set your response time threshold to 5 seconds to avoid false positives. Vercel Pro plans have shorter cold starts, and Edge Functions have near-zero cold start times for latency-sensitive routes.
What's the difference between monitoring Edge Network and serverless functions?
Vercel's Edge Network serves static assets and cached pages -- it rarely goes down completely. Serverless functions (API routes) run on demand and can fail independently due to timeouts, memory limits, or runtime errors. Monitor both: your homepage (Edge) and an /api/health endpoint (serverless) to catch issues in either layer.

Start monitoring Vercel in 60 seconds

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.

Monitor Other APIs