pay-via-agent-wallet

Searches, inspects, and pays x402 marketplace APIs with USDC via the Circle CLI.

3|1|Updated May 17, 2026
One-click install
npx skills add https://github.com/levantuy/arc-quantum --skill pay-via-agent-wallet-levantuy
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: pay-via-agent-wallet
Source: https://github.com/levantuy/arc-quantum/tree/main/.agents/skills/pay-via-agent-wallet
Command: npx skills add https://github.com/levantuy/arc-quantum --skill pay-via-agent-wallet-levantuy

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Agents often hit walls when a task requires a paid API, live data, or a service behind a paywall, and traditional API access demands keys, accounts, and prefunded billing. This Skill lets the agent discover paid HTTP endpoints in the Circle services marketplace and pay per call in USDC using the x402 protocol, removing those blockers. ## Core Features & Use Cases - Marketplace discovery: Run circle services search with a keyword to find paid endpoints for crypto prices, prediction-market odds, web search, weather, sports stats, academic research, and communication APIs. - Pre-payment inspection: Use circle services inspect and raw 402 responses to confirm price, accepted chains, payment scheme (Gateway vs vanilla x402), and request schema before spending. - USDC payment execution: Call circle services pay to sign the payment authorization, settle on-chain, and receive the API response, with support for cost estimates, spending caps, and chain-specific routing. - Use Case: A user asks for current prediction-market odds. The agent searches the marketplace, inspects a Predexon-backed endpoint, confirms it accepts Polygon, and pays $0.005 USDC to retrieve live odds data. ## Quick Start Ask the agent to look up the current price of Bitcoin using a paid marketplace API and have it search, inspect, and pay for the endpoint with USDC.

Frequently Asked Questions about pay-via-agent-wallet

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I pay for a paid API call with USDC using the Circle CLI?

Run circle services search with a keyword to find an endpoint, then circle services inspect to confirm price and schema, and finally circle services pay with the service URL, wallet address, chain, and data payload. The CLI signs the payment authorization and returns the API response as JSON.

What is the x402 protocol and how does pay-per-call work?

x402 is a payment protocol where HTTP endpoints return a 402 response listing accepted payment options, and clients settle a small USDC fee per call. It removes the need for API keys, accounts, or prefunded billing since each request is paid individually.

Why does circle services pay reject my chain selection?

Sellers publish accepted chains in their 402 response, and many accept only Polygon or Avalanche rather than BASE. When you see a chain rejection error, retry with the chain named in the CLI hint, which is authoritative.

What is the difference between Gateway and vanilla x402 payments?

Gateway payments use the GatewayWalletBatched scheme with sub-500ms settlement after a one-time deposit, while vanilla x402 pays directly per call at roughly 2 seconds each. When a seller lists both, the CLI picks Gateway first, so a Gateway deposit may be required.

Why does my paid API call return HTTP 422?

HTTP 422 means the request payload schema is wrong, not a transient error. Check whether the CLI says payment was not charged before retrying with corrected field names, and never re-run the same payload blindly since post-authorization failures may have moved funds.

What should I do before using this payment skill?

Verify the wallet is set up with circle wallet status and confirm a nonzero USDC balance. If login or terms errors appear, use the wallet setup flow first; if balance is zero, fund the wallet via fiat on-ramp, transfer, or Gateway deposit before paying.