Skip to main content

List Strategies

Return all strategies, ordered by created_at descending.

Endpoint

GET /strategies

Authentication: Public. Pagination: None — full list.

Response — 200 OK

Array of strategy objects:

[
{
"id": 2,
"name": "eth-mean-reversion",
"author": "bob",
"description": "ETH mean reversion 15m",
"entry_condition": "rsi(14) < 30",
"exit_condition": "rsi(14) > 50",
"bot_name": "executor-mean-rev-v2",
"created_at": "2026-05-03T11:00:00",
"updated_at": "2026-05-03T11:00:00"
},
{
"id": 1,
"name": "btc-momentum-1h",
"author": "alice",
"description": "BTC momentum on 1h candles",
"entry_condition": "close > ema(50) AND rsi(14) > 55",
"exit_condition": "close < ema(50) OR rsi(14) < 45",
"bot_name": "executor-momentum-v1",
"created_at": "2026-05-03T10:00:00",
"updated_at": "2026-05-03T10:00:00"
}
]

If no strategies exist, returns [].

Example

curl -s "https://api.pipai.org/strategies"