Request curl -X POST 'https://trading-gateway-api.prod.thinkalpha.io/baskets/specs' \
-H "Authorization: Bearer $TOKEN" \
-H 'Content-Type: application/json' \
-d '{
"account": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"adjustment": 0,
"direction": "increase",
"duration": "gtc",
"exDestination": "string",
"firmId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"multiplier": 1,
"name": "string",
"orders": [
{
"account": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"adjustment": 0,
"adjustmentQuantity": 0,
"direction": "increase",
"duration": "gtc",
"exDestination": "string",
"instrument": {
"expiry": "2026-01-02",
"right": "call",
"strike": 0,
"type": "option",
"underlyingInstrument": {
"symbol": null,
"type": null
}
},
"multiplier": 0,
"quantity": 1,
"route": "string",
"side": "buy",
"type": "market",
"weight": 0
}
],
"quantity": 1,
"route": "string",
"side": "buy",
"type": "market",
"basketType": "quantity"
}'
Response · 201 {
"account": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"adjustment": 0,
"createdAt": "2026-01-02T14:30:00Z",
"direction": "increase",
"discardedAt": "2026-01-02T14:30:00Z",
"duration": "gtc",
"exDestination": "string",
"firmId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"multiplier": 1,
"name": "string",
"orders": [
{
"account": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"adjustment": 0,
"adjustmentQuantity": 0,
"direction": "increase",
"duration": "gtc",
"exDestination": "string",
"instrument": {
"expiry": "2026-01-02",
"right": "call",
"strike": 0,
"type": "option",
"underlyingInstrument": {
"symbol": null,
"type": null
}
},
"multiplier": 0,
"quantity": 1,
"route": "string",
"side": "buy",
"type": "market",
"weight": 0
}
],
"ownerId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"quantity": 1,
"route": "string",
"side": "buy",
"type": "market",
"updatedAt": "2026-01-02T14:30:00Z",
"basketType": "quantity"
}