Now in early access

Add login, billing, and paywallsto your app in minutes.

Stop building auth and payments from scratch. Plug in our API, let your users sign up, pick a plan, and pay — so you can focus on your product.

Free to start · No credit card needed · Works with any language or framework

your-app/api/callback.ts
// Exchange the auth code for a token
const { access_token } = await fetch(
  "https://astapa.com/api/token",
  { method: "POST", body: JSON.stringify({ code }) }
);

// Verify and check the user's plan
const user = verifyToken(access_token);
if (user.plan === "pro") {
  /* unlock features */
}
Send users to our login page
We handle signup, passwords, and OAuth for you
Get back a secure token
Contains who the user is and what plan they're on
Show or hide features by plan
One line: user.plan === "pro" — done

How it works

From zero to production in three steps.

Create a project, add a few lines of code, and you're live. No servers to manage.

01

Create a project

Sign up, name your project, and grab your API keys. Takes about a minute.

client_id
proj_a1b2c3d4e5f6
secret
••••••••••••••••
redirect
https://yourapp.com/callback
02

Add login to your app

Send users to our login page. After they sign in, you get back a token with their info and plan.

callback.ts
// exchange code → token
const { access_token } =
await exchangeCode(code);
// verify + check plan
const user = verify(access_token);
user.plan === "pro"
03

Launch and grow

Set up plans, control who sees what, and watch your users grow from the dashboard.

Active users
2,847
18%

Weeks of plumbing, or thirty minutes.

Every SaaS needs login, billing, and paywalls. You can spend weeks building them, or plug in ours and move on.

Build it yourself

Auth2–4 weeks
Billing2–3 weeks
Paywalls1–2 weeks
Total5–9 weeks

Use Astapa

Auth10 min
Billing10 min
Paywalls10 min
Total30 min

Pricing

Scales with your product.

Start free. Upgrade as you grow. No surprise bills, cancel anytime.

Free

100 MAU
$0/mo

Test your idea for free. Login, sessions, and basic feature gating included.

  • Hosted login page
  • Google & GitHub login
  • Secure tokens
  • 1 project

Starter

1K MAU
$29/mo

For launched products with paying customers.

  • Everything in Free
  • Plan-based feature gating
  • Webhooks
  • 3 projects

Scale

10K MAU
$249/mo

For established SaaS with serious traffic.

  • Everything in Starter
  • Priority support
  • Custom domain
  • Unlimited projects

API reference

Standard OAuth 2.0. Works with anything.

Simple HTTP calls — no special library needed. Use any language, any framework. We also have helpers if you want them.

Endpointsastapa.com
GET/auth/login
POST/api/token
GET/.well-known/jwks.json
GET/api/users/:id

Ready to ship?

Create a free project and go live in under ten minutes.

Start building — free

Free to start · No credit card needed

astapa — Auth, subscriptions, and paywalls without the plumbing