Documentation Index
Fetch the complete documentation index at: https://apixo.ai/docs/llms.txt
Use this file to discover all available pages before exploring further.
Endpoints for account management and system information.
Current Balance
Check the remaining balance for your API key.
Endpoint
GET https://api.apixo.ai/api/v1/apikeys/current-balance
Bearer token for API authentication. Format: Bearer YOUR_API_KEY
Response
{
"code": 200,
"message": "success",
"data": 74.8700
}
Human-readable status message.
Remaining balance (in USD) for the current API key.
Check your balance programmatically before submitting large batches to avoid mid-run failures due to insufficient funds.
Examples
curl -X GET https://api.apixo.ai/api/v1/apikeys/current-balance \
-H "Authorization: Bearer YOUR_API_KEY"
const response = await fetch('https://api.apixo.ai/api/v1/apikeys/current-balance', {
method: 'GET',
headers: {
'Authorization': 'Bearer YOUR_API_KEY',
},
});
const data = await response.json();
console.log('Balance:', data.data);
import requests
response = requests.get(
'https://api.apixo.ai/api/v1/apikeys/current-balance',
headers={'Authorization': 'Bearer YOUR_API_KEY'},
)
data = response.json()
print(f"Balance: {data['data']}")
Error Responses
See Errors for possible 401, 403, or 429 responses.