Org Overview
curl --request GET \
--url https://api.example.com/v1/allocations/overviewimport requests
url = "https://api.example.com/v1/allocations/overview"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.example.com/v1/allocations/overview', 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",
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"
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")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.example.com/v1/allocations/overview")
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
GET /v1/allocations/overview — Aggregated metrics across all wallets
GET
/
v1
/
allocations
/
overview
Org Overview
curl --request GET \
--url https://api.example.com/v1/allocations/overviewimport requests
url = "https://api.example.com/v1/allocations/overview"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.example.com/v1/allocations/overview', 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",
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"
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")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.example.com/v1/allocations/overview")
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/overviewExample Request
curl -X GET "https://api.rebelfi.io/v1/allocations/overview" \
-H "x-api-key: your_api_key"
const overview = await client.allocations.overview();
Example Response
{
"walletProfileId": 1,
"walletProfileName": "Production",
"totalWallets": 1250,
"activeWallets": 980,
"totalValueUsd": "4250000.500000",
"totalYieldEarnedUsd": "127500.150000",
"averageApyDecimal": 0.065,
"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
},
{
"name": "USDT",
"valueUsd": "850000.100000",
"percentage": 20.0,
"walletCount": 130
}
],
"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 |
|---|---|---|
walletProfileId | number | Wallet profile ID associated with the API key |
walletProfileName | string | Wallet profile name |
totalWallets | number | Total number of wallets in the profile |
activeWallets | number | Wallets with at least one active allocation |
totalValueUsd | string | Total value across all wallets (USD) |
totalYieldEarnedUsd | string | Total yield earned across all wallets (USD) |
averageApyDecimal | number | Weighted average APY as decimal (e.g., 0.065 for 6.5%) |
protocolDistribution | DistributionEntry[] | Breakdown by protocol/venue |
assetDistribution | DistributionEntry[] | Breakdown by token (USDC, USDT, etc.) |
blockchainDistribution | DistributionEntry[] | Breakdown by blockchain network |
DistributionEntry Object
| Field | Type | Description |
|---|---|---|
name | string | Protocol name, token symbol, or blockchain name |
valueUsd | string | Total value in this category (USD) |
percentage | number | Percentage of total value (0-100) |
walletCount | number | Number of wallets with allocations in this category |
The overview is automatically scoped to the wallet profile associated with your API key. To see data for a different profile, use an API key linked to that profile.