Skip to main content
GET
/
node
/
v1
/
funding_rates
/
history
/
{base}
/
{quote}
cURL
curl --request GET \
  --url https://{environment}.pragma.build/node/v1/funding_rates/history/{base}/{quote}
{
  "has_next_page": true,
  "page": 123,
  "page_size": 123,
  "data": [
    {
      "hourly_rate": 123,
      "pair": "<string>",
      "source": "<string>",
      "timestamp_ms": 1
    }
  ]
}

Documentation Index

Fetch the complete documentation index at: https://docs.pragma.build/llms.txt

Use this file to discover all available pages before exploring further.

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

frequency
enum<string>

Frequency of data points (all, minute, hour). Defaults to 'all'

Available options:
All,
Minute,
Hour
page
integer<int64>

Page number (1-based)

page_size
integer<int64>

Number of items per page (1-1000)

pagination
object
required

Pagination parameters Common pagination parameters that can be used across different endpoints

Response

200 - application/json

Successfully retrieved historical funding rates with pagination

Common pagination response fields that can be included in API responses

has_next_page
boolean
required
page
integer<int64>
required
page_size
integer<int64>
required
data
object[]
required