{"name":"Spraay x402 Gateway","version":"3.8.1","description":"Full-stack DeFi infrastructure: AI, payments, swaps, oracle, bridge, payroll, invoicing, escrow, AI inference, analytics, communication, webhooks, XMTP, RPC, storage, scheduling, logging, KYC, auth, audit trail, tax, GPU/Compute, Search/RAG, Agent Wallets & Supply Chain (SCTP). x402 + USDC.","docs":"https://github.com/plagtech/spraay-x402-gateway","discovery":"https://gateway.spraay.app/.well-known/x402.json","endpoints":{"free":{"GET /":"Info","GET /health":"Health","GET /stats":"Stats","GET /.well-known/x402.json":"Discovery","GET /api/v1/tokens":"Tokens","GET /api/v1/gpu/models":"GPU Models","POST /api/v1/robots/register":"Register Robot (RTP)","POST /api/v1/robots/complete":"Report Task Complete (RTP)","PATCH /api/v1/robots/update":"Update Robot (RTP)","POST /api/v1/robots/deregister":"Remove Robot (RTP)","GET /bittensor/v1/health":"Bittensor health","GET /free":"Free tier catalog","GET /free/gas":"Gas prices — 7 EVM chains via Alchemy (cached 15s)","GET /free/prices":"USDC/ETH/SOL spot prices (cached 60s)","GET /free/chain-status":"Block height & liveness — 7 EVM chains (cached 30s)","GET /free/nonce":"EVM nonce / tx count for address","GET /free/validate-address":"Multi-chain address checksum validation","POST /free/validate-batch":"BPA 1.0 payload schema validation","GET /free/estimate-batch":"Rough batch cost estimate (no live quote)","GET /free/resolve":"ENS & Basename → address resolution","GET /free/agent-card":"ERC-8004 agent registry lookup","POST /free/x402-check":"Probe URL for x402 payment support","GET /free/convert":"Fiat ↔ crypto conversion (unit math + spot)","GET /free/timestamp":"Current Unix timestamp","GET /free/uuid":"UUID v4 generator (up to 100)","GET /free/dex/search":"DEX token pair search (DexScreener)","GET /free/dex/pairs/:chain/:pair":"DEX pair detail by chain","GET /free/dex/tokens/:address":"All pairs for a token (DexScreener)","GET /free/dex/trending":"Trending tokens (DexScreener boosts)","POST /free/chat":"Free AI chat (open-weight models)","GET /free/chat/models":"Free model catalog (open-weight models)","GET /free/models":"AI model catalog — free mirror of /api/v1/models"},"paid":{"POST /api/v1/chat/completions":"$0.005 - AI chat","GET /api/v1/models":"$0.001 - AI models","POST /api/v1/batch/execute":"$0.02 - Batch payment","POST /api/v1/batch/estimate":"$0.001 - Batch estimate","GET /api/v1/swap/quote":"$0.008 - Swap quote","GET /api/v1/swap/tokens":"$0.001 - Swap tokens","POST /api/v1/swap/execute":"$0.0155 - Execute swap","GET /api/v1/oracle/prices":"$0.008 - Price feed","GET /api/v1/oracle/gas":"$0.005 - Gas prices","GET /api/v1/oracle/fx":"$0.008 - Stablecoin FX","GET /api/v1/bridge/quote":"$0.05 - Bridge quote","GET /api/v1/bridge/chains":"$0.002 - Bridge chains","POST /api/v1/payroll/execute":"$0.10 - Payroll","POST /api/v1/payroll/estimate":"$0.003 - Payroll estimate","GET /api/v1/payroll/tokens":"$0.002 - Payroll tokens","POST /api/v1/invoice/create":"$0.05 - Create invoice","GET /api/v1/invoice/list":"$0.01 - List invoices","GET /api/v1/invoice/:id":"$0.01 - Invoice lookup","GET /api/v1/analytics/wallet":"$0.01 - Wallet profile","GET /api/v1/analytics/txhistory":"$0.008 - Tx history","POST /api/v1/escrow/create":"$0.10 - Create escrow","GET /api/v1/escrow/list":"$0.02 - List escrows","GET /api/v1/escrow/:id":"$0.005 - Escrow status","POST /api/v1/escrow/fund":"$0.02 - Fund escrow","POST /api/v1/escrow/release":"$0.08 - Release escrow","POST /api/v1/escrow/cancel":"$0.02 - Cancel escrow","POST /api/v1/inference/classify-address":"$0.03 - Classify wallet","POST /api/v1/inference/classify-tx":"$0.03 - Classify transaction","POST /api/v1/inference/explain-contract":"$0.03 - Explain contract","POST /api/v1/inference/summarize":"$0.03 - Intelligence briefing","POST /api/v1/notify/email":"$0.01 - Send email","POST /api/v1/notify/sms":"$0.02 - Send SMS","GET /api/v1/notify/status":"$0.002 - Notification status","POST /api/v1/webhook/register":"$0.01 - Register webhook","POST /api/v1/webhook/test":"$0.005 - Test webhook","GET /api/v1/webhook/list":"$0.002 - List webhooks","POST /api/v1/webhook/delete":"$0.002 - Delete webhook","POST /api/v1/xmtp/send":"$0.01 - Send XMTP message","GET /api/v1/xmtp/inbox":"$0.01 - XMTP inbox","POST /api/v1/rpc/call":"$0.001 - RPC call","GET /api/v1/rpc/chains":"$0.001 - RPC chains","POST /api/v1/storage/pin":"$0.01 - Pin to IPFS/Arweave","GET /api/v1/storage/get":"$0.005 - Get pinned content","GET /api/v1/storage/status":"$0.002 - Pin status","POST /api/v1/cron/create":"$0.01 - Create scheduled job","GET /api/v1/cron/list":"$0.002 - List jobs","POST /api/v1/cron/cancel":"$0.002 - Cancel job","POST /api/v1/logs/ingest":"$0.002 - Ingest logs","GET /api/v1/logs/query":"$0.005 - Query logs","POST /api/v1/kyc/verify":"$0.02 - KYC verification","GET /api/v1/kyc/status":"$0.01 - KYC status","POST /api/v1/auth/session":"$0.01 - Create session","GET /api/v1/auth/verify":"$0.005 - Verify token","POST /api/v1/audit/log":"$0.005 - Audit log entry","GET /api/v1/audit/query":"$0.03 - Query audit trail","POST /api/v1/tax/calculate":"$0.08 - Tax calculation","GET /api/v1/tax/report":"$0.05 - Tax report","POST /api/v1/gpu/run":"$0.06 - GPU inference via Replicate","GET /api/v1/gpu/status/:id":"$0.005 - GPU prediction status","GET /api/v1/gpu/models":"FREE - GPU model shortcuts","POST /api/v1/search/web":"$0.02 - Web search (Tavily)","POST /api/v1/search/extract":"$0.02 - Extract content from URLs","POST /api/v1/search/qna":"$0.03 - Question answering","POST /api/v1/robots/task":"$0.05 - Dispatch robot task (RTP)","GET /api/v1/robots/list":"$0.005 - Discover robots","GET /api/v1/robots/status":"$0.002 - Poll task status","GET /api/v1/robots/profile":"$0.002 - Robot profile","POST /api/v1/agent-wallet/provision":"$0.05 - Provision agent wallet","POST /api/v1/agent-wallet/session-key":"$0.02 - Add session key","GET /api/v1/agent-wallet/info":"$0.005 - Agent wallet info","POST /api/v1/agent-wallet/revoke-key":"$0.02 - Revoke session key","GET /api/v1/agent-wallet/predict":"$0.001 - Predict wallet address","GET /api/v1/prices":"$0.005 - Token prices","GET /api/v1/balances":"$0.005 - Balances","GET /api/v1/resolve":"$0.002 - ENS resolution","POST /api/v1/sctp/supplier":"$0.02 - Register supplier","GET /api/v1/sctp/supplier/:id":"$0.005 - Get supplier","POST /api/v1/sctp/po":"$0.02 - Create purchase order","GET /api/v1/sctp/po/:id":"$0.005 - Get purchase order","POST /api/v1/sctp/invoice":"$0.02 - Submit invoice","GET /api/v1/sctp/invoice/:id":"$0.005 - Get invoice","POST /api/v1/sctp/invoice/verify":"$0.03 - Verify invoice (AI)","POST /api/v1/sctp/pay":"$0.10 - Execute supplier payment","GET /bittensor/v1/models":"$0.001 - Bittensor models","POST /bittensor/v1/chat/completions":"$0.03 - Bittensor inference","POST /bittensor/v1/images/generations":"$0.05 - Bittensor image gen","POST /bittensor/v1/embeddings":"$0.005 - Bittensor embeddings","POST /api/v1/compute/text-inference":"$0.003-$0.10 - LLM text inference (11 models)","POST /api/v1/compute/image-generation":"$0.02-$0.08 - AI image generation (FLUX, SDXL)","POST /api/v1/compute/video-generation":"$0.40-$0.50 - AI video generation","POST /api/v1/compute/text-to-speech":"$0.03-$0.05 - Text to speech (TTS)","POST /api/v1/compute/speech-to-text":"$0.02 - Speech to text (STT)","POST /api/v1/compute/embeddings":"$0.005 - Text embeddings (RAG)","POST /api/v1/compute/batch":"$0.05 - Batch compute (up to 50 jobs, 10% discount)","GET /api/v1/compute/status/:jobId":"$0.001 - Poll job status","GET /api/v1/solana/jupiter/quote":"$0.005 - Jupiter swap quote","POST /api/v1/solana/jupiter/swap-tx":"$0.01 - Jupiter swap transaction","GET /api/v1/solana/helius/assets-by-owner":"$0.003 - Helius DAS assets","GET /api/v1/solana/helius/asset":"$0.002 - Helius DAS single asset","GET /api/v1/solana/pyth/price":"$0.005 - Pyth price feed","GET /api/v1/solana/pyth/prices":"$0.008 - Pyth batch prices","GET /api/v1/portfolio/tokens":"$0.005 - Portfolio tokens","GET /api/v1/portfolio/nfts":"$0.005 - Portfolio NFTs","POST /api/v1/contract/read":"$0.002 - Read contract","POST /api/v1/contract/write":"$0.01 - Write contract","GET /api/v1/defi/positions":"$0.008 - DeFi positions","POST /api/v1/xrp/batch":"$0.02 - XRP batch payments","POST /api/v1/xrp/estimate":"$0.001 - XRP batch estimate","GET /api/v1/xrp/info":"$0.001 - XRP Ledger info","POST /api/v1/stellar/batch":"$0.02 - Stellar batch payments","POST /api/v1/stellar/estimate":"$0.001 - Stellar batch estimate","POST /api/v1/compute-futures/deposit":"$0.01 - Deposit USDC to open a prepaid compute credit account","GET /api/v1/compute-futures/balance":"$0.001 - Check remaining compute credit balance, tier, discount, and usage stats.","POST /api/v1/compute-futures/execute":"$0.001 - Run a compute job and deduct cost from the prepaid balance","GET /api/v1/compute-futures/history":"$0.002 - Full usage ledger","POST /api/v1/compute-futures/refund":"$0.01 - Refund unused compute credit balance to the original depositor","GET /api/v1/compute-futures/pricing":"$0.001 - Compute futures pricing","GET /api/v1/research/dictionary/define":"$0.001 - Dictionary definition with phonetics and examples","GET /api/v1/research/dictionary/synonyms":"$0.001 - Synonyms and antonyms for a word","GET /api/v1/research/dictionary/phonetics":"$0.001 - Phonetic transcription and audio URL","GET /api/v1/research/papers/search":"$0.002 - Search 250M+ academic papers (OpenAlex CC0)","GET /api/v1/research/papers/by-doi":"$0.001 - Paper metadata by DOI (OpenAlex)","GET /api/v1/research/papers/by-author":"$0.002 - Papers by author name or ORCID (OpenAlex)","GET /api/v1/research/papers/citations":"$0.002 - Citation graph - cited-by count and references","GET /api/v1/research/papers/trending":"$0.002 - Trending papers by topic in the last N days","GET /api/v1/research/preprints/search":"$0.002 - Search arXiv preprints by keyword and category","GET /api/v1/research/preprints/by-id":"$0.001 - arXiv preprint metadata by ID","GET /api/v1/research/preprints/recent":"$0.002 - Latest arXiv preprints by category","GET /api/v1/research/scholarly/by-doi":"$0.001 - Full Crossref metadata for any DOI","GET /api/v1/research/scholarly/search":"$0.002 - Search 150M+ works via Crossref (CC0)","GET /api/v1/research/scholarly/citations-count":"$0.001 - Citation count and references for a DOI","GET /api/v1/research/scholarly/journal-info":"$0.001 - Journal metadata by ISSN","GET /api/v1/research/chemistry/compound":"$0.002 - PubChem compound by name, formula, or CID","GET /api/v1/research/chemistry/similarity":"$0.002 - Find structurally similar compounds in PubChem","GET /api/v1/research/chemistry/bioactivity":"$0.002 - Biological assay results for a PubChem compound","GET /api/v1/research/biomedical/search":"$0.002 - Search 36M+ biomedical papers in PubMed","GET /api/v1/research/biomedical/by-pmid":"$0.001 - Paper metadata by PubMed ID","GET /api/v1/research/biomedical/related":"$0.002 - Related articles for a PubMed ID","GET /api/v1/research/demographics/census":"$0.001 - US Census data by state, county, or zip","GET /api/v1/research/demographics/datasets":"$0.001 - Search Data.gov datasets by keyword","GET /api/v1/markets/polymarket/events":"$0.001 - Polymarket events","GET /api/v1/markets/polymarket/market/:id":"$0.001 - Polymarket market detail","GET /api/v1/markets/polymarket/orderbook/:id":"$0.001 - Polymarket orderbook","GET /api/v1/markets/polymarket/trades/:id":"$0.001 - Polymarket trades","GET /api/v1/markets/kalshi/events":"$0.001 - Kalshi events","GET /api/v1/markets/kalshi/market/:ticker":"$0.001 - Kalshi market detail","GET /api/v1/markets/search":"$0.002 - Multi-source market search","GET /api/v1/stocks/price":"$0.001 - Stock quote","GET /api/v1/stocks/search":"$0.001 - Stock symbol search","GET /api/v1/stocks/history":"$0.001 - Stock OHLC candles","GET /api/v1/stocks/company":"$0.001 - Company profile","POST /api/v1/image/generate":"$0.06 - Image generation (DALL-E 3, FLUX, SDXL)","POST /api/v1/image/edit":"$0.05 - Image editing","GET /api/v1/image/status/:id":"$0.001 - Image gen status"}},"contract":"0x1646452F98E36A3c9Cfc3eDD8868221E207B5eEC","network":"eip155:8453","payTo":"0xAd62f03C7514bb8c51f1eA70C2b75C37404695c8","mainnet":true,"bazaar":"discoverable","totalEndpoints":192,"protocols":{"x402":{"status":"active","network":"eip155:8453","facilitator":"https://api.cdp.coinbase.com/platform/v2/x402","token":"USDC"},"mpp":{"status":"active","methods":["tempo","stripe-spt"],"currency":"pathUSD","network":"tempo","spec":"https://mpp.dev"}},"subscription":{"status":"active","provider":"stripe","plans":[{"name":"Starter","price":"$29/mo","limit":"1,000 calls/day"},{"name":"Pro","price":"$99/mo","limit":"10,000 calls/day"}],"signup":"https://spraay.app/#pricing","note":"API-key access, no wallet needed. All paid endpoints included."}}