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

# 货币频道 - 汇率和加密货币价格

> 通过WebSocket流式传输实时货币汇率。法定货币和加密货币定价数据，包括BTC、ETH和主要代币用于赔率转换。

## 数据流内容

货币/代币相对于参考货币的汇率（法定货币和加密货币）。

这是一个**全局频道** — 不限定于任何赛事或期货。

***

## 路由

* 频道：`currencies`（全局）
* 过滤器：❌ 忽略
* 访问权限：所有密钥允许（除非特别禁用）

***

## 负载结构

每条消息包含一个货币值的平面列表：

| 字段              | 类型             | 描述                           |
| --------------- | -------------- | ---------------------------- |
| `currency`      | `string`       | 货币/代币符号（如 `BTC`、`USD`、`ADA`） |
| `currencyValue` | `number`       | 当前汇率（浮点数）                    |
| `updatedAt`     | `string (ISO)` | 此值最后刷新时间                     |

***

## 示例消息

```json theme={null}
{
  "channel": "currencies",
  "type": "UPDATE",
  "payload": {
    "BTC": {
      "currency": "BTC",
      "currencyValue": 0.00001141,
      "updatedAt": "2025-12-28T18:38:02+00:00"
    }
  },
  "ts": 1766939809876,
  "entryId": "1766939809876-700"
}
```

***

## 说明

* 所有值相对于系统的参考货币：USD
