OPEN SOURCE · NON-CUSTODIAL · SOLANA

Turn an API call into
a direct USDC payment.

Add pay-per-request to an API or MCP tool in minutes. The customer pays your wallet directly; MeterKit never holds the funds.

Direct to your walletNo account or cardVerifiable on Solana
LIVE PRODUCT FLOW · DEVNET SIMULATION0.01 USDC
AI agentScout-01
Provider APIPremium Weather
1

GET /weather

2

402 · 0.01 USDC

3

USDC direct to provider

4

200 · Weather unlocked

M Policy, verification & receipt
ONE REQUEST. ONE PAYMENT. ONE RECEIPT.

The payment is part of the request.

The agent receives a price, validates its policy, pays exact test USDC and retries. Your service returns the protected result only after settlement.

01 · Provider

Publish an endpoint

Set 0.01 USDC per request

02 · AI agent

Call the protected API

Validate price and recipient

03 · Solana

Settle directly

Finalize a public receipt

Developer first

Protect the route. Keep your stack.

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);