Get API Settings
get_api_settingsRetrieve your Porkbun API spend limits, spent and remaining amounts in cents before purchases. Check top-up limits and configured settings to avoid MONTHLY_SPEND_LIMIT_EXCEEDED errors.
Instructions
Get the account's API spend controls and the limits actually enforced, in cents. spendLimit caps everything bought over the API in a calendar month (registrations, renewals, transfers, closeouts, paid hosting): limit, source (account = set by the account holder, default = none set so $100 applies, none = no cap), spent and remaining. topupLimit caps credit added over the API (card, auto top-up, MPP, USDC together): limit, source, added. settings is what the account holder configured. Check remaining before an expensive operation: a purchase over it fails with MONTHLY_SPEND_LIMIT_EXCEEDED, and only the account holder can raise the limit, on the website.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "get_api_settings"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||