GET
/
v1
/
entities
/
{entity_id}
/
accruals
curl --request GET \
  --url https://api.prime.coinbase.com/v1/entities/{entity_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"
    }
  ]
}

Path Parameters

entity_id
string
required

The unique ID of the entity

Query Parameters

portfolio_id
string

The unique ID of the portfolio

start_date
string

The start date of the range to query for in RFC3339 format

end_date
string

The end date of the range to query for in RFC3339 format

Response

200
application/json

A successful response.

The response is of type object.