Outage incidents open right now
const url = 'https://api.nsin.ir/uptime/active?domain=example.com';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url 'https://api.nsin.ir/uptime/active?domain=example.com' \ --header 'Authorization: Bearer <token>'A one-glance answer to “is anything down?” — the incidents currently
open for this domain. Cheaper than /uptime/live (it reads only the
incident records, no traffic aggregation), so it is the endpoint to poll
for a status indicator.
Authorizations
Section titled “Authorizations ”Parameters
Section titled “ Parameters ”Query Parameters
Section titled “Query Parameters ”The domain name (for example example.com). These endpoints take the
domain as a query parameter rather than a path segment.
Example
example.comResponses
Section titled “ Responses ”Active outages.
object
Number of outage incidents currently open.
The subdomains that are down right now.
When the oldest open incident started. Absent when nothing is down.
Example generated
{ "count": 1, "hostnames": [ "example" ], "since": "2026-04-15T12:00:00Z"}The domain query parameter is missing.
The single error shape used by every endpoint.
object
Human-readable description of what went wrong.
Examples
{ "error": "domain is required"}Missing, malformed, revoked or expired API key — or the owning account is inactive.
The single error shape used by every endpoint.
object
Human-readable description of what went wrong.
Examples
{ "error": "invalid API key"}No such domain, or it is not visible to this account. Domains you cannot access are reported as not found rather than forbidden.
The single error shape used by every endpoint.
object
Human-readable description of what went wrong.
Example
{ "error": "read-only API key"}The key exceeded its request budget (300 requests per minute by default).
The single error shape used by every endpoint.
object
Human-readable description of what went wrong.
Examples
{ "error": "rate limit exceeded"}