Powered by MPP · Machine Payment Protocol

Make your APIs
ready for the Agentic Economy

Monetize any API or digital content with per-request micropayments. Apps, Gateways, Functions, or Files - pick your path.

Real-time settlementBuilt-in refundsReferral rewardsZero upfront cost
Agent AGPT-4oAgent BClaudeAgent CGeminiAgent DLlamaPAYWEAVEAppsSDK MiddlewareGatewaysReverse ProxyFunctionsServerlessFilesDigital Downloads$$$$

Four ways to monetize

Pick your path to revenue

Apps

Generate API credentials and integrate SDK middleware to accept per-request payments in any framework.

Gateways

Reverse-proxy your existing API with zero code changes. PayWeave handles payment collection transparently.

Functions

Deploy serverless TypeScript handlers with built-in pricing. Write code, set a price, start earning.

Files

Sell digital downloads with per-download pricing. Upload datasets, models, or documents and let agents pay to access.

How It Works

From zero to revenue

01

Create a workspace

Sign up and get wallets auto-provisioned. Create apps, gateways, functions, or file collections from the dashboard.

02

Connect your API

Use SDK middleware, set up a reverse-proxy gateway, deploy serverless handlers, or upload paid files - whichever fits.

03

Earn per request

Agents pay USD micropayments via MPP on every call. Payments settle in real time to your wallet.

04

Get discovered

Publish to the bazaar catalog. AI agents find, evaluate, and pay for your services automatically.

Apps

Monetize your API
with a few lines of code

Apps give you API credentials and SDK middleware to accept per-request micropayments. Plug into your existing framework - no infrastructure changes needed.

API credentials

Generate app keys instantly. Authenticate every paid request with HMAC-signed headers.

SDK middleware

One-line integration for Express, Hono, Fastify, and Next.js. Add payments to any route.

Revenue dashboard

Track revenue, transactions, and unique payers per app with real-time analytics.

npm install @payweave/hono
import { Payweave } from '@payweave/hono'

const pw = new Payweave(appId, secret)

app.get('/api/weather',
  pw.charge({ price: '0.001' }),
  handler
)
Gatewayapi.payweave.dev/gw/weather-api
Upstreamapi.weather.com/v3
12 endpoints
Header Auth
$0.001/req
Gateways

Monetize any API
without touching code

Gateways sit in front of your existing API as a reverse proxy. Every request passes through PayWeave, which handles payment collection - zero code changes on your end.

Reverse proxy

Point to any upstream URL. PayWeave proxies requests and handles payment collection automatically.

Upstream authentication

Support for header, query param, and basic auth. Credentials encrypted at rest with AES-256.

Endpoint routing

Define endpoints with wildcard or exact path matching, individual pricing, and method restrictions.

Functions

Build paid APIs
from scratch

Functions let you deploy serverless TypeScript handlers with built-in micropayments. Write code, set a price, and start earning - no infrastructure to manage.

Serverless handlers

Write TypeScript handlers that deploy instantly. Each handler gets its own URL and pricing.

Built-in playground

Test your handlers directly from the dashboard. Debug requests and responses in real time.

Bazaar discovery

Publish handlers to the discovery catalog so AI agents can find and pay for your services.

sentiment-handler.ts
export default {
  price: '0.005',

  async handler(req) {
    const { text } = await req.json()
    const score = analyze(text)
    return { score, text }
  }
}
Files

Sell digital
downloads

Upload files to a collection, set a price per download, and let agents pay to access your data. Datasets, models, reports - any file becomes a paid product.

Any file type

Upload datasets, model weights, PDFs, archives, media - any file up to 100 MB with per-download pricing.

Agent discovery

Files appear in Bazaar discovery so AI agents can find, evaluate, and purchase your data autonomously.

Pay-per-download

No subscriptions or API keys. Agents pay per download via MPP and get the file immediately.

terminal
# Agent discovers file
$ curl /fl/fc_abc/dataset.csv
→ 402 Payment Required ($0.50)

# Agent pays & downloads
$ npx mppx /fl/fc_abc/dataset.csv
→ 200 OK (2.4 MB, 340ms)
# Payment-Receipt: settled ✓

Features

Everything for agent commerce

Tempo payments

Accept USD on Tempo. Live and test modes with separate wallets.

Bazaar discovery

Publish your endpoints so other agents can discover and interact with your paid services.

SDK for every framework

First-class middleware for Hono, Express, Fastify, and Next.js. One line to enable payments.

Dashboard & analytics

Real-time transaction feed, revenue charts, per-app breakdowns, and endpoint-level stats.

Auto wallet provisioning

Powered by Privy. Tempo wallets created and managed for you. Withdraw anytime.

Automatic refunds

When a gateway, function, or file download fails after payment, a refund is created automatically. Process individually or batch with one signature.

Referral rewards

Share payment URLs with ?ref=WALLET and earn a percentage of every transaction. Configurable per workspace - default 0.5%, powered by on-chain split payments.

Pricing

Simple, transparent pricing

No hidden fees. Pay only when you earn.

Free

$0

No subscription required

3%platform fee
3% fee on every transaction
Unlimited apps, gateways & functions
Analytics dashboard
Auto wallet provisioning
SDK middleware included
Referral rewards (configurable %)
Get Started Free

No card required

Pro

$9 /month

Lower fees, unlimited transactions

1%platform fee
Everything in Free
1% fee instead of 3%
Unlimited transactions
Priority support
Bazaar & MCP discovery
Referral rewards (configurable %)
Upgrade to Pro

Save 2% on every transaction

Earn More

Referral rewards

Share any payment URL with ?ref=YOUR_WALLET appended. When someone pays through your link, you earn a percentage - settled on-chain in the same transaction.

1

Share a link

Append your wallet address as a ref parameter to any PayWeave payment URL - gateways, functions, or files.

2

Earn on every payment

When an agent or user pays through your referral link, your wallet receives a split of the payment automatically.

3

Settled on-chain

Referral rewards are paid via on-chain split payments in the same transaction. No claiming, no delays.

Workspace owners control the referral percentage from Settings.

Default: 0.5% per transaction · Configurable up to 10%