---
title: "zmscore · RUAL Documentation"
description: "Reads the scores of several members of a sorted set in one call. A RUAL redis block in the redis sorted sets group. See its pins and version history."
canonical: https://docs.rual.nl/block-types/redis/redis_zmscore
language: en
---

# zmscore

This block is part of the [`redis`](https://docs.rual.nl/block-types/redis) group and was last modified in core [`v15.0.3`](https://docs.rual.nl/core-versions/150003).

## Redis Key Selection Required

This block relies on a Redis key to perform its redis releated actions. You must manually select the Redis key you want to use in the flow in the blueprint using the Redis key selector modal. To access the modal, click the white button on the block.

Reads the scores of several members of a sorted set in one call.

- flow

- set `value` required key of the sorted set

- members `array` required the members to look up, at most 256

- flow

- scores `array`

- missing `array`

- object `object`

- success `condition`

- error `value`

- key `value`

members is an array of 1 to 256 members (strings or numbers, each at most 512 bytes). scores has one number per member in the same order, nothing where the set does not hold the member; missing lists those members; object holds the scores by member. Works on every Redis version: it does not use the ZMSCORE command (Redis 6.2), one fixed script reads the scores in one step. Refused without reading: MISSING_MEMBERS, TOO_MANY_ITEMS (over 256), INVALID_ITEM. A key of another type is an error (WRONGTYPE ...), never an empty answer.

| `redis zmscore` |
| --- |
| `zmscore` |
| `scores of members` |

## Version history

Introduced in [`v15.0.3`](https://docs.rual.nl/core-versions/150003).

## Service documentation

- [External API reference](https://redis.io/commands/zmscore/): This block wraps a third-party service. Click here for the service's own documentation of the underlying endpoint.

- [Back to `redis`](https://docs.rual.nl/block-types/redis): Return to the main group to view all sub-groups

- [Back to `redis sorted sets`](https://docs.rual.nl/block-types/redis?group=redis%20sorted%20sets): Return to the group to view all blocks within this group
