API introduction
What the VitalSentinel public API covers, where it lives, and how to decide between an API key and an OAuth app.
VitalSentinel has a REST API that returns the same monitoring data as the dashboard. It covers uptime, SSL, RUM, CrUX, Synthetic Monitoring, Web Analytics, Google Search Console and Indexing Monitoring. It also covers robots.txt, Sitemap Monitoring, Site Health Monitoring, Page Monitoring, Form Monitoring, Server Log Monitoring, alerts, notifications and reports.
It is a separate surface from the one the dashboard itself uses. It has its own authentication (bearer tokens, never session cookies), its own frozen response schemas, its own error format, and its own OpenAPI document. That separation is the point: the dashboard's internal API changes whenever the dashboard changes, and your integration should not.
Base URL
https://app.vitalsentinel.com/api/public/v1Every path in this documentation is relative to that base. https://api.vitalsentinel.com/api/public/v1 serves the identical routes on an alternate hostname, so moving between the two is a hostname swap and nothing else.
The OpenAPI document and the generated clients point at the application host, because that URL is correct in every environment including local development.
Reference documents
| Document | URL |
|---|---|
| OpenAPI 3.1 specification | https://app.vitalsentinel.com/api/public/v1/openapi.json |
| Interactive API browser | https://app.vitalsentinel.com/api/public/v1/docs |
The OpenAPI document is unauthenticated and is the authoritative contract. Anything not in it is not promised. See Versioning and stability for what that guarantee covers.
The one call worth trying first
GET /health is unauthenticated, so you can confirm you are reaching the right host before you have a credential:
curl https://app.vitalsentinel.com/api/public/v1/health
# {"status":"ok"}Available on every plan
API access is not a paid add-on and is not gated by plan tier, Free included. Protection comes from the shape of the rate limits and the credit allowance, not from feature gating.
Two limits apply:
- API credits per billing cycle. The allowance depends on your plan. Many requests are free, and cached answers cost zero. See API credits.
- How many live API keys one workspace can hold. See Plans and limits.
Choosing a credential type
API key
A long-lived secret you create in the dashboard and paste into your own script, server, or CI pipeline. Belongs to one workspace. The right choice when you are building something for yourself.
OAuth 2.1 app
A browser consent flow that issues short-lived tokens on behalf of a signed-in user, across the workspaces that user picked. The right choice when you are building something other people sign in to.
What the API does not cover
The API does less than the dashboard, on purpose. VitalSentinel decided to leave out these functions:
- Creating or editing workspaces and domains. Both are read-only through the API. The API also cannot verify a domain. VitalSentinel monitors a domain only after you verify it in the app.
- Billing and subscription management. The API has no billing data.
- Creating or revoking credentials. One credential must not create another credential. Thus you manage keys only in the app.
- Google account connection. You connect or disconnect a Google account only in the app.
- Individual visitor session records. RUM responses never include a
session_id, at any scope. See Conventions. - Changes that the dashboard does not allow. If a person cannot make a change in the app, a credential cannot make it through the API.
Where to go next
Quick start
From no credential to a useful answer, in curl, Python, and TypeScript.
Authentication
API keys, rotation, IP allowlists, and the full OAuth 2.1 flow.
Scopes
The 37 scopes, what each one reaches, and why your key may hold fewer powers than you granted it.
Endpoint reference
Every operation, grouped by module.
Pages of API
- API quick start - create a key and make your first calls
- Authentication - API keys and the OAuth 2.1 flow
- Scopes - the 37 scopes and what each one reaches
- Conventions - pagination, time ranges and idempotency
- Endpoint reference - every operation, grouped by module
- Errors - the problem format and the error catalog
- Rate limits - the buckets, the concurrency cap and the daily ceilings
- API Credits - how VitalSentinel meters API and MCP usage
- Versioning and stability - what the v1 contract guarantees
Related
- MCP introduction - the same data through an AI assistant
- API access - create and manage your API keys
- Data access log - every API and MCP request, by credential
- Plans and limits - the credit allowance of each plan