---
title: "Update Rate"
method: PATCH
path: "/v1/rates/{id}"
tags: ["Liquidity Pool"]
---

# Update Rate

`PATCH /v1/rates/{id}`

Updates an existing rate for a specific asset pair.

Use this endpoint to modify the rate and/or minimum amount for a previously-created rate. Updates are applied to the rate identified by `id`.

---

## Endpoint

`PATCH https://api.blockradar.co/v1/rates/:id`

---

## Path Parameters

| Key | Required | Type | Description |
| --- | --- | --- | --- |
| id | true | string | The unique identifier of the rate to update. |

---

## Body Parameters

Provide only the fields you want to update (partial updates supported).

| Key | Required | Type | Description |
| --- | --- | --- | --- |
| rate | false | string | The updated exchange rate for the asset pair. Provided as a string to avoid floating point precision issues. |
| minAmount | false | string | The updated minimum amount allowed for this rate/pair. Provided as a string. |

## Request body

- object
  - `rate` string — The updated exchange rate for the asset pair. Provided as a string to avoid floating point precision issues.
  - `minAmount` string — The updated minimum amount allowed for this rate/pair. Provided as a string.

## Response `200`

200

- object
  - `data` object
    - `createdAt` string
    - `fromAsset` string
    - `id` string
    - `isActive` boolean
    - `maxAmount` string, nullable
    - `minAmount` string
    - `network` string
    - `previousRateId` string, nullable
    - `rate` string
    - `rootRateId` string, nullable
    - `status` string
    - `toAsset` string
    - `version` number
  - `message` string
  - `statusCode` number

---

[API](https://skmtc.net/blockradar/apis/blockradar-documentation.md) · [All operations](https://skmtc.net/blockradar/apis/blockradar-documentation/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/blockradar/blockradar-documentation/revisions/97f95b4cfc0d/schema)
