APIs that ask agents to pay before they run.
Meterflow wraps third-party APIs and MCP tools with meters, x402/MPP-style HTTP 402 payment quotes, Solana USDC settlement context, receipts, spend caps, provider revenue, and webhooks. The built-in token-risk tool is the narrow demo; hosted gateway routes are the product path for provider-owned endpoints.
AI agents need tools, but tools need a way to charge machines.
Most APIs assume a human signs up, enters a card, and manages usage from a dashboard. Autonomous agents need something different: machine-readable prices, wallet-bound budgets, verifiable payment, and receipts that can be audited later.
Meterflow turns each paid endpoint into a simple contract: quote the request, pay in USDC, verify settlement, run the tool, and log the receipt.
Request. Quote. Pay. Verify. Respond.
Agent requests an endpoint
The client calls a Meterflow-protected API route with the requested model, tool, or data product.
Meterflow returns a quote
The quote includes asset, amount, merchant wallet, expiration, endpoint metadata, and a request hash.
Wallet pays in USDC
The agent, wallet app, or operator signs a Solana payment transaction against its configured spending policy.
Payment is verified
The gateway checks the signature, recipient, amount, mint, quote expiration, and replay status before executing the request.
Response ships with a receipt
The API provider gets a ledger entry. The agent gets a response plus a receipt ID it can store for accounting.
Fast settlement, small payments, clear ownership.
USDC Native
Stable pricing for API calls, data lookups, model inference, trading tools, and agent actions.
Wallet Policies
Spending limits can be bound to a wallet, endpoint, merchant, and time window.
Receipts
Each paid request can be reconciled by merchant, user, endpoint, transaction, and request hash.
Add a payment meter without building billing from scratch.
The gateway lets providers wrap an existing endpoint, expose a hosted route, and attach payment quotes, verification, receipts, budgets, and revenue views without rebuilding billing from scratch.
curl https://meterflow.fun/proxy/v1/quote \
-H "Authorization: Bearer mf_x7k9m2p4q8r1..." \
-d '{"endpoint": "/mcp/token-risk"}'
# Execute after payment verification
curl https://meterflow.fun/proxy/mcp/token-risk \
-H "Authorization: Bearer mf_x7k9m2p4q8r1..." \
-H "X-Meterflow-Payment: 5h6tx..." \
-d '{"token":"So11111111111111111111111111111111111111112"}'
Meter your API. Control agent spend.
Open the dashboard to wrap an API, create a paid MCP tool, set agent budgets, and inspect receipts.
Launch Dashboard