GET
/
node
/
v1
/
funding_rates
/
history
/
{base}
/
{quote}
curl --request GET \
  --url https://{environment}.pragma.build/node/v1/funding_rates/history/{base}/{quote}
[
  {
    "hourly_rate": 123,
    "pair": "<string>",
    "source": "<string>",
    "timestamp_ms": 1
  }
]

Path Parameters

base
string
required

Base asset symbol (e.g., BTC)

quote
string
required

Quote asset symbol (e.g., USD)

Query Parameters

source
string
required
timestamp
string
required

Represents a range of timestamps

Response

200 - application/json
Successfully retrieved historical funding rates

The response is of type object[].