API Reference
XBuddy exposes a REST API at https://api.xbuddy.co/api/v1.
All endpoints require authentication via JWT Bearer token.
Base URL
https://api.xbuddy.co/api/v1Authentication
See Authentication →
Rate limits
| Plan | Requests/minute |
|---|---|
| Starter | 60 |
| Growth | 200 |
| Professional | 600 |
| Enterprise | Custom |
Response format
All responses follow this structure:
{
"success": true,
"data": { ... },
"message": "Operation completed"
}Paginated responses:
{
"success": true,
"data": [ ... ],
"pagination": {
"page": 1,
"limit": 50,
"total": 243,
"pages": 5
}
}Error responses
{
"success": false,
"error": "Unauthorized",
"statusCode": 401
}Common status codes:
200— OK201— Created400— Bad Request (validation error)401— Unauthorized403— Forbidden (quota exceeded or module not active)404— Not Found429— Rate limit exceeded