Trading
Sell (simple)
POST
https://www.slay.money/api/trade/sellRequires an API key: Authorization: Bearer spk_…Limit: 60 / min per key
Sell an outcome you hold in your API wallet: shares, or all of it when left out. Goes to the venue holding the shares.
Request
curl -X POST 'https://www.slay.money/api/trade/sell' \
-H 'Authorization: Bearer $SLAY_TOKEN' \
-H 'Content-Type: application/json' \
-d '{"market":"btc 5m","outcome":"up"}'Body
marketstringrequiredoutcomestringrequiredsharesnumberminPricenumberThe least per share. Default: 3c under the book's price for this size.
venuestring One of
hyperliquid, polymarketpaperbooleanexternalIdstringResponses
201Placed: as /trade/buy.
409No shares of this (
insufficient_position), or no buyers at your price.