UsageRail SDK
Node.js and Python SDKs for API keys, rate limits and usage metering
Open-source SDKs for teams that sell access to an API. The SDK runs inside your API server. It checks API keys, applies each customer's rate limits and quotas, and meters their usage, then sends usage totals to UsageRail in the background. If you bill for usage, UsageRail sends each period's totals to your own Stripe account, and Stripe adds the charges to your customers' renewal invoices. It needs no gateway or proxy, and your API requests never pass through UsageRail.
Node.js 22+:...