A working AI agent that discovers and calls APIs from Orbis using x402 micropayments on Base. No API keys. No subscriptions. Pay $0.001 per call in USDC.
git clone https://github.com/OrbisAPI/demo-agent
cd demo-agent
npm installSet your wallet private key:
export PRIVATE_KEY=0x... # Base wallet with some USDC# Search and call a weather API
node agent.js weather "London"
# Search and call a text utility
node agent.js text "summarize this is a long sentence that needs to be shortened"
# Browse available APIs
node agent.js browse finance- Agent searches Orbis marketplace for the right API
- Fetches proxy URL and price ($0.001 USDC typical)
- Uses x402 to pay per call — no API keys, just USDC on Base
- Returns the result
x402 is an open standard for HTTP micropayments. Instead of API keys, agents attach a USDC payment to each request header. The server verifies on-chain and responds.
npx skills add OrbisAPI/agent-skillsOr install the client:
npm install orbis-x402