Skip to main content
POST
Create trade quote

Authorizations

X-API-Key
string
header
required

Your Daya API key, sent in the X-API-Key header. Issue and scope keys in the Daya dashboard.

Body

application/json

symbol + side + amount_usd or quantity

side
enum<string>
required
Available options:
buy,
sell
Allowed value: "buy"
Example:

"buy"

amount_usd
string
required
Example:

"100.00"

symbol
string
required
Example:

"AAPL"

quantity
string
Example:

"0.5"

Response

Signed trade quote

data
object
error
object
message
string

Message is an optional banner/toast string.

success
boolean
timestamp
string