Know instantly when your API returns the wrong data.

Spectra sends real requests to your API endpoints — with custom methods, headers, auth, and a request body — then asserts the response is exactly what you expect. When it isn't, you hear about it immediately.

API monitoring illustration

How API Monitoring works

Add your API

Enter your API endpoint, method, headers, and expected values.

Select check locations

Choose from multiple global locations to run your API checks.

Set monitoring interval

Pick how often we should test your API.

We monitor 24/7

Spectra validates response time, status codes, and content in real time.

Get instant alerts

Receive alerts on any failure through your preferred notification channels.

Assertions — your API's contract with Spectra.

An assertion is a rule that defines what a passing response must look like. Stack multiple assertions on a single monitor — every one must pass for the check to be marked UP. If any fails, even on an HTTP 200, we treat the endpoint as DOWN and fire your alerts.

Pro tip

Use JSON field assertions with dot notation to check nested values — e.g. data.user.active equals true. That verifies the actual business logic of your API, not just that it responded.

Example API assertions with two failing checks marking the monitor down

Everything you need to test any API endpoint.

Full request control, flexible assertions, and multi-region verification — per endpoint, per environment.

All HTTP methods

GET, POST, PUT, PATCH, DELETE. Pick the right verb for every endpoint you need to test.

Auth support

Bearer token, API key, Basic auth, or any custom header combination your API requires.

JSON assertions

Assert exact JSON field values using dot notation. Catch wrong data even when the status code is 200.

Request body

Send a real JSON payload or form data with every check. Test creation and update endpoints properly.

Multi-region

Run checks from multiple regions. 2+ must confirm failure before any alert fires — zero false positives.

From zero to API monitoring in under 60 seconds.

No agents to install. No SDKs to integrate. Paste your endpoint URL and you're live.

  1. 1

    Name your monitor & pick API Monitor type

    Give it a descriptive name — "Order creation API" or "Auth token refresh". Select API Monitor from the type picker.

    e.g. Order creation API, Stripe payment endpoint
  2. 2

    Set your URL, method & request body

    Paste the full endpoint URL, choose the HTTP method, and add a JSON request body for POST/PUT/PATCH endpoints.

    POST · https://api.yoursite.com/v1/orders
  3. 3

    Add authentication headers

    Add any headers your API needs — Bearer token, API key, Basic auth. Credentials are encrypted and never exposed in alerts.

    Authorization: Bearer <token>
  4. 4

    Stack your assertions

    Add one or more assertion rules — status code, JSON fields, response time, body content. All must pass for the check to be UP.

    status == 201 · time < 500ms · body has order_id
API monitor configuration showing URL, method, body, assertions, interval and regions

Built for teams that rely on APIs.

Developers

Ensure API reliability across environments.

DevOps

Detect issues in integrations instantly.

SaaS Companies

Maintain uptime for critical API services.

E-commerce

Protect transactions and customer experience.

Agencies

Monitor client APIs from one central dashboard.

Enterprises

Monitor complex APIs at scale with ease.

Frequently Asked Questions

Answers to common questions teams ask us

What is an assertion?

A rule your API response must satisfy — a status code, a maximum response time, a header value, or a specific JSON field. If any assertion fails, Spectra raises an incident.

Can I test authenticated APIs?

Yes. Add bearer tokens, API keys, basic auth, or custom headers per monitor. Secrets are encrypted and never shown in logs.

Can I validate the JSON body, not just the status?

Absolutely. Assert on nested fields, types, and exact values — so a 200 that returns the wrong data still fails the check.

Do you support multi-step API flows?

You can chain requests and pass values between them to test real journeys like login → fetch → update.

How fast can API checks run?

From every five minutes on the free plan down to every 30 seconds on Pro+, across all the regions you select.

From the blog

All guides →

Start monitoring for free today!

Free forever plan No credit card required
Start for free