Get Borrow Interest Rate
Retrieves historical borrow interest rate data for margin trading on exchanges. Higher rates indicate increased demand for leverage. Tracks cost of borrowing for margin positions. Ideal for: margin trading cost analysis, leverage demand trends, carry trade opportunities, funding cost optimization.
Catalog action Blockchain Data
Retrieves historical borrow interest rate data for margin trading on exchanges. Higher rates indicate increased demand for leverage. Tracks cost of borrowing for margin positions. Ideal for: margin trading cost analysis, leverage demand trends, carry trade opportunities, funding cost optimization.
At a Glance
| Field | Value |
|---|---|
| Action ID | coinglass-indicator-get-borrow-rate |
| Category | Blockchain Data |
| Connector | Not required |
| Requires gas | No |
| Funds movement | None declared |
| Tags | coinglass, indicator, borrow, interest-rate, margin, spot, read |
Payload Schema
| Field | Type | Required | Description |
|---|---|---|---|
exchange | string | Yes | Exchange name (e.g., 'Binance', 'OKX'). |
symbol | string | Yes | Coin symbol (e.g., 'BTC', 'ETH', 'USDT'). |
interval | string | Yes | Time interval for data aggregation. |
limit | number | No | Maximum number of results (default: 1000). |
startTime | number | No | Start timestamp in seconds. |
endTime | number | No | End timestamp in seconds. |
Result Schema
| Field | Type | Required | Description |
|---|---|---|---|
exchange | string | Yes | Exchange name. |
symbol | string | Yes | Coin symbol. |
interval | string | Yes | Time interval. |
dataPoints | array | Yes | Array of borrow interest rate data points. |
Examples
json{ "type": "coinglass-indicator-get-borrow-rate", "payload": { "exchange": "example-exchange", "symbol": "ETH", "interval": "1m" }, "children": []}
bashcurl -X POST "https://api.b3os.org/v1/actions/coinglass-indicator-get-borrow-rate/test" \ -H "Authorization: Bearer YOUR_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "inputs": { "exchange": "example-exchange", "symbol": "ETH", "interval": "1m" }}'
Payload fields can use workflow expressions such as {{$trigger.body.amount}}, {{$nodes.fetch.result.price}}, and {{$props.asset}} when the value should come from a trigger, prior node, or reusable workflow prop.
