{"info":{"description":"Non-blended tokenized stock liquidity across 10 chains & 7 issuers, live Uniswap v4/v3/v2 execution quotes, Streamable HTTP MCP (/mcp), and x402 micropayment endpoints (Base USDC + Hedera Blocky402).","title":"StockChain Agent & Tokenized Stocks API","version":"1.0.0"},"openapi":"3.1.0","paths":{"/api/v1/agent/alpha/dislocations":{"get":{"operationId":"agent_dislocations","responses":{"200":{"description":"Fulfilled agent intelligence / execution bundle","headers":{"PAYMENT-RESPONSE":{"description":"Base64-encoded x402 v2 settlement receipt","schema":{"type":"string"}}}},"402":{"description":"Payment Required — inspect PAYMENT-REQUIRED header or JSON body for Base USDC and Hedera Blocky402 payment requirements","headers":{"PAYMENT-REQUIRED":{"description":"Base64-encoded x402 v2 PaymentRequired object","schema":{"type":"string"}}}}},"summary":"Live cross-chain NAV-vs-DEX price dislocation scanner ranking discounts and premiums across all 10 chains & 7 issuers.","x-x402":{"base_price_usd":0.005,"mode":"enforced","payment_challenge_header":"PAYMENT-REQUIRED","payment_receipt_header":"PAYMENT-RESPONSE","payment_request_header":"PAYMENT-SIGNATURE","rails":["base:usdc","hedera:blocky402"],"version":2}}},"/api/v1/agent/portfolio/plan":{"post":{"operationId":"agent_portfolio_plan","requestBody":{"content":{"application/json":{"schema":{"type":"object"}}},"required":true},"responses":{"200":{"description":"Fulfilled agent intelligence / execution bundle","headers":{"PAYMENT-RESPONSE":{"description":"Base64-encoded x402 v2 settlement receipt","schema":{"type":"string"}}}},"402":{"description":"Payment Required — inspect PAYMENT-REQUIRED header or JSON body for Base USDC and Hedera Blocky402 payment requirements","headers":{"PAYMENT-REQUIRED":{"description":"Base64-encoded x402 v2 PaymentRequired object","schema":{"type":"string"}}}}},"summary":"Multi-stock (up to 25 tickers) cross-chain basket execution planner evaluating chain coverage, liquidity bottlenecks, and venue verdicts.","x-x402":{"base_price_usd":0.015,"mode":"enforced","payment_challenge_header":"PAYMENT-REQUIRED","payment_receipt_header":"PAYMENT-RESPONSE","payment_request_header":"PAYMENT-SIGNATURE","rails":["base:usdc","hedera:blocky402"],"version":2}}},"/api/v1/agent/route-and-quote":{"post":{"operationId":"agent_route_and_quote","requestBody":{"content":{"application/json":{"schema":{"type":"object"}}},"required":true},"responses":{"200":{"description":"Fulfilled agent intelligence / execution bundle","headers":{"PAYMENT-RESPONSE":{"description":"Base64-encoded x402 v2 settlement receipt","schema":{"type":"string"}}}},"402":{"description":"Payment Required — inspect PAYMENT-REQUIRED header or JSON body for Base USDC and Hedera Blocky402 payment requirements","headers":{"PAYMENT-REQUIRED":{"description":"Base64-encoded x402 v2 PaymentRequired object","schema":{"type":"string"}}}}},"summary":"One-shot agent trade planner combining venue decision scoring, live Uniswap v4/v3/v2 quote, NAV spread diagnostics, and approval status.","x-x402":{"base_price_usd":0.005,"mode":"enforced","payment_challenge_header":"PAYMENT-REQUIRED","payment_receipt_header":"PAYMENT-RESPONSE","payment_request_header":"PAYMENT-SIGNATURE","rails":["base:usdc","hedera:blocky402"],"version":2}}},"/api/v1/agent/screener":{"get":{"operationId":"agent_screener","responses":{"200":{"description":"Fulfilled agent intelligence / execution bundle","headers":{"PAYMENT-RESPONSE":{"description":"Base64-encoded x402 v2 settlement receipt","schema":{"type":"string"}}}},"402":{"description":"Payment Required — inspect PAYMENT-REQUIRED header or JSON body for Base USDC and Hedera Blocky402 payment requirements","headers":{"PAYMENT-REQUIRED":{"description":"Base64-encoded x402 v2 PaymentRequired object","schema":{"type":"string"}}}}},"summary":"Bulk structured tokenized-stock screener across all 10 chains & 7 issuers (non-blended Provider x Chain liquidity, multipliers, and spreads).","x-x402":{"base_price_usd":0.002,"mode":"enforced","payment_challenge_header":"PAYMENT-REQUIRED","payment_receipt_header":"PAYMENT-RESPONSE","payment_request_header":"PAYMENT-SIGNATURE","rails":["base:usdc","hedera:blocky402"],"version":2}}},"/api/v1/agent/swap/prepare":{"post":{"operationId":"agent_swap_prepare","requestBody":{"content":{"application/json":{"schema":{"type":"object"}}},"required":true},"responses":{"200":{"description":"Fulfilled agent intelligence / execution bundle","headers":{"PAYMENT-RESPONSE":{"description":"Base64-encoded x402 v2 settlement receipt","schema":{"type":"string"}}}},"402":{"description":"Payment Required — inspect PAYMENT-REQUIRED header or JSON body for Base USDC and Hedera Blocky402 payment requirements","headers":{"PAYMENT-REQUIRED":{"description":"Base64-encoded x402 v2 PaymentRequired object","schema":{"type":"string"}}}}},"summary":"Non-custodial UniversalRouter v2.1.2 swap preparation bundle: exact approval tx, 20-min Permit2 EIP-712 typed data, unsigned calldata, and safety invariants.","x-x402":{"base_price_usd":0.01,"mode":"enforced","payment_challenge_header":"PAYMENT-REQUIRED","payment_receipt_header":"PAYMENT-RESPONSE","payment_request_header":"PAYMENT-SIGNATURE","rails":["base:usdc","hedera:blocky402"],"version":2}}},"/api/v1/hedera/ledger":{"get":{"operationId":"getHederaServiceAgentLedger","responses":{"200":{"description":"Live P&L ledger snapshot"}},"summary":"Live Hedera Service-Agent Revenue & Cost P&L ledger with HCS messages and HashScan links"}},"/api/v1/stocks":{"get":{"operationId":"listStocks","parameters":[{"in":"query","name":"q","schema":{"type":"string"}},{"in":"query","name":"chain","schema":{"type":"string"}},{"in":"query","name":"issuer","schema":{"type":"string"}},{"in":"query","name":"only_with_liquidity","schema":{"type":"boolean"}},{"in":"query","name":"limit","schema":{"default":60,"type":"integer"}}],"responses":{"200":{"description":"Paginated list of tokenized stocks"}},"summary":"Search and filter tokenized stocks across 10 chains & 7 issuers"}},"/api/v1/stocks/{ticker}":{"get":{"operationId":"getStockDetail","parameters":[{"in":"path","name":"ticker","required":true,"schema":{"type":"string"}},{"in":"query","name":"include_history","schema":{"type":"boolean"}}],"responses":{"200":{"description":"Stock detail payload"},"404":{"description":"Ticker not found"}},"summary":"Get full non-blended deployments, pools, issuer rules, and default route verdict"}},"/api/v1/stocks/{ticker}/decision":{"get":{"operationId":"getStockDecision","parameters":[{"in":"path","name":"ticker","required":true,"schema":{"type":"string"}},{"in":"query","name":"order_size_usd","schema":{"default":5000,"type":"number"}},{"in":"query","name":"prefer_no_kyc","schema":{"default":false,"type":"boolean"}},{"in":"query","name":"dividend_pref","schema":{"enum":["any","auto_reinvest","cash_usd"],"type":"string"}},{"in":"query","name":"jurisdiction","schema":{"enum":["non_us","us","unknown"],"type":"string"}}],"responses":{"200":{"description":"Ranked route recommendations and warnings"}},"summary":"Evaluate best venue for a specific order size, KYC preference, dividend preference, and jurisdiction"}}},"servers":[{"url":"https://stocks.0nchain.dev"}]}