Get Balance
curl --request GET \
--url https://api.modelhunter.ai/api/v1/balance \
--header 'Authorization: Bearer <token>'{
"success": true,
"data": {
"balance": 45.00,
"billingMode": "prepaid",
"monthlySpendLimit": null,
"autoTopUpEnabled": false,
"autoTopUpThreshold": null,
"autoTopUpAmount": null
}
}
Billing API
Get Balance
Retrieve your current account balance and billing details.
GET
/
api
/
v1
/
balance
Get Balance
curl --request GET \
--url https://api.modelhunter.ai/api/v1/balance \
--header 'Authorization: Bearer <token>'{
"success": true,
"data": {
"balance": 45.00,
"billingMode": "prepaid",
"monthlySpendLimit": null,
"autoTopUpEnabled": false,
"autoTopUpThreshold": null,
"autoTopUpAmount": null
}
}
Response Fields
Whether the request was successful.
Account balance details.
Show data properties
Show data properties
Current available balance in USD (e.g.
45.00).Billing mode. One of:
prepaid (top-up balance), postpaid (card on file, invoiced monthly).Monthly spending limit.
null if not set.Whether automatic top-up is enabled.
Balance threshold that triggers auto top-up.
null if not configured.Amount to add when auto top-up is triggered.
null if not configured.{
"success": true,
"data": {
"balance": 45.00,
"billingMode": "prepaid",
"monthlySpendLimit": null,
"autoTopUpEnabled": false,
"autoTopUpThreshold": null,
"autoTopUpAmount": null
}
}
⌘I