---
title: "Get all current rates"
method: GET
path: "/v1/exchangerate/{asset_id_base}"
tags: ["Exchange Rates"]
---

# Get all current rates

`GET /v1/exchangerate/{asset_id_base}`

Get the current exchange rate between requested asset and all other assets.
            
:::info
If you are using an exchange rate for mission-critical operations, then for best reliability, you should measure the difference between current time and the time returned from the response to ensure that value of the difference between those meets your internal requirements.
:::
            
:::info
You can invert the rates by using Y = 1 / X equation, for example BTC/USD = 1 / (USD/BTC);
:::

## Path parameters

- `asset_id_base` string, required

## Query parameters

- `filter_asset_id` string
- `invert` boolean
- `time` string

## Response `200`

successful operation

- V1ExchangeRates — Represents exchange rates for a specific base asset.
  - `asset_id_base` string, nullable — Gets or sets the base asset ID.
  - `rates` V1ExchangeRatesRate[], nullable — Gets or sets the list of exchange rates.
    - `time` string, date-time — Gets or sets the time of the exchange rate.
    - `asset_id_quote` string, nullable — Gets or sets the quote asset ID of the exchange rate.
    - `rate` number, double — Gets or sets the exchange rate value.

---

[API](https://skmtc.net/coinapi/apis/coinapi-market-data-rest-api.md) · [All operations](https://skmtc.net/coinapi/apis/coinapi-market-data-rest-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/coinapi/coinapi-market-data-rest-api/versions/805496271c56/schema)
