Navigation
VigilbaseDocs

    Type at least two letters.

    Open Vigilbase One

    Agent API

    Run the security headers and email security checks over HTTP, with or without an API key, and handle rate limits, quotas and errors.

    The Agent API runs the two non-intrusive tools, Security headers and Email security, over HTTP. It needs no Turnstile check and no email verification, and works without an API key. All paths are relative to https://api.vigilbase.com/tools/v1. The same paths under https://vigilbase.com/api/v1 answer with the same bodies, so existing integrations keep working.

    Endpoints

    Method and pathPurpose
    GET/agent/toolsThe tool catalog, auth options and current rate limits
    POST/agent/tools/security-headers/executeGrade a URL's HTTP security headers
    POST/agent/tools/email-security/executeGrade a domain's email authentication records

    Other tools are not on this API. website-security, react2shell and fortibleed-check run in the browser with email verification, or through Vigilbase One with a signed-in CLI, which calls One's tool run endpoints. Asking for them returns 404 with a message that says so.

    Run a check

    Send a JSON body with one field, target, for example {"target":"https://example.com"}. For security-headers it is a URL or domain (https:// is assumed when you leave out the scheme); for email-security it is a domain.

    Request

    POST /tools/v1/agent/tools/security-headers/execute HTTP/1.1

    Host
    api.vigilbase.com
    Content-Type
    application/json

    Response200 OK

    Content-Type
    application/json
    API-Version
    1
    RateLimit-Limit
    10
    RateLimit-Remaining
    9

    A successful response looks like this:

    JSON
    {
      "success": true,
      "apiVersion": "1",
      "toolName": "security-headers",
      "target": "https://example.com",
      "grade": "B",
      "gradeScore": 72,
      "result": { "status": "warnings", "message": "...", "details": { } },
      "error": null,
      "uiUrl": "https://vigilbase.com/tools/security-headers",
      "skillUrl": "https://vigilbase.com/agent-skills/security-headers.md"
    }
    

    result holds the full scan result, in the same shape the tool page uses. The body may be at most 8 KiB and target at most 2,048 characters.

    curl -sS -X POST https://api.vigilbase.com/tools/v1/agent/tools/email-security/execute \
      -H 'content-type: application/json' \
      -d '{"target":"example.com"}'
    

    Authentication

    You can call the API anonymously, or send a developer API key to raise the rate limit. Put the key in either header:

    HTTP
    Authorization: Bearer <api_key>
    X-Api-Key: <api_key>
    

    An invalid or expired key returns 401; it does not fall back to anonymous access. If vigilbase.com can't check the key with Vigilbase One at that moment, it returns 503 with Retry-After: 5. Create keys in Vigilbase One; see API keys.

    Responses carry Access-Control-Allow-Origin: *, so you can call the API from a browser.

    Rate limits and quotas

    These limits apply to the execute endpoints. The catalog endpoint has only the per-minute limits.

    LimitAnonymousSigned in through the MCP serverWith an API key
    Requests per minute10, per client IP10, per Vigilbase account30, per key
    Free scans per day5 per network, shared with the browser tools; resets at midnight UTC50 per Vigilbase account, shared with the browser tools when you're signed in; resets at midnight UTCNot counted
    Scans per hour20 per client IP and 20 per target, 300 overall across all agent callersSameSame

    The daily free scans are the same allowance the browser tools use: 5 per IPv4 address or IPv6 /64 when you're signed out, and 50 per Vigilbase account when you're signed in. When you sign in to the MCP server, its scans spend your account's 50, together with your scans on vigilbase.com. A developer key doesn't spend either allowance.

    The hourly scan quota is shared with the browser tools and counts the same way with or without a key. A target is counted by its hostname for each tool, so different paths or query strings on one site share its budget, and every address in an IPv6 /64 counts as one client. A request refused before any scan ran, for example because the target is invalid, gets its daily free scan back.

    Requests without a key that vigilbase.com has recently verified also count towards 60 requests a minute per client IP. This limits guessing with invalid keys; a verified key gets its unit back.

    GET/agent/tools returns the per-minute limit, the hourly scan quota and your daily allowance in its rateLimit field. rateLimit.dailyAllowance has your tier (anonymous, signed_in or developer), the limit per UTC day and, when available, how many scans you have used and have remaining and when the allowance resetsAt.

    Responses from the per-minute check onwards carry rate limit headers for that limit: RateLimit, RateLimit-Policy, RateLimit-Limit, RateLimit-Remaining, RateLimit-Reset and the X-RateLimit-* equivalents. 401, 403 and 404 answers come before the check and don't carry them.

    When a limit is used up, the API returns 429 with code rate_limit_exceeded, a Retry-After header and retryAfterSec in the body. Wait that many seconds before trying again, and no scan ran. A spent hourly quota can mean a wait of up to an hour, and spent daily free scans a wait until midnight UTC.

    Errors

    Errors use application/problem+json, with the RFC 9457 fields alongside Vigilbase's own:

    JSON
    {
      "success": false,
      "error": { "code": "rate_limit_exceeded", "message": "...", "hint": "..." },
      "type": "https://vigilbase.com/developers/errors/rate-limit-exceeded",
      "title": "Rate Limit Exceeded",
      "status": 429,
      "detail": "...",
      "code": "rate_limit_exceeded",
      "retryAfterSec": 1800,
      "docsUrl": "https://docs.vigilbase.com/tools/developers/agent-api#rate-limits-and-quotas"
    }
    
    FieldContents
    successAlways false
    errorcode, message and, on most errors, a hint on what to do
    typehttps://vigilbase.com/developers/errors/ followed by the code with hyphens, for example rate-limit-exceeded
    titleThe code in title case, for example Rate Limit Exceeded
    statusThe HTTP status
    detailThe same text as error.message
    codeThe same as error.code
    retryAfterSecOn 429 and most 503 answers: seconds to wait
    docsUrl, toolsUrl, skillsIndexOn some errors: links to these docs, the tool catalog and the agent skills index

    Branch on code; the message wording can change.

    StatusCodeMeaning
    400bad_requestInvalid JSON, or a missing or invalid target
    401unauthorizedInvalid or expired API key
    403forbiddenThe key lacks the scope this endpoint needs (tools:read or tools:execute)
    404not_foundThe tool is unknown or not on this API
    410gonePOST https://vigilbase.com/api/v1/developer/keys, which no longer creates keys
    413payload_too_largeThe body is over 8 KiB
    422unprocessable_entityThe scan ran but failed or could not assess the target, for example because of a bot challenge
    429rate_limit_exceededA per-minute limit, the daily free scans or the hourly scan quota is used up
    503service_unavailableAgent execution is paused, or key checks, scan limits or scan storage are unavailable. No scan ran; retry after Retry-After

    A 422 keeps the shape of a scan response as well: it has apiVersion, toolName, target, grade and gradeScore (both null), result (the scanner's result, explaining what went wrong, or null), uiUrl and skillUrl, next to the error fields above.

    An unexpected server error returns 500, which may not use this format.

    Versioning

    Responses carry API-Version: 1. Use https://api.vigilbase.com/tools/v1.

    Deprecated aliases

    The older URLs were retired on 18 November 2026. They are never redirected:

    AliasHeadersRetired
    https://vigilbase.com/api/v1/…Deprecation: @1793664000 (RFC 9745, 3 November 2026), Sunset: Wed, 18 Nov 2026 00:00:00 GMT (RFC 8594) and Link: <https://api.vigilbase.com/tools/v1/…>; rel="successor-version"18 November 2026
    https://vigilbase.com/api/agent/tools…Deprecation: @1787270400, the same Sunset and the same successor Link18 November 2026 (first announced for 1 September 2027, then 1 February 2027)

    Since 18 November 2026 at 00:00 UTC, these aliases answer 410 Gone with an application/problem+json body: type, title, status, detail, successor (the new URL), sunset, and success: false with error as in every Agent API error. The Link, Sunset and Deprecation headers stay. See the API changelog.

    Two kinds of older URL are never retired. The badge image URLs (vigilbase.com/api/badge/… and vigilbase.com/api/v1/badge/…) are embedded on other sites and announce nothing. The Cloudflare Checkup paths the CLI calls (vigilbase.com/api/v1/tools/cloudflare-checkup/local-session/…) send Deprecation but no Sunset, because shipped CLIs use them. Responses on api.vigilbase.com carry no Deprecation or Sunset header.

    The OpenAPI document states that breaking changes will ship under /tools/v2/, and that new fields may appear in v1 responses without a version change.

    Reference

    See the API reference for every field, or fetch the OpenAPI document at https://api.vigilbase.com/tools/v1/openapi.json.

    Was this page helpful?