Better Stack Monitors API

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

Business capability
Observability Management BC-4220.20

Operations 7

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

GET /monitors List uptime monitors · List monitors #
Ask an LLM
“Which URLs am I monitoring in Better Stack?”
“Can I find the monitor watching a particular URL?”
Tell an agent
List all of my uptime monitors.
Find the monitor that checks {url}.
POST /monitors Create an uptime monitor for a URL · Create monitor #
Ask an LLM
“How do I start monitoring a website for downtime?”
“Can a new monitor also warn me before my SSL certificate or domain expires?”
Tell an agent
Create a {monitor_type} monitor for {url}.
Start monitoring {url} as a {monitor_type} check every {check_frequency} seconds.
GET /monitors/{id} Get a monitor's configuration · Get monitor #
Ask an LLM
“What URL and check frequency is a specific monitor using?”
“Is a given monitor currently up, down or paused?”
Tell an agent
Show me monitor {id}.
Get the settings for monitor {id}.
PATCH /monitors/{id} Change an existing monitor's settings · Update monitor #
Ask an LLM
“Can I change the URL or check interval of a monitor I already have?”
“How do I pause an existing monitor during maintenance?”
Tell an agent
Update monitor {id} to check {url} as a {monitor_type} monitor.
Change monitor {id} on {url} ({monitor_type}) to check every {check_frequency} seconds.
DELETE /monitors/{id} Delete a monitor · Delete monitor #
Ask an LLM
“Can I stop and remove monitoring for a site I've shut down?”
“Does deleting a monitor remove it permanently rather than pausing it?”
Tell an agent destructive · confirm first
Delete monitor {id}.
Remove monitor {id} permanently.
GET /monitors/{id}/response-times Get a monitor's response times · Monitor response times #
Ask an LLM
“How fast has my website been responding to uptime checks?”
“Has latency on a monitored endpoint gotten slower lately?”
Tell an agent
Get response times for monitor {id}.
Show how quickly the site behind monitor {id} has been responding.
GET /monitors/{id}/availability Get a monitor's uptime availability · Monitor availability #
Ask an LLM
“What uptime percentage has my website had?”
“How much downtime has a monitored URL recorded?”
Tell an agent
Get the availability of monitor {id}.
Report the uptime percentage for monitor {id}.

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: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 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:
    Id:
      name: id
      in: path
      required: true
      schema:
        type: string
    PerPage:
      name: per_page
      in: query
      schema:
        type: integer
        minimum: 1
        maximum: 50
    Page:
      name: page
      in: query
      schema:
        type: integer
        minimum: 1
  schemas:
    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
    JsonApiResource:
      type: object
      properties:
        id:
          type: string
        type:
          type: string
        attributes:
          type: object
          additionalProperties: true
        relationships:
          type: object
          additionalProperties: true
    MonitorResource:
      type: object
      properties:
        data:
          $ref: '#/components/schemas/JsonApiResource'
    MonitorUpdate:
      allOf:
      - $ref: '#/components/schemas/MonitorCreate'
    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.

        '