WASViking Docs
⌘K
API Reference

Rate limits

How many calls the WASViking API accepts, how a limit is signaled and how to handle it.

The API protects itself and every customer with request limits. Plan your integration around them and it will never notice them.

The limits

Limit Value
Requests from one address About 60 per minute
Scans started through /scan/start/ 20 per hour per organization
Rows per page Up to 100 (up to 200 on /audit-log/)

When a limit is reached

The API answers 429 Too Many Requests with a Retry-After header that says how many seconds to wait:

HTTP/1.1 429 Too Many Requests
Retry-After: 57

Wait that many seconds and repeat the same call. Nothing was lost: the call that received 429 did nothing.

Good practice

  • Read in pages of 100 rows instead of many small calls.
  • To follow changes, use updated_since on /infrastructure/vulnerabilities/ instead of reading everything again (see SIEM).
  • Poll every few minutes, not every few seconds.
  • Honor Retry-After in code, as the example on the SIEM page does.