Get funding rate history
Get funding rate history data.
OBSIDIAN-KEY<token>
In: header
OBSIDIAN-SECRET<token>
In: header
Path Parameters
product_idstring
Identifier of the product (e.g., "BTC-PERP", "ETH-PERP") to retrieve funding rate history for.
Query Parameters
from?string
(Optional) Start timestamp (in nanoseconds) to filter results from, inclusive. Defaults to 24 hours before the 'to' timestamp.
Format
int64to?string
(Optional) End timestamp (in nanoseconds) to filter results up to, exclusive. Defaults to the current time.
Format
int64limit?string
(Optional) Maximum number of records to return per page. Default is 20.
Format
int64page?string
(Optional) Page number for pagination. Default is 1.
Format
int64Response Body
application/json
application/json
curl -X GET "https://api.dev.obsidian.exchange/products/string/funding-rate-history"{
"product_id": "string",
"items": [
{
"time": "string",
"rate": "string"
}
],
"paging": {
"page": "string",
"per_page": "string",
"last_page": "string",
"total": "string",
"from": "string",
"to": "string"
}
}{
"code": 0,
"message": "string",
"details": [
{
"@type": "string",
"property1": null,
"property2": null
}
]
}