Your application went down. After twenty minutes of investigation, you found the cause: Stripe's webhooks were failing silently. Or Auth0's token endpoint was returning 503s. Or your CDN was serving stale content because the origin validation was failing.
You didn't cause the outage. But your users experienced it, your support inbox filled up, and your on-call team burned an hour diagnosing something they couldn't fix.
This is the third-party dependency problem. External APIs and services have become load-bearing components of most modern applications — and their failures cause your downtime. This guide covers how to monitor them effectively so you know before your users do.
Why Third-Party API Failures Cause Your Downtime
Modern applications are increasingly composed of external services:
- Payment processing — Stripe, PayPal, Braintree handle transactions your application can't process itself
- Authentication — Auth0, Clerk, Firebase Auth handle identity that your app delegates completely
- Content delivery — Cloudflare, Fastly, AWS CloudFront sit between your origin and every user
- Communication — SendGrid, Mailgun, Twilio handle email and SMS delivery
- Storage and compute — AWS S3, Vercel, Render host assets and run services
- Data enrichment — Clearbit, Segment, Mixpanel receive or provide data your app depends on
When any of these experience issues, your application breaks — even if your own code is running perfectly. The dependency chain means you inherit the reliability profile of every external API you call.
The catch: most of these services don't alert you when they're having problems. You find out when customers complain, when checkout stops working, when new users can't log in.
External Dependency Monitoring Strategies
1. Monitor Your Own Integration Endpoints
The most direct approach: monitor the integration points in your own application that call external APIs.
Rather than monitoring Stripe directly (which you don't control and can't verify from your network perspective), monitor your own /api/checkout endpoint or /api/auth/login endpoint. When those return errors or slow responses, you know your integration is broken — whether the cause is your code or the external API.
This is your most actionable signal because these are the endpoints your users actually hit.
2. Check Third-Party Status Pages
Every major API provider maintains a public status page:
- Stripe: status.stripe.com
- AWS: health.aws.amazon.com
- Cloudflare: www.cloudflarestatus.com
- Auth0: status.auth0.com
- Vercel: www.vercel-status.com
Most provide RSS feeds and webhook subscription options. The limitation: providers often underreport partial incidents, and status page updates lag the actual incident by minutes to hours.
Use status pages as context during incident investigation, not as your primary alerting mechanism.
3. Keyword Monitoring for Status Page Signals
A more proactive approach: configure uptime monitors that check third-party status pages and alert you when they contain words like "incident," "degraded," "investigating," or "outage."
Vigilmon supports keyword monitoring: you specify a URL and a word or phrase, and Vigilmon alerts you if the keyword appears (or disappears) from the page. Configure this for each critical dependency:
- Monitor
status.stripe.comfor the keyword "incident" - Monitor
status.auth0.comfor the keyword "degraded" - Monitor
www.cloudflarestatus.comfor the keyword "disruption"
When the keyword is detected, you're alerted before the typical 5–15 minute lag of manual status page checking — often before your own users notice.
4. Synthetic Transaction Monitoring
For critical paths, go beyond endpoint checks to full synthetic transactions: automated flows that exercise the actual integration, not just the HTTP endpoint.
For a payment integration, a synthetic transaction might:
- Create a test product
- Initiate a checkout session
- Complete a test payment with a Stripe test card
- Verify the order confirmation email arrives
This verifies the entire integration end-to-end, not just that the Stripe API returns 200. The downside: more complex to set up and maintain, and requires test-mode credentials for external APIs.
Health Check Patterns for Specific Integration Types
Payment Gateways (Stripe, PayPal, Braintree)
What to monitor:
- Your own payment endpoint response time and error rate
- Stripe's
/v1/chargesAPI responsiveness (via a test-mode auth check, not a real charge) - Status page keyword monitoring for "payment" + "degraded"
Alert on:
- Your
/api/checkoutendpoint returning 5xx errors - Checkout response time exceeding 10 seconds (most payment flows should complete in 2–4s)
- Stripe webhook delivery failures in your own logs
Watch for: Stripe often has region-specific incidents. A 1% error rate on your checkout endpoint in European traffic while US traffic is unaffected suggests a regional Stripe issue.
Authentication Providers (Auth0, Clerk, Firebase Auth)
What to monitor:
- Your login endpoint response time and error rate
- Auth provider's token endpoint availability (a lightweight HEAD request to the token URL)
- New user registration flow (if signup is critical path)
Alert on:
- Login endpoint returning 5xx errors
- Auth token endpoint responding slowly (>3s) — this directly impacts every authenticated user action
- Spike in 401/403 errors across authenticated endpoints (suggests token validation failures)
Watch for: Auth issues often present as 401 errors on API calls rather than failures on the login endpoint itself. Monitor both.
CDN and Edge Providers (Cloudflare, Fastly, AWS CloudFront)
CDN monitoring is subtle because your CDN is usually your front door — if it's having issues, all your other monitors (which check through the CDN) may also appear down, masking the actual cause.
What to monitor:
- Your origin URL directly (bypassing the CDN) vs. your CDN URL — divergence indicates a CDN-layer issue
- Cache hit rate (sudden drops suggest origin is being hit at unusual volume)
- CDN status page keyword monitoring
Alert on:
- Response time increase on CDN edge URL without corresponding increase on origin URL
- Cache headers absent or malformed on expected cached assets
- Error rate spike on CDN URL while origin URL is healthy
Email Delivery (SendGrid, Mailgun, Postmark)
What to monitor:
- Delivery rates via the provider's API or dashboard (most providers expose delivery statistics via API)
- Bounce and spam rates (spikes indicate deliverability issues)
- Provider status page keyword monitoring for "delivery" or "delayed"
Alert on:
- Delivery rate dropping below expected baseline
- Bounce rate spike (may indicate IP reputation issue)
- Email delay exceeding acceptable window for transactional emails
Alerting on Third-Party Degradation
Setting Appropriate Thresholds
External API degradation often presents as increased latency before hard failures. Thresholds to configure:
- Response time warning: when the integration endpoint takes >2x the normal baseline
- Response time critical: when it exceeds absolute SLA threshold (e.g., >10s for checkout)
- Error rate warning: when error rate on the endpoint exceeds 1–2%
- Error rate critical: when error rate exceeds 5%
Alert Routing
Third-party incidents are fundamentally different from internal code incidents — you can't fix them, only manage around them. Route third-party degradation alerts to a channel where the team can:
- Confirm it's a third-party issue (not your code)
- Enable a degraded-mode fallback if one exists
- Update your status page proactively
- Prepare a customer communication
Don't route these to the same high-urgency channel as your own infrastructure alerts. Third-party issues require communication management, not incident response.
Using Vigilmon for Third-Party Monitoring
Vigilmon handles several aspects of this monitoring strategy out of the box:
Endpoint monitoring: Set up monitors for your own integration endpoints — your checkout API, your login endpoint, your email delivery confirmation flow. Multi-region consensus means you won't get false alerts from transient failures.
Keyword monitoring: Monitor third-party status pages for incident keywords. Vigilmon checks the page content and alerts when specified terms appear or disappear.
Status page: When a third-party integration is causing visible user impact, update your Vigilmon status page to keep customers informed. This reduces support ticket volume and demonstrates transparency.
Slack integration: All alerts route to Slack with enough context to distinguish third-party degradation from internal incidents.
Building Resilience Beyond Monitoring
Monitoring tells you about third-party failures after they start. Resilience engineering reduces their impact:
Circuit breakers: When a third-party API is consistently failing, stop calling it temporarily and use a fallback path rather than hammering a broken service.
Graceful degradation: Design checkout to work without personalization if a data enrichment API is down. Design login to continue without social auth if the OAuth provider is degraded. Know your degraded mode before you need it.
Timeout configuration: Most HTTP client libraries default to long timeouts (30–60 seconds). Third-party API calls should have aggressive timeouts — usually 5–10 seconds — so a slow provider doesn't hold connections open and cause your server to queue-exhaust.
Retry with backoff: Transient failures often resolve within seconds. Implement retry with exponential backoff for non-critical third-party calls. Don't retry payment initiations.
Conclusion
Third-party API dependencies have become unavoidable in modern application development. But "we can't monitor what we don't control" is no longer a valid reason to be caught off guard by their outages.
Monitor your own integration endpoints as the primary signal. Use keyword monitoring on provider status pages as an early warning layer. Set appropriate thresholds that distinguish degradation from normal variance. Route alerts to the right team with the right urgency. And build degraded modes before you need them.
Start with the integrations that would break checkout, login, or core user workflows first — those are the third-party failures that cause real customer impact.
Set up keyword monitoring and endpoint checks at vigilmon.online — free tier includes 5 monitors, 1-minute intervals, multi-region consensus, and Slack integration. No credit card required.
Tags: #monitoring #devops #apis #reliability #uptime