API usage
get_usageCheck your API key's plan, rate limits, and remaining monthly allowance. Use it when API calls hit quota limits or to confirm what your DeFade plan includes.
Instructions
Report the calling API key's plan, rate limits and how much of its monthly allowance is left. Takes no arguments. Use it when a call fails on quota, or when the user asks what their DeFade plan includes. Not for anything about a token — every other tool takes an address; this one reports on the key itself.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tier | No | The tier this key is on. | |
| units | No | How metering works: one request is one unit except the heaviest EVM modules, listed in heavyOnEvm with heavyCost. | |
| usage | No | today, total, thisPeriod, remainingThisPeriod, periodResetsAt. | |
| limits | No | perMinute, perDay, perMonth; perMonth is null on grandfathered keys. | |
| credits | No | Overage: balance, overageEnabled, costPerRequest. |