Business APIs
Market data, Stock Token execution, user profiles, and persistent watchlists available from StonkTrader.
StonkTrader exposes product APIs that can be called from server applications, agents, and registered browser origins.
https://api.stonktrader.financeAvailable capabilities
| Capability | Primary endpoints | Access |
|---|---|---|
| Stock Token market data | GET /markets/quotes | Public |
| eToro market data | GET /etoro/instruments, /quote, /exchanges, /candles | Public |
| Agent-paid Stock Token and eToro services | GET /x402/* | x402 · 0.001 USDG |
| Tradable Stock Token catalog | GET /trading/stocks | Public |
| Executable pricing | GET /trading/swap/price | Public |
| RFQ execution | /trading/swap/* | Wallet address and signature |
| User profiles | GET /user, PATCH /user | StonkTrader login or SIWE session |
| Persistent watchlists | GET, POST, DELETE /watchlist | StonkTrader login or SIWE session |
These routes are live in production and included in the interactive OpenAPI reference.
Choose an integration
Read-only market integration
Start with market data when the application needs current Stock Token quotes, trading-halt state, volume, or contract deployments.
Trading integration
Use the Stock Token trading flow to list tradable assets, compare executable prices, prepare token approval, receive a typed RFQ, and submit the wallet-signed quote.
eToro market integration
Use eToro market routes to search official eToro instruments and retrieve normalized eToro market rates.
Account integration
Use authentication and watchlists when the application stores user-owned preferences in the StonkTrader database.
Agent-paid integration
Use the x402 paid API when an agent needs Stock Token or eToro market data without an API key or subscription. Each successful request is paid directly in USDG on Robinhood Chain.
Ownership boundary
StonkTrader owns the public request contracts, validation, normalized response envelopes, authentication, user data, watchlist persistence, routing rules, and production deployment. Market and settlement providers remain identified where their official data or liquidity is returned.