Fee-split statistics over a date range
curl --request GET \
--url https://api.barker.money/api/partner/products/{slug}/fee-stats \
--header 'X-Api-Key: <api-key>'import requests
url = "https://api.barker.money/api/partner/products/{slug}/fee-stats"
headers = {"X-Api-Key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-Api-Key': '<api-key>'}};
fetch('https://api.barker.money/api/partner/products/{slug}/fee-stats', 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.barker.money/api/partner/products/{slug}/fee-stats",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"X-Api-Key: <api-key>"
],
]);
$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.barker.money/api/partner/products/{slug}/fee-stats"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("X-Api-Key", "<api-key>")
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.barker.money/api/partner/products/{slug}/fee-stats")
.header("X-Api-Key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.barker.money/api/partner/products/{slug}/fee-stats")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["X-Api-Key"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"success": true,
"data": [
{
"date": "2026-05-04",
"engine_total_assets": "1245678.123456",
"daily_yield_assets": "208.95",
"daily_partner_fee_earned": "16.71",
"cumulative_partner_fee_earned": "934.27",
"net_apy_for_user": "0.0490"
}
]
}products
Fee-split statistics over a date range
Daily breakdown of yield, partner fee earned, and Barker fee earned. Use this for partner
accounting / reconciliation views. Range capped at 365 days; if start_date / end_date are
omitted, defaults to the trailing 30 days.
All numeric fields are decimal strings denominated in the underlying asset (USDC etc.).
GET
/
api
/
partner
/
products
/
{slug}
/
fee-stats
Fee-split statistics over a date range
curl --request GET \
--url https://api.barker.money/api/partner/products/{slug}/fee-stats \
--header 'X-Api-Key: <api-key>'import requests
url = "https://api.barker.money/api/partner/products/{slug}/fee-stats"
headers = {"X-Api-Key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-Api-Key': '<api-key>'}};
fetch('https://api.barker.money/api/partner/products/{slug}/fee-stats', 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.barker.money/api/partner/products/{slug}/fee-stats",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"X-Api-Key: <api-key>"
],
]);
$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.barker.money/api/partner/products/{slug}/fee-stats"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("X-Api-Key", "<api-key>")
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.barker.money/api/partner/products/{slug}/fee-stats")
.header("X-Api-Key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.barker.money/api/partner/products/{slug}/fee-stats")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["X-Api-Key"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"success": true,
"data": [
{
"date": "2026-05-04",
"engine_total_assets": "1245678.123456",
"daily_yield_assets": "208.95",
"daily_partner_fee_earned": "16.71",
"cumulative_partner_fee_earned": "934.27",
"net_apy_for_user": "0.0490"
}
]
}