Allocations
Get Net Allocations by Netting ID
REST API
- Introduction
- Requests
- Rate Limits
- Authentication
- Pagination
- CLI Setup
- Activities
- Address Book
- Allocations
- Assets
- Balances
- Commission
- Financing
- Futures
- Invoices
- Onchain Address Book
- Onchain Address Groups
- Orders
- Payment Methods
- Portfolios
- Positions
- Products
- Staking
- Transactions
- Users
- Wallets
FIX API
Allocations
Get Net Allocations by Netting ID
Retrieve an allocation by netting ID.
GET
/
v1
/
portfolios
/
{portfolio_id}
/
allocations
/
net
/
{netting_id}
Copy
Ask AI
curl --request GET \
--url https://api.prime.coinbase.com/v1/portfolios/{portfolio_id}/allocations/net/{netting_id}
Copy
Ask AI
{
"allocations": [
{
"root_id": "<string>",
"reversal_id": "<string>",
"allocation_completed_at": "2023-11-07T05:31:56Z",
"user_id": "<string>",
"product_id": "<string>",
"side": "UNKNOWN_ORDER_SIDE",
"avg_price": "<string>",
"base_quantity": "<string>",
"quote_value": "<string>",
"fees_allocated": "<string>",
"status": "ALLOCATION_STATUS_UNSPECIFIED",
"source": "<string>",
"order_ids": [
"<string>"
],
"destinations": [
{
"leg_id": "<string>",
"portfolio_id": "<string>",
"allocation_base": "<string>",
"allocation_quote": "<string>",
"fees_allocated_leg": "<string>"
}
],
"netting_id": "<string>"
}
]
}
Path Parameters
The portfolio ID of the allocation
The allocation netting ID
Query Parameters
The ID of the allocation
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/portfolios/{portfolio_id}/allocations/net/{netting_id}
Copy
Ask AI
{
"allocations": [
{
"root_id": "<string>",
"reversal_id": "<string>",
"allocation_completed_at": "2023-11-07T05:31:56Z",
"user_id": "<string>",
"product_id": "<string>",
"side": "UNKNOWN_ORDER_SIDE",
"avg_price": "<string>",
"base_quantity": "<string>",
"quote_value": "<string>",
"fees_allocated": "<string>",
"status": "ALLOCATION_STATUS_UNSPECIFIED",
"source": "<string>",
"order_ids": [
"<string>"
],
"destinations": [
{
"leg_id": "<string>",
"portfolio_id": "<string>",
"allocation_base": "<string>",
"allocation_quote": "<string>",
"fees_allocated_leg": "<string>"
}
],
"netting_id": "<string>"
}
]
}
Assistant
Responses are generated using AI and may contain mistakes.