x402 paymentsStellar testnetUSDC per call

AgentPay Marketplace

Turn APIs into paid tools for AI agents.

AgentPay gives providers a registry, an x402 payment wrapper, and a receipt trail. External agents discover a tool, pay with Stellar testnet USDC, then receive the API response.

Published tools

4

Latest paid call

Demo receipt ready

Discovery JSON

agentpay-tools.json

For API providers

Keep your API. Add a paid entry point.

List an existing API without rebuilding it around a new protocol.

Set a per-call USDC price and provider wallet.

Receive traffic through a paid wrapper instead of sharing the raw endpoint.

Publish a tool

For agent builders

Call useful tools without manual checkout.

Discover available tools from a normal JSON registry.

Receive machine-readable HTTP 402 payment terms.

Pay, retry the request, and get the provider response after settlement.

Browse registry

Payment flow

One API call, with payment built into the request.

The demo below mirrors the real wrapper endpoint. The agent asks first, receives HTTP 402, pays, retries, and only then reaches the provider.

Interactive request path

Discover tool

discover
HTTP 402 > payment > retry > provider response

Marketplace

The registry is made for external agents.

Human users can browse the marketplace, but the important surface is the JSON discovery document and per-tool paid endpoint.

List tools

GET /api/tools

Agent discovery

GET /.well-known/agentpay-tools.json

Paid wrapper

POST /api/tools/{toolId}/call

Live registry preview

Stellar Explainer

Showing fallback demo tools until the database is connected.

Open marketplace
stellar0.01 USDC/call

Stellar Explainer

Explains Stellar, Soroban, x402, wallets, and testnet payment concepts.

/api/tools/demo-stellar-explainer/call
research0.01 USDC/call

Paper Summarizer

Summarizes academic abstracts and extracts key points for research workflows.

/api/tools/demo-paper-summarizer/call
utility0.01 USDC/call

Startup Pitch Critic

Reviews startup pitches and returns strengths, risks, and a sharper one-line rewrite.

/api/tools/demo-pitch-critic/call

External agent demo

Run the marketplace like an agent would.

npm run demo:agent -- "Explain x402 on Stellar"