REST API

LIVE

The JSON API behind the portal and the SDK: assets, scans, findings, AI agents, reports and code scans.

  • Base URL https://api.cyberspec.pro, Authorization: Bearer <key>
  • GET /assets, GET and POST /scans, POST /scans/:id/cancel
  • GET /findings with filters, GET /findings/summary, PATCH /findings/:id/status and PATCH /findings/status for bulk
  • POST /findings/:id/explain and /findings/:id/triage; GET and POST /reports, GET /reports/:id/download
  • POST /code-scans for dependency checks; GET /compliance reads on paid plans
CyberSpec dashboard: risk score, open findings by severity, a seven-day trend and recent scans
The CyberSpec portal.

Every action the SDK offers is a plain HTTPS call you can make from any language. Requests carry an API key as a Bearer token and act with the role of the person who created the key. Network assets are read-only over the API; adding one needs ownership verification and a person’s consent, which happen in the portal.

Authentication

Send the key in the Authorization header on every request. The key acts with the role it was created with, under the same permission checks as the portal, so a call the role may not make returns an error rather than partial data.

# Every request: the key as a Bearer token
curl -H "Authorization: Bearer $CYBERSPEC_API_KEY" https://api.cyberspec.pro/findings/summary

Findings in fix order

GET /findings sorts ransomware-linked known-exploited findings first, then other known-exploited ones, then severity and CVSS. Filter by severity, status, cve, assetId, scanId, checkType or client (an MSP client name). A page holds 100 findings by default; pass limit up to 200 and offset to page. Unknown query parameters are rejected. GET /findings/summary returns open counts by severity and a trend without the table. Status changes go to the audit log with the key’s owner.

curl -H "Authorization: Bearer $CYBERSPEC_API_KEY" \
  "https://api.cyberspec.pro/findings?status=open&severity=critical&limit=200&offset=0"

curl -X PATCH -H "Authorization: Bearer $CYBERSPEC_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"status":"in_progress"}' \
  https://api.cyberspec.pro/findings/<finding id>/status

Reports

POST /reports with type pdf or csv queues a report: add assetId for one asset, or client for every asset of one MSP client, or neither for the whole organisation. GET /reports/:id shows its status, and GET /reports/:id/download returns a short-lived link once it is ready.

curl -X POST -H "Authorization: Bearer $CYBERSPEC_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"type":"pdf"}' \
  https://api.cyberspec.pro/reports

curl -H "Authorization: Bearer $CYBERSPEC_API_KEY" \
  https://api.cyberspec.pro/reports/<report id>/download

Compliance reads (paid plans)

GET /compliance maps open findings to SOC 2, ISO 27001 and PCI DSS control families. GET /compliance/cyber-essentials returns per-control readiness for the UK scheme and GET /compliance/dpdp the India DPDP Act readiness checklist. Each takes ?client= for an MSP client. They report readiness and mapping, never certification.

Records for GDPR and NIS2

GDPR Art. 32 asks for security appropriate to the risk, and NIS2 Art. 21 includes vulnerability handling. Through the API you can pull the evidence of that work into your own systems: each finding’s firstSeen and lastSeen dates, its status, the audit log of who changed it (GET /audit-logs, Owner or Admin keys) and PDF or CSV reports. These are records of your work, not proof that you meet either law.

The parts of CyberSpec that do this

For teams in Netherlands

In the Netherlands, the security duties buyers ask about are GDPR Article 32 and NIS2 Article 21, which includes vulnerability handling. CyberSpec gives dated external-scan evidence for both and maps findings to ISO 27001. A personal data breach goes to the Autoriteit Persoonsgegevens within 72 hours where feasible, unless it is unlikely to put people at risk (Article 33). The national cyber agency is NCSC-NL.

CyberSpec is €17 per client a month for up to 5 assets, a €119 one-off report, or free for one asset.

See your own exposure in minutes

Free for one asset, no card. Add a domain, prove you own it, and run your first scan.

More in Developers