web down

Developer reference

API reference

Run a one-time website check with JSON. This reference separates the available public endpoint from the planned customer API.

Available now

The public endpoint is POST /api/free-check. It requires no account, API key, or Authorization header. It does not create monitors or provide account data.

Customer API keys and a supported API for managing monitors are not available. Dashboard routes use browser sessions and are not a public customer API.

POST

/api/free-check

The request body is JSON with a required, nonempty string field named url. HTTP and HTTPS are supported. A hostname without a scheme defaults to HTTPS. Local hostname patterns and literal private IP ranges are rejected by input validation.

The check sends an HTTP GET, follows up to five redirects, and uses an eight-second HTTP timeout. DNS and certificate inspection add time to the complete API request. Each call runs a check. This endpoint does not use the public result page's cache.

curl --request POST 'https://web-down.com/api/free-check' \
	--header 'Content-Type: application/json' \
	--data '{"url":"https://example.com"}'
const response = await fetch("https://web-down.com/api/free-check", {
	method: "POST",
	headers: { "Content-Type": "application/json" },
	body: JSON.stringify({ url: "https://example.com" }),
});
const result = await response.json();
if (!response.ok) {
	throw new Error(result.error);
}
console.log(result.status, result.duration_ms);

These examples are for a terminal or server-side JavaScript. Cross-origin browser access is not part of this endpoint's documented contract.

Response fields

HTTP 200 returns the result object directly. A target that is down still returns HTTP 200 if the check completes. Inspect status and status_reason for the target result, rather than treating the presence of error as an API failure.

A failed target request or a 5xx target response is down. A 4xx response is degraded, including 401 and 403. A 2xx response taking more than 3,000 milliseconds is degraded; faster 2xx responses and 3xx responses are up.

The following is an illustrative HTTP-target response, not a live measurement. Optional fields may be absent. IP addresses and email-like strings in result values are replaced with [redacted].

{
	"domain": "example.com",
	"url": "http://example.com/",
	"final_url": "http://example.com/",
	"checked_at": "2026-11-22T12:00:00.000Z",
	"duration_ms": 142,
	"status": "up",
	"status_reason": "ok",
	"http_status": 200,
	"http_status_text": "OK",
	"dns": {
		"resolved": true,
		"has_a_record": true,
		"has_aaaa_record": true,
		"nameservers": [
			"ns1.example.com"
		],
		"mx_hosts": [],
		"txt_count": 0,
		"resolution_ms": 24
	},
	"ssl": null,
	"tech_stack": [],
	"redirect_chain": [],
	"headers_redacted": {
		"content-type": "text/html"
	},
	"body_excerpt": "Example Domain"
}
Free-check response fields
FieldTypeDescription
domainstringNormalized hostname for the requested URL.
urlstringNormalized input URL.
final_urlstringFinal URL reached by the HTTP check.
checked_atstringISO 8601 timestamp for result assembly.
duration_msnumberDuration of the HTTP check in milliseconds, not the full API request.
status"up" | "down" | "degraded"Target verdict. Independent of the API HTTP response status.
status_reasonstringReason for the target verdict.
http_status, http_status_textnumber, string; optionalTarget HTTP status code and status text when a response is available.
dnsobjectDNS resolution details described below.
sslobject | nullCertificate information for HTTPS input. Null for HTTP input.
tech_stackarrayDetected hints with name and category. Hints are not a full inventory.
redirect_chainstring[]Redirect destination URLs recorded during the check.
headers_redactedobjectSelected response headers, with string values subject to redaction.
body_excerptstring; optionalResponse preview of up to 400 characters before redaction.
errorstring; optionalHTTP check diagnostic. Can appear in an HTTP 200 API response.

DNS object

resolved, has_a_record, and has_aaaa_record are booleans. nameservers and mx_hosts are hostname arrays. txt_count is a record count, and resolution_ms is a duration in milliseconds. The type also permits an optional error string. Raw A and AAAA addresses are not included.

SSL object

available is a boolean. Optional string fields are issuer, subject, valid_from, valid_to, protocol, and error. Dates are ISO 8601 strings. Optional days_remaining is a number. Certificate availability alone is not proof that the certificate is valid or trusted.

Tech-stack hints

Each hint has a string name and a category of cdn, host, framework, server, cms, analytics, or security. An empty array means no hints were detected.

Errors and limits

HTTP 400 reports invalid JSON, a missing or invalid url field, or a rejected URL. Errors have a string error field. These examples show exact messages for common failures.

{
	"error": "Invalid JSON body."
}
{
	"error": "Missing 'url' field."
}
{
	"error": "Only http and https URLs are supported."
}

The free endpoint allows 30 checks per hour per hashed IP prefix. The current limiter runs in server memory, so instances and restarts affect counters. Calls that reach URL validation count toward the allowance, even when validation then rejects the URL.

HTTP 200 and 429 include X-RateLimit-Remaining and X-RateLimit-Reset. The reset value is a Unix timestamp in milliseconds. HTTP 429 also includes reset_at with that timestamp in the JSON body. Wait until the supplied reset time before retrying.

{
	"error": "You've reached the free check limit. Try again in an hour, or sign up for scheduled monitoring with Free credits.",
	"reset_at": 1795352400000
}

The timestamp above is illustrative. Use the value returned with your request. Scheduled monitoring uses credits and is separate from this one-shot endpoint.

Planned · unavailable

Customer API

Authenticated access to monitors, check history, incidents, notification channels, and status pages is planned. No customer endpoints, API key setup, authentication scheme, or release date are published yet. This section is a statement of scope, not an available integration.

Use the dashboard to manage your account today. If you need a particular integration, describe the workflow through the contact form.

web-down.com is provided by flndrn, Belgium. Terms of service and privacy policy apply.