x402 Kit: agents pay your API

x402 Kit: agents pay your API

Leader ●9 ●37
calendar_today ago • schedule1 min read

npm create @scriptmasterlabs/x402 my-api — one command builds a paid MCP server, a paywall in front of an API you already run, or a paid file store, on Express, Hono, Next.js, Cloudflare Workers or FastAPI. AI agents pay per call in USDC on Base via x402: your server answers HTTP 402 with a price, the agent signs, settlement lands straight in your wallet. No API keys, no accounts, no invoices; failed calls are never charged. Ships an AGENTS.md so Claude Code or Cursor can install it, a receipts page and a live paid-calls badge. Settles through OMNIGATE by default (Script Master Labs' facilitator): the 0.005 USDC fee is an optional leg — standard payments settle with the fee waived inside a published daily budget. Tested with the stock x402 client on every stack, plus a real $0.01 USDC settlement on Base through a kit-built app (both wallets ours — it proves the kit works end to end). Free, MIT. npm: @scriptmasterlabs/create-x402 · GitLab: gitlab.com/script-master-labs-llc-group/x402-kit · GitHub: github.com/Timwal78/x402-kit · Tutorial on the starter page linked above.

🔥 Join developers growing publicly
Share your knowledge, build in public, and grow your developer presence with a global community.

More Posts

AAIF Hits 10 Projects. Its CTO on What to Adopt Now and the Security Gaps Left Open

Tom Smithverified - Oct 23

The Sovereign Vault — A Comprehensive Guide to Protocol-Driven AI

Ken W. Algerverified - Jun 4

SML x402 Directory

ScriptMasterLabs - Nov 2

CData's New AI Gateway Puts Context at the Center — Fixes the Three Reasons Enterprise AI Stalls

Tom Smithverified - Sep 28

MCP Is the USB-C of AI. So Why Are You Plugging Everything In?

Ken W. Algerverified - Jun 10
chevron_left
1.9k Points • 46 Badges
22Posts
5Comments
8Connections
Service-disabled veteran. Founder of ScriptMasterLabs — building payment rails for the agent economy... Show more

Related Jobs

View all jobs →

Commenters (This Week)

4 comments
1 comment

Contribute meaningful comments to climb the leaderboard and earn badges!