Skip to content
masterclass Buddy

Redis · Command

SSCAN

SCAN iterates over key names in the selected Redis database. Call it repeatedly with the returned cursor until the cursor is 0.

Last updated

Since
2.8.0

Syntax

SCAN cursor [MATCH pattern] [COUNT count] [TYPE type]

In-depth API docs are only for subscribers: parameters, examples, common mistakes and interview practice.

Subscribe
  • SSCAN
  • HSCAN
  • ZSCAN
  • KEYS

Source: SCAN | Docs. Checked 2026-11-03.