# Source: https://upstash.com/docs/redis/sdks/ts/commands/json/numincrby.md

# Source: https://upstash.com/docs/redis/sdks/py/commands/json/numincrby.md

> ## Documentation Index
> Fetch the complete documentation index at: https://upstash.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# JSON.NUMINCRBY

> Increment the number value stored at `path` by number.

## Arguments

<ParamField body="key" type="str" required>
  The key of the json entry.
</ParamField>

<ParamField body="path" type="str" required>
  The path of the number.
</ParamField>

<ParamField body="increment" type="number" required>
  The number to increment by.
</ParamField>

## Response

<ResponseField type="List[int]" required>
  The new value after incrementing
</ResponseField>

<RequestExample>
  ```py Example theme={"system"}
  newValue = redis.json.numincrby("key", "$.path.to.value", 2)
  ```
</RequestExample>