Coinbase Prime API
cURL
curl --request GET \ --url https://api.prime.coinbase.com/v1/portfolios/{portfolio_id}/accruals
{ "total_notional_accrual": "<string>", "accruals": [ { "accrual_id": "9227410b-d2d2-4646-950d-df126601bf2a", "date": "2023-05-01T12:00:00.000Z", "portfolio_id": "e8bbed13-fa33-41de-86d5-4335d8f08166", "symbol": "BTC", "loan_type": "LOAN_TYPE_UNSET", "interest_rate": "0.05", "nominal_accrual": 0.00013699, "notional_accrual": "4.07", "conversion_rate": "29687.94", "loan_amount": "1.05", "benchmark": "BENCHMARK_UNSET", "benchmark_rate": 0.0005, "spread": 0.0001, "rate_type": "RATE_TYPE_UNSET", "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
Was this page helpful?