The Analytics API provides aggregated metrics about your platform’s transaction activity and overall account health. Use these endpoints to build internal dashboards, generate reports, or power analytics widgets in your product.Documentation Index
Fetch the complete documentation index at: https://docs.yativo.com/llms.txt
Use this file to discover all available pages before exploring further.
Type Definitions
Type Definitions
Transaction Analytics
GET/analytics/transaction-analytics
Returns aggregated transaction data — volumes, counts, success rates, and trends over time.
cURL
Response
Dashboard Analytics
GET/analytics/dashboard-analytics
Returns a high-level snapshot for dashboard display: current balances, recent activity, customer counts, and key performance indicators.
cURL
Response
Using Analytics in Your Dashboard
Thegas_station_status field in the dashboard analytics gives you a quick health check of all your gas stations. Treat "status": "low" as an alert to top up before the station runs empty.
Common Use Cases
Volume reporting
Volume reporting
Use
transaction-analytics with the by_chain breakdown to generate per-chain volume reports for your finance team or investors.Customer activity monitoring
Customer activity monitoring
Combine
dashboard-analytics (for totals) with customers/get-customer-transactions (for per-customer drill-down) to build a full customer activity view.Gas station monitoring
Gas station monitoring
The
gas_station_status array in dashboard analytics is the fastest way to check gas levels across all chains in a single request. Automate an alert when any station shows "low" or "critical".Trend analysis
Trend analysis
The
daily_volumes array in transaction analytics gives you the raw data to render charts. Fetch it daily and store it in your own database to build longer historical views.
