EYMINT
DocumentationAPI Reference
BlogDashboard
EYMINT
SectionsDocumentationAPI Reference
Go to Dashboard

For AI agents: the documentation index is at /llms.txt. Every docs page is also available as markdown by adding .md to its URL.

Overview

  • API Introduction
  • API Reference Overview
  • Authentication
  • Rate Limits
  • Error Codes

Customers

  • Create Customer
  • Get All Customers
  • Get Customer
  • Update Customer
  • Get Customer Keys
  • Toggle Status
  • Delete Customer

License Keys

  • Create Key
  • Get Key Info
  • Update Key
  • Activate Key
  • Sign Offline Key
  • Checkout Floating Session
  • Heartbeat Floating Session
  • Checkin Floating Session
  • Deactivate Key
  • Block Key
  • Unblock Key
  • Delete Key

Rate Limits

API rate limits, concurrency rules, HTTP response headers, and retry strategies for Keymint endpoints.

Limits by Plan

PlanLimit
Free30 requests / minute
Startup100 requests / minute
Standard1,000 requests / minute
EnterpriseCustom

Authenticated requests count against your plan limit, shared by all of your organization's API keys and every endpoint. Requests with no API key share a limit of 60 per minute per IP address; requests with an unknown API key are limited to 30 per minute per IP address.

Client Keys

client keys ship inside your app, so anyone can extract one. To keep a leaked client key from using up your whole budget, client-key traffic has two extra limits. Your plan's total per-minute limit doesn't change.

PlanReserved for admin and read-only keysOne IP address, per client key
Free6 requests / minute12 requests / minute
Startup20 requests / minute40 requests / minute
Standard200 requests / minute400 requests / minute
  • Reserved share: client keys can use up to 80% of the plan limit. The rest is always left for your admin and read-only keys, so your own servers keep working even if a client key is flooded.
  • Per IP address: each client key also has a limit per caller IP address, shown in the table.
  • A 429 from the per-IP limit carries that limit in the RateLimit-* headers. Back off with Retry-After as usual.

Many users behind one shared IP address (an office, or a school network) share that IP's budget. If that's common for your users, a higher plan raises both limits.

Monthly Request Quota

Separate from the per-minute buckets above, each plan has a monthly API request quota:

PlanMonthly quotaBehavior when exceeded
Free10,000 requests / monthHard cap — requests return 429 until the quota resets
Startup100,000 requests / monthSoft cap — requests keep working; you get an email nudge
Standard1,000,000 requests / monthSoft cap — requests keep working; you get an email nudge

The counter is per-organization and per-calendar-month (UTC), resetting on the first day of each month. Paid plans are never blocked by the monthly quota.

Only requests the API answers count: successful responses, and 404, 409 and 410 answers. Requests the API rejects (400, 401, 403, 429 and other 4xx errors) and server errors (5xx) don't count. A flood of bad requests can't use up your quota.

For client keys, which ship inside your app, only successful responses count. Their 404, 409 and 410 answers don't, so someone who extracts a client key can't fill your quota with lookups of license keys that don't exist.

Every authenticated response includes monthly quota headers:

HeaderMeaning
X-MonthlyQuota-LimitYour plan's monthly request quota
X-MonthlyQuota-RemainingRequests left in the current month
X-MonthlyQuota-ResetEpoch (ms) at which the monthly counter resets

When a Free plan exceeds its monthly quota:

json
{
  "message": "Monthly API request limit reached. Upgrade your plan to raise your limit.",
  "code": 1,
  "errorCode": "quota_exceeded"
}

429 Response

When you exceed the limit, most endpoints return:

json
{
  "message": "Too many requests. Please try again later.",
  "code": 1,
  "errorCode": "rate_limited"
}

POST /key/activate, POST /key/checkout, and POST /key/sign also have per-action limits. On these three endpoints every rate-limit answer from the route (plan limit, client-key per-IP limit or per-action limit) uses the nested shape with code: 3:

json
{
  "success": false,
  "message": "Too many requests. Please try again later.",
  "code": 3,
  "errorCode": "rate_limited",
  "error": { "code": "RATE_LIMIT_EXCEEDED", "message": "Too many requests. Please try again later." }
}

Each license key can also be used at most 5 times per minute across POST /key/activate, POST /key/deactivate and POST /key/checkout combined (per product, on every plan). Over that, activate and checkout answer Too many activation attempts… or Too many checkout attempts… in the nested shape above, and deactivate answers Too many deactivation attempts. Please try again later. in the flat shape with code: 1.

Requests that send an Idempotency-Key are also checked against your normal budget before the idempotency record is created; over budget they get the flat rate_limited body.

Treat every 429 the same way: wait for Retry-After, then retry.

Responses carry the per-minute rate-limit headers below (rate-limit 429s always do). The Free-plan monthly quota 429 carries Retry-After and the X-MonthlyQuota-* headers instead. The 429 for the Idempotency-Key budget currently has no Retry-After; back off and retry.

HeaderMeaning
Retry-AfterOn 429 only: seconds until the bucket refills enough for one request — prefer this over guessing
X-RateLimit-LimitThe per-minute limit that applies to this request
X-RateLimit-RemainingRequests left in the bucket at the time of the response
X-RateLimit-ResetEpoch (ms) at which the bucket refills to capacity
RateLimit-LimitSame as X-RateLimit-Limit
RateLimit-RemainingSame as X-RateLimit-Remaining
RateLimit-ResetSame instant as X-RateLimit-Reset, in epoch seconds

Rely on the X-RateLimit-* headers. They are the stable set and won't change. The RateLimit-* headers follow an early version of the IETF RateLimit header draft. That draft is still changing (its latest version uses different header names), so treat them as a convenience for tools that already read them.

Limits use a token bucket: capacity = plan limit, refilled continuously at limit / 60 tokens per second. Bursts up to the full plan limit are allowed, but there are no fixed-window boundary resets — a burst at the end of one minute no longer allows a second full burst at the start of the next.

Handling Rate Limits

Use the Retry-After header instead of a fixed backoff when available:

javascript
async function withBackoff(fn, maxRetries = 3) {
  for (let i = 0; i < maxRetries; i++) {
    try {
      return await fn();
    } catch (err) {
      if (err.status === 429 && i < maxRetries - 1) {
        const retryAfter = Number(err.headers?.get?.("Retry-After") ?? 0);
        const waitMs = (Number.isFinite(retryAfter) && retryAfter > 0)
          ? retryAfter * 1000
          : Math.pow(2, i) * 1000;
        await new Promise(r => setTimeout(r, waitMs));
        continue;
      }
      throw err;
    }
  }
}

Best Practices

  1. Always authenticate — unauthenticated requests have very low limits.
  2. Cache responses — reduce calls by caching license validation results locally.
  3. Back off using Retry-After — it reports the actual bucket refill time; exponential backoff is the fallback.
  4. Upgrade your plan if you consistently hit limits.

On this page

  • Limits by Plan
  • Client Keys
  • Monthly Request Quota
  • 429 Response
  • Handling Rate Limits
  • Best Practices