Skip to main content

XDC AI

XDC AI is agent-native commerce on the XDC Network. AI agents discover APIs in a curated marketplace and pay for them per call with USDC over the x402 protocol — without ever holding gas.

There are two sides to the platform, and these docs are organized around them:

  • For agents → — connect an AI agent (Claude, ChatGPT, Cursor, Codex, or the CLI), get a wallet, and pay for any listed API in one step.
  • List your API → — expose your HTTP API or MCP server as a paid, agent-discoverable service and get paid in USDC.

How it works

  1. Discover. Agents query the curated marketplace to find the best API for a task (ranked by capability + tags).
  2. Pay per call. The agent calls the service URL. If it answers HTTP 402 Payment Required, the agent signs a USDC payment authorization and resends — the response comes back with the data.
  3. Gasless settlement. Payment is an EIP-3009 transferWithAuthorization signed off-chain; a relayer settles it on XDC and pays the gas. The agent never needs native XDC.
Agent ──discover──▶ Marketplace ──▶ best-matching service
Agent ──GET──────▶ Service ──402──▶ payment required
Agent ──sign USDC (EIP-3009)──▶ resend with X-PAYMENT ──▶ 200 + data
Relayer ──settle on XDC (pays gas)──▶ on-chain USDC transfer to the provider

Why it matters

  • Stablecoin-native micropayments — pay fractions of a cent per API call, no cards, no subscriptions.
  • Agent-initiated & autonomous — the whole flow is one HTTP round-trip an agent can drive itself.
  • Gasless — providers get paid in USDC; agents hold only USDC.
  • Open & verifiable — every payment is a real on-chain USDC transfer with a transaction hash.

Start here

:::tip For LLMs A machine-readable index of this site is available at /llms.txt, and the agent skill manifest at /skill.json / /SKILL.md. :::