Skip to main content
Foldset makes it easy to monetize your APIs and MCP tools using x402, the open protocol for HTTP micropayments. Integrate our SDK into your product and start earning from every request.

How it works

  1. Sign up at foldset.com
  2. Check your robots.txt: Foldset automatically scans your robots.txt for rules that block AI crawlers (GPTBot, ClaudeBot, etc.). If bots are blocked, you’ll see exactly which ones and the offending rules so you can update your robots.txt and start earning.
  3. Integrate our SDK into your app
  4. Configure which API endpoints or MCP tools to protect and set prices in the dashboard
  5. Earn per request and withdraw to your bank account

What can you protect?

  • APIs: REST endpoints, data feeds, search APIs
  • MCP servers: individual tool calls and resource reads on your Model Context Protocol servers

Pick your integration

Frameworks

Install a package and add a few lines of code to your app.

Next.js

Add Foldset middleware to your Next.js app.

Express

Add Foldset middleware to your Express app.

Hono

Add Foldset middleware to your Hono app.

FastAPI

Add Foldset middleware to your FastAPI app.

Flask

Add Foldset middleware to your Flask app.

Other Languages

Go, Rust, and more. Currently in beta.