Coinbase Prime API
cURL
curl --request GET \ --url https://api.prime.coinbase.com/v1/portfolios/{portfolio_id}/accruals
{ "accruals": [ { "accrual_id": "9227410b-d2d2-4646-950d-df126601bf2a", "date": "2023-05-01T12:00:00.000Z", "portfolio_id": "e8bbed13-fa33-41de-86d5-4335d8f08166", "symbol": "BTC", "interest_rate": "0.05", "nominal_accrual": 0.00013699, "notional_accrual": "4.07", "conversion_rate": "29687.94", "loan_amount": "1.05", "benchmark_rate": 0.0005, "spread": 0.0001, "loan_amount_notional": "1.05", "nominal_open_borrow_sod": "1.05", "notional_open_borrow_sod": "1.05" } ] }
Lists interest accruals between the specified date range for a specific portfolio ID
The unique ID of the portfolio
The start date of the range to query for in RFC3339 format
The end date of the range to query for in RFC3339 format
A successful response.
Show child attributes
The accrual ID
"9227410b-d2d2-4646-950d-df126601bf2a"
The date of accrual in UTC
"2023-05-01T12:00:00.000Z"
"e8bbed13-fa33-41de-86d5-4335d8f08166"
The currency symbol
"BTC"
LOAN_TYPE_UNSET
BILATERAL_LENDING
TRADE_FINANCE
PORTFOLIO_MARGIN
SHORT_COLLATERAL_LOAN
SHORT_COLLATERAL
CROSS_MARGIN
The daily or annualized interest rate for the loan, see rate_type
"0.05"
Daily accrual amount in the principal currency
0.00013699
Daily USD accrued interest
"4.07"
Accrual rate used to convert from principal to USD accrual
"29687.94"
Outstanding principal of the loan
"1.05"
BENCHMARK_UNSET
ZERO
SOFR_360
SOFR_365
CRYPTO_RFR
Daily interest rate fetched from the benchmark source
0.0005
Daily spread offset from the benchmark rate
0.0001
RATE_TYPE_UNSET
BPS
APR_360
APR_365
APR
Outstanding principal of the loan in USD
Settled open borrow as of start-of-day in the principal currency
Settled open borrow as of start-of-day in USD
Was this page helpful?