How to Monitor Third-Party APIs: The Complete Developer Guide (2026)
📡 Monitor your APIs — know when they go down before your users do
Better Stack checks uptime every 30 seconds with instant Slack, email & SMS alerts. Free tier available.
Affiliate link — we may earn a commission at no extra cost to you
How to Monitor Third-Party APIs: The Complete Developer Guide (2026)
Quick answer: To monitor third-party APIs, use a dedicated monitoring tool that checks status every 60 seconds, validates response bodies (not just status codes), and sends instant alerts when a vendor goes down. For 1,000+ popular APIs, API Status Check provides live status pages and alertable monitoring in one place.
Your app probably depends on 5-15 third-party APIs. OpenAI for AI features. Stripe for payments. Twilio for SMS. GitHub for code integrations. Cloudflare for edge routing. When any one of them goes down, your users notice — and right now, you probably find out from them, not from an alert.
This guide shows you how to build real monitoring for every API your app depends on.
The Two Levels of Third-Party API Monitoring
Level 1: Passive Status Tracking (Free, Low-Effort)
Bookmark or subscribe to vendor status pages for your critical dependencies. Most vendors offer:
- RSS/Atom feeds (subscribe in an RSS reader)
- Email subscription to incident updates
- Slack app integrations (e.g., Stripe has a Slack bot)
Downside: You're relying on the vendor to self-report. They often don't until the incident is confirmed and investigated — typically 10-30 minutes after it starts. For anything customer-facing, this is too slow.
Level 2: Active Synthetic Monitoring (Recommended)
Make actual API calls to the third-party service on a regular interval (every 60 seconds is the practical minimum), validate the response, and get alerted immediately when something is wrong.
This is the only way to know before your users do.
What to Check in a Third-Party API Monitor
A simple status-code check (is the API returning 200?) is better than nothing but misses a large category of real incidents. Here's what a thorough check looks like:
1. HTTP Status Code
The baseline. 2xx responses are OK. 4xx and 5xx are errors. But a 200 is not always healthy.
2. Response Body Validation
Check that the response body contains what it should. For a payment API, validate that the response includes an id field. For an AI API, validate that choices is non-empty. Any response that matches the status code but not the expected schema is a silent failure.
3. Response Time (Latency)
Set a threshold. If a normally 200ms API starts taking 3 seconds, that's degraded performance — not an outage, but a problem worth knowing about.
4. Response Headers
Useful for APIs that communicate rate-limit status via headers (X-RateLimit-Remaining) or service health via custom headers.
A Monitoring Strategy for Common Third-Party APIs
Here's what to monitor for the most common categories of third-party dependencies:
AI APIs (OpenAI, Anthropic, Google Gemini)
These are high-criticality for any AI-powered feature. Monitor:
- Chat completions endpoint with a minimal prompt (1-2 tokens)
- Expected response:
choicesarray with at least one item - Alert threshold: > 5 seconds latency or empty
choices - Note: These APIs have had rolling outages where some models degrade while others stay up. Monitor each model you depend on separately.
Check live status: Is OpenAI Down? | Is Claude Down?
Payment APIs (Stripe, PayPal, Square)
Revenue-critical. A 10-minute Stripe outage during peak hours costs real money. Monitor:
- The specific API endpoint your checkout uses (usually charges or payment intents)
- Use a test-mode API key for monitoring — don't create real test charges
- Expected response: valid intent object with
status: 'requires_payment_method'or similar - Alert immediately on any degradation
Check live status: Is Stripe Down? | Is PayPal Down?
Communication APIs (Twilio, SendGrid, Postmark)
Critical for transactional flows (password resets, order confirmations). Monitor:
- Send a real test message to a monitoring inbox on a 5-minute interval (cheaper than per-minute)
- Validate delivery in the monitoring inbox (end-to-end test)
- Or monitor the API's
/healthor status endpoint if available - Alert on delivery failure within 60 seconds of expected delivery
Check live status: Is Twilio Down? | Is SendGrid Down?
Cloud Infrastructure (AWS, GCP, Azure, Vercel, Cloudflare)
Often monitored at the infrastructure level, but the services you depend on within these platforms are distinct. AWS S3 going down is different from AWS Lambda going down. Monitor:
- The specific service endpoint you use (e.g., your S3 bucket's presigned URL endpoint, your Lambda function URL)
- Not just
status.aws.amazon.com— that's the vendor's self-report
Check live status: Is AWS Down? | Is Cloudflare Down?
Auth APIs (Auth0, Clerk, Firebase Auth)
If your auth is down, your entire app is effectively down for logged-out users. Monitor:
- The
/well-known/openid-configurationendpoint (universal across auth providers) - Token validation endpoint with a long-lived test token
- Alert immediately — no degraded state is acceptable for auth
Check live status: Is Clerk Down? | Is Okta Down?
Setting Up Monitoring: A Practical Walkthrough
Option 1: Use API Status Check Alert Pro (Recommended for Most Teams)
Alert Pro monitors 10 APIs for $9/mo with 60-second check intervals, body validation, and instant email alerts. Setup takes under 2 minutes per API.
Setup steps:
- Sign up for Alert Pro
- Add each critical third-party API endpoint
- Configure the expected response pattern (status code + optional body keyword)
- Set your alert email (or Slack webhook)
- Done — you'll be alerted within 60 seconds of any outage
The benefit over DIY: Alert Pro also provides live status pages for 1,000+ popular APIs, so you can quickly check if a known service is down without waiting for the vendor's own status page to update.
Option 2: DIY with an Uptime Monitor (Budget Option)
Tools like UptimeRobot (free tier: 50 monitors) or Freshping (free: unlimited monitors) let you monitor HTTP endpoints at 5-minute intervals for free. The limitations:
- 5-minute check intervals mean you can miss short outages
- Status-code-only checks (most free plans)
- No response body validation
- You need to know which URL to monitor per vendor (varies by API)
Option 3: Build Your Own with a Cron Job
If you already have infrastructure and want complete control, you can build a monitoring script that runs every minute via a cron job or scheduled function.
// Minimal third-party API health check
async function checkStripeHealth(): Promise<{ ok: boolean; latencyMs: number }> {
const start = Date.now();
try {
const res = await fetch('https://api.stripe.com/v1/charges?limit=1', {
headers: { Authorization: `Bearer ${process.env.STRIPE_SECRET_KEY}` },
signal: AbortSignal.timeout(5000),
});
const body = await res.json();
const ok = res.status === 200 && Array.isArray(body.data);
return { ok, latencyMs: Date.now() - start };
} catch {
return { ok: false, latencyMs: Date.now() - start };
}
}
Run this as a Vercel Cron Job, AWS EventBridge rule, or GitHub Actions scheduled workflow. Send alerts via Resend or Twilio when ok is false. The downside: you're now maintaining monitoring infrastructure, handling alert deduplication, and managing on-call rotation yourself.
Building Resilience: What to Do When a Third-Party API Goes Down
Monitoring tells you when something broke. Your architecture determines how much it hurts.
Pattern 1: Graceful Degradation
When an AI API is down, show a static fallback instead of an error. When a payment API is down, show a "payment processing unavailable — try again shortly" message instead of a 500 error.
async function getAICompletion(prompt: string): Promise<string> {
try {
return await openai.chat.completions.create({ ... });
} catch (err) {
// Log + alert, then degrade gracefully
await sendAlert('openai', err);
return STATIC_FALLBACK_RESPONSE;
}
}
Pattern 2: Circuit Breaker
Stop calling a failing API after N failures to avoid overwhelming a degraded service and to reduce latency for your users.
const stripeBreaker = new CircuitBreaker(stripeCharge, {
threshold: 5, // Open after 5 failures
timeout: 30_000, // Try again after 30 seconds
onOpen: () => sendAlert('stripe-circuit-open'),
});
Pattern 3: Queue for Recovery
For non-real-time operations (email sending, analytics events), queue requests to an outaged API and replay them when service recovers. Works well for communication APIs where delayed delivery is acceptable.
The 5-Minute Third-Party API Audit
Run through this checklist for your app right now:
- List all third-party APIs your app calls in production
- Identify which ones are critical-path (without them, core features break)
- For each critical-path API: is there a monitoring check in place?
- For each critical-path API: is there a graceful degradation path?
- Who gets alerted when a third-party API goes down? (If the answer is "no one until users complain," fix this first)
Quick Reference: Live Status Pages for Common APIs
API Status Check maintains live status pages for 1,000+ popular services, updated in real time. Check these during incidents:
AI APIs: OpenAI | Anthropic | Google Gemini | Groq | Perplexity
Payments: Stripe | PayPal | Square | Plaid
Cloud: AWS | GCP | Azure | Vercel | Cloudflare
Dev Tools: GitHub | GitLab | Docker | npm
Communication: Twilio | SendGrid | Slack
Summary
Third-party API monitoring is the single most overlooked reliability practice for SaaS teams. The fix is not complex:
- List your critical dependencies — every API call that would break your app if it failed
- Set up active monitoring — real checks every 60 seconds with response body validation
- Get alerted immediately — not from users, not from a status page, but from your own monitor
- Build graceful degradation — so when (not if) a vendor has an outage, your app keeps working
The tools to do this are cheap and fast to set up. There's no reason to be the last to know when an API your business depends on goes down.
🛠 Tools We Use & Recommend
Tested across our own infrastructure monitoring 200+ APIs daily
SEO & Site Performance Monitoring
Used by 10M+ marketers
Track your site health, uptime, search rankings, and competitor movements from one dashboard.
“We use SEMrush to track how our API status pages rank and catch site health issues early.”
API Status Check
Stop checking API status pages manually
Get instant email alerts when OpenAI, Stripe, AWS, and 100+ APIs go down. Know before your users do.
14-day free trial · $0 due today · $9/mo after · Cancel anytime
Browse Free Dashboard →