Integrate Maya Tracker data into your own applications. Access real-time and historical data for CACAO liquidity pools and Maya Protocol analytics.
https://api.cacaotracker.xyzDM @toed_i
Message directly
x-api-keycurl -H "x-api-key: YOUR_API_KEY" https://api.cacaotracker.xyz/history/maya.../history/:addressReturns historical position data for a specific Maya address.
| Name | Type | Description |
|---|---|---|
| address | string | The Maya Protocol address (starts with maya...) |
/apy/:addressCalculates APY & Performance Metrics based on historical data.
/cacao/statsRetrieves aggregate statistics for the entire CACAO liquidity pool.
/maya/priceHistorical Price Data
| Name | Type | Default | Description |
|---|---|---|---|
| interval | string | all | Timeframe for the data. Options: 24h, 7d, 30d, all. |
/maya/token-rewards/distributionsGet a summary of recent reward distributions aggregated by block height.
| Name | Type | Default | Description |
|---|---|---|---|
| limit | number | 100 | Number of distributions to return |
/maya/token-rewards/:addressGet detailed history of rewards received by a specific address.
| Name | Type | In | Description |
|---|---|---|---|
| address | string | path | Maya Protocol address |
| limit | number | query | Max records to return (default 100) |
/maya/token-rewards/:address/totalLightweight endpoint to get just the total accumulated rewards for an address.
/maya/token-rewards/batchFetch total rewards for multiple addresses in a single request. Max 50 addresses.
{
"addresses": [
"maya1...",
"maya1..."
]
}Get enriched transaction history with historical USD values, fees, interface/affiliate info, and more. This provides a much richer view of on-chain activity than raw Midgard data.
/enhanced-actions/:addressReturns enriched transaction history for an address including historical USD values, detailed fees, slippage, streaming swap info, and interface attribution.
| Name | Type | In | Description |
|---|---|---|---|
| address | string | path | Maya Protocol address |
| limit | number | query | Max actions to return (default 50) |
| nextPageToken | string | query | Pagination token for next page |
Calculate and track impermanent loss for liquidity positions. Get real-time IL analysis, historical snapshots, and summaries for your LP positions.
/il/:addressGet impermanent loss analysis for all liquidity positions of an address.
/il/:address/:poolGet impermanent loss analysis for a specific pool position.
| Name | Type | Description |
|---|---|---|
| address | string | Maya Protocol address |
| pool | string | Pool identifier (e.g., BTC.BTC, ETH.ETH) |
/il/:address/:pool/historyGet historical IL snapshots for a specific position over time.
| Name | Type | Default | Description |
|---|---|---|---|
| days | number | 30 | Number of days of history to return |
Access detailed analytics for Maya Protocol liquidity pools including TVL, volume, LUVI (Liquidity Unit Value Index), earnings, and performance comparisons.
/pool-analyticsGet comprehensive analytics for all pools.
/pool-analytics/metricsGet latest metrics snapshot for all pools.
/pool-analytics/luviGet latest LUVI (Liquidity Unit Value Index) for all pools. LUVI tracks LP performance over time.
/pool-analytics/compareCompare pool performance by LUVI over a specified period.
| Name | Type | Default | Description |
|---|---|---|---|
| days | number | 30 | Comparison period in days |
/pool-analytics/earningsGet aggregated earnings for all pools over a specified period.
/pool-analytics/tvl-historyGet protocol-wide TVL history over time.
/pool-analytics/:poolGet detailed analytics for a specific pool.
/pool-analytics/:pool/luviGet LUVI history for a specific pool.
/pool-analytics/:pool/tvlGet TVL history for a specific pool.
/pool-analytics/:pool/volumeGet hourly volume data for a specific pool.
| Name | Type | Default | Description |
|---|---|---|---|
| hours | number | 24 | Number of hours of data |
Track and attribute LP rewards per address. Get detailed breakdowns by pool, daily history, forecasts, and leaderboards.
/rewards/:addressGet comprehensive rewards data for an address including totals and daily breakdown.
| Name | Type | Default | Description |
|---|---|---|---|
| days | number | 30 | Number of days of history |
/rewards/:address/overviewGet rewards overview with totals for different time periods (24h, 7d, 30d, all-time).
/rewards/:address/by-poolGet rewards breakdown by pool for an address.
/rewards/:address/historyGet daily rewards history for charts and time-series analysis.
/rewards/:address/forecastGet reward forecasts for an address based on historical performance.
| Name | Type | Description |
|---|---|---|
| pool | string | Optional: filter forecasts by pool |
/rewards/:address/syncTrigger rewards sync/backfill for a specific address. Useful for new addresses or forcing a refresh of historical data.
| Field | Type | Default | Description |
|---|---|---|---|
| days | number | 30 | Number of days to sync |
| force | boolean | false | Force resync even if data exists |
/rewards/leaderboardGet top earners leaderboard ranked by rewards earned.
| Name | Type | Default | Description |
|---|---|---|---|
| days | number | 30 | Period for ranking |
| limit | number | 100 | Max entries to return |
/rewards/pools/aggregatedGet aggregated rewards distributed to all pools.
Access protocol-level statistics including TVL, volume, growth metrics, and the incentive pendulum status.
/protocol/dashboardGet comprehensive protocol dashboard data in a single call. Includes TVL, volume, stats, and pendulum.
/protocol/statsGet latest protocol statistics snapshot.
/protocol/stats/historyGet protocol stats history over time.
| Name | Type | Default | Description |
|---|---|---|---|
| hours | number | 168 | Hours of history (default 7 days) |
/protocol/tvlGet current TVL breakdown by pool and asset type.
/protocol/tvl/historyGet historical TVL data over time.
/protocol/volumeGet volume aggregates (total, average daily, etc.).
/protocol/volume/historyGet daily volume history for charting.
/protocol/pendulumGet current incentive pendulum status. Shows the balance between node and LP incentives.
/protocol/pendulum/historyGet incentive pendulum history over time.
/protocol/growthGet protocol growth metrics with period-over-period comparisons (7d, 30d, 90d).
Access MAYANode and Midgard APIs directly through our high-availability proxy. The proxy automatically handles failover between multiple nodes and caches frequently accessed data.
/proxy/healthReturns a summary of the current node health status and proxy availability.
/proxy/health/detailedReturns detailed health metrics for every individual node in the proxy pool.
/proxy/mayanode/*Proxies any request to a healthy MAYANode instance. Supports all standard MAYANode endpoints.
GET https://api.cacaotracker.xyz/proxy/mayanode/mayachain/poolsGET https://api.cacaotracker.xyz/proxy/mayanode/mayachain/lastblockX-Proxy-Node and X-Proxy-Time headers indicating which node handled the request./proxy/midgard/*Proxies any request to a healthy Midgard instance. Supports all Midgard v2 endpoints.
GET https://api.cacaotracker.xyz/proxy/midgard/v2/statsGET https://api.cacaotracker.xyz/proxy/midgard/v2/pools