Skip to main content
Version: v1

Treasures Finance — B2B Public API

Public B2B API for tokenized stock discovery, quoting and trade execution, USDC bridging across Solana and Ethereum, and portfolio + trade history reads.

Wire format. All token amounts, USDC amounts, shares, prices and bps-derived decimals are JSON strings to avoid float drift. Integer fields (expires_at, *_bps, quote_index, timestamps in seconds) are JSON numbers.

Auth. Only POST /quote/buy, POST /quote/sell and POST /bridge/quote require ownership_proof (wallet-key signature over a canonical challenge — see OwnershipProof). POST /trade/submit is gated by the per-leg signed payload itself; everything else is unauthenticated.

Rate limits. Per-IP and per-(IP, wallet) sliding windows backed by Redis. Upstream 429s propagate as 502 provider_unavailable.

License