curl -X GET 'https://crypto-api.yativo.com/api/analytics/transactions?from=2026-03-01&to=2026-03-31&granularity=day' \
-H 'Authorization: Bearer YOUR_ACCESS_TOKEN'
{
"status": "success",
"data": {
"period": {
"from": "2026-03-01",
"to": "2026-03-31",
"granularity": "day"
},
"buckets": [
{
"timestamp": "2026-03-01T00:00:00Z",
"count": 42,
"volume_usd": "14200.00",
"successful": 40,
"failed": 2
},
{
"timestamp": "2026-03-02T00:00:00Z",
"count": 38,
"volume_usd": "12800.00",
"successful": 37,
"failed": 1
}
],
"summary": {
"total_count": 1284,
"total_volume_usd": "428950.00",
"avg_transaction_usd": "334.07",
"success_rate": 97.4
}
}
}
Retrieve detailed transaction analytics broken down by time, asset, and status
curl -X GET 'https://crypto-api.yativo.com/api/analytics/transactions?from=2026-03-01&to=2026-03-31&granularity=day' \
-H 'Authorization: Bearer YOUR_ACCESS_TOKEN'
{
"status": "success",
"data": {
"period": {
"from": "2026-03-01",
"to": "2026-03-31",
"granularity": "day"
},
"buckets": [
{
"timestamp": "2026-03-01T00:00:00Z",
"count": 42,
"volume_usd": "14200.00",
"successful": 40,
"failed": 2
},
{
"timestamp": "2026-03-02T00:00:00Z",
"count": 38,
"volume_usd": "12800.00",
"successful": 37,
"failed": 1
}
],
"summary": {
"total_count": 1284,
"total_volume_usd": "428950.00",
"avg_transaction_usd": "334.07",
"success_rate": 97.4
}
}
}
Bearer YOUR_ACCESS_TOKEN2026-03-012026-03-31hour, day, week, month. Default: dayUSDC, ETH).polygon, ethereum, solana).Response Type Definitions
interface TransactionAnalyticsResponse {
status: "success";
data: {
period: { from: string; to: string; granularity: string };
buckets: Array<{
timestamp: string;
count: number;
volume_usd: string;
successful: number;
failed: number;
}>;
summary: {
total_count: number;
total_volume_usd: string;
avg_transaction_usd: string;
success_rate: number;
};
};
}
curl -X GET 'https://crypto-api.yativo.com/api/analytics/transactions?from=2026-03-01&to=2026-03-31&granularity=day' \
-H 'Authorization: Bearer YOUR_ACCESS_TOKEN'
{
"status": "success",
"data": {
"period": {
"from": "2026-03-01",
"to": "2026-03-31",
"granularity": "day"
},
"buckets": [
{
"timestamp": "2026-03-01T00:00:00Z",
"count": 42,
"volume_usd": "14200.00",
"successful": 40,
"failed": 2
},
{
"timestamp": "2026-03-02T00:00:00Z",
"count": 38,
"volume_usd": "12800.00",
"successful": 37,
"failed": 1
}
],
"summary": {
"total_count": 1284,
"total_volume_usd": "428950.00",
"avg_transaction_usd": "334.07",
"success_rate": 97.4
}
}
}