Review monthly API usage and spending statistics
The user receives a detailed breakdown of API requests made over a specific period, split by blockchain chain, along with the associated costs for pay-as-you-go and bundle usage.
How it works
The agent determines the desired time interval (e.g., last 30 days). It calls `mgmt_get_usage` to retrieve request counts per chain and `mgmt_get_spending_stats` to get the financial breakdown. The agent notes that usage rollups may lag behind live traffic, so it advises the user that recent data might be incomplete. It then formats the data into a summary report showing total requests, top chains, and total spend.
Prompt
Paste this into an agent that has the servers below connected. Adjust the names and dates to your own.
Get the API usage and spending statistics for the last 30 days. Break down the requests by blockchain chain and show the spending split between pay-as-you-go and bundles.MCP servers it needs
Source
The vendor page this playbook is drawn from, and the passage that supports it.
Usage rollups lag behind live traffic by longer than the smallest interval window, so a report for the last few minutes will read low.Ankr Management MCP documentation