← Market

Stock Buy Tx

Unsigned transactions that buy a tokenized stock on Base (Coinbase B20) with USDC, for your own wallet: the USDC approval when it is needed, then the LI.FI swap. Otto checks the route's worst fill against the stock token's own Chainlink price (at most 1.75% over it) and caps slippage at 1%. The quote includes LI.FI's fee and Otto's 0.1% fee. Nothing is signed or sent. buy=TICKER:amountUsdc:wallet, optional :slippageBps. $0.01 per call.

GET https://x402.ottoai.services/stock-buy-tx

0.01 USDC on Base · payTo 0x0E84dDEdAaE6A779c462C22a59F301EC31B6b808

Status: verified · payable

Operator badge: embed this endpoint's live status badge — it reads "Verified Payable" only while the probe record backs it.

Settlement: direct to the seller's payTo — 0% HIVE402 take

Payment routes

Base · 0.01 USDC · payTo 0x0E84dDEdAaE6A779c462C22a59F301EC31B6b808 · via cdp · settles direct
Solana · 0.01 USDC · payTo 6XcSfqJHr9vNW2vbiRaMqUYVm7shDgLepca54wUTDPN5 · via cdp · settles direct
{
  "buy": "TSLA:25:0x1111111111111111111111111111111111111111"
}
{
  "data": {
    "allowance": {
      "approvalIncluded": true,
      "currentAtomic": "0",
      "spender": "0x1231DEB6f5749EF6cE6943a275A1D3E7486F4EaE"
    },
    "balance": {
      "sufficient": true,
      "usdcAtomic": "40000000"
    },
    "buy": {
      "amountAtomic": "25000000",
      "amountUsdc": "25",
      "chain": "base",
      "chainId": 8453,
      "slippageBps": 50,
      "symbol": "TSLAc",
      "ticker": "TSLA",
      "token": "0xb2000000000000000000001e800a7f5189430cD0",
      "tokenDecimals": 8,
      "venue": "coinbase-b20",
      "wallet": "0x1111111111111111111111111111111111111111"
    },
    "checks": [
      "lifi_integrator_exact"
    ],
    "expiresAt": "2026-11-13T15:01:00.000Z",
    "generatedAt": "2026-11-13T15:00:00.000Z",
    "notice": "Unsigned transactions for the wallet named below, on Base. Send the steps in order from that wallet, before expiresAt. Otto signed and sent nothing, and did not simulate the swap. If the price moves p...",
    "parity": {
      "checked": true,
      "markAgeSec": 95,
      "markUsd": 408.12,
      "premiumBps": 89,
      "toleranceBps": 175
    },
    "quote": {
      "effectivePriceUsd": 409.701737,
      "expectedTokens": "0.06102",
      "expectedTokensAtomic": "6102000",
      "gasUsd": "0.0087",
      "minTokens": "0.0607149",
      "minTokensAtomic": "6071490",
      "ottoFeeUsdc": "0.025",
      "quotedFees": [
        {
          "amountUsd": "0.0625",
          "name": "LIFI Fixed Fee"
        }
      ],
      "routeTool": "sushiswap",
      "worstPriceUsd": 411.760622
    },
    "simulated": false,
    "steps": [
      {
        "chainId": 8453,
        "data": "0x095ea7b3",
        "kind": "approve",
        "to": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
        "value": "0"
      }
    ]
  },
  "meta": {
    "degraded": false,
    "generatedAt": "",
    "stalenessSec": 0,
    "validUntil": ""
  },
  "status": "success"
}

Script Master Labs LLC · SDVOSB · Kinston, NC · Terms · Refunds · Privacy · Contact

SML network: ScriptMasterLabs — the main site · SML Dual Market — the human storefront · VA Ratings — VA disability ratings, free for veterans

Agent intel trust badge

Trust score66 / 100 · breakdown
Probe uptime (30d)100.0% over 1 probes · daily
Avg 402 latency197 ms
Paid calls (30d, on-chain)8 calls · 1 buyers · shared price cohort of 5
Facilitator-reported (30d)3 calls · 1 payers (CDP Bazaar)

How to call

GET https://x402.ottoai.services/stock-buy-tx · input in query · spec from live-challenge

Input schema
{
  "type": "object",
  "properties": {
    "buy": {
      "type": "string",
      "description": "TICKER:amountUsdc:wallet, optional :slippageBps. Ticker: AAPL, AMZN, GOOGL, META, MSTR, NVDA, SPCX or TSLA. Amount: 1 to 1000 USDC, up to 6 decimals. Wallet: the Base address that signs and receives. Slippage: 1 to 100 bps, default 50."
    }
  },
  "required": [
    "buy"
  ]
}
Output schema
{
  "type": "object",
  "properties": {
    "status": {
      "type": "string",
      "enum": [
        "success",
        "unavailable"
      ]
    },
    "data": {},
    "meta": {
      "type": "object"
    },
    "reason": {
      "type": "string",
      "description": "status=unavailable only; every >=400 is UNCHARGED"
    }
  },
  "required": [
    "status"
  ]
}
curl -i -X GET 'https://x402.ottoai.services/stock-buy-tx?buy=TSLA%3A25%3A0x1111111111111111111111111111111111111111'

Agents: POST https://hive402.scriptmasterlabs.com/mcp → route_task / proxy_call · SDK /sdk/hive402.mjs

Try it (your wallet signs; HIVE402 never holds funds)