Merlonix Checks API
SSL and DNS check history (30-day hot window).
SSL and DNS check history (30-day hot window).
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
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.curl "https://apis.io/api/v1/apis/merlonix-com:merlonix-com-checks-api"
curl "https://apis.io/api/v1/apis?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a 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. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
openapi: 3.2.0
info:
title: Merlonix Public Checks API
version: 1.0.0
description: 'Programmatic access to your Merlonix monitoring data — assets, SSL/DNS check history, alerts, clients, and status pages.
## Authentication
Authenticate every request with an API key as a bearer token:
```
Authorization: Bearer mk_live_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
```
Create and revoke keys in the dashboard under **Settings → API keys**. The plaintext key is shown exactly once at creation.
## Scopes
A key carries one of two scope sets:
- **`read`** (default) — `GET` requests only. Any mutating method returns `403`.
- **`read,write`** — additionally permits `POST`/`PATCH`/`DELETE` to create, update, and delete assets, channels, clients, and status pages. Choose the scope when minting the key.
A write key onboards assets one at a time (`POST /v1/assets`) or in bulk (`POST /v1/assets/bulk`, up to 100 per call). Plan asset quotas and the per-tier minimum check interval are enforced identically to the dashboard.
## Rate limits
Requests are rate-limited per tenant by plan tier. Exceeding the limit returns `429` with a `Retry-After` header.'
contact:
name: Merlonix Support
url: https://merlonix.com/support
servers:
- url: https://api.merlonix.com
description: Production
security:
- ApiKeyAuth: []
tags:
- name: Checks
description: SSL and DNS check history (30-day hot window).
paths:
/v1/checks:
get:
tags:
- Checks
summary: List checks for an asset
description: Keyset-paginated check history for one asset, for any monitored kind reported by /v1/checks/latest (TD-2432). Results are clamped to the most recent 30 days. `crawl` rows are ordered and windowed on started_at; every other kind uses checked_at.
operationId: listChecks
parameters:
- name: asset_id
in: query
required: true
description: Asset UUID to scope checks to.
schema:
type: string
format: uuid
- name: type
in: query
required: true
description: Check kind.
schema:
type: string
enum:
- ssl
- dns
- uptime
- heartbeat
- port
- psi
- health
- dnsbl
- crawl
- injection_scan
- dns_security
- email_auth
- security_headers
- ct_watch
- name: since
in: query
required: false
description: ISO-8601 lower bound (clamped to 30 days ago).
schema:
type: string
format: date-time
- name: until
in: query
required: false
description: ISO-8601 upper bound.
schema:
type: string
format: date-time
- name: limit
in: query
required: false
description: Page size (1–200, default 50).
schema:
type: integer
minimum: 1
maximum: 200
default: 50
- name: cursor
in: query
required: false
description: Opaque pagination cursor from a prior response `page.next_cursor`.
schema:
type: string
responses:
'200':
description: A page of checks.
content:
application/json:
schema:
type: object
required:
- data
- page
properties:
data:
type: array
items:
oneOf:
- $ref: '#/components/schemas/SslCheck'
- $ref: '#/components/schemas/DnsCheck'
- $ref: '#/components/schemas/UptimeCheck'
- type: object
description: 'For the TD-2432 kinds (heartbeat, port, psi, health, dnsbl, crawl, injection_scan, dns_security, email_auth, security_headers, ct_watch): the same read-only snapshot shape /v1/checks/latest returns for that kind.'
additionalProperties: true
page:
$ref: '#/components/schemas/PageInfo'
'400':
description: Error — canonical envelope with a trace_id.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'401':
description: Error — canonical envelope with a trace_id.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'404':
description: Error — canonical envelope with a trace_id.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'429':
description: Error — canonical envelope with a trace_id.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
/v1/checks/latest:
get:
tags:
- Checks
summary: Latest checks for an asset
description: The most recent SSL, DNS, and (when enabled) uptime check for an asset.
operationId: getLatestChecks
parameters:
- name: asset_id
in: query
required: true
description: Asset UUID.
schema:
type: string
format: uuid
responses:
'200':
description: Latest SSL + DNS + uptime check (each null when none exists).
content:
application/json:
schema:
type: object
required:
- ssl
- dns
properties:
ssl:
oneOf:
- $ref: '#/components/schemas/SslCheck'
- type: 'null'
dns:
oneOf:
- $ref: '#/components/schemas/DnsCheck'
- type: 'null'
uptime:
oneOf:
- $ref: '#/components/schemas/UptimeCheck'
- type: 'null'
'400':
description: Error — canonical envelope with a trace_id.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'401':
description: Error — canonical envelope with a trace_id.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'404':
description: Error — canonical envelope with a trace_id.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'429':
description: Error — canonical envelope with a trace_id.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
components:
schemas:
SslCheck:
type: object
required:
- kind
- id
- tenant_id
- asset_id
- checked_at
- status
- not_before
- not_after
- days_until_expiry
- issuer
- subject
- response_ms
- tls_version
- cipher_suite
- cipher_strength
- chain_length
- chain_complete
- chain_issues
- posture_observed
- posture_unobserved_reason
properties:
kind:
type: string
enum:
- ssl
id:
type: integer
tenant_id:
type: string
format: uuid
asset_id:
type: string
format: uuid
checked_at:
type: string
format: date-time
status:
type: string
enum:
- valid
- expiring_soon
- expired
- invalid
- unreachable
- error
- inconclusive
not_before:
type:
- string
- 'null'
format: date-time
not_after:
type:
- string
- 'null'
format: date-time
days_until_expiry:
type:
- integer
- 'null'
issuer:
type:
- string
- 'null'
subject:
type:
- string
- 'null'
response_ms:
type:
- integer
- 'null'
tls_version:
type:
- string
- 'null'
cipher_suite:
type:
- string
- 'null'
cipher_strength:
type:
- string
- 'null'
enum:
- strong
- acceptable
- weak
- null
chain_length:
type:
- integer
- 'null'
chain_complete:
type:
- boolean
- 'null'
chain_issues:
type:
- array
- 'null'
items:
type: string
posture_observed:
type:
- boolean
- 'null'
posture_unobserved_reason:
type:
- string
- 'null'
PageInfo:
type: object
description: Pagination cursor. Pass `next_cursor` back as the `cursor` query param to fetch the next page.
required:
- next_cursor
- has_more
- limit
properties:
next_cursor:
type:
- string
- 'null'
description: Opaque cursor for the next page, or null when exhausted.
has_more:
type: boolean
description: True when more rows are available.
limit:
type: integer
description: Page size applied to this response.
DnsCheck:
type: object
required:
- kind
- id
- tenant_id
- asset_id
- checked_at
- record_type
- resolver
- records_found
- drift_detected
- drift_summary
- status
- response_ms
- cname_observed
- cname_chain
- cname_target
properties:
kind:
type: string
enum:
- dns
id:
type: integer
tenant_id:
type: string
format: uuid
asset_id:
type: string
format: uuid
checked_at:
type: string
format: date-time
record_type:
type: string
resolver:
type: string
records_found:
description: Resolved records — shape varies by record_type.
drift_detected:
type: boolean
drift_summary:
type:
- string
- 'null'
status:
type: string
enum:
- ok
- drift
- nxdomain
- servfail
- timeout
- error
response_ms:
type:
- integer
- 'null'
cname_observed:
type: boolean
description: Whether this check observed the CNAME delegation at all. False on any row written before 2026-08-19 — it does NOT mean the hostname publishes no CNAME.
cname_chain:
type: array
description: Hops from the monitored hostname to the name that finally answered. Empty when observed and none is published.
items:
type: object
required:
- from
- to
properties:
from:
type: string
to:
type: string
cname_target:
type:
- string
- 'null'
description: The first hop target — the CNAME record published in the customer own zone, and the only hop delegation alerts key on.
UptimeCheck:
type: object
required:
- kind
- id
- tenant_id
- asset_id
- checked_at
- up
- status_code
- response_time_ms
- ttfb_ms
- keyword_found
- error
- consecutive_failures
- final_url
- redirect_ok
properties:
kind:
type: string
enum:
- uptime
id:
type: integer
tenant_id:
type: string
format: uuid
asset_id:
type: string
format: uuid
checked_at:
type: string
format: date-time
up:
type: boolean
status_code:
type:
- integer
- 'null'
response_time_ms:
type: integer
description: Total round-trip (body fully read), ms.
ttfb_ms:
type:
- integer
- 'null'
description: Time-to-first-byte (response headers received), ms; null when unmeasured. No DNS/TCP/TLS phase breakdown is available on CF Workers.
keyword_found:
type:
- boolean
- 'null'
error:
type:
- string
- 'null'
consecutive_failures:
type: integer
final_url:
type:
- string
- 'null'
description: Final URL after at most one redirect hop (TD-935).
redirect_ok:
type:
- boolean
- 'null'
description: Redirect-target assertion outcome; null when not configured.
Error:
type: object
required:
- error
properties:
error:
type: object
required:
- code
- message
- trace_id
properties:
code:
type: string
description: Stable machine-readable error code.
message:
type: string
description: Human-readable explanation.
trace_id:
type: string
description: Request trace id — quote it in support tickets.
details:
type: array
description: Per-field validation issues, when applicable.
items:
type: object
properties:
path:
type: string
issue:
type: string
securitySchemes:
ApiKeyAuth:
type: http
scheme: bearer
bearerFormat: mk_live_…
description: A Merlonix API key. Create one under Settings → API keys.