# Lucky x402

> Agent-facing pay-per-call services: crypto intelligence, exchange ops (transfer routes, wallet status, ticker collisions, funding, leverage, news propagation) and creative QC. Paid per call in USDC on Base via x402 v2 — no API key, no signup.

## How to call
- REST: POST https://lucky-x402.onrender.com/x402/<service> with a JSON body -> HTTP 402 with payment requirements (Payment-Required header, base64 JSON) -> retry with X-Payment -> 200 + X-Payment-Response.
- A2A (JSON-RPC, protocol 0.3): https://lucky-x402.onrender.com/a2a — message/send with a DataPart {"skill": <name>, "arguments": {...}}; paid skills use the a2a-x402 v0.2 extension (header X-A2A-Extensions). Agent card: /.well-known/agent-card.json
- MPP (Stripe+Tempo): the same 402 also carries WWW-Authenticate: Payment (method=tempo, intent=charge, push mode) — pay pathUSD on Tempo with transferWithMemo, send the tx hash.
- MCP (Streamable HTTP, JSON responses): https://lucky-x402.onrender.com/mcp — initialize, tools/list, tools/call; payment in params._meta["x402/payment"] per the x402 MCP transport.
- Schemas and real response examples: https://lucky-x402.onrender.com/openapi.json · catalog: https://lucky-x402.onrender.com/x402 · https://lucky-x402.onrender.com/.well-known/x402 · https://lucky-x402.onrender.com/.well-known/agent-card.json
- Free check before paying: https://lucky-x402.onrender.com/x402/cex-health (which exchanges answer from this server)

## Services
- [srt-verify](https://lucky-x402.onrender.com/x402/srt-verify): Verify subtitles/timing (QC), pure-logic — $0.22/call
- [synesthetic-av](https://lucky-x402.onrender.com/x402/synesthetic-av): Audio->visual via formal Scriabin AV-map (pitch->hue, harmony->geometry) — $0.22/call
- [harmony-grade](https://lucky-x402.onrender.com/x402/harmony-grade): Color grade derived from harmony/tonal center (Scriabin CoF<->color, prisms.db) — $0.22/call
- [defi-risk-basic](https://lucky-x402.onrender.com/x402/defi-risk-basic): Basic DeFi risk: contract exists, proxy, whales. Fast pre-audit screen — $0.22/call
- [defi-risk-deep](https://lucky-x402.onrender.com/x402/defi-risk-deep): Deep DeFi risk: basic + exploit history, TVL, full tokenomics. Agent-grade DD — $0.22/call
- [defi-pool-apy](https://lucky-x402.onrender.com/x402/defi-pool-apy): Real APY/TVL from DefiLlama for any protocol/pool. Quick screening — $0.22/call
- [validator-analyzer](https://lucky-x402.onrender.com/x402/validator-analyzer): Ethereum validator health verdict: slashing, status, balance-vs-effective -> HEALTHY/CAUTION/AVOID — $0.22/call
- [wallet-risk](https://lucky-x402.onrender.com/x402/wallet-risk): Wallet risk verdict from OFAC SDN mirror + ScamSniffer scam-database + GoPlus malicious-address DB + explorer profile -> ALLOW/REVIEW/BLOCK, every flag with provenance — $0.22/call
- [airdrop-score](https://lucky-x402.onrender.com/x402/airdrop-score): Airdrop eligibility score for an address + calibrated expected value of the opportunity (sybil-rejection and token-decay adjusted) — $0.22/call
- [transfer-route](https://lucky-x402.onrender.com/x402/transfer-route): Cheapest open network to move a coin from exchange A to exchange B: withdraw/deposit open, fee, minimums, memo, ETA, congestion; same-ticker-different-contract traps flagged — $0.30/call
- [wallet-status](https://lucky-x402.onrender.com/x402/wallet-status): Is deposit/withdraw of a coin open right now, per network on bitget, gate, htx, kucoin + last-30-day notices from bitget, kucoin, okx (suspend/delist/migration) -> OPEN/PARTIAL/CAUTION — $0.30/call
- [ticker-collision](https://lucky-x402.onrender.com/x402/ticker-collision): Same ticker = same token everywhere? Contract per chain on bitget, gate, htx, kucoin + price vs median on bitget, gate, htx, kucoin, mexc, okx -> CONSISTENT/DIVERGENT/COLLISION (anti-scam before deposit/arbitrage) — $0.30/call
- [funding-snapshot](https://lucky-x402.onrender.com/x402/funding-snapshot): Perp funding of a coin now on bitget, gate, kucoin, okx: rate, interval, annualized, mark/index basis where published, cross-venue spread. Market data only — $0.30/call
- [leverage-calc](https://lucky-x402.onrender.com/x402/leverage-calc): Max safe leverage for a perp trade: liquidation >=1.5x beyond stop (never off), costs vs move, risk per trade, measured survival cap, exchange limit -> min with the binding constraint named — $0.30/call
- [news-propagation](https://lucky-x402.onrender.com/x402/news-propagation): Does news about coin X move Y? Measured 30-day hourly return correlation anchor vs related perps (not narrative: ETH->LINK strong, NVDA->RENDER weak) -> PROPAGATES/ISOLATED + per-link strength — $0.30/call

## Notes
- payTo 0x5C3cA68C79dBC5640F31C86eb2B1fe34217547Cd · network eip155:8453 · asset USDC 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913
- Read-only public data; answers are timestamped; unreachable sources are reported, not guessed.
- Market data only, not investment advice.
