Back to Docs

Rate Limits API

Check your current usage and remaining quota for various Neubot services.


Endpoints

GET Check Limits

Retrieves the current usage statistics.

https://neubot.joshattic.us/api/limits

Headers

Header Value Required Description
Authorization Bearer <token> No (for IP based limits, required for user-specific limits) Authentication token

Response Schema

{
  "search": {                    // Limits for 'search' actions (Brave API)
    "used": 12,                  // Requests made this month
    "limit": 100,                // Max requests allowed
    "remaining": 88              // limit - used
  },
  "weather": {                   // Limits for 'weather' actions (OpenWeatherMap)
    "used": 5,
    "limit": 50,
    "remaining": 45
  },
  "reset": {                     // Reset schedule information
      "started": true,           // Whether usage tracking has started
      "timestamp": 1709251200,   // Unix timestamp of next reset
      "days_remaining": 15,      // Days until next reset
      "date": "2024-03-01"       // YYYY-MM-DD string of next reset
  }
}