curl --request POST \
--url https://synthesis.trade/api/v1/wallet/pol/{wallet_id}/order/quote \
--header 'Content-Type: application/json' \
--header 'X-API-KEY: <api-key>' \
--data '
{
"token_id": "<string>",
"side": "<string>",
"amount": "<string>",
"units": "<string>"
}
'{
"success": true,
"response": {
"amount": "100.000",
"shares": "152.300",
"average_price": "0.657",
"best_price": "0.652",
"slippage": "0.766"
}
}Preview a Polymarket order against the current order book.
curl --request POST \
--url https://synthesis.trade/api/v1/wallet/pol/{wallet_id}/order/quote \
--header 'Content-Type: application/json' \
--header 'X-API-KEY: <api-key>' \
--data '
{
"token_id": "<string>",
"side": "<string>",
"amount": "<string>",
"units": "<string>"
}
'{
"success": true,
"response": {
"amount": "100.000",
"shares": "152.300",
"average_price": "0.657",
"best_price": "0.652",
"slippage": "0.766"
}
}Account secret API key.
Polygon quote