Skip to content
Compresr docs

API reference

GET /billing/tiers

List the public Compresr usage tiers and their rate limits.

GET/api/billing/tiersPublic

List the public Compresr usage tiers and their rate limits.

Public, unauthenticated endpoint. Returns the same tier schedule that drives the pricing page and the live TierTable component. Most readers want Rate limits & headers; this page documents the raw shape.

Response

Response
  • successboolean

    Always true on 200.

  • tiersarray

    Ordered list of tiers, lowest to highest.

    • namestring

      Stable tier identifier: tier1, tier2, tier3, tier4, tier5.

    • display_namestring

      Human-readable name (e.g. "Free", "Starter").

    • min_monthly_tokensinteger

      Minimum monthly compressed tokens to reach this tier.

    • max_api_keysinteger

      Maximum number of API keys the tier permits.

    • rate_limitsobject
      • rpminteger

        Requests per minute. -1 means unlimited.

      • tpminteger

        Tokens per minute. -1 means unlimited.

      • rpdinteger

        Requests per day. -1 means unlimited.

Status codes

Status codes
  • 200
    Tiers returned.
  • 500
    Internal error fetching the tier schedule.
Request
python
Response
json