Skip to Content
API

API introduction

What the VitalSentinel public API covers, where it lives, and how to decide between an API key and an OAuth app.

View as Markdown

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/v1

Every 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

DocumentURL
OpenAPI 3.1 specificationhttps://app.vitalsentinel.com/api/public/v1/openapi.json
Interactive API browserhttps://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

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

Pages of API

On this page

VitalSentinel

Know what changed before it costs you revenue

A stray noindex, a robots.txt change, a slower LCP, a Googlebot crawl drop: one alert, with what to fix first.

  • Free plan for 1 domain
  • Set up in minutes
  • No credit card required