curl --request GET \
--url https://mcp.echozero.app/api/v1/developers/earnings \
--header 'Authorization: Bearer <token>' \
--header 'x-signature: <x-signature>' \
--header 'x-timestamp: <x-timestamp>'import requests
url = "https://mcp.echozero.app/api/v1/developers/earnings"
headers = {
"x-signature": "<x-signature>",
"x-timestamp": "<x-timestamp>",
"Authorization": "Bearer <token>"
}
response = requests.get(url, headers=headers)
print(response.text)const options = {
method: 'GET',
headers: {
'x-signature': '<x-signature>',
'x-timestamp': '<x-timestamp>',
Authorization: 'Bearer <token>'
}
};
fetch('https://mcp.echozero.app/api/v1/developers/earnings', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));const options = {
method: 'GET',
headers: {
'x-signature': '<x-signature>',
'x-timestamp': '<x-timestamp>',
Authorization: 'Bearer <token>'
}
};
fetch('https://mcp.echozero.app/api/v1/developers/earnings', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://mcp.echozero.app/api/v1/developers/earnings"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("x-signature", "<x-signature>")
req.Header.Add("x-timestamp", "<x-timestamp>")
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}{
"success": true,
"data": {
"developerId": "<string>",
"totals": {
"grossUsd": 123,
"netUsd": 123,
"platformFeeUsd": 123,
"claimableUsd": 123
},
"byAgent": [
{
"developerAgentId": "<string>",
"grossUsd": 123,
"netUsd": 123,
"platformFeeUsd": 123,
"agentName": "<string>",
"agentStatus": "DRAFT",
"claimableUsd": 123
}
],
"byPeriod": [
{
"periodLabel": "<string>",
"periodIsoYear": 123,
"periodIsoWeek": 123,
"grossUsd": 123,
"netUsd": 123,
"platformFeeUsd": 123
}
],
"fromTrading": {
"grossUsd": 123,
"netUsd": 123,
"platformFeeUsd": 123,
"claimableUsd": 123
},
"fromSubscriptions": {
"grossUsd": 123,
"netUsd": 123,
"platformFeeUsd": 123,
"claimableUsd": 123
},
"totalClaimableUsd": 123,
"lifetimeClaimedUsd": 123,
"fromInstantClaims": {},
"totalClaimable": 123
}
}{
"success": false,
"error": {
"code": "NOT_FOUND",
"message": "Resource not found"
}
}{
"success": false,
"error": {
"code": "NOT_FOUND",
"message": "Resource not found"
}
}{
"success": false,
"error": {
"code": "NOT_FOUND",
"message": "Resource not found"
}
}Developer earnings summary
Success-fee totals (totals, byAgent; USDC-denominated): V5 HWM accrued creator+EZ fees plus historical V4 Trade.feeSettlement (no double count). claimableUsd is collected/funded creator fees only — unpaid HWM debt is accrued but not claimable. byPeriod is weekly payout snapshots (V5 collected + V4 settled). Also subscription ledger (fromSubscriptions). Requires developer registration.
curl --request GET \
--url https://mcp.echozero.app/api/v1/developers/earnings \
--header 'Authorization: Bearer <token>' \
--header 'x-signature: <x-signature>' \
--header 'x-timestamp: <x-timestamp>'import requests
url = "https://mcp.echozero.app/api/v1/developers/earnings"
headers = {
"x-signature": "<x-signature>",
"x-timestamp": "<x-timestamp>",
"Authorization": "Bearer <token>"
}
response = requests.get(url, headers=headers)
print(response.text)const options = {
method: 'GET',
headers: {
'x-signature': '<x-signature>',
'x-timestamp': '<x-timestamp>',
Authorization: 'Bearer <token>'
}
};
fetch('https://mcp.echozero.app/api/v1/developers/earnings', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));const options = {
method: 'GET',
headers: {
'x-signature': '<x-signature>',
'x-timestamp': '<x-timestamp>',
Authorization: 'Bearer <token>'
}
};
fetch('https://mcp.echozero.app/api/v1/developers/earnings', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://mcp.echozero.app/api/v1/developers/earnings"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("x-signature", "<x-signature>")
req.Header.Add("x-timestamp", "<x-timestamp>")
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}{
"success": true,
"data": {
"developerId": "<string>",
"totals": {
"grossUsd": 123,
"netUsd": 123,
"platformFeeUsd": 123,
"claimableUsd": 123
},
"byAgent": [
{
"developerAgentId": "<string>",
"grossUsd": 123,
"netUsd": 123,
"platformFeeUsd": 123,
"agentName": "<string>",
"agentStatus": "DRAFT",
"claimableUsd": 123
}
],
"byPeriod": [
{
"periodLabel": "<string>",
"periodIsoYear": 123,
"periodIsoWeek": 123,
"grossUsd": 123,
"netUsd": 123,
"platformFeeUsd": 123
}
],
"fromTrading": {
"grossUsd": 123,
"netUsd": 123,
"platformFeeUsd": 123,
"claimableUsd": 123
},
"fromSubscriptions": {
"grossUsd": 123,
"netUsd": 123,
"platformFeeUsd": 123,
"claimableUsd": 123
},
"totalClaimableUsd": 123,
"lifetimeClaimedUsd": 123,
"fromInstantClaims": {},
"totalClaimable": 123
}
}{
"success": false,
"error": {
"code": "NOT_FOUND",
"message": "Resource not found"
}
}{
"success": false,
"error": {
"code": "NOT_FOUND",
"message": "Resource not found"
}
}{
"success": false,
"error": {
"code": "NOT_FOUND",
"message": "Resource not found"
}
}Authorizations
User JWT access token issued by POST /api/auth/verify or POST /api/auth/social/verify. Routes that accept both auth modes declare api-key and bearer-jwt security schemes.
Headers
Required for API-key authenticated requests. HMAC-SHA256(secretKey, timestamp + METHOD + path + body) as lowercase hex. Omit only for JWT/OAuth session tokens or public routes.
Required with x-signature. Epoch milliseconds; rejected if drift exceeds 5 minutes. Omit only for JWT/OAuth session tokens or public routes.