Developers
Open app
Trading

Sell (simple)

POSThttps://www.slay.money/api/trade/sell
Requires 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

marketstringrequired
outcomestringrequired
sharesnumber
minPricenumber
The least per share. Default: 3c under the book's price for this size.
venuestring
One of hyperliquid, polymarket
paperboolean
externalIdstring

Responses

201Placed: as /trade/buy.
409No shares of this (insufficient_position), or no buyers at your price.