curl --request GET \
--url https://api.anchorage-staging.com/v4/accounts/{accountId}/allocations \
--header 'Api-Access-Key: <api-key>'import requests
url = "https://api.anchorage-staging.com/v4/accounts/{accountId}/allocations"
headers = {"Api-Access-Key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'Api-Access-Key': '<api-key>'}};
fetch('https://api.anchorage-staging.com/v4/accounts/{accountId}/allocations', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"data": [
{
"id": "5d3f8c2a-1e4b-4a6c-8d9e-0f1a2b3c4d5e",
"externalId": "5b8e2f4d-6a1c-4e9b-b3d7-2c4e6f8a0b1c",
"symbol": "BTC-USD",
"side": "SELL",
"currency": "BTC",
"counterCurrency": "USD",
"quantity": "0.6",
"orderType": "MARKET",
"timeInForce": "IOC",
"status": "FILLED",
"avgPrice": "64998.50",
"avgPriceAllIn": "64933.50",
"filledQuantity": "0.6",
"counterQuantity": "38999.10",
"counterQuantityAllIn": "38960.10",
"remainingQuantity": "0.00",
"canceledQuantity": "0.00",
"fee": "39.00",
"feeCurrency": "USD",
"subaccountId": "7d1e3f5a-2b4c-4d6e-8f0a-1c2e3a4b5c6d",
"allocationId": "9c8b7a6d-5e4f-4a3b-8c2d-1e0f9a8b7c6d",
"submitTime": "2026-08-11T14:33:00.120000Z",
"lastUpdateTime": "2026-08-11T14:33:00.480000Z"
},
{
"id": "5d3f8c2a-1e4b-4a6c-8d9e-0f1a2b3c4d5e",
"externalId": "5b8e2f4d-6a1c-4e9b-b3d7-2c4e6f8a0b1c",
"symbol": "BTC-USD",
"side": "SELL",
"currency": "BTC",
"counterCurrency": "USD",
"quantity": "0.4",
"orderType": "MARKET",
"timeInForce": "IOC",
"status": "FILLED",
"avgPrice": "64998.50",
"avgPriceAllIn": "64933.50",
"filledQuantity": "0.4",
"counterQuantity": "25999.40",
"counterQuantityAllIn": "25973.40",
"remainingQuantity": "0.00",
"canceledQuantity": "0.00",
"fee": "26.00",
"feeCurrency": "USD",
"subaccountId": "2a4c6e8f-1b3d-4f5a-9c7e-2d4f6a8b0c1e",
"allocationId": "4f3e2d1c-0b9a-4e8d-9c6b-5a4f3e2d1c0b",
"submitTime": "2026-08-11T14:33:00.120000Z",
"lastUpdateTime": "2026-08-11T14:33:00.480000Z"
}
],
"page": {}
}List allocations
Permissions required: Read trade activity
Lists the subaccount-scoped orders (allocations) of an account: every booking of an order into a subaccount, across all of the account’s orders, most recently submitted first.
Each entry is an Order in the subaccount-scoped view — the same
object returned by the orders listing, with quantities, fills, and
fees scoped to one subaccount’s portion of an order, plus
subaccountId and allocationId. An order allocated to multiple
subaccounts appears once per allocation; an order placed directly
into a subaccount appears as its single implicit allocation.
Orders booked at the account level without allocations do not
appear.
The accountId must be an account ID: subaccounts cannot have
subaccounts of their own, so a subaccount ID is rejected with a 400
and code INVALID_ACCOUNT. To retrieve the orders of a single
subaccount, use the orders listing with the subaccount ID in the
path (GET /accounts/{subaccountId}/orders) instead.
curl --request GET \
--url https://api.anchorage-staging.com/v4/accounts/{accountId}/allocations \
--header 'Api-Access-Key: <api-key>'import requests
url = "https://api.anchorage-staging.com/v4/accounts/{accountId}/allocations"
headers = {"Api-Access-Key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'Api-Access-Key': '<api-key>'}};
fetch('https://api.anchorage-staging.com/v4/accounts/{accountId}/allocations', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"data": [
{
"id": "5d3f8c2a-1e4b-4a6c-8d9e-0f1a2b3c4d5e",
"externalId": "5b8e2f4d-6a1c-4e9b-b3d7-2c4e6f8a0b1c",
"symbol": "BTC-USD",
"side": "SELL",
"currency": "BTC",
"counterCurrency": "USD",
"quantity": "0.6",
"orderType": "MARKET",
"timeInForce": "IOC",
"status": "FILLED",
"avgPrice": "64998.50",
"avgPriceAllIn": "64933.50",
"filledQuantity": "0.6",
"counterQuantity": "38999.10",
"counterQuantityAllIn": "38960.10",
"remainingQuantity": "0.00",
"canceledQuantity": "0.00",
"fee": "39.00",
"feeCurrency": "USD",
"subaccountId": "7d1e3f5a-2b4c-4d6e-8f0a-1c2e3a4b5c6d",
"allocationId": "9c8b7a6d-5e4f-4a3b-8c2d-1e0f9a8b7c6d",
"submitTime": "2026-08-11T14:33:00.120000Z",
"lastUpdateTime": "2026-08-11T14:33:00.480000Z"
},
{
"id": "5d3f8c2a-1e4b-4a6c-8d9e-0f1a2b3c4d5e",
"externalId": "5b8e2f4d-6a1c-4e9b-b3d7-2c4e6f8a0b1c",
"symbol": "BTC-USD",
"side": "SELL",
"currency": "BTC",
"counterCurrency": "USD",
"quantity": "0.4",
"orderType": "MARKET",
"timeInForce": "IOC",
"status": "FILLED",
"avgPrice": "64998.50",
"avgPriceAllIn": "64933.50",
"filledQuantity": "0.4",
"counterQuantity": "25999.40",
"counterQuantityAllIn": "25973.40",
"remainingQuantity": "0.00",
"canceledQuantity": "0.00",
"fee": "26.00",
"feeCurrency": "USD",
"subaccountId": "2a4c6e8f-1b3d-4f5a-9c7e-2d4f6a8b0c1e",
"allocationId": "4f3e2d1c-0b9a-4e8d-9c6b-5a4f3e2d1c0b",
"submitTime": "2026-08-11T14:33:00.120000Z",
"lastUpdateTime": "2026-08-11T14:33:00.480000Z"
}
],
"page": {}
}Path Parameters
Query Parameters
Was this page helpful?