A-Pay Protocol
Measured conclusion: Deep-tested. L2 outcome: tools_ok.
Universal HTTP 402 Micropayment Protocol & Autonomous Economic Settlement Engine for AI Agents
| Author | io.github.neuralaisofficial-lang |
|---|---|
| Access | mixed |
| Publisher key required | No |
| Measured state | Deep-tested |
| L1 liveness | alive |
| L1 latency | 278 ms |
| Last measured | 2026-10-26 |
Add to your agent
Copy this into your MCP client config:
{
"mcpServers": {
"A-Pay Protocol": {
"url": "https://apay-network.vercel.app/api/mcp",
"transport": "streamable-http"
}
}
}
Measured tools (5)
apay_requestProbe and automatically pay HTTP 402 crypto micropayments on Base Layer 2 with USDC or $APAY within pre-configured budget limits.
Parameters:
url(required) — string — The target endpoint URLmethod— stringheaders— object — Optional additional HTTP headersjson_body— object — Optional JSON request body
Hints: read-only not declared · destructive not declared · idempotent not declared · open-world not declared
apay_get_wallet_statusInspect the agent's active non-custodial wallet address, network, current spending guardrails, and total spent in USDC and $APAY.
Hints: read-only not declared · destructive not declared · idempotent not declared · open-world not declared
apay_set_budgetConfigure agent safety invariants and spending guardrails. Prevents runaway loops or overcharging.
Parameters:
daily_budget_apay— number — Maximum $APAY token rolling 24-hour spending budgetdaily_budget_usdc— number — Maximum USDC rolling 24-hour spending budgetmax_per_call_apay— number — Maximum $APAY token allowance for a single API callmax_per_call_usdc— number — Maximum USDC allowance for a single API call
Hints: read-only not declared · destructive not declared · idempotent not declared · open-world not declared
apay_inspect_endpointInspect an endpoint to check if it requires an A-Pay micropayment, inspect the exact price quote, currency, and payout receiver without spending any funds.
Parameters:
url(required) — string — The URL to probe for HTTP 402 payment requirements
Hints: read-only not declared · destructive not declared · idempotent not declared · open-world not declared
apay_get_balanceInspect the agent's live on-chain balances on Base Layer 2, including native ETH (for gas), USDC, and $APAY tokens.
Parameters:
address— string — Optional target EVM address to inspect balances for
Hints: read-only not declared · destructive not declared · idempotent not declared · open-world not declared
Measured by MCPYP probing. Untested fields are omitted, never estimated. Listing is always free; MCPYP never proxies calls or stores user tokens.