POST /api/downdetector/companies
Price: 10 credits
Get a company's live outage status, 24-hour report curve, problem breakdown and report locations
Answer 'is X down right now, and how badly' — a spike is reports far above the 24-hour baseline curve, not a large absolute number. Alias and numeric id both work as input but behave differently: a numeric id names one company worldwide and returns that company's home country whatever `country` you passed, while an alias is resolved on the country site you name and the same alias can be a different company elsewhere — 'chase' is a separate record on the US and UK sites. Pass `country` alongside an alias, read the returned `country` and `domain` back, and resolve unknown names through the search endpoint on the country you want. Comments come back capped at the newest 25, with no deeper history available.
access-token string requiredtimeout integer — Max scrapping execution timeout (in seconds) (default: 300; min: 20; max: 1500)company string required — The company alias — the slug segment of its status URL on that country site — or its numeric company id (examples: "att", "netflix", "20010", "bt-british-telecom"; minLength: 1)country string — Country site to read. Downdetector runs one site per country and each keeps its own service list, aliases and reports (default: "us"; one of: "ae", "ar", "at", "au", "az", "bd", "be", "bg", "bh", "br", "ca", "ch", "cl", "co", "cr", "cz", "de", "dk", "do", "dz", "ec", "eg", "es", "fi", "fr", "gb", "gr", "gt", "hk", "hr", "hu", "id", "ie", "il", "in", "it", "jo", "jp", "ke", "kr", "ma", "mx", "my", "ng", "nl", "no", "nz", "pa", "pe", "ph", "pk", "pl", "pr", "pt", "py", "ro", "rs", "sa", "se", "sg", "si", "sk", "th", "tn", "tr", "tw", "ua", "us", "uy", "ve", "vn", "za")include_report_locations boolean — Include the individual report coordinates that draw the outage map, up to 1000 points (default: true)include_comments boolean — Include the most recent user comments rendered on the status page (default: true)@type string (default: "DowndetectorCompany")id string requiredcountry string required (one of: "ae", "ar", "at", "au", "az", "bd", "be", "bg", "bh", "br", "ca", "ch", "cl", "co", "cr", "cz", "de", "dk", "do", "dz", "ec", "eg", "es", "fi", "fr", "gb", "gr", "gt", "hk", "hr", "hu", "id", "ie", "il", "in", "it", "jo", "jp", "ke", "kr", "ma", "mx", "my", "ng", "nl", "no", "nz", "pa", "pe", "ph", "pk", "pl", "pr", "pt", "py", "ro", "rs", "sa", "se", "sg", "si", "sk", "th", "tn", "tr", "tw", "ua", "us", "uy", "ve", "vn", "za")domain string requiredname string nullablealias string nullableurl string nullableimage string nullablewebsite string nullablestatus string nullable (one of: "success", "warning", "danger")category object nullable@type string (default: "DowndetectorCategory")id string nullablename string nullablealias string nullablecontact object nullable@type string (default: "DowndetectorContact")support_url string nullableemail string nullablephone string nullablephone_extra string nullablestatus_page_url string nullabletwitter_username string nullablefacebook_url string nullablewhatsapp string nullablecomplaint_forum_url string nullablecomplaint_forum_label string nullablepublished boolean nullablepage_title string nullablepage_description string nullabledescription string nullablerating number nullablerating_count integer nullablereports_max integer nullablebaseline_min integer nullablebaseline_max integer nullablereport_points array (default: [])@type string (default: "DowndetectorReportPoint")timestamp string requiredreports integer nullablebaseline integer nullablesparkline array (default: [])problem_types array (default: [])@type string (default: "DowndetectorProblemType")id string nullablename string nullablereports integer nullableshare_percent number nullableindicators array (default: [])@type string (default: "DowndetectorIndicator")id string nullablename string nullablelabel string nullableparent_id string nullableparent_name string nullabletrending boolean nullablecomments array (default: [])@type string (default: "DowndetectorComment")author string nullabletext string nullableimage string nullablecreated_at string nullabletop_cities array (default: [])@type string (default: "DowndetectorCity")id string nullablename string nullablealias string nullableshows_cities boolean nullablereport_locations array (default: [])@type string (default: "DowndetectorGeoPoint")longitude number requiredlatitude number requiredmap_settings object nullable@type string (default: "DowndetectorMapSettings")zoom integer nullableheight integer nullablelatitude number nullablelongitude number nullableregion string nullableradius_km integer nullableboundary_wkt string nullableorientation string nullabletweets_domain string nullablerelated_sites array (default: [])@type string (default: "DowndetectorRelatedCompany")url string nullabledomain string nullablecountry_code string nullablecountry_name string nullable422 — The request body did not validate Check the fields against this schema. A URN with the wrong prefix is the most common cause.408 — The request ran past its time limit Raise `timeout` in the request body, up to the maximum this endpoint documents. Lowering `count` or turning off the `with_*` flags also helps, because less work finishes sooner.412 — No such company on that country site Retrying will not help: either the entity does not exist, or the input points at a different one.429 — Too many requests: a rate limit or a usage window is exhausted When the response carries an X-Retry-After header, wait that many seconds and retry: the same number is in the body as `detail.retry_after`, and the limit clears once that window passes. The message in the body names the limit that was hit.500 — Something broke on our side Retrying will not help. If it keeps happening, send us the X-Request-ID from the response headers.529 — Rate limit reached, or the endpoint is overloaded Wait at least 30 seconds, then retry.X-Error — Error message text (present only on error)X-Request-ID — Unique request identifierX-Execution-Time — Execution time in secondsX-Result-Count — How many records the body carries. 0 means an empty result, which is a normal answer and not by itself an error. A non-zero count can come back together with X-Error when the failure happened partway through — read this header and X-Error independently.X-Total-Available-Results — How many records exist for this query, when the endpoint can say. On a `dry_run` request this is the answer and the body is empty. It saturates: the endpoint's documented maximum means 'at least that many', any smaller number is exact.X-Warning — Present when the request body carried keys this endpoint does not document. They were ignored, so any filter you meant to apply through them did not apply. Check the spelling against this schema and retry.X-Retry-After — Seconds to wait before retrying. Present only on 429.