Skip to content
masterclass Buddy

Upstash · Method

redis.zrange

ZRANGE reads members from a Redis sorted set. It can select by index, score, or member name, reverse the order, page through results, and include scores.

Last updated

Syntax

ZRANGE <key> <start> <stop> [BYSCORE | BYLEX] [REV] [LIMIT <offset> <count>] [WITHSCORES]

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

Subscribe
  • ZRANGEBYLEX
  • ZRANGEBYSCORE
  • ZRANGESTORE
  • ZREVRANGE
  • ZADD

Source: ZRANGE - Upstash Documentation. Checked 2026-11-03.