Stripe for
your API.
Stop rebuilding auth, rate limiting, and billing for every API. Harbor gives you the full monetization stack in one SDK, one line of code.
No credit card required to get started
// The Harbor way â one SDK, done â¨import { harbor } from 'harbor-sdk';const app = express();// That's it. Auth, billing, rate limits, analytics.// All handled. Ship in minutes.app.use(harbor({projectId: 'proj_harbor_xyz',plans: {free: { calls: 1_000, price: 0 },pro: { calls: 100_000, price: 49 },scale: { calls: 'unlimited', price: 299 },},}));app.get('/data', async (req, res) => {// req.harbor.user â who's calling// req.harbor.plan â their plan// Usage tracked. Billing automated.res.json({ data: await fetchData() });});
How it works
From zero to paid API
in under 10 minutes
Install the SDK
One npm install. Works with Express, Fastify, Hono, or any Node.js framework.
Wrap your API
Add one middleware. Harbor intercepts every request and handles auth, plans, and usage.
Start earning
Your users get API keys, a dashboard, and billing. Money lands in your Stripe account.
Everything included
Everything Stripe gives you
but for APIs
We spent 2 years building the boring infrastructure so you don't have to.
API Key Management
Scoped keys, key rotation, expiry dates, per-key rate limits. Everything your customers need to safely use your API.
Rate Limiting & Quotas
Per-minute, per-hour, per-month limits. Plan-based quotas. Soft limits with graceful degradation. Zero config.
Usage-Based Billing
Charge per API call, per token, per compute unit â or flat subscription. Stripe integration built in. You set the price.
Real-Time Analytics
See who's calling your API, what endpoints they hit, latency distributions, error rates, and revenue per customer.
Customer Portal
A branded self-serve portal for your users. They can manage keys, upgrade plans, view usage, and access billing.
Abuse Prevention
Detect and block suspicious traffic automatically. IP allowlists, geo-blocking, anomaly detection â no config needed.
Webhook Events
Real-time events for usage milestones, payment failures, plan upgrades, and limit breaches. Pipe them anywhere.
Multi-Framework SDKs
Node, Python, Go, Rust, and more. Every SDK has the same API. Switch frameworks without changing your Harbor code.
Local Dev & Testing
Full-featured local emulator. Test billing flows, simulate quota hits, and debug webhooks â without touching production.
Pricing
Simple, transparent pricing
We succeed when you succeed. That's why we take a small cut of your revenue, not your users.
Starter
Free forever
- Up to 50K API calls/mo
- 1 API project
- Basic analytics (7-day)
- Harbor-branded portal
- Community support
- 0.5% transaction fee
Pro
per month
- Up to 2M API calls/mo
- 10 API projects
- Full analytics (90-day)
- Custom-branded portal
- Webhook events
- 0.3% transaction fee
- Email support
- Usage-based billing
Scale
per month
- Unlimited API calls
- Unlimited projects
- Full analytics (1-year)
- Custom domain portal
- Advanced abuse prevention
- 0.1% transaction fee
- Priority support + SLA
- Custom contracts
- SSO & team management
Your API deserves
to make money.
Stop spending months on billing infrastructure. Start earning from your API today.
Get started today