1. The whole job

A complete integration is five steps, and only two of them touch the API:

  1. Scan the site

    In the portal, run a scan of the website. The scan does the reading and stores the full result.

  2. Turn on monitoring

    Also in the portal: add the site to monitoring and SeraVerra checks it on its cadence from there — the watching is done for you, not by your tool.

  3. Make an API key

    Section 2. The key is how your tool introduces itself.

  4. Pull the data

    Your tool asks the API for the account's sites, scans, monitoring and reports (sections 3 and 4) and puts the answers where you work — a spreadsheet, a dashboard, a client report.

  5. Keep pulling

    Refresh on your own schedule — a spreadsheet refresh, a nightly job, a dashboard reload. New scans and new monthly reports appear as they happen; there is nothing to re-set-up.

Scans, monitoring and team changes are set up in the portal. The API is how the results reach your tools.

2. Get a key

  1. Open Settings > API keys

    In the portal, open Settings, then API keys.

  2. Create a key and name it

    Click Create key and name it after where it will be used ("Reporting sheet", "Client dashboard"), so it's clear later which one to turn off. You can set an expiry date, or leave it empty. Check the summary, then create it. API keys are for account admins only.

  3. Copy it straight away

    The full key is shown once, right after it's made. Paste it into the tool that needs it. If it gets lost, open the key's ⋯ menu and choose Roll for a new one.

A key can be limited to some areas — sites, scans, monitoring, reports — so a tool only reads what it needs. A read outside a key's areas is refused with error 403, naming the area (see Errors). Leave every area on unless the tool needs fewer.

Treat a key like a password

Anyone holding the key can read this account's data. Don't email it or post it anywhere public. If a key may have leaked, open Settings > API keys, open its ⋯ menu and choose Roll (a new key; the old one stops working at once) or Revoke (it stops working at once). A key can also be paused, which refuses its calls until it is unpaused.

3. Ask for data

Most tools that "connect to an API" ask for two things: a web address and a key. The key goes in a header called Authorization, written as Bearer followed by the key. Here is the same request as a command, for whoever sets the tool up:

curl -H "Authorization: Bearer YOUR_API_KEY" \
  https://api.seraverra.com/api/v1/scans

Every answer comes back as JSON, the plain data format spreadsheets and dashboards read. The first address to try is the root, /api/v1/ — it answers with the account the key belongs to and the list of what can be read:

{
  "account": { "id": "…", "name": "Acme Co" },
  "endpoints": [
    "GET /api/v1/sites",
    "GET /api/v1/scans",
    "GET /api/v1/scans/{job_id}",
    "GET /api/v1/monitoring",
    "GET /api/v1/reports",
    "GET /api/v1/reports/{site_id}/{month}"
  ]
}

And /api/v1/sites answers like this — one entry per site, with its monitoring state and scan dates:

{
  "sites": [
    {
      "id": 12,
      "url": "https://example.com/",
      "monitoring_active": true,
      "frequency": "weekly",
      "last_grade": null,
      "last_scan_at": "2026-11-10T14:03:00Z",
      "next_scan_at": "2026-11-17T14:03:00Z",
      "added_at": "2026-10-01T09:00:00Z"
    }
  ],
  "next_before": null
}

last_grade is the grade from the site's most recent completed scan — it reads null until a scan has graded the site.

4. What can be read

AddressWhat comes back
/api/v1/Which account the key belongs to, and this list.
/api/v1/sitesThe account's sites: whether each is being monitored, its latest grade and its next check.
/api/v1/scansEvery scan with its date, score and grade, newest first. Each entry carries job_id, url, scanned_at, score and grade.
/api/v1/scans/{job_id}One scan in full, under scan: its status, created_at and finished_at, its score and grade, and the whole report with its findings — the same report the portal shows.
/api/v1/monitoringThe monitoring plan, under monitoring: whether the account is subscribed, the plan, how many sites are monitored of the plan's limit, paused sites, and the current period.
/api/v1/reportsThe monthly monitoring reports, newest first. Each entry carries site_id, url, month, generated_at and has_pdf.
/api/v1/reports/{site_id}/{month}One monthly report in full, with the month written like 2026-09.

5. Filters and paging

  • Lists come 50 at a time (ask for up to 100 with ?limit=100). When there are more, the answer includes next_before; add ?before= with that value to get the next batch. next_before is null on the last batch.
  • Sites can be filtered with ?monitoring_active=true or false.
  • Scans can be filtered with ?q= (free text) and ?status= — one of queued, running, done, error, cancelled.
  • Reports can be filtered with ?site_id= and ?month=.
  • A filter value the API does not recognise is an error (400, invalid_filter) — it is never silently ignored.

6. Errors

Every error answer has the same shape — a machine-readable error name and a plain-language message:

{ "error": "invalid_api_key", "message": "Send a live API key as \"Authorization: Bearer <key>\". Admins make keys in Settings > API keys." }
StatusErrorWhat it means
400invalid_filterA filter value is not one the API recognises (see Filters and paging).
401invalid_api_keyNo live key was sent — it is missing, mistyped, or expired. Check the header, or make a new key.
402scans_exhaustedThe account's scans are used up. The answer includes an upgrade_url for buying more.
403forbiddenThe key's areas do not include this read. The message names the area; an admin can widen the key's set in Settings > API keys.
403key_paused / key_revokedThe key is paused, or has been revoked. Unpause it, or make a new key.
404not_foundNo such address — or the scan or report is not in this account. Ask /api/v1/ for the list of addresses.
405method_not_allowedThe API is read-only: GET requests only. Anything else is refused.
429rate_limitedOver 60 requests in a minute for this key. The message says how many seconds to wait, and the answer carries a Retry-After header with the same number.
429monthly_balance_reachedThe account's reads for the month are at their cap. The key is not refused — it slows to 6 requests a minute until the month turns.

7. Limits

  • 60 requests a minute per key. Every answer carries X-RateLimit-Limit and X-RateLimit-Remaining headers, so a tool can slow down before it is refused.
  • Monthly reads are counted too. Answers carry X-Monthly-Reads-Used and X-Monthly-Reads-Limit headers, so a tool can watch the account's reads for the month. At the month's cap, reads do not stop: the key slows to 6 requests a minute and answers return the monthly_balance_reached error, until the month turns.
  • Read only. Anything other than reading is refused (error 405). Scans, monitoring and team changes stay in the portal.
  • Only this account. A key reads the data of the account it was made in, and nothing else.

8. Ask an AI assistant instead (MCP)

AI assistants such as Claude and Cursor can use the same key to look things up for you — ask "which site's score dropped since last month?" or "summarize the latest scan" and the assistant reads the answer from this account. It uses MCP, the standard way AI assistants connect to tools. It's the same key, the same read-only access to this one account, and the same 60 requests a minute.

The address to give the assistant is https://api.seraverra.com/mcp, with the key sent as Authorization: Bearer followed by the key.

  • Claude Code: run this once (whoever sets it up can paste it into a terminal):
    claude mcp add --transport http ai-readiness https://api.seraverra.com/mcp \
      --header "Authorization: Bearer YOUR_API_KEY"
  • Cursor: open Settings > MCP > Add a new server, or add this to the mcp.json file:
    {
      "mcpServers": {
        "ai-readiness": {
          "url": "https://api.seraverra.com/mcp",
          "headers": { "Authorization": "Bearer YOUR_API_KEY" }
        }
      }
    }
  • Other AI apps: any app that can add an MCP server by web address and a header works the same way: the address above, and the key in the Authorization header.

The assistant gets seven tools, all read-only: the account, its sites, the list of scans with scores, one scan's full report, the monitoring plan, the monthly reports, and one monthly report.

Error 401?

The key is missing, mistyped, revoked or expired. Check it is complete, exactly as issued, and is sent as Authorization: Bearer followed by the key, or make a new one.