Create Alert
curl --request POST \
--url https://api.simmer.markets/api/sdk/alerts \
--header 'Content-Type: application/json' \
--data '
{
"market_id": "<string>",
"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>"
}Alerts
Create Alert
Create a price alert.
Alerts trigger when market price crosses the specified threshold. Unlike risk monitors, alerts don’t require a position.
Parameters:
- market_id: Market to monitor
- side: Which price to monitor (‘yes’ or ‘no’)
- condition: Trigger condition (‘above’, ‘below’, ‘crosses_above’, ‘crosses_below’)
- threshold: Price threshold (0-1)
- webhook_url: Optional HTTPS URL to receive webhook notification
POST
/
api
/
sdk
/
alerts
Create Alert
curl --request POST \
--url https://api.simmer.markets/api/sdk/alerts \
--header 'Content-Type: application/json' \
--data '
{
"market_id": "<string>",
"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>"
}Body
application/json
⌘I
