Install
Pick your stack. Copy one snippet. Start earning USDC on Base — no payout cycles, no custody, 2% per settled call.
# 1. Host this file on your domain
# https://yourapi.com/.well-known/payagent.json
{
"skill": "your-skill-id",
"version": "1",
"payout": { "network": "base", "address": "0xYourWallet…" },
"endpoints": [
{ "path": "/v1/score", "price": "0.0025", "currency": "USDC" }
]
}
# 2. Return 402 with a Payment-Required header on unpaid calls.
# That's it. No binary, no CLI, no runtime.The 80% path. Works with any language, any framework, any host.
Add the manifest
Host /.well-known/payagent.json on your domain.
Return 402 on unpaid calls
With a Payment-Required header pointing to your Base address.
Get paid in the same request
Agent signs USDC on Base, facilitator verifies, you serve the response.