Skip to content

BE-116: Tiered Rate Limiting Across Remaining Public Endpoints #815

Description

@Cedarich

Labels: Backend, Stellar Wave, rate-limiting, security, api
Complexity: Medium (150)

Description
Rate limiting was added for payment link endpoints, but discovery, username lookup, profile reads, marketplace queries, and export requests remain unlimited. These are the cheapest endpoints to abuse for enumeration. Extend the existing throttler into named tiers applied across the public surface.

Acceptance Criteria

  • Named rate limit tiers exist (for example public-read, search, mutation, export) with configurable limits.
  • Every public endpoint is assigned a tier, enforced by a test that fails on unassigned routes.
  • Limits key on API key when present and fall back to client identity otherwise.
  • Exceeded limits return a consistent error body with a retry hint.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions