Skip to content

Supercharge your AI agents with data from the web and beyond. Building the library for superintelligence. 🔥

chore(agent-signup): update ToS version and add domain rate limiting comments

Erik Engervall45c2b2de6401
diff --git a/apps/api/src/controllers/v2/agent-signup.ts b/apps/api/src/controllers/v2/agent-signup.ts
index 2399a70a5..aa17c8c24 100644
--- a/apps/api/src/controllers/v2/agent-signup.ts
+++ b/apps/api/src/controllers/v2/agent-signup.ts
@@ -41,6 +41,8 @@ const ipRateLimiter = new RateLimiterRedis({
duration: 3600, // 1 hour
});
+// Per-domain (or per-email for public providers) limit to curb abuse while allowing
+// legitimate multi-agent signups. Tune points if product requirements change.
const domainRateLimiter = new RateLimiterRedis({
storeClient: redisRateLimitClient,
keyPrefix: "agent_signup_domain",
@@ -249,7 +251,7 @@ export async function agentSignupController(req: Request, res: Response) {
sandboxed_team_id: teamId,
api_key_id: apiKeyRecord.id,
requesting_ip: incomingIP,
- tos_version: "2025-01-01",
+ tos_version: "2024-11-05", // Date of last revision in ToS at https://firecrawl.dev/terms-of-service
tos_hash: crypto
.createHash("sha256")
.update("accept_terms:true")