# Treasures Finance API docs > Docs for the Treasures Finance B2B Public API (tokenized stock discovery, quotes and trades, USDC bridging, portfolio reads, strategy signals) and the Manager API (fund managers publishing a strategy). Treasures lets people and AI agents buy real tokenized stocks with USDC, routed across every issuer and chain for the most shares per dollar, held in a wallet the caller controls. Trading carries a flat 0.1% fee. Machine-readable resources: - [B2B Public API spec (OpenAPI JSON)](https://docs.treasures.io/openapi.json) - [Manager API spec (OpenAPI JSON)](https://docs.treasures.io/manager-openapi.json) - [Agent skills navigator](https://docs.treasures.io/skill.md): install lines for the Treasures agent skills - [Chains and venues](https://docs.treasures.io/overview/chains-and-venues.md): what each chain needs before you trade on it (stablecoin, approvals and spender, who pays gas, which options it takes) - [Full docs in one file](https://docs.treasures.io/llms-full.txt) ## Treasures Finance B2B Public API endpoints Base URL: https://api.treasures.io/public/v1. Full spec as JSON: https://docs.treasures.io/openapi.json - `GET /stocks`: List active tradable stocks (catalog + live enrichment) - `GET /stocks/tickers`: List active tickers (no price enrichment) - `GET /stocks/prices`: Live per-protocol prices for requested tickers - `GET /stocks/{ticker}`: Company / ticker details (integrator key required) - `POST /quote/buy`: Quote USDC → stock token (one leg per chain the ticker lists, better first) - `POST /quote/preview`: Wallet-less price preview (integrator key required) - `POST /quote/sell`: Quote stock holdings → USDC (all legs needed; all-or-nothing submit) - `GET /quote/{quote_id}/status`: Aggregate + per-leg status for a previously issued quote - `POST /trade/submit`: Submit signed quote legs atomically - `POST /trade/submit/batch`: Submit up to 25 signed quotes in one request - `POST /bridge/quote`: Quote a cross-chain USDC bridge - `GET /bridge/{bridge_quote_id}/status`: Status of a previously issued bridge quote - `POST /bridge/{bridge_quote_id}/submit`: Submit a signed bridge for execution - `GET /portfolio`: Reconciled holdings + USDC / USDG balances for the given wallets - `GET /trades`: Swap-only trade history for the given wallets - `GET /settlements`: Your organisation's settled trades, paginated - `GET /payouts/accrued`: What you are owed right now, and where it will be paid - `GET /payouts`: Your payout history, newest first - `POST /payouts`: Pay out everything you are owed, to your registered address - `GET /payouts/{payoutId}`: One of your payouts - `GET /signals/strategies`: The strategies whose target-weight books you may read - `GET /signals/strategies/{id}`: One strategy and its current target-weight book - `GET /signals/strategies/{id}/history`: The strategy's past books, newest first - `POST /signals-orders/exit/plan`: The sells that exit a strategy book from your wallet, with no quotes - `POST /signals-orders/exit`: The sells that exit a strategy book, each with its signable quote - `POST /signals-orders/rebalance/plan`: The sells and buys that bring your strategy positions to its book, with no quotes - `POST /signals-orders/rebalance`: The sells and buys that bring your strategy positions to its book, each with its signable quote ## Treasures Finance Manager API endpoints Base URL: https://api.treasures.io/manager/v1. Full spec as JSON: https://docs.treasures.io/manager-openapi.json - `GET /strategies`: The strategies assigned to you - `GET /strategies/{strategyId}/signals`: The signal history of your strategy - `POST /strategies/{strategyId}/signals`: Publish the target weights of your strategy - `GET /strategies/{strategyId}/performance`: The performance chart of your strategy - `GET /strategies/{strategyId}/accounts`: The separately managed accounts of your SMA strategy - `GET /strategies/{strategyId}/accounts/{address}/fills`: The fills of one separately managed account - `GET /strategies/{strategyId}/accounts/{address}/holdings`: What one separately managed account holds right now - `GET /strategies/{strategyId}/accounts/{address}/performance`: The daily valuations of one separately managed account - `GET /strategies/{strategyId}/orders`: Every fill across the accounts of your SMA strategy - `GET /fees`: Your fee ledger (your share of each collection, and what reached you on-chain) - `GET /keys`: Your API keys (metadata only) - `POST /keys`: Mint a new API key - `DELETE /keys/{keyId}`: Revoke one of your API keys ## Table of Contents - [Buying and Selling](https://docs.treasures.io/overview/buying-and-selling.md): Buy and sell tokenized stocks through the Treasures API: the four calls, every quote option, the legs each combination returns, and how to sign and... - [Chains and Venues](https://docs.treasures.io/overview/chains-and-venues.md): The per-chain rules for trading through Treasures: what each wallet must hold, who pays gas, which approvals to send and to which address, which op... - [Compare Access Paths](https://docs.treasures.io/overview/compare-access-paths.md): Compare the web app, the anonymous API and the integrator-key API side by side: routes, priority mode, portfolio coverage, reporting, rate limits a... - [Getting Started](https://docs.treasures.io/overview/getting-started.md): Four ways into Treasures: the web app, the agent skill, the REST API with no key, or an integrator key, plus the Manager API and the flat 0.1% trad... - [How Treasures Works](https://docs.treasures.io/overview/how-treasures-works.md): How Treasures works: a non-custodial wallet, interface and routing layer that sends your orders to on-chain venues and shows amounts in underlying ... - [Brokerage-as-a-service for your apps and AI agents](https://docs.treasures.io/docs.md): Treasures docs: trade tokenized stocks across every tokenizer and chain from the web app, the public API or ready-made AI agent skills, non-custodi... - [Ownership Proof](https://docs.treasures.io/overview/ownership-proof.md): How to sign a Treasures ownership proof: which endpoints need it, the proof object, the canonical challenge, freshness window, signing examples and... - [Routing and Priority Mode](https://docs.treasures.io/overview/routing-and-priority-mode.md): How Treasures routes a trade by default and what priority mode changes: single-block swaps, cross-chain legs, the sponsored lane, payouts on anothe... - [Security and Compliance](https://docs.treasures.io/overview/security-and-compliance.md): Treasures security and compliance: restricted jurisdictions, sanctions screening, your own responsibilities, keeping your keys safe, and protocol r... - [Support](https://docs.treasures.io/overview/support.md): Get help with Treasures: email the team for partnerships and business enquiries, or join the Telegram group for integration and technical support. - [Supported Services](https://docs.treasures.io/overview/supported-services.md): What you can do through Treasures: discover tokenized stocks, get quotes and trade, use the speed route, read portfolios and settlements, and bridg... - [Using the Web App](https://docs.treasures.io/users/using-the-web-app.md): Using the Treasures web app: connect a self-custodial wallet, browse tokenized stocks, buy and sell, track holdings and move USDC in and out, with ... - [Agent Skills](https://docs.treasures.io/agents/agent-skills.md): Treasures agent skills teach AI coding agents to use the Treasures APIs correctly: what each skill covers, how to install it, skill.md and versioning. - [Integrating Your Agent](https://docs.treasures.io/agents/integrating-your-agent.md): Integrate an AI agent with Treasures: connect the user's wallet, install the skill or call the API directly, then quote, sign, submit and monitor t... - [Copying a Strategy on BNB Smart Chain](https://docs.treasures.io/enterprises/copying-a-strategy-on-bnb.md): A worked example with sample code: plan a strategy's orders for a BNB Smart Chain wallet, then quote, sign and submit each order one at a time. - [Enterprise Integration](https://docs.treasures.io/enterprises/enterprise-integration.md): Integrate the Treasures API into your product with an integrator key: key-gated routes, attribution, integrator fees, rate limits and the integrati... - [Integrator API Keys](https://docs.treasures.io/enterprises/integrator-api-keys.md): Treasures integrator API keys: general and reporting keys, what a key changes on each route, what the key-gated routes return, rate limits and key ... - [Integrator Fees and Payouts](https://docs.treasures.io/enterprises/integrator-fees-and-payouts.md): Charge your own integrator fee on your users' trades through Treasures, see what you have earned, and claim it in USDC on demand through the payout... - [Strategy Signals](https://docs.treasures.io/enterprises/strategy-signals.md): Read the current and past target-weight books of the copy-trading strategies Treasures publishes to integrators, and get the orders that exit a boo... - [Managing a Strategy](https://docs.treasures.io/managers/managing-a-strategy.md): For fund managers: publish your strategy's target weights through the Treasures Manager API, read your strategies and SMA accounts, and follow your... - [Before this changelog](https://docs.treasures.io/changelog/before-this-changelog.md): Changes to the Treasures API made before this changelog existed are recorded, from the agent skill's point of view, in the agent skills repo's CHAN... - [Docs reorganised by audience](https://docs.treasures.io/changelog/docs-reorganised-by-audience.md): The Treasures docs are now organised by audience into Users, AI Agents and Enterprises tabs, with the API reference and this changelog as their own... - [GET /portfolio: portfolio_busy and the rewritten rate limits](https://docs.treasures.io/changelog/portfolio-busy-and-rate-limits.md): GET /portfolio can now answer 503 portfolio_busy with a Retry-After header, and its rate limits changed for anonymous and keyed callers alike. - [Manager API: publish a strategy's target weights, read your fee ledger](https://docs.treasures.io/changelog/manager-api.md): New Treasures Manager API for fund managers: publish your strategy's target weights and read your share of follower fees, with its own base URL and... - [Cross-chain speed buys, and sells that pay out USDC on another chain](https://docs.treasures.io/changelog/cross-chain-buys-and-payout-chain-sells.md): Speed-route buys can now reach a stock on a chain you are not funded on, and sells can pay out USDC on another chain with payout_chain. Both are op... - [Integrator fees and payouts](https://docs.treasures.io/changelog/integrator-fees-and-payouts.md): Integrators can now charge their own fee on their users' trades, see it on each quote and settled trade, and claim it in USDC through four /payouts... - [Manager API: replan: and catchup: dedupe_key prefixes are reserved](https://docs.treasures.io/changelog/manager-dedupe-key-reserved-prefixes.md): Manager API: publishing a signal now refuses a dedupe_key starting with replan: or catchup: (any case), as those prefixes are reserved for the plat... - [Manager API: books naming a ticker off the followers' venues are refused](https://docs.treasures.io/changelog/manager-unavailable-tickers.md): Manager API: a book naming a catalog ticker that is not listed on the venues Treasures buys on for followers is now refused with 422 unavailable_ti... - [Backpack Securities on Solana, and buy quotes ranked by where your money is](https://docs.treasures.io/changelog/backpack-and-origin-chain.md): Backpack Securities stocks now trade on Solana beside ondo and xstocks, and buy quotes and previews take an optional origin_chain that ranks the legs. - [Strategy signals for integrators, and batch trade submission](https://docs.treasures.io/changelog/strategy-signals-and-batch-submit.md): Integrators can now read the target-weight books of Treasures copy-trading strategies, get the orders that exit or rebalance a Solana wallet to one... - [A per-chain guide, and the Robinhood Chain approval address](https://docs.treasures.io/changelog/chains-and-venues-guide.md): Chains and Venues sets out each chain's stablecoin, approvals, gas and options in one place, and corrects the approval a Robinhood Chain trade needs. - [Pay Solana fees for your users, bridge between any two chains](https://docs.treasures.io/changelog/solana-fee-payer-and-any-chain-bridging.md): sol_fee_payer lets a wallet you fund pay Solana fees on buys and sells, /bridge/quote takes any two supported chains with an optional Treasures-sub... - [Search, sort and paging on GET /stocks](https://docs.treasures.io/changelog/stock-search-sort-and-paging.md): GET /stocks takes four optional query parameters to search, sort and page the catalog. - [Sponsored lane: a wallet's first trade can delegate it](https://docs.treasures.io/changelog/sponsored-lane-first-operation-delegation.md): Under execution user_operation, a wallet with no code on Robinhood Chain or Base is now quoted, and its first operation carries its EIP-7702 delega... - [Refusals that say why, firm Solana minimums, and BNB Smart Chain opens](https://docs.treasures.io/changelog/specific-refusals-firm-solana-minimums-bnb-open.md): 422 no_routes now names its cause, speed refusals list the listings they skipped, Solana minimums come from wallet-bound quotes, failed Solana legs... - [A size refusal names its minimum on mixed refusals](https://docs.treasures.io/changelog/size-minimum-on-mixed-refusals.md): A 422 no_routes with reason amount_too_small now carries min_notional_usdc whenever a venue that refused for size has a known minimum, even on a mi... - [Manager API: dashboard sign-in, strategy and SMA account reads, self-service keys, and a reshaped fee ledger](https://docs.treasures.io/changelog/manager-dashboard-session-reads-and-fee-ledger.md): Manager API: a dashboard session as a second credential, reads for your strategies and SMA accounts, self-service keys, and a GET /fees ledger with... - [Strategy signals: plan a BNB Smart Chain wallet's orders](https://docs.treasures.io/changelog/signals-plan-routes-on-bnb.md): The two signals plan routes take chain bnb: plan the exit or rebalance orders of a BNB Smart Chain wallet, with an approvals advisory, then quote e... - [Speed sells fall back to the relayed route, and unlisted tickers leave the stocks reads](https://docs.treasures.io/changelog/speed-sells-fall-back-to-relayed-route.md): A priority speed sell the speed route cannot price now returns a relayed leg with a speed_route_fallback warning, and a ticker with no listing is n...