4
4 Comments

How do you create SAAS subscription plans or pay as you go plans?

I am building a SAAS service in Node and plan to add 3 different subscription options. Depending on the subscription plan, I want to add rate limits (X hits per second) and quota limits (Y requests per day) to the API calls.

What are my options other than building an In house solution? (I am thinking to add Redis cache to keep track of number of requests and throw RateLimit error if the user has reached his API quota limits.)

Is there any ready made library or service available that provides similar functionality?

  1. 2

    My product solves this exact problem! Lightfront is an API Gateway that handle API keys validation and rate limiting. Currently I’m working on adding Stripe integration so you can define plans in Stripe, set rates in Lightfront for each plan type, and get going immediately.

    1. 2

      Forgot to mention, we are in closed beta so drop your email on the website!

  2. 1

    You may want to look at AWS API Gateway. You can create and manage; plans, api keys, rate limits, burst limits etc.

    Using indie hackers' projects and supporting them is another good way.

Trending on Indie Hackers
Getting first 908 Paid Signups by Spending $353 ONLY. 24 comments I talked to 8 SaaS founders, these are the most common SaaS tools they use 20 comments What are your cold outreach conversion rates? Top 3 Metrics And Benchmarks To Track 19 comments How I Sourced 60% of Customers From Linkedin, Organically 12 comments Hero Section Copywriting Framework that Converts 3x 12 comments Join our AI video tool demo, get a cool video back! 12 comments