Org Overview (All Profiles)
curl --request GET \
--url https://api.example.com/v1/allocations/overview/allimport requests
url = "https://api.example.com/v1/allocations/overview/all"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.example.com/v1/allocations/overview/all', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.example.com/v1/allocations/overview/all",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.example.com/v1/allocations/overview/all"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.example.com/v1/allocations/overview/all")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.example.com/v1/allocations/overview/all")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_bodyAllocations
Org Overview (All Profiles)
GET /v1/allocations/overview/all — Aggregated metrics across all wallet profiles
GET
/
v1
/
allocations
/
overview
/
all
Org Overview (All Profiles)
curl --request GET \
--url https://api.example.com/v1/allocations/overview/allimport requests
url = "https://api.example.com/v1/allocations/overview/all"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.example.com/v1/allocations/overview/all', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.example.com/v1/allocations/overview/all",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.example.com/v1/allocations/overview/all"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.example.com/v1/allocations/overview/all")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.example.com/v1/allocations/overview/all")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_bodyEndpoint:
GET https://api.rebelfi.io/v1/allocations/overview/allThis endpoint requires an admin API key. Admin keys are read-only keys not scoped to any specific wallet profile. See Authentication for details.
Query Parameters
| Field | Type | Required | Description |
|---|---|---|---|
walletProfileId | number | No | Filter results to a specific wallet profile |
Example Request
curl -X GET "https://api.rebelfi.io/v1/allocations/overview/all" \
-H "x-api-key: your_admin_api_key"
curl -X GET "https://api.rebelfi.io/v1/allocations/overview/all?walletProfileId=1" \
-H "x-api-key: your_admin_api_key"
// All profiles
const overview = await client.allocations.overviewAll();
// Filtered to one profile
const overview = await client.allocations.overviewAll(1);
Example Response
{
"profiles": [
{
"walletProfileId": 1,
"walletProfileName": "Partner A",
"totalWallets": 800,
"activeWallets": 650,
"totalValueUsd": "2500000.300000",
"totalYieldEarnedUsd": "75000.100000",
"averageApyDecimal": 0.065,
"protocolDistribution": [
{
"name": "AAVE V3",
"valueUsd": "1500000.200000",
"percentage": 60.0,
"walletCount": 400
},
{
"name": "Kamino",
"valueUsd": "1000000.100000",
"percentage": 40.0,
"walletCount": 250
}
],
"assetDistribution": [
{
"name": "USDC",
"valueUsd": "2000000.240000",
"percentage": 80.0,
"walletCount": 550
}
],
"blockchainDistribution": [
{
"name": "ethereum",
"valueUsd": "1500000.200000",
"percentage": 60.0,
"walletCount": 400
},
{
"name": "solana",
"valueUsd": "1000000.100000",
"percentage": 40.0,
"walletCount": 250
}
]
},
{
"walletProfileId": 2,
"walletProfileName": "Partner B",
"totalWallets": 450,
"activeWallets": 330,
"totalValueUsd": "1750000.200000",
"totalYieldEarnedUsd": "52500.050000",
"averageApyDecimal": 0.072,
"protocolDistribution": [],
"assetDistribution": [],
"blockchainDistribution": []
}
],
"totals": {
"totalWallets": 1250,
"activeWallets": 980,
"totalValueUsd": "4250000.500000",
"totalYieldEarnedUsd": "127500.150000",
"averageApyDecimal": 0.068,
"protocolDistribution": [
{
"name": "AAVE V3",
"valueUsd": "2550000.300000",
"percentage": 60.0,
"walletCount": 620
},
{
"name": "Kamino",
"valueUsd": "1700000.200000",
"percentage": 40.0,
"walletCount": 360
}
],
"assetDistribution": [
{
"name": "USDC",
"valueUsd": "3400000.400000",
"percentage": 80.0,
"walletCount": 850
}
],
"blockchainDistribution": [
{
"name": "ethereum",
"valueUsd": "2550000.300000",
"percentage": 60.0,
"walletCount": 620
},
{
"name": "solana",
"valueUsd": "1700000.200000",
"percentage": 40.0,
"walletCount": 360
}
]
}
}
Response Fields
| Field | Type | Description |
|---|---|---|
profiles | OrgOverview[] | Per-profile overview breakdown (same shape as Org Overview response) |
totals | OrgOverviewTotals | Aggregated totals across all profiles |
OrgOverviewTotals Object
| Field | Type | Description |
|---|---|---|
totalWallets | number | Total wallets across all profiles |
activeWallets | number | Wallets with active allocations across all profiles |
totalValueUsd | string | Total value across all profiles (USD) |
totalYieldEarnedUsd | string | Total yield earned across all profiles (USD) |
averageApyDecimal | number | Weighted average APY as decimal (e.g., 0.068 for 6.8%) |
protocolDistribution | DistributionEntry[] | Org-wide breakdown by protocol/venue |
assetDistribution | DistributionEntry[] | Org-wide breakdown by token |
blockchainDistribution | DistributionEntry[] | Org-wide breakdown by blockchain network |
Errors
| Status | Code | Description |
|---|---|---|
403 | Forbidden | API key is not an admin key |
404 | WALLET_NOT_FOUND | Specified walletProfileId not found |