{"uid":"cap_-5ME09DHz-wxzDFK9bFte","slug":"trader-rigoblock-com-412323b2","name":"Rigoblock DEX Price Oracle","description":"DEX price quote across 7 chains (Ethereum, Base, Arbitrum, Optimism, Polygon, BNB, Unichain). Returns sell/buy amounts, price, routing, and gas estimate.","url":"https://trader.rigoblock.com/api/quote","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET"],"type":"string"},"queryParams":{"type":"object","required":["sell","buy","amount"],"properties":{"ts":{"type":"string","description":"Optional signature timestamp for browser auth bypass"},"buy":{"type":"string","description":"Token to buy (ETH, USDC, WBTC, or contract address)"},"sig":{"type":"string","description":"Optional EIP-191 signature for browser auth bypass"},"sell":{"type":"string","description":"Token to sell (ETH, USDC, WBTC, or contract address)"},"chain":{"type":"string","description":"Chain name or ID (e.g. 'base', '8453', 'arbitrum', '42161')"},"vault":{"type":"string","description":"Optional Rigoblock vault address for gas estimation"},"amount":{"type":"string","description":"Amount to sell (human-readable, e.g. '1' for 1 ETH)"},"operator":{"type":"string","description":"Optional operator address for browser auth bypass"},"slippage":{"type":"string","description":"Optional slippage tolerance in basis points (e.g. '100' for 1%)"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","properties":{"buy":{"type":"string"},"sell":{"type":"string"},"price":{"type":"string"},"chainId":{"type":"integer"},"routing":{"type":"string"},"gasLimit":{"type":"string"},"gasFeeUSD":{"type":"string"}}}}}}},"responseSchema":null,"example":{"request":{"input":{"type":"http","method":"GET","queryParams":{"buy":"USDC","sell":"ETH","chain":"1","amount":"1"}}},"response":{"buy":"1666.623693 USDC","sell":"1 ETH","price":"1 ETH = 1666.6237 USDC","chainId":1,"display":"📊 Swap Quote (CLASSIC)\n─────────────────────────\nSell:     1 ETH\nBuy:      ~1666.623693 USDC\nPrice:    1 ETH = 1666.623693 USDC  (1 USDC = 0.000600 ETH)\nSlippage: 1%\nGas:      ~$0.12585737165725344 (limit: 702752)\nRoute:    CLASSIC\n─────────────────────────\nReady to sign. You will confirm the transaction in your wallet.","routing":"CLASSIC","gasLimit":"702752","gasFeeUSD":"0.12585737165725344"}},"exampleRequest":{"buy":"USDC","sell":"ETH","chain":"1","amount":"1"},"tags":["x402"],"displayCostAmount":"0.002","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"settled","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.002/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_wb4dZAqEEZgdEMv9T1mIr","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.002","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns real-time DEX price quotes from Uniswap across 7 blockchain networks via the Rigoblock price oracle","exampleAgentPrompt":"What's the current Uniswap price quote for swapping ETH to USDC on Arbitrum right now?","exampleUseCases":null,"resultDescription":"Returns a real-time DEX price quote sourced from Uniswap liquidity pools for the requested token pair on the specified chain, suitable for swap price comparison and oracle validation.","failureModes":["Unsupported token pair — no liquidity pool found on the requested chain","Unsupported chain — only Ethereum, Base, Arbitrum, Optimism, Polygon, BNB, and Unichain are supported","Missing required query parameters returns a 400 error","Payment not provided or insufficient — x402 payment required ($0.002 USDC per call)","Stale or unavailable oracle data for low-liquidity tokens"],"whenToPreferThis":"Use this endpoint when you need real-time on-chain DEX price quotes from Uniswap across multiple EVM chains, especially when validating swap prices against an oracle (e.g. for Rigoblock Swap Shield comparisons) or when you need multi-chain price coverage in a single API. Prefer this over centralized price APIs when on-chain accuracy and DEX-specific pricing are required.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T00:36:43.227Z","isFirstParty":false}