Command line

raqibo in a terminal, or in CI

The free checks, with exit codes a pipeline can act on - and your monitors as a file you keep in version control. Node 20 or newer; nothing else to install.

npx raqibo down example.com

Checks

No account needed. Each exits 0 when it passes, 1 when it fails, and 2 when it could not check at all - so a build can tell “the site is wrong” from “the check did not happen”. Add --json for the full answer.

  • raqibo down example.com

    Fails when the site does not answer, or answers with an error.

  • raqibo trace http://example.com --max-redirects 1 --expect https://example.com/

    Every redirect hop; fails on too many, the wrong end, or a drop to http.

  • raqibo ssl example.com --min-days 21

    Fails when the certificate is untrusted, for another name, or expires sooner.

  • raqibo headers https://example.com --min-grade B

    The security headers grade, and what to fix.

  • raqibo domain example.com --min-days 30

    Domain registration: expiry and risky statuses.

  • raqibo email example.com --min-grade B

    SPF, DKIM, DMARC, DNSSEC and CAA, as one grade.

  • raqibo links https://example.com/pricing

    Fails on a broken link or image on the page.

  • raqibo robots https://example.com

    Fails when robots.txt or a sitemap has a real problem.

In GitHub Actions

Fail a deploy, or a nightly run, when a check does:

name: Site checks
on:
  push:
    branches: [main]
  schedule:
    - cron: "0 6 * * *"

jobs:
  check:
    runs-on: ubuntu-latest
    steps:
      - run: npx --yes raqibo ssl example.com --min-days 21
      - run: npx --yes raqibo headers https://example.com --min-grade B
      - run: npx --yes raqibo links https://example.com/

Monitors as code

Export every monitor as YAML, keep the file in your repository, and apply it from CI: a pull request shows what would change, a merge applies it. An apply is all or nothing. Needs an API key from the dashboard (Settings, API keys) in RAQIBO_API_KEY.

RAQIBO_API_KEY=rqb_… npx raqibo monitors export -o monitoring/monitors.yaml
      - uses: actions/checkout@v4
      - run: npx --yes raqibo monitors apply monitoring/monitors.yaml --dry-run
        if: github.event_name == 'pull_request'
        env:
          RAQIBO_API_KEY: ${{ secrets.RAQIBO_API_KEY }}
      - run: npx --yes raqibo monitors apply monitoring/monitors.yaml
        if: github.ref == 'refs/heads/main'
        env:
          RAQIBO_API_KEY: ${{ secrets.RAQIBO_API_KEY }}

Add --prune to delete monitors the file does not list. The file holds alert destinations, so keep the repository private; credentials for the sites checked are never in it.

Everything here is the public API underneath: API reference.