Skip to main content

Getting an API Key

To use the Modbase API, you must create an API key from your account dashboard.

Create a Key

  1. Sign in to your Modbase account
  2. Navigate to the API Keys page:
    https://modbase.dev/me/api/keys
  3. Click Create API Key
  4. Copy the key and store it securely
Once created, the key can be used immediately for authenticated API requests.

Key Limits

Each Modbase account is subject to the following limits:
  • Maximum API keys per account: 5
  • Daily request limit: ~10,000 requests per day

Request Caching

Some API responses are cached to improve performance and reduce redundant processing. If a request can be fulfilled from cache - for example, when another user has already submitted the same text for moderation - that request will not count towards your daily 10,000 request limit. This allows efficient reuse of moderation results for commonly repeated phrases or words.

Authentication

All API endpoints require authentication using a Bearer token. Include your API key in the Authorization header of each request:
Authorization: Bearer YOUR_API_KEY