# StockKit Quote — Tokenized Stock Swap Price on Robinhood Chain

> StockKit Quote — Tokenized Stock Swap Price on Robinhood Chain is a paid API for AI agents from api.stockkit.dev, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-15).

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.

## Facts

- Endpoint: GET https://api.stockkit.dev/v1/x402/quote
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/stockkit-quote-tokenized-stock-swap-price-on-robinhood-chain-ed3ad63f
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_x36VV44DSOVK_wgnO34O1

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability stockkit-quote-tokenized-stock-swap-price-on-robinhood-chain-ed3ad63f
```

Example prompt: 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?

## When to prefer this

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.

## Known failure modes

- 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

## How this service works

Build tokenized-stock applications on Robinhood Chain with unified market data, execution, portfolio, and agent infrastructure.

## Output

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.

## Request schema (JSON Schema)

```json
{
 "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 le
… (truncated)
```

## Response schema (JSON Schema)

```json
{
 "type": "json"
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/stockkit-quote-tokenized-stock-swap-price-on-robinhood-chain-ed3ad63f/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.stockkit.dev](https://www.zero.xyz/host/api.stockkit.dev/llms.txt)
