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

amount_usd
string
Example:

"100.00"

quantity
string
Example:

"0.5"

side
enum<string>
Available options:
buy,
sell
Example:

"buy"

symbol
string
Example:

"AAPL"

Response

Signed trade quote

data
object
error
object
message
string

Message is an optional banner/toast string.

success
boolean
timestamp
string