Publish an endpoint
Set 0.01 USDC per request
Add pay-per-request to an API or MCP tool in minutes. The customer pays your wallet directly; MeterKit never holds the funds.
GET /weather
402 · 0.01 USDC
USDC direct to provider
200 · Weather unlocked
The agent receives a price, validates its policy, pays exact test USDC and retries. Your service returns the protected result only after settlement.
Set 0.01 USDC per request
Validate price and recipient
Finalize a public receipt
MeterKit is middleware, not a custody layer. Keep your API, wallet and customer relationship.
Open provider workspace →import { createX402Middleware } from "@meterkit/sdk"; app.get("/premium", createX402Middleware({ price: "$0.01", payTo: providerWallet }), handler);