Better Stack Monitors API

The Monitors API from Better Stack — create and manage uptime monitors and read their availability and response-time series.

Operations 7

GET /monitors List monitors #
POST /monitors Create monitor #
GET /monitors/{id} Get monitor #
PATCH /monitors/{id} Update monitor #
DELETE /monitors/{id} Delete monitor #
GET /monitors/{id}/response-times Monitor response times #
GET /monitors/{id}/availability Monitor availability #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/betterstack-monitors-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

betterstack-monitors-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Better Stack Uptime Heartbeats Monitors API
  description: 'Programmatic access to Better Stack''s uptime monitoring, heartbeat monitoring,

    incident management, status pages, escalation policies, and on-call surfaces.

    Responses follow the JSON:API specification.


    This document is a best-effort reconstruction from Better Stack''s public

    documentation and is not exhaustive. Refer to

    https://betterstack.com/docs/uptime/api/ for authoritative reference.

    '
  version: 2.0.0
  contact:
    name: Better Stack
    url: https://betterstack.com/docs/uptime/api/getting-started/
  license:
    name: Proprietary
servers:
- url: https://uptime.betterstack.com/api/v2
  description: Better Stack Uptime API (v2 surface — monitors, heartbeats, status pages, on-call)
- url: https://uptime.betterstack.com/api/v3
  description: Better Stack Uptime API (v3 surface — incidents)
security:
- bearerAuth: []
tags:
- name: Monitors
paths:
  /monitors:
    get:
      tags:
      - Monitors
      summary: List monitors
      operationId: listMonitors
      parameters:
      - $ref: '#/components/parameters/PerPage'
      - $ref: '#/components/parameters/Page'
      - name: url
        in: query
        schema:
          type: string
      - name: pronounceable_name
        in: query
        schema:
          type: string
      responses:
        '200':
          description: A page of monitors.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MonitorList'
    post:
      tags:
      - Monitors
      summary: Create monitor
      operationId: createMonitor
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/MonitorCreate'
      responses:
        '201':
          description: Created monitor.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MonitorResource'
  /monitors/{id}:
    parameters:
    - $ref: '#/components/parameters/Id'
    get:
      tags:
      - Monitors
      summary: Get monitor
      operationId: getMonitor
      responses:
        '200':
          description: Monitor.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MonitorResource'
    patch:
      tags:
      - Monitors
      summary: Update monitor
      operationId: updateMonitor
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/MonitorUpdate'
      responses:
        '200':
          description: Updated monitor.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MonitorResource'
    delete:
      tags:
      - Monitors
      summary: Delete monitor
      operationId: deleteMonitor
      responses:
        '204':
          description: Removed.
  /monitors/{id}/response-times:
    parameters:
    - $ref: '#/components/parameters/Id'
    get:
      tags:
      - Monitors
      summary: Monitor response times
      operationId: getMonitorResponseTimes
      responses:
        '200':
          description: Response time series.
  /monitors/{id}/availability:
    parameters:
    - $ref: '#/components/parameters/Id'
    get:
      tags:
      - Monitors
      summary: Monitor availability
      operationId: getMonitorAvailability
      responses:
        '200':
          description: Availability summary.
components:
  parameters:
    Page:
      name: page
      in: query
      schema:
        type: integer
        minimum: 1
    Id:
      name: id
      in: path
      required: true
      schema:
        type: string
    PerPage:
      name: per_page
      in: query
      schema:
        type: integer
        minimum: 1
        maximum: 50
  schemas:
    MonitorUpdate:
      allOf:
      - $ref: '#/components/schemas/MonitorCreate'
    JsonApiResource:
      type: object
      properties:
        id:
          type: string
        type:
          type: string
        attributes:
          type: object
          additionalProperties: true
        relationships:
          type: object
          additionalProperties: true
    MonitorCreate:
      type: object
      required:
      - url
      - monitor_type
      properties:
        url:
          type: string
          format: uri
        monitor_type:
          type: string
          enum:
          - status
          - expected_status_code
          - keyword
          - keyword_absence
          - ping
          - tcp
          - udp
          - smtp
          - pop
          - imap
          - dns
          - playwright
        pronounceable_name:
          type: string
        check_frequency:
          type: integer
          description: Seconds between checks.
        request_headers:
          type: array
          items:
            type: object
            properties:
              name:
                type: string
              value:
                type: string
        request_body:
          type: string
        request_timeout:
          type: integer
        recovery_period:
          type: integer
        confirmation_period:
          type: integer
        regions:
          type: array
          items:
            type: string
        email:
          type: boolean
        sms:
          type: boolean
        call:
          type: boolean
        push:
          type: boolean
        team_wait:
          type: integer
        paused:
          type: boolean
        follow_redirects:
          type: boolean
        verify_ssl:
          type: boolean
        ssl_expiration:
          type: integer
        domain_expiration:
          type: integer
        expected_status_codes:
          type: array
          items:
            type: integer
    MonitorResource:
      type: object
      properties:
        data:
          $ref: '#/components/schemas/JsonApiResource'
    MonitorList:
      type: object
      properties:
        data:
          type: array
          items:
            $ref: '#/components/schemas/JsonApiResource'
        pagination:
          type: object
          additionalProperties: true
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: 'Bearer token. Provide either a Global API Token (account-wide) or a

        team-scoped Uptime API Token. Issued from Better Stack → API tokens.

        '