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 |
| 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.
Account integration
Use authentication and watchlists when the application stores user-owned preferences in the StonkTrader database.
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.