squirrelscan API
- URL
-
https://api.squirrelscan.com - Spec
- https://squirrelscan.com/openapi.json
- Docs
- https://docs.squirrelscan.com/api
Authorization: Bearer <credential> discovered Create a key in Settings → API Keys, or run `squirrel auth login` and then `squirrel keys create`. Pick scopes and expiry, copy the key when shown (it is shown once), then supply it as Authorization: Bearer sq_... or set SQUIRRELSCAN_API_KEY for CLI/headless use. The legacy env alias SQUIRREL_API_TOKEN is also accepted by the CLI.
Authorization: Bearer <credential> Run `squirrel auth login`. The CLI opens a browser/device authorization flow, signs you in, and stores a user-scoped sqcli_... login session for interactive cloud features. This token is best for local development; for automation use an org API key instead.
Authorization: Bearer <credential> Create a key at https://app.squirrelscan.com/settings/api-keys (or run squirrel keys create after squirrel auth login). Set it as SQUIRRELSCAN_API_KEY, or send it as Authorization: Bearer sq_... on any request. Local, unauthenticated audits are always free; a key is only needed for cloud features such as hosted crawling, publishing, and credits.