> ## Documentation Index
> Fetch the complete documentation index at: https://docs.webrouter.net/llms.txt
> Use this file to discover all available pages before exploring further.

# Oh Dear

> Website monitoring: monitors, uptime and downtime, response-time metrics, certificate health, broken links and per-check summaries.

![](https://mintcdn.com/webrouter/JBFYvcRI1PVnd4YX/logo/data-apis/ohdear.webp?fit=max\&auto=format\&n=JBFYvcRI1PVnd4YX\&q=85\&s=6c2fbeedad69efb3bec9e094f06b9a2e)

[Web Catalog · Observability](https://docs.webrouter.net/data-apis.md?category=observability)

Needs&#x20;

`OHDEAR_API_KEY`

Endpoints

9

Auth

Key in header

[Vendor docs](https://ohdear.app/docs/api/introduction)

&#x20;·&#x20;

[Pricing](https://ohdear.app/pricing)

## Setup

| Variable | | What it is |
| - | - | - |
| `OHDEAR_API_KEY` | required | An Oh Dear API token (account > API tokens), shown once. A scoped token only sees its selected monitors. |

Put them in your environment or `.env`; [Data APIs](https://docs.webrouter.net/vendors.md) covers the other ways.

## Notes

* Everything hangs off a numeric monitorId: list monitors first.
* Time filters use YYYYMMDDHHMMSS strings (20261101000000), not ISO dates; the parameter names differ: uptime and downtime take filter\[started\_at]/filter\[ended\_at], uptime metrics take filter\[start]/filter\[end].
* Monitors page with page\[number] and page\[size] (max 200).

## Endpoints

GET

Get current user and teams

The token's user and their teams.

[Open](#ohdear-me)

GET

List monitors

Monitored sites with their checks and latest results.

[Open](#ohdear-monitors-list)

GET

Get a monitor

One monitor with its checks and their latest results.

[Open](#ohdear-monitors-get)

GET

Get a check's latest result

The latest result of one check type on a monitor.

[Open](#ohdear-checks-summary)

GET

Get uptime percentages

Uptime percentage per hour, day or month over a period.

[Open](#ohdear-uptime-get)

GET

List downtime periods

Periods a monitor was down within a range.

[Open](#ohdear-downtime-list)

GET

Get HTTP response-time metrics

DNS, TCP, TLS and total response times over a period.

[Open](#ohdear-uptime-http-metrics)

GET

Get certificate health

TLS certificate details and the checks it passed or failed.

[Open](#ohdear-certificate-health-get)

GET

Get broken links

Broken links found by the latest crawl, with the pages linking to them.

[Open](#ohdear-broken-links-list)

### Get current user and teams

GET

`/me`

`ohdear.me`

The token's user and their teams.

Input

No inputs.

[Vendor docs](https://ohdear.app/docs/api/user-info.md)

```python Python theme={null}
router.call_data_api("ohdear.me")
```

```text MCP theme={null}
call_data_api(endpoint="ohdear.me")
```

### List monitors

GET

`/monitors`

`ohdear.monitors.list`

Monitored sites with their checks and latest results.

Input

<table>
  <thead>
    <tr>
      <th>
        Name
      </th>

      <th>
        Type
      </th>

      <th>
        In
      </th>

      <th>
        Notes
      </th>
    </tr>
  </thead>

  <tbody>
    <tr>
      <td>
        `page_number`
      </td>

      <td>
        integer
      </td>

      <td>
        query
      </td>

      <td>
        Page, from 1.
      </td>
    </tr>

    <tr>
      <td>
        `page_size`
      </td>

      <td>
        integer
      </td>

      <td>
        query
      </td>

      <td>
        1 to 200, default 200.
      </td>
    </tr>
  </tbody>
</table>

[Vendor docs](https://ohdear.app/docs/api/monitors.md) · Same job: [Datadog](https://docs.webrouter.net/data-apis/datadog.md#datadog-monitors-list)

```python Python theme={null}
router.call_data_api("ohdear.monitors.list")
```

```text MCP theme={null}
call_data_api(endpoint="ohdear.monitors.list")
```

### Get a monitor

GET

`/monitors/{monitorId}`

`ohdear.monitors.get`

One monitor with its checks and their latest results.

Input

<table>
  <thead>
    <tr>
      <th>
        Name
      </th>

      <th>
        Type
      </th>

      <th>
        In
      </th>

      <th>
        Notes
      </th>
    </tr>
  </thead>

  <tbody>
    <tr>
      <td>
        `monitorId`

        required
      </td>

      <td>
        integer
      </td>

      <td>
        path
      </td>

      <td>
        Monitor id, from monitors.list.
      </td>
    </tr>
  </tbody>
</table>

[Vendor docs](https://ohdear.app/docs/api/monitors.md) · Same job: [Datadog](https://docs.webrouter.net/data-apis/datadog.md#datadog-monitors-get)

### Get a check's latest result

GET

`/monitors/{monitorId}/check-summary/{checkType}`

`ohdear.checks.summary`

The latest result of one check type on a monitor.

Input

<table>
  <thead>
    <tr>
      <th>
        Name
      </th>

      <th>
        Type
      </th>

      <th>
        In
      </th>

      <th>
        Notes
      </th>
    </tr>
  </thead>

  <tbody>
    <tr>
      <td>
        `monitorId`

        required
      </td>

      <td>
        integer
      </td>

      <td>
        path
      </td>

      <td>
        Monitor id, from monitors.list.
      </td>
    </tr>

    <tr><td>`checkType` required</td><td>string</td><td>path</td><td>Check type. One of `uptime`, `performance`, `certificate_health`, `broken_links`, `mixed_content`, `lighthouse`, `cron`, `application_health`, `sitemap`, `dns`, `domain`, `ai`, `ports`, `dns_blocklist`</td></tr>
  </tbody>
</table>

[Vendor docs](https://ohdear.app/docs/api/check-summary.md)

### Get uptime percentages

GET

`/monitors/{monitorId}/uptime`

`ohdear.uptime.get`

Uptime percentage per hour, day or month over a period.

Input

<table>
  <thead>
    <tr>
      <th>
        Name
      </th>

      <th>
        Type
      </th>

      <th>
        In
      </th>

      <th>
        Notes
      </th>
    </tr>
  </thead>

  <tbody>
    <tr>
      <td>
        `monitorId`

        required
      </td>

      <td>
        integer
      </td>

      <td>
        path
      </td>

      <td>
        Monitor id, from monitors.list.
      </td>
    </tr>

    <tr><td>`started_at`</td><td>string</td><td>query</td><td>Start, YYYYMMDDHHMMSS, UTC. Example `20261101000000`</td></tr>

    <tr>
      <td>
        `ended_at`
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        End, YYYYMMDDHHMMSS, UTC.
      </td>
    </tr>

    <tr><td>`split`</td><td>string</td><td>query</td><td>Granularity. One of `hour`, `day`, `month`</td></tr>
  </tbody>
</table>

[Vendor docs](https://ohdear.app/docs/api/uptime.md)

### List downtime periods

GET

`/monitors/{monitorId}/downtime`

`ohdear.downtime.list`

Periods a monitor was down within a range.

Input

<table>
  <thead>
    <tr>
      <th>
        Name
      </th>

      <th>
        Type
      </th>

      <th>
        In
      </th>

      <th>
        Notes
      </th>
    </tr>
  </thead>

  <tbody>
    <tr>
      <td>
        `monitorId`

        required
      </td>

      <td>
        integer
      </td>

      <td>
        path
      </td>

      <td>
        Monitor id, from monitors.list.
      </td>
    </tr>

    <tr>
      <td>
        `started_at`
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        Start, YYYYMMDDHHMMSS, UTC.
      </td>
    </tr>

    <tr>
      <td>
        `ended_at`
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        End, YYYYMMDDHHMMSS, UTC.
      </td>
    </tr>
  </tbody>
</table>

[Vendor docs](https://ohdear.app/docs/api/uptime.md) · Same job: [Datadog](https://docs.webrouter.net/data-apis/datadog.md#datadog-incidents-list), [Sentry](https://docs.webrouter.net/data-apis/sentry.md#sentry-issues-list)

### Get HTTP response-time metrics

GET

`/monitors/{monitorId}/http-uptime-metrics`

`ohdear.uptime.http_metrics`

DNS, TCP, TLS and total response times over a period.

Input

<table>
  <thead>
    <tr>
      <th>
        Name
      </th>

      <th>
        Type
      </th>

      <th>
        In
      </th>

      <th>
        Notes
      </th>
    </tr>
  </thead>

  <tbody>
    <tr>
      <td>
        `monitorId`

        required
      </td>

      <td>
        integer
      </td>

      <td>
        path
      </td>

      <td>
        Monitor id, from monitors.list.
      </td>
    </tr>

    <tr>
      <td>
        `start`
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        Start, YYYYMMDDHHMMSS, UTC.
      </td>
    </tr>

    <tr>
      <td>
        `end`
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        End, YYYYMMDDHHMMSS, UTC.
      </td>
    </tr>

    <tr><td>`group_by`</td><td>string</td><td>query</td><td>Grouping. One of `minute`, `hour`, `day`, `week`, `month`</td></tr>
  </tbody>
</table>

[Vendor docs](https://ohdear.app/docs/api/uptime-metrics.md) · Same job: [Datadog](https://docs.webrouter.net/data-apis/datadog.md#datadog-metrics-query), [Klaviyo](https://docs.webrouter.net/data-apis/klaviyo.md#klaviyo-metrics-aggregate), [Mux](https://docs.webrouter.net/data-apis/mux.md#mux-metrics-overall)

### Get certificate health

GET

`/certificate-health/{monitorId}`

`ohdear.certificate_health.get`

TLS certificate details and the checks it passed or failed.

Input

<table>
  <thead>
    <tr>
      <th>
        Name
      </th>

      <th>
        Type
      </th>

      <th>
        In
      </th>

      <th>
        Notes
      </th>
    </tr>
  </thead>

  <tbody>
    <tr>
      <td>
        `monitorId`

        required
      </td>

      <td>
        integer
      </td>

      <td>
        path
      </td>

      <td>
        Monitor id, from monitors.list.
      </td>
    </tr>

    <tr>
      <td>
        `run_id`
      </td>

      <td>
        integer
      </td>

      <td>
        query
      </td>

      <td>
        A past run's id instead of the latest.
      </td>
    </tr>
  </tbody>
</table>

[Vendor docs](https://ohdear.app/docs/api/certificate-health.md)

### Get broken links

GET

`/broken-links/{monitorId}`

`ohdear.broken_links.list`

Broken links found by the latest crawl, with the pages linking to them.

Input

<table>
  <thead>
    <tr>
      <th>
        Name
      </th>

      <th>
        Type
      </th>

      <th>
        In
      </th>

      <th>
        Notes
      </th>
    </tr>
  </thead>

  <tbody>
    <tr>
      <td>
        `monitorId`

        required
      </td>

      <td>
        integer
      </td>

      <td>
        path
      </td>

      <td>
        Monitor id, from monitors.list.
      </td>
    </tr>

    <tr>
      <td>
        `run_id`
      </td>

      <td>
        integer
      </td>

      <td>
        query
      </td>

      <td>
        A past run's id instead of the latest.
      </td>
    </tr>
  </tbody>
</table>

[Vendor docs](https://ohdear.app/docs/api/broken-links-crawled-urls)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.