curl --request POST \
--url 'https://api.glider.fi/v2/assets/allocation-breakdown' \
--header 'content-type: application/json' \
--header 'x-api-key: gldr_sk_your_api_key' \
--data '{
"dimensions": ["sector", "industry", "gliderTheme"],
"multiCategoryMode": "primary",
"holdings": [
{
"assetCanonicalId": "11111111-1111-4111-8111-111111111111",
"symbol": "NOW",
"weight": "25"
},
{
"caipAssetId": "eip155:56/erc20:0x2222222222222222222222222222222222222222",
"symbol": "NVDAON",
"weight": "75"
}
]
}'
{
"success": true,
"data": {
"normalization": {
"inputMode": "weights",
"normalizedTotal": "1",
"sourceTotal": "100"
},
"holdings": [
{
"inputIndex": 0,
"assetCanonicalId": "11111111-1111-4111-8111-111111111111",
"caipAssetId": null,
"symbol": "NOW",
"name": null,
"normalizedWeight": "0.25",
"sourceValue": "25"
}
],
"breakdowns": [
{
"dimension": "sector",
"aggregationMode": "single",
"totalWeight": "1",
"absoluteTotalWeight": "1",
"totalMayExceedOne": false,
"buckets": [
{
"key": "technology",
"label": "Technology",
"weight": "1",
"absoluteWeight": "1",
"holdingCount": 2,
"holdings": []
}
]
}
],
"diagnostics": {
"unresolved": [],
"unsupported": [],
"unclassified": [],
"lowConfidence": []
}
}
}
Portfolio Data
Get Asset Allocation Breakdown
Aggregates canonical or CAIP assets into sector, industry, theme, or category buckets.
POST
/
v2
/
assets
/
allocation-breakdown
curl --request POST \
--url 'https://api.glider.fi/v2/assets/allocation-breakdown' \
--header 'content-type: application/json' \
--header 'x-api-key: gldr_sk_your_api_key' \
--data '{
"dimensions": ["sector", "industry", "gliderTheme"],
"multiCategoryMode": "primary",
"holdings": [
{
"assetCanonicalId": "11111111-1111-4111-8111-111111111111",
"symbol": "NOW",
"weight": "25"
},
{
"caipAssetId": "eip155:56/erc20:0x2222222222222222222222222222222222222222",
"symbol": "NVDAON",
"weight": "75"
}
]
}'
{
"success": true,
"data": {
"normalization": {
"inputMode": "weights",
"normalizedTotal": "1",
"sourceTotal": "100"
},
"holdings": [
{
"inputIndex": 0,
"assetCanonicalId": "11111111-1111-4111-8111-111111111111",
"caipAssetId": null,
"symbol": "NOW",
"name": null,
"normalizedWeight": "0.25",
"sourceValue": "25"
}
],
"breakdowns": [
{
"dimension": "sector",
"aggregationMode": "single",
"totalWeight": "1",
"absoluteTotalWeight": "1",
"totalMayExceedOne": false,
"buckets": [
{
"key": "technology",
"label": "Technology",
"weight": "1",
"absoluteWeight": "1",
"holdingCount": 2,
"holdings": []
}
]
}
],
"diagnostics": {
"unresolved": [],
"unsupported": [],
"unclassified": [],
"lowConfidence": []
}
}
}
Returns deterministic category makeup for an arbitrary list of holdings. Each
holding must identify either a canonical asset (
assetCanonicalId) or a
chain-scoped CAIP-19 asset (caipAssetId). CAIP assets are resolved upward to
their canonical subject before sector, industry, theme, or crypto-category
membership is loaded.
- Auth:
x-api-keyheader (required) - Scope:
portfolios:read
sectorindustryGroupindustrysubIndustrygliderSectorgliderThemecryptoCategory
multiCategoryMode:
primaryselects the highest-confidence category for each holding.apportionedsplits each holding’s weight across all matching categories.overlapassigns the full holding weight to every matching category, so totals can exceed 100%.
curl --request POST \
--url 'https://api.glider.fi/v2/assets/allocation-breakdown' \
--header 'content-type: application/json' \
--header 'x-api-key: gldr_sk_your_api_key' \
--data '{
"dimensions": ["sector", "industry", "gliderTheme"],
"multiCategoryMode": "primary",
"holdings": [
{
"assetCanonicalId": "11111111-1111-4111-8111-111111111111",
"symbol": "NOW",
"weight": "25"
},
{
"caipAssetId": "eip155:56/erc20:0x2222222222222222222222222222222222222222",
"symbol": "NVDAON",
"weight": "75"
}
]
}'
{
"success": true,
"data": {
"normalization": {
"inputMode": "weights",
"normalizedTotal": "1",
"sourceTotal": "100"
},
"holdings": [
{
"inputIndex": 0,
"assetCanonicalId": "11111111-1111-4111-8111-111111111111",
"caipAssetId": null,
"symbol": "NOW",
"name": null,
"normalizedWeight": "0.25",
"sourceValue": "25"
}
],
"breakdowns": [
{
"dimension": "sector",
"aggregationMode": "single",
"totalWeight": "1",
"absoluteTotalWeight": "1",
"totalMayExceedOne": false,
"buckets": [
{
"key": "technology",
"label": "Technology",
"weight": "1",
"absoluteWeight": "1",
"holdingCount": 2,
"holdings": []
}
]
}
],
"diagnostics": {
"unresolved": [],
"unsupported": [],
"unclassified": [],
"lowConfidence": []
}
}
}