• Blog
  • Docs
  • Pricing
  • We’re hiring!
Log inSign up
rlimit

rlimit

ratelimit

Public
Like
1
ratelimit
Home
Code
2
README.md
main.tsx
Branches
1
Pull requests
Remixes
1
History
Environment variables
Val Town is a collaborative website to build and scale JavaScript apps.
Deploy APIs, crons, & store data – all from the browser, and deployed in milliseconds.
Sign up now
Code
/
README.md
Code
/
README.md
Search
7/14/2023
Viewing readonly version of main branch: v12
View latest version
README.md

rlimit.com - rate-limiting as a service

This val abstracts rlimit.com service and allows val.town users to enjoy simple rate-limiting for their vals.

Using @rlimit.ratelimit users can benefit out of a special free tier without signing up for rlimit.com account. If anyone require more than what free tier has to offer, they just sign up and pass their namespace ID created in the rlimit.com dashboard.

Usage

Following val example will limit calling val to 10 requests per 60s.

let limitedVal = (async () => { const limit = await @rlimit.ratelimit("10/1m"); if (!limit.ok) { throw new Error("limit reached"); } console.log("limit ok", limit); // continue with expensive operation })();

A couple of examples

  • link to val1
  • link to val2

Migrated from folder: ratelimit/ratelimit

FeaturesVersion controlCode intelligenceCLIMCP
Use cases
TeamsAI agentsSlackGTM
DocsShowcaseTemplatesNewestTrendingAPI examplesNPM packages
PricingNewsletterBlogAboutCareers
We’re hiring!
Brandhi@val.townStatus
X (Twitter)
Discord community
GitHub discussions
YouTube channel
Bluesky
Open Source Pledge
Terms of usePrivacy policyAbuse contact
© 2025 Val Town, Inc.