Nexus

Payments for AI agents on Algorand

Nexus speaks the standard x402 protocol for USDC on Algorand, so any x402 client can pay a Nexus-protected endpoint, and any API can charge agents per call.

Pay (agent side)

import { x402Client, wrapFetchWithPayment } from '@x402/fetch';
import { ExactAvmScheme, toClientAvmSigner } from '@x402/avm';

const client = x402Client.fromConfig({ schemes: [{ network: 'algorand:*', client: new ExactAvmScheme(toClientAvmSigner(process.env.AVM_PRIVATE_KEY)) }] });
const res = await wrapFetchWithPayment(fetch, client)('https://nexus-x402-shop.vercel.app/v1/preflight?address=<address>');

Charge (API side)

import { x402Paywall, ALGORAND_MAINNET_CAIP2, USDC_MAINNET_ASA_ID } from '@nexus/agent';

app.get('/data', x402Paywall({ payTo: MY_ADDRESS, network: ALGORAND_MAINNET_CAIP2, assetId: USDC_MAINNET_ASA_ID, priceCents: 5, algod }), handler);

Self-settling (no facilitator, no fee) or through a facilitator such as GoPlausible. Verified on-chain, single use, with spend caps on the paying side.

Try it

Status: these three endpoints were paid for on mainnet with the official x402 client on 2026-12-03. The pay-safety verdict is a heuristic over public on-chain facts, with no scam database.