sysadmin.lk
SYSADMIN - NETWORKTOOLSby sysadmin.lk

API Docs

Every diagnostic tool on this site is also a plain HTTP API — call it from a script, CI pipeline, or your own tooling.

Public lookups (DNS, email, SSL, etc.) need no authentication. Anything tied to your account — monitors, dashboard, the Super Scanner history — needs an API key.

Authentication

Send your API key as a bearer token, the same way a logged-in session would:

Authorization: Bearer ntk_your_api_key_here

Example: a public DNS lookup

curl "https://backend.sysadmin.lk/api/v1/dns/a?target=example.com"

Example: list your monitors (authenticated)

curl "https://backend.sysadmin.lk/api/v1/monitors" \
  -H "Authorization: Bearer ntk_your_api_key_here"

Example: run a Super Scan and poll for results

# Start the scan
curl -X POST "https://backend.sysadmin.lk/api/v1/scanner/super-scan" \
  -H "Content-Type: application/json" \
  -d '{"target": "example.com"}'

# Poll using the returned scan_id
curl "https://backend.sysadmin.lk/api/v1/scanner/super-scan/<scan_id>"

A few common endpoints

GET
/api/v1/dns/{type}?target=

A, AAAA, CNAME, MX, NS, TXT, SOA, CAA, WHOIS, DNSSEC

GET
/api/v1/email/spf?target=

SPF, DKIM, DMARC, BIMI, MTA-STS, TLS-RPT checks

POST
/api/v1/scanner/super-scan

Start a full DNS/email/website/security scan

GET
/api/v1/scanner/super-scan/{scan_id}

Poll a scan's status and results

GET
/api/v1/dashboard/summary

Monitor counts, average score, recent scans — requires an API key

GET
/api/v1/monitors

List your domain monitors — requires an API key

POST
/api/v1/monitors

Create a monitor — requires an API key

Every endpoint, request/response shape, and error code is documented in the full interactive reference: https://backend.sysadmin.lk/docs.