Financing
List Margin Call Summaries
REST API
- Introduction
- Requests
- Rate Limits
- Authentication
- Pagination
- CLI Setup
- Activities
- Address Book
- Allocations
- Assets
- Balances
- Commission
- Financing
- POSTCreate New Locates
- GETGet Entity Locate Availabilities
- GETGet Margin Information
- GETGet Portfolio Buying Power
- GETGet Portfolio Credit Information
- GETGet Portfolio Withdrawal Power
- GETGet Trade Finance Tiered Pricing Fees
- GETList Existing Locates
- GETList Interest Accruals
- GETList Interest Accruals For Portfolio
- GETList Margin Call Summaries
- GETList Margin Conversions
- POST
- Futures
- Invoices
- Onchain Address Book
- Onchain Address Groups
- Orders
- Payment Methods
- Portfolios
- Positions
- Products
- Staking
- Transactions
- Users
- Wallets
FIX API
Financing
List Margin Call Summaries
Lists the margin call history for a given entity ID.
GET
/
v1
/
entities
/
{entity_id}
/
margin_summaries
Copy
Ask AI
curl --request GET \
--url https://api.prime.coinbase.com/v1/entities/{entity_id}/margin_summaries
Copy
Ask AI
{
"margin_summaries": [
{
"conversion_datetime": "2023-05-01T12:00:00.000Z",
"conversion_date": "2023-05-01T00:00:00.000Z",
"margin_summary": {
"entity_id": "e8bbed13-fa33-41de-86d5-4335d8f08166",
"margin_equity": "2539231.5903575355",
"margin_requirement": "15131.725279884091",
"excess_deficit": "2524099.865077651",
"pm_credit_consumed": "10000",
"tf_credit_limit": "2000000",
"tf_credit_consumed": "20000",
"tf_adjusted_asset_value": "40000",
"tf_adjusted_liability_value": "40000",
"tf_adjusted_credit_consumed": "30000",
"tf_adjusted_equity": "30000",
"frozen": false,
"frozen_reason": "<string>",
"tf_enabled": true,
"pm_enabled": true,
"market_rates": [
{
"symbol": "BTC",
"rate": "27,123"
}
],
"asset_balances": [
{
"portfolio_id": "e8bbed13-fa33-41de-86d5-4335d8f08166",
"symbol": "BTC",
"amount": "4000",
"notional_amount": "4000",
"conversion_rate": "1000"
}
],
"tf_loans": [
{
"portfolio_id": "e8bbed13-fa33-41de-86d5-4335d8f08166",
"symbol": "BTC",
"amount": "10",
"notional_amount": "250000",
"due_date": "1000"
}
],
"pm_loans": [
{
"portfolio_id": "e8bbed13-fa33-41de-86d5-4335d8f08166",
"symbol": "BTC",
"amount": "10",
"notional_amount": "250000",
"due_date": "1000"
}
],
"short_collateral": [
{
"portfolio_id": "e8bbed13-fa33-41de-86d5-4335d8f08166",
"symbol": "BTC",
"amount": "10",
"notional_amount": "250000",
"due_date": "1000"
}
],
"gross_market_value": "<string>",
"net_market_value": "<string>",
"long_market_value": "<string>",
"non_marginable_long_market_value": "<string>",
"short_market_value": "<string>",
"gross_leverage": "<string>",
"net_exposure": "<string>",
"portfolio_stress_triggered": {
"amount": "<string>",
"add_on_type": "MARGIN_ADD_ON_TYPE_UNSPECIFIED"
},
"pm_asset_info": [
{
"symbol": "<string>",
"amount": "<string>",
"price": "<string>",
"notional_amount": "<string>",
"asset_tier": "<string>",
"margin_eligible": true,
"base_margin_requirement": "<string>",
"base_margin_requirement_notional": "<string>",
"adv_30d": "<string>",
"hist_5d_vol": "<string>",
"hist_30d_vol": "<string>",
"hist_90d_vol": "<string>",
"volatility_addon": "<string>",
"liquidity_addon": "<string>",
"total_position_margin": "<string>",
"short_nominal": "<string>",
"long_nominal": "<string>"
}
],
"pm_credit_limit": "1000000",
"pm_margin_limit": "200000",
"pm_margin_consumed": "5000"
}
}
]
}
Path Parameters
The unique ID of the entity
Query Parameters
The start date of the range to query for in RFC3339 format. Must be within the last 3 months
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
.
Was this page helpful?
Copy
Ask AI
curl --request GET \
--url https://api.prime.coinbase.com/v1/entities/{entity_id}/margin_summaries
Copy
Ask AI
{
"margin_summaries": [
{
"conversion_datetime": "2023-05-01T12:00:00.000Z",
"conversion_date": "2023-05-01T00:00:00.000Z",
"margin_summary": {
"entity_id": "e8bbed13-fa33-41de-86d5-4335d8f08166",
"margin_equity": "2539231.5903575355",
"margin_requirement": "15131.725279884091",
"excess_deficit": "2524099.865077651",
"pm_credit_consumed": "10000",
"tf_credit_limit": "2000000",
"tf_credit_consumed": "20000",
"tf_adjusted_asset_value": "40000",
"tf_adjusted_liability_value": "40000",
"tf_adjusted_credit_consumed": "30000",
"tf_adjusted_equity": "30000",
"frozen": false,
"frozen_reason": "<string>",
"tf_enabled": true,
"pm_enabled": true,
"market_rates": [
{
"symbol": "BTC",
"rate": "27,123"
}
],
"asset_balances": [
{
"portfolio_id": "e8bbed13-fa33-41de-86d5-4335d8f08166",
"symbol": "BTC",
"amount": "4000",
"notional_amount": "4000",
"conversion_rate": "1000"
}
],
"tf_loans": [
{
"portfolio_id": "e8bbed13-fa33-41de-86d5-4335d8f08166",
"symbol": "BTC",
"amount": "10",
"notional_amount": "250000",
"due_date": "1000"
}
],
"pm_loans": [
{
"portfolio_id": "e8bbed13-fa33-41de-86d5-4335d8f08166",
"symbol": "BTC",
"amount": "10",
"notional_amount": "250000",
"due_date": "1000"
}
],
"short_collateral": [
{
"portfolio_id": "e8bbed13-fa33-41de-86d5-4335d8f08166",
"symbol": "BTC",
"amount": "10",
"notional_amount": "250000",
"due_date": "1000"
}
],
"gross_market_value": "<string>",
"net_market_value": "<string>",
"long_market_value": "<string>",
"non_marginable_long_market_value": "<string>",
"short_market_value": "<string>",
"gross_leverage": "<string>",
"net_exposure": "<string>",
"portfolio_stress_triggered": {
"amount": "<string>",
"add_on_type": "MARGIN_ADD_ON_TYPE_UNSPECIFIED"
},
"pm_asset_info": [
{
"symbol": "<string>",
"amount": "<string>",
"price": "<string>",
"notional_amount": "<string>",
"asset_tier": "<string>",
"margin_eligible": true,
"base_margin_requirement": "<string>",
"base_margin_requirement_notional": "<string>",
"adv_30d": "<string>",
"hist_5d_vol": "<string>",
"hist_30d_vol": "<string>",
"hist_90d_vol": "<string>",
"volatility_addon": "<string>",
"liquidity_addon": "<string>",
"total_position_margin": "<string>",
"short_nominal": "<string>",
"long_nominal": "<string>"
}
],
"pm_credit_limit": "1000000",
"pm_margin_limit": "200000",
"pm_margin_consumed": "5000"
}
}
]
}
Assistant
Responses are generated using AI and may contain mistakes.