Get a third-party service

Get one vendor's status changes in a time window, optionally narrowed to a region or service.

GET https://incidents.betterstack.com/api/v2/third-party-services/{id}

URL parameters

id
required string

Query parameters

from
string
to
string
region
string
service
string
team_id
string

Headers

Authorization
required string
200

Response body

{
  "data": {
    "id": "aws",
    "type": "third_party_service",
    "attributes": {
      "name": "AWS",
      "aliases": [
        "Amazon"
      ],
      "category": "Cloud",
      "status": "degraded",
      "services_not_operational": 3,
      "status_page_url": "https://health.aws.amazon.com/health/status",
      "status_unknown": false,
      "status_read_at": "2026-11-22T10:41:00Z",
      "status_page_rows": [
        {
          "status_page_id": "123",
          "status_page_name": "Acme status",
          "name": "AWS: us-east-1",
          "status": "operational"
        }
      ],
      "from": "2026-11-21T10:00:00Z",
      "to": "2026-11-22T10:00:00Z",
      "region": "us-east-1",
      "service": "EC2",
      "services_total": 5806,
      "services_matched": 12,
      "groups": [
        {
          "name": "us-east-1",
          "status": "degraded",
          "services": 220,
          "services_not_operational": 2
        }
      ],
      "changes_total": 2,
      "changes_truncated": false,
      "changes": [
        {
          "service": "EC2 (us-east-1)",
          "status": "degraded",
          "started_at": "2026-11-22T08:10:00Z",
          "ended_at": null
        }
      ]
    }
  }
}
401

Response body

{
  "errors": "Invalid Team API token. How to find your Team API token: https://betterstack.com/docs/uptime/api/getting-started-with-uptime-api/#get-an-incidents-api-token"
}
403
404

Response body

{
  "errors": "No third party service matches 'AWS east'. To search by part of a name, use the name filter on GET /api/v2/third-party-services. Tracked: AWS, GitHub."
}
422

Response body

{
  "errors": "To must be after from."
}

Response attributes

id
string
type
string
name
string
aliases
array of strings
category
string
status
string
services_not_operational
integer
status_page_url
string
status_unknown
boolean
status_read_at
datetime or null
status_page_rows
array of objects
status_page_rows[].status_page_id
string
status_page_rows[].status_page_name
string
status_page_rows[].name
string
status_page_rows[].status
string
from
datetime
to
datetime
region
string or null
service
string or null
services_total
integer
services_matched
integer
groups
array of objects
groups[].name
string
groups[].status
string
groups[].services
integer
groups[].services_not_operational
integer
changes_total
integer
changes_truncated
boolean
changes
array of objects
changes[].service
string
changes[].status
string
changes[].started_at
datetime
changes[].ended_at
datetime or null

Example cURL

Get a third-party service One region in a time window
curl --request GET \
  --url https://incidents.betterstack.com/api/v2/third-party-services/aws \
  --header "Authorization: Bearer $TOKEN"
curl --request GET \
  --url "https://incidents.betterstack.com/api/v2/third-party-services/aws?region=us-east-1&from=2026-11-22T09:30:00Z&to=2026-11-22T10:30:00Z" \
  --header "Authorization: Bearer $TOKEN"