Skip to main content

Introduction

The Stocks API is a product extension of the Daya API. It adds US-stock market data, USD balances, portfolio, transactions, quote-based order placement, and fiat withdrawals to the same Daya account and the same API key you already use.
Stocks is not a separate platform with its own credentials. It uses your existing Daya API key with Stocks scopes. If you already integrate the Daya API, you only add the Stocks surface — nothing about your key issuance or auth changes.

What you can build

Trading experiences

Quote a buy or sell in USD, then accept the quote to place an order.

Portfolio dashboards

Read USD cash balance and holdings to render a portfolio view.

Market discovery

Search, rank, and sort the asset catalog to surface trending stocks.

Cash out

Manage payout bank accounts, then create fiat withdrawals.

Base URL

All Stocks endpoints are served under the Stocks path of the Daya API:

Authentication in one line

Send your Daya API key in the X-API-Key header. The key must carry the relevant Stocks scope (stocks:read, stocks:trade, stocks:write, or stocks:withdraw). See Authentication.

Market hours and USD-denominated trading

Stocks trade in USD notional. Each asset reports its market_status, whether the market is_market_open, and off-hours eligibility, so you can gate order placement to the right session. Orders are quote-driven: request a priced quote, then accept it to execute.

Next steps

Quickstart

Make your first authenticated Stocks call end to end.

Authentication

The shared Daya API key model and Stocks scopes.

Concepts

Balances, quotes, orders, transactions, and withdrawals.

API Reference

Every Stocks endpoint, generated from the OpenAPI spec.