Rate Limits
Public endpoint limiter
Section titled “Public endpoint limiter”Interis applies a dedicated rate limiter to /api/public/*:
- window: 1 minute
- max: 60 requests per IP
This limiter is configured in the public router.
Relation to global API limiter
Section titled “Relation to global API limiter”The global /api limiter skips /public/*, so public traffic is governed by the dedicated
public limiter above rather than the broader API cap.
Headers
Section titled “Headers”Public responses include standard rate-limit headers from express-rate-limit
(standardHeaders: true, legacyHeaders: false).
Use curl -i to inspect them:
curl -i "https://api.interis.gorkemkaryol.dev/api/public/your_username/profile"Caching behavior
Section titled “Caching behavior”Successful public responses currently set:
Cache-Control: no-storeIf you need caching, do it in your own consumer layer (server cache, edge cache, or app-level memoization).
Practical guidance
Section titled “Practical guidance”- Batch related calls (
Promise.all) when possible. - Reuse fetched data between components.
- Avoid aggressive polling from client-side widgets.