cURL
curl --request POST \ --url https://api.vatic.trading/api/v1/simpleOrders/createMarketOrder \ --header 'Content-Type: application/json' \ --header 'x-api-key: <api-key>' \ --data ' { "walletId": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "tokenId": "<string>", "side": "BUY", "amount": 123, "negRisk": true, "orderType": "FOK" } '
Places a market order using a known Polymarket outcome token ID. Use /api/v1/markets/tokenId first to resolve the token ID from a slug.
/api/v1/markets/tokenId
Required for order endpoints. Obtain your API key from the Vatic dashboard.
BUY
SELL
USDC (BUY) or shares (SELL).
Optional — auto-detected if omitted.
FOK
FAK
Order result