Downdetector

Usage Instructions

Track real-time service outages with the Downdetector Enterprise API. Search monitored companies, read their current status and report trends, inspect problem indicators, and pull incident timelines to power outage alerts and dashboards. Requires a Downdetector Enterprise API plan.

Actions

downdetector_search_companies

Search Downdetector for monitored companies by name, slug, country, or category. Returns matching companies with their ids and slugs, which you can use with the other Downdetector operations.

Input

ParameterTypeRequiredDescription
namestringNoCompany name to filter on (partial, case-insensitive match). Example: "slack"
countrystringNoISO-2 country code to filter on. Example: "US"
slugstringNoExact company slug to filter on. Example: "optimum-cablevision"
categoryIdnumberNoCategory id to filter on
pagenumberNo1-indexed page number for paginated results (default 1)
pageSizenumberNoNumber of results per page, between 10 and 100 (default 25)
apiKeystringYesDowndetector API Bearer token

Output

ParameterTypeDescription
companiesarrayList of companies matching the search
idnumberCompany id
namestringCompany name
slugstringCompany slug
urlstringCompany status page URL
countryIsostringISO-2 country code
categoryIdnumberCategory id

downdetector_get_company

Get details for a Downdetector company by id, including its current status, 24h report statistics, baseline, and available problem indicators.

Input

ParameterTypeRequiredDescription
companyIdstringYesThe Downdetector company id
fieldsstringNoComma-separated list of fields to return (defaults to a rich set including status, stats_24, and baseline)
apiKeystringYesDowndetector API Bearer token

Output

ParameterTypeDescription
companyobjectCompany details
idnumberCompany id
namestringCompany name
slugstringCompany slug
urlstringCompany status page URL
statusstringCached current status (success, warning, or danger)
categoryIdnumberCategory id
countryIsostringISO-2 country code
siteIdnumberSite id
baselineCurrentnumberThe current considered average reports at this point in time
stats24arrayReports over the last 24h in 15-minute buckets
baselinearrayAveraged baseline values per 15m over 24h
indicatorsarrayList of available problem indicators
descriptionstringCompany description

downdetector_get_company_status

Get the current detected status for a Downdetector company. Returns "success" (no problems), "warning", or "danger" (likely outage).

Input

ParameterTypeRequiredDescription
companyIdstringYesThe Downdetector company id
thresholdnumberNoIf set, returns "danger" when the current report count is above this threshold, otherwise "success"
apiKeystringYesDowndetector API Bearer token

Output

ParameterTypeDescription
statusstringCurrent status: "success", "warning", or "danger"

downdetector_get_company_baseline

Get the current baseline report value for a Downdetector company. This is the expected average number of reports for the current period, used to judge whether current reports are abnormal.

Input

ParameterTypeRequiredDescription
companyIdstringYesThe Downdetector company id
apiKeystringYesDowndetector API Bearer token

Output

ParameterTypeDescription
baselinenumberThe current baseline (expected average reports) for this period

downdetector_get_company_last_15

Get the number of outage reports for a Downdetector company over the last 15 minutes. A convenient near-real-time signal for threshold-based alerting.

Input

ParameterTypeRequiredDescription
companyIdstringYesThe Downdetector company id
apiKeystringYesDowndetector API Bearer token

Output

ParameterTypeDescription
countnumberNumber of reports over the last 15 minutes

downdetector_get_company_indicators

Get the problem indicators (e.g. "App crashing", "Login", "Server connection") reported for a Downdetector company over a time period, with the report counts and percentages for each.

Input

ParameterTypeRequiredDescription
companyIdstringYesThe Downdetector company id
startdatestringNoISO 8601 start of the time range (only works together with enddate)
enddatestringNoISO 8601 end of the time range (only works together with startdate)
apiKeystringYesDowndetector API Bearer token

Output

ParameterTypeDescription
indicatorsarrayReported problem indicators with their counts
slugstringIndicator slug
indicatorstringHuman-readable indicator label
keystringIndicator key
amountnumberNumber of reports for this indicator
percentagenumberShare of total reports (percentage)

downdetector_get_reports

Get the number of outage reports over time for one or more company slugs, bucketed by interval. Useful for plotting report trends or detecting spikes. Defaults to the last 24 hours.

Input

ParameterTypeRequiredDescription
slugsstringYesComma-separated company slug(s) to report on. Example: "slack,zoom"
startdatestringNoISO 8601 start of the time range (only works together with enddate)
enddatestringNoISO 8601 end of the time range (only works together with startdate)
intervalstringNoBucket interval, e.g. "15m", "1h", "1d" (default "15m")
apiKeystringYesDowndetector API Bearer token

Output

ParameterTypeDescription
reportsarrayReport counts bucketed by interval
pointInTimestringStart of the time bucket (ISO 8601)
totalnumberTotal number of reports in the bucket
indicatorsnumberNumber of indicator reports
othernumberNumber of reports from other sources

downdetector_get_company_incidents

Get the list of incidents (outages) for a Downdetector company. Defaults to the last 24 hours unless a date range is provided.

Input

ParameterTypeRequiredDescription
companyIdstringYesThe Downdetector company id
onlyActivebooleanNoWhen true, only the currently active incident is returned
startdatestringNoISO 8601 start of the time range (only works together with enddate)
enddatestringNoISO 8601 end of the time range (only works together with startdate)
pagenumberNoRequested page number (1-indexed)
pageSizenumberNoNumber of results per page, between 10 and 100
apiKeystringYesDowndetector API Bearer token

Output

ParameterTypeDescription
incidentsarrayList of incidents for the company

downdetector_get_company_attribution

Get the incident attribution for a Downdetector company while it is in an outage state — whether the issue is internal (isolated) or external (a dependency), the estimated user impact, and the related incident. Requires Incident Attribution access.

Input

ParameterTypeRequiredDescription
companyIdstringYesThe Downdetector company id
apiKeystringYesDowndetector API Bearer token

Output

ParameterTypeDescription
attributionobjectIncident attribution detail
attributionnumberAttribution enum (0 N/A, 1 undetermined, 2 external, 3 internal)
attributionCalculatedAtstringISO 8601 timestamp when attribution was calculated
userImpactnumberUser impact enum (0 low, 1 medium, 2 high, 3 very high)
userImpactCalculatedAtstringISO 8601 timestamp when user impact was calculated
reasonnumberReason enum explaining how the attribution value was calculated (0-7)
dangerDurationSnumberDuration of the current danger (outage) state in seconds
incidentIdnumberId of the related incident (null when attribution is N/A)
incidentCreatedAtstringISO 8601 timestamp when the related incident was created

downdetector_get_company_events

Get the published events (such as detected outages) for a Downdetector company, including the measured vs expected report volume for each event.

Input

ParameterTypeRequiredDescription
companyIdstringYesThe Downdetector company id
startdatestringNoISO 8601 start of the time range (only works together with enddate)
enddatestringNoISO 8601 end of the time range (only works together with startdate)
pagenumberNoRequested page number (1-indexed)
pageSizenumberNoNumber of results per page, between 10 and 100
apiKeystringYesDowndetector API Bearer token

Output

ParameterTypeDescription
eventsarrayList of events for the company
idnumberEvent id
titlestringLocalized event title
bodystringLocalized event body
companyIdnumberId of the impacted company
createdAtstringISO 8601 creation timestamp
publishAtstringISO 8601 publish timestamp
isActivebooleanWhether the event is ongoing
measurementobjectMeasured vs expected report volume for the event window
startedOnstringMeasurement window start (ISO 8601)
endedOnstringMeasurement window end (ISO 8601)
expectednumberExpected reports based on historic data
actualnumberActual reports in the window

downdetector_get_site_companies

List the companies monitored on a Downdetector site, including each company’s current status. Useful for discovering the companies available on a regional status page.

Input

ParameterTypeRequiredDescription
siteIdstringYesThe Downdetector site id
fieldsstringNoComma-separated company fields to return (defaults to id, name, slug, status)
pagestringNoOpaque page token from a previous response (X-Page-Next) for the next page
pageSizenumberNoNumber of results per page, between 10 and 100
apiKeystringYesDowndetector API Bearer token

Output

ParameterTypeDescription
companiesarrayList of companies on the site
idnumberCompany id
namestringCompany name
slugstringCompany slug
urlstringCompany status page URL
statusstringCached current status (success, warning, or danger)
countryIsostringISO-2 country code
categoryIdnumberCategory id

downdetector_get_provider

Get details for a Downdetector provider (ISP or network operator) by id, such as its name and Downdetector id.

Input

ParameterTypeRequiredDescription
providerIdstringYesThe Downdetector provider id
apiKeystringYesDowndetector API Bearer token

Output

ParameterTypeDescription
providerobjectProvider details
idnumberProvider id
namestringProvider name
downdetectorIdnumberDowndetector internal provider id

downdetector_list_incidents

List all incidents (outages) across every company that were active in the chosen time period, or in the last 24 hours if no date range is provided.

Input

ParameterTypeRequiredDescription
onlyActivebooleanNoWhen true, only currently active incidents are returned
startdatestringNoISO 8601 start of the time range (only works together with enddate)
enddatestringNoISO 8601 end of the time range (only works together with startdate)
pagenumberNoRequested page number (1-indexed)
pageSizenumberNoNumber of results per page, between 10 and 100
apiKeystringYesDowndetector API Bearer token

Output

ParameterTypeDescription
incidentsarrayList of incidents across all companies

downdetector_list_categories

List all Downdetector categories (e.g. "Telecom", "Gaming", "Social Media"). Use the returned category id to filter company searches.

Input

ParameterTypeRequiredDescription
apiKeystringYesDowndetector API Bearer token

Output

ParameterTypeDescription
categoriesarrayList of Downdetector categories
idnumberCategory id
namestringCategory name
slugstringCategory slug

downdetector_list_sites

List all available Downdetector sites (regional status-page domains). Each site groups the companies monitored for a given country/region.

Input

ParameterTypeRequiredDescription
apiKeystringYesDowndetector API Bearer token

Output

ParameterTypeDescription
sitesarrayList of Downdetector sites
idnumberSite id
namestringSite name
domainstringSite domain
countryIdnumberCountry id for the site

On this page