Skip to content
4API infrastructure for the next generationLaunching in Public

Monetize any
API in one line.

Wrap a route, set a price, and start charging. Run402 handles Stripe Checkout, the 402 handshake, billing, and analytics — no payment code required.

Join the first developers shaping the future of API monetization.

$ npm install run402
Public BetaEarly Access Open
CAJC42NKfBAory
1Install
2Protect
3Get paid
terminallive
$
server.ts
import { protect } from "run402"
// wrap any route to charge for it
api.yourapp.com/premium
Awaiting requestGET /premium
endpoint protected — awaiting first request
Stripe
Express
Next.js
Node.js
Fastify
Cloudflare
Supabase
Docker
Vercel
Public Beta Progress

Built alongside early developers

0
0
0
0

Updated weekly as we build in public.

Add Run402 to any Node.js project with your package manager of choice.

$ npm install run402

No billing logic. No infrastructure. No payment code. Just protect a route and charge.

01

Install package

Add run402 to your project. Zero config, works with any Node framework.

02

Protect endpoint

Wrap any route with protect() and set a price. That’s the entire integration.

03

Customer pays

Unpaid requests get a 402 and a hosted Stripe Checkout. No UI to build.

04

API unlocks

On success the request replays automatically and your endpoint responds.

This is exactly what your users experience — drive it manually and replay as many times as you like.

  1. 1Send a request to a protected route
  2. 2Receive a 402 with a Stripe Checkout link
  3. 3Pay, and the original request replays
  4. 4Get your 200 OK — access granted
No account needed — try the interactive demo →
api.yourapp.com/premium
Ready

GET /premium
→ send a request to see the paywall

No billing logic. No webhooks to wire. No payment UI to design. Wrap a route and you’re charging.

  • One import, one wrapper — no SDK glue
  • Per-route pricing, subscriptions, or metered usage
  • Works with Express, Fastify, Next.js & more
server.ts
import { protect } from "run402" // Charge $1 for every request to /premiumapp.use(  "/premium",  protect({    price: "$1",    metadata: { plan: "pro" }  })) // Everything else stays freeapp.get("/health", (req, res) => res.send("ok"))

Run402 replaces weeks of payments plumbing with a single dependency.

Automatic Billing

Invoices, receipts, and revenue tracking generated for every paid request.

Stripe Checkout

Hosted, PCI-compliant payment pages spun up automatically per route.

Analytics

Real-time revenue, conversion, and endpoint performance in one dashboard.

Usage Tracking

Meter calls per key, per user, or per plan with zero extra code.

Webhooks

Subscribe to payment, refund, and usage events with signed deliveries.

Rate Limiting

Protect endpoints with per-key limits and automatic 429 handling.

Developer SDK

Fully typed client for Node, edge runtimes, and serverless functions.

One-Line Integration

Wrap a route with protect() and you’re live. Nothing else to configure.

Everything payments used to demand, collapsed into a single wrapper.

  • Integrate the Stripe SDK by hand
  • Write and test billing logic
  • Design a payment UI
  • Build & verify webhooks
  • Manage API keys and secrets
  • Weeks of engineering work
VS

With Run402

  • Install one package
  • Wrap your route with protect()
  • Set a price
  • Ship it
  • Watch revenue in the dashboard
  • Under 2 minutes
Building in Public

Public Beta Roadmap

Everything we’re building before the official v1 launch.

In Progress

100 Developers

Our first milestone is onboarding 100 developers to validate the Run402 developer experience.

Progress68%

Estimated completion · Q3 2026

In Progress

500 Protected APIs

Help developers protect their first 500 API endpoints using Run402.

Progress42%

Estimated completion · Q4 2026

In Progress

10,000 Requests

Reach our first 10,000 successful protected API requests.

Progress24%

Estimated completion · Q4 2026

In Progress

10 Design Partners

Work closely with 10 companies to shape the future of API monetization.

Progress40%

Estimated completion · Q3 2026

Run402 is being built in the open with feedback from developers around the world. Every feature, every release and every improvement is driven by our early community. If you're joining today, you're helping shape the future of API payments.

Weekly Updates

We ship and share progress every week. No black boxes — you see the roadmap move in real time.

Community Driven

Features are prioritized by the developers actually using Run402, not a distant roadmap committee.

Founder Accessible

Talk directly to the founder. Ideas, bugs, and requests reach the person building the product.

Fast Iteration

Small team, tight loop. Feedback today can turn into a shipped feature within days.

MP
Manoj Paliwal, Founder of Run402

Manoj Paliwal

Founder & Software Engineer

IIT (ISM) DhanbadBengaluru

Manoj is building Run402 with a simple vision: making API monetization as easy as adding a single middleware.

After working as a software engineer and building developer tools, he realized monetizing APIs is still far more complicated than it should be. Run402 exists to change that.

Early Access Open

Join the Founding Developers

Become one of the first developers helping shape Run402.

Lifetime Early AccessDirect Founder SupportPrivate DiscordFeature RequestsEarly Product Updates

Drop Run402 into the frameworks, runtimes, and platforms you already use.

Stripe
Express
Next.js
Node.js
Fastify
Cloudflare
Supabase
Docker
Vercel
More soon

Start free. Upgrade when your API starts earning. No hidden fees on top of Stripe.

Free

$0forever

Everything you need to test and launch your first paid API.

Start for free
  • Unlimited testing
  • One project
  • Stripe Checkout
  • Community support
  • Core analytics
Most popular

Pro

$29per month

For teams shipping production APIs and scaling revenue.

Start Pro trial
  • Unlimited APIs & projects
  • Advanced analytics
  • Custom branding
  • Webhooks & rate limiting
  • Priority support
  • Usage-based & subscription billing

Enterprise

Custom

Dedicated infrastructure, SSO, and support for large orgs.

Contact sales
  • Everything in Pro
  • SSO & SAML
  • SLA & dedicated support
  • Self-hosting options
  • Custom contracts
  • Volume pricing

Run402 is a package that turns any API route into a paid endpoint. It uses the HTTP 402 Payment Required standard to gate requests, handle Stripe Checkout, and unlock access — all without you writing billing code.

Production-focused and in Public Beta. Protect a route and get ready for your first production deployment — you’re early.

$ npm install run402