Call it
curl https://api.peume.com/v1/call/top-transfer-counterparties \
-H "Authorization: Bearer $PEUME_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"input": {
"address": "your address",
"chain": "ethereum",
"direction": "to",
"metric": "count",
"time_range": "7d",
"limit": 20
}
}'const res = await fetch("https://api.peume.com/v1/call/top-transfer-counterparties", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.PEUME_API_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
"input": {
"address": "your address",
"chain": "ethereum",
"direction": "to",
"metric": "count",
"time_range": "7d",
"limit": 20
}
}),
});
const { output, cost_usd } = await res.json();import os, requests
res = requests.post(
"https://api.peume.com/v1/call/top-transfer-counterparties",
headers={"Authorization": f"Bearer {os.environ['PEUME_API_KEY']}"},
json={
"input": {
"address": "your address",
"chain": "ethereum",
"direction": "to",
"metric": "count",
"time_range": "7d",
"limit": 20
}
},
)
print(res.json()["output"])Answer: {"id": "run_…", "status": "completed", "cost_usd": …, "output": {…}}. Long jobs answer 202 with a run id to read later. From an AI agent, connect the MCP server and ask for this by name: top-transfer-counterparties.
Parameters
addressRequiredstringToken CONTRACT ADDRESS (0x-hex for EVM; Tron accepts base58 T... or 0x-hex). Not a ticker — resolve a symbol via GET /v1/search/token?q={symbol}&chain={chain} and use a returned address whose chain is supported by this endpoint. Example: 0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.
chainRequiredstringChain the token contract is deployed on. Example: ethereum.
ethereum · base · bsc · arbitrum · tron
directionRequiredstringRanking direction: to = top receivers, from = top senders. Example: to.
to · from
metricstringRanking key: count = transfer frequency, amount = decimal-adjusted token sum, amount_usd = USD value sum (USD lags ~3 days; unreliable for recent windows). Defaults to "count".
count · amount · amount_usd
Example: count
time_rangestringLook-back window (hard 90d cap). Defaults to "7d".
1d · 7d · 30d · 90d
Example: 7d
limitintegerResults per page. Defaults to 20.
Example: 20
offsetintegerPagination offset. Defaults to 0.
Example: 0
includestringComma-separated enrichments. labels attaches an entity label per counterparty. Example: labels.
exclude_labelsstringComma-separated entity categories to drop (best-effort): cex, router, amm, bridge. Results may be fewer than limit when top counterparties are infrastructure. Example: cex,router.
