GET https://api.cryptohopper.com/v1/backtest

Returns your backtests, newest first, with their template, markets, settings, profit and whether they are completed.

OAuth scope: read About scopes

Requires an active subscription or trial; otherwise the request is refused with 403. markets is a JSON string.

Example request

curl "https://api.cryptohopper.com/v1/backtest" \
  -H "access-token: YOUR_ACCESS_TOKEN"

Parameters

Headers

NameTypeRequiredDescription
access-token string Required The OAuth access token of the user.

Query parameters

NameTypeRequiredDescription
limit string Optional Maximum number of backtests, default 100, maximum 500.

Response

Example response (illustrative values)

{
    "data": [
        {
            "id": "45120",
            "template_type": "market",
            "template_id": "8812",
            "exchange": "binance",
            "quote_currency": "USDT",
            "markets": "[\"BTCUSDT\",\"ETHUSDT\"]",
            "profit": "4.25",
            "history_total_assets": [
                [
                    1754006400,
                    1000
                ],
                [
                    1754017200,
                    1003.2
                ]
            ],
            "created": "2026-09-01 10:00:00",
            "updated": "2026-09-01 10:45:00",
            "total_loops": "120",
            "completed": "1",
            "start_date": "2026-08-01 00:00:00",
            "end_date": "2026-08-31 00:00:00",
            "backtest_settings": {
                "start_amount": 1000,
                "subscription_id": 3,
                "start_date": "2026-08-01 00:00:00",
                "end_date": "2026-08-31 00:00:00"
            }
        }
    ]
}

Status codes: 200. Errors return JSON with status, error and message. See How the API works for response codes and rate limits.