Submit Order
curl --request POST \
--url https://api.parlayx.com/v1/orders \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '
{
"markets": [
{
"outcomeId": "71321045679252212594626385532706912750332728571942532289631379312455583992872",
"side": "buy",
"amount": 20
}
]
}
'{
"orderId": "3f8b2c9a-2d18-4f7e-9c2a-1b6e1f0c8a4d"
}Orders
Submit Order
Accepts one or more market orders and returns an aggregator-issued order id.
POST
/
v1
/
orders
Submit Order
curl --request POST \
--url https://api.parlayx.com/v1/orders \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '
{
"markets": [
{
"outcomeId": "71321045679252212594626385532706912750332728571942532289631379312455583992872",
"side": "buy",
"amount": 20
}
]
}
'{
"orderId": "3f8b2c9a-2d18-4f7e-9c2a-1b6e1f0c8a4d"
}Documentation Index
Fetch the complete documentation index at: https://docs.parlayx.com/llms.txt
Use this file to discover all available pages before exploring further.
Authorizations
Body
application/json
One or more market orders to submit.
Required array length:
1 - 20 elements- Option 1
- Option 2
Show child attributes
Show child attributes
Response
Order accepted
Aggregator-issued order id. Stable handle for status lookups.
Example:
"3f8b2c9a-2d18-4f7e-9c2a-1b6e1f0c8a4d"
⌘I