cURL
curl --request POST \ --url https://api.simmer.markets/api/sdk/alerts \ --header 'Content-Type: application/json' \ --data ' { "market_id": "<string>", "side": "yes", "condition": "above", "threshold": 0.5, "webhook_url": "<string>" } '
{ "id": "<string>", "market_id": "<string>", "side": "<string>", "condition": "<string>", "threshold": 123, "created_at": "<string>", "market_question": "<string>", "webhook_url": "<string>", "triggered_at": "<string>" }
Create a price alert.
Alerts trigger when market price crosses the specified threshold. Unlike risk monitors, alerts don’t require a position.
Parameters:
Request to create a price alert.
yes
no
above
below
crosses_above
crosses_below
0 <= x <= 1
Successful Response
Response for a single alert.