forex
Get forex (foreign exchange) rate data for currency pairs like USD-KRW. Essential for converting crypto prices between currencies, especially for Korean Won premium calculations.
Usage hints:
- Use forex_symbols to find available currency pairs
- USD-KRW rate is critical for calculating kimchi premium
REST endpoint
GET /api/v1/forex — see REST reference.
Parameters
| Name | Type | Required | Default | Description | Example |
|---|---|---|---|---|---|
symbol | string | no | Specifies symbol | "..." |
Example invocation
JSON-RPC tools/call payload:
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "forex",
"arguments": {}
}
}