{"uid":"cap_x36VV44DSOVK_wgnO34O1","slug":"stockkit-quote-tokenized-stock-swap-price-on-robinhood-chain-ed3ad63f","name":"StockKit Quote — Tokenized Stock Swap Price on Robinhood Chain","description":"Build tokenized-stock applications on Robinhood Chain with unified market data, execution, portfolio, and agent infrastructure.","url":"https://api.stockkit.dev/v1/x402/quote","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"type":"string","const":"GET"},"queryParams":{"type":"object","required":["symbol","side","amount"],"properties":{"side":{"enum":["buy","sell"],"type":"string","description":"buy = spend USDG to receive the token; sell = spend the token to receive USDG."},"denom":{"enum":["usd","token"],"type":"string","default":"usd","description":"Unit of amount: usd (USDG) or token (the stock token). Defaults to usd."},"amount":{"type":"string","pattern":"^\\d+(\\.\\d+)?$","description":"Trade size as a positive decimal string, in the unit given by denom."},"symbol":{"type":"string","maxLength":16,"minLength":1,"description":"Stock token ticker, e.g. NVDA."}},"additionalProperties":false}}},"output":{"type":"object","properties":{"type":{"type":"string","const":"json"},"example":{"allOf":[{"type":"object","required":["side","mode","feeTier","usdAmount","tokenAmount","effectivePricePerToken","gasEstimate","venue","pair"],"properties":{"mode":{"enum":["exactIn","exactOut"],"type":"string","description":"Which leg was fixed by the request (usd-denominated buys and token-denominated sells are exactIn)."},"pair":{"type":"string","const":"TOKEN/USDG"},"side":{"enum":["buy","sell"],"type":"string"},"venue":{"type":"string","const":"uniswap-v3"},"feeTier":{"type":"integer","description":"Uniswap v3 pool fee in hundredths of a bip (500 = 0.05%)."},"usdAmount":{"type":"string","description":"USDG leg of the swap, 6 decimals."},"gasEstimate":{"type":"string","description":"Estimated gas units for the swap call."},"tokenAmount":{"type":"string","description":"Stock token leg of the swap, in whole tokens."},"effectivePricePerToken":{"oneOf":[{"type":"string","description":"usdAmount / tokenAmount."},{"type":"null"}]}}},{"type":"object","required":["symbol","tokenAddress","asOf"],"properties":{"asOf":{"type":"string","format":"date-time"},"symbol":{"type":"string"},"tokenAddress":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$","description":"EVM address, 0x-prefixed, 20 bytes."}}}]}}}}},"responseSchema":{"type":"json"},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","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.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_RB-ytRl7Ex_g_OzAyvcc2","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x5fc5360D0400a0Fd4f2af552ADD042D716F1d168","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns a real-time buy or sell quote for a tokenized stock token against USDG on Uniswap v3, including effective price, token/USD amounts, fee tier, and gas estimate.","exampleAgentPrompt":"What's the current buy quote on StockKit for $200 worth of NVDA tokenized stock — how many tokens would I get and what's the effective price per token?","exampleUseCases":[{"title":"Pre-trade check before buying tokens","prompt":"Before I swap, get me a buy quote for $500 USDG worth of TSLA tokenized stock on StockKit — I want to know the effective price per token and how many tokens I'd receive."},{"title":"Sell-side valuation for portfolio rebalancing","prompt":"I'm thinking of selling 20 AAPL tokens on StockKit — can you get me a sell quote and tell me how much USDG I'd receive and what the effective price per token is?"},{"title":"Comparing token price across trade sizes","prompt":"Get me a StockKit buy quote for 1 NVDA token so I can see the current on-chain token price, the fee tier, and the estimated gas cost for the swap."}],"resultDescription":"A JSON object containing: the trade side, mode (exactIn or exactOut), the USDG leg of the swap (6 decimals), the stock token leg (whole tokens), effective price per token (usdAmount / tokenAmount), Uniswap v3 pool fee tier in hundredths of a bip, estimated gas units, the trading pair (TOKEN/USDG), the token contract address, the ticker symbol, and the timestamp of the quote.","failureModes":["Invalid or unsupported ticker symbol returns an error (symbol not listed on Robinhood Chain)","Amount of zero or non-numeric amount string returns validation error","Missing required query parameters (symbol, side, amount) returns 400","Pool liquidity too low for requested trade size may return null effectivePricePerToken","Payment not included or invalid x402 payment header returns 402 Payment Required","Network congestion on Robinhood Chain may delay or fail gas estimation"],"whenToPreferThis":"Choose this endpoint when you need a real-time, on-chain execution quote for a tokenized equity on Robinhood Chain before submitting a swap — especially when you need Uniswap v3 pool-accurate pricing, fee tier data, and gas estimates. Prefer this over traditional brokerage price feeds when you are building DeFi-adjacent workflows that settle on-chain in USDG.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T12:31:01.990Z","isFirstParty":false}