Introduction
Welcome to the System Bot API documentation. This guide will help you understand and utilize our API endpoints to retrieve user information.
API Endpoints
Get All Users
GET /api/users
Retrieve information about all users.
Get User Information
GET /api/users/:userId
Retrieve information about a specific user, including their user details and balance.
Usage Examples
Get All Users
const allUsers = await fetch('http://localhost:3000/api/users')
This example demonstrates how to retrieve information about all users using the API.
Get User Information
const userData = await fetch(`http://localhost:3000/api/users/${userId}`)
This example demonstrates how to retrieve a specific user's information and balance using the API.
Rate Limits
Our API is rate limited to ensure fair usage. You can make up to 100 requests per minute. If you exceed this limit, you'll receive a 429 Too Many Requests response.