Paid HTTP APIs that AI agents auto-pay per-call (x402 and USDC)
Introduces seven production-live paid HTTP APIs using x402 and USDC, covering trading analysis, consumer debt disputes, legal citations, project scaffolding, image generation, email scoring, and skill discovery, along with usage, discovery, and architecture details.
Royal Agentic — x402 Portfolio | x402-portfolio
x402-portfolio
Royal Agentic — x402 Portfolio
Seven production-live x402 paid HTTP APIs. All running on Base mainnet (eip155:8453) with the Coinbase CDP facilitator, real USDC settlement, and Bazaar discovery extensions. Single receive wallet: 0x9e6A0CE78Bb2915d0758cc6A1cE8eA77f1B71770.
Service Endpoint Price What it does
TradingAgents x402 POST /api/analyze-ticker $1.00 Multi-agent LLM ticker consensus — five specialist analysts + bullish/bearish debate + trader synthesis + risk review + portfolio-manager final BUY/HOLD/SELL
Sentry Forge x402 POST /api/dispute-pack $0.50 Generate an 8-file consumer-debt dispute pack (FDCPA/FCRA-grounded): collector + original-creditor letters, CFPB complaints, credit-bureau disputes, court-records search guide, action checklist, evidence inventory
Royal Ruby x402 POST /api/law-lookup $0.05 US consumer-rights law citation lookup (FCRA, FDCPA, TILA, state UDAP statutes, debt-collection rules, credit-reporting timelines) — information-only, no legal advice
Vault Pro x402 POST /api/scaffold-project (also /scaffold-agent) $0.05 Obsidian project + agent scaffolder — returns complete markdown (frontmatter + Goal + Success criteria + Decomposition table + Hermes coordination notes) fitted to the Vault Pro 70-Templates structure
Nano Banana x402 POST /api/generate-image (also /edit-image) $0.02 Paid Gemini image generation — gemini-3.1-flash-image-preview wrapped with x402 micropayments. Generate from prompt or edit existing image. Returns base64 PNG, 10 aspect ratios
Power Pack x402 POST /api/score-email $0.01 Outreach email scorer (Claude Haiku 4.5) — scores subject + body + open rate + spam risk + tone + length + personalization + CTA. Returns top-3 specific improvements + rewritten subject
SupraPack x402 POST /api/find-skill $0.01 Claude skill discovery over a 531-skill curated bundle. Returns top matching skills with full markdown content, quality score, categories, source repo. Optional min_quality, categories, limit filters
Try one (paid call)
x402 servers require a signed payment header. The easiest way to call them is with a wallet-equipped client like x402-proxy:
npx x402-proxy https://suprapack-x402.fly.dev/api/find-skill \ --body '{"query":"stripe webhook","limit":3}'
Or use the official Python SDK:
from x402 import x402Client from x402.mechanisms.evm.exact import ExactEvmScheme
client = x402Client() client.register("eip155:*", ExactEvmScheme(signer=my_signer))
Hit the endpoint — client auto-handles the 402 challenge
resp = client.post( "https://power-pack-x402.fly.dev/api/score-email", json={"subject": "Quick question about your API rollout", "body": "Hey , ..."}, )
Discovery
Each endpoint emits a full Bazaar discovery extension in its 402 response, including:
canonical accepts block (scheme, network, amount, asset, payTo)
extensions.bazaar.info with input/output schemas and a worked example
machine-readable JSON Schema for the request body
This means agents browsing the x402 Bazaar (or any vector-indexed registry like x402scan) auto-discover these endpoints by capability — no manual onboarding required.
To see a 402 challenge yourself:
curl -i -X POST https://tradingagents-x402.fly.dev/api/analyze-ticker \ -H 'content-type: application/json' \ -d '{"ticker":"NVDA"}'
The payment-required header is base64-encoded JSON. Decode it:
curl -sI -X POST https://tradingagents-x402.fly.dev/api/analyze-ticker \ -H 'content-type: application/json' \ | awk '/^payment-required:/ {print $2}' | tr -d '\r' | base64 -d | jq
Reliability
A daily GitHub Actions cron (x402 daily Bazaar self-ping) hits all seven /health endpoints + verifies every 402 challenge still reports eip155:8453, the expected price, and the correct payTo. Failure emails the operator.
Every successful paid call also emits one [LEDGER] JSON line to Fly logs (timestamp, app, endpoint, price, network, payTo, ok, latency) for per-call revenue and latency audit.
Architecture
All seven services share the same proven stack:
Node 22 + Express 5 thin wrapper
@x402/express payment middleware (mainnet via @coinbase/x402 CDP facilitator)
@x402/extensions/bazaar for Bazaar discovery metadata
Python subprocess for LLM-heavy services (sentry-forge-x402, tradingagents-x402)
Direct Anthropic / Google client for Node-only services
Fly.io deployment (shared-cpu-1x to shared-cpu-2x, auto-stop)
Source repos under bshelby88 on GitHub.
License
Each service ships under its own license (mostly ISC) — see individual repos.
Built by Bryant Shelby / Royal Agentic Enterprises. Contact: [email protected].