Link Check API - Dead Link and Response Time Monitor
Sends a HEAD request (falls back to GET if HEAD fails) and reports whether the URL is alive, the HTTP status code, content type, content length, and elapsed time in milliseconds. Network failures return alive:false with status 0. Request timeout is 10 seconds.
Code examples
curl -X POST https://api.botoi.com/v1/link/check \
-H "Content-Type: application/json" \
-d '{"url":"https://github.com/pricing"}'When to use this API
Scheduled link audits for docs and blog posts
Extract every outbound link from your docs site, run each through this endpoint nightly, and post broken links (status 4xx/5xx, or alive:false) to a Slack channel. Stops rot before readers complain.
CI check for external references
In your CI pipeline, batch-check every URL referenced in markdown files before the deploy. Fail the build when a reference returns 404, keeping your published pages link-clean.
Performance regression tracking
Log response_time_ms for each of your key landing pages over time. Spikes flag CDN misconfiguration, origin slowdowns, or region-specific routing problems before users notice.
Frequently asked questions
Does this follow redirects?
Why does content_length come back null sometimes?
What does alive: false, status_code: 0 mean?
Why HEAD instead of GET?
Is there a rate limit?
Get your API key
Free tier includes 5 requests per minute with no credit card required. Upgrade for higher limits.