---
title: "Regime Router Best"
method: GET
path: "/api/regime-router/{ticker}/best-for-regime"
tags: ["Backtest"]
---

# Regime Router Best

`GET /api/regime-router/{ticker}/best-for-regime`

## Request

- Base URL: `https://api.xfinlab.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.xfinlab.com/api/regime-router/{ticker}/best-for-regime`
- Auth: none declared

Reads the persisted regime-conditional leaderboard. If `regime` is
omitted, first computes the ticker's CURRENT regime (same as
/current-regime above) and looks that up -- the actual "what should I
use right now" answer this roadmap phase promised. Requires
/scan to have been run for this symbol first.

2026-08-31: lang query param added and threaded through to both
get_current_regime() and get_best_for_regime() -- previously this
endpoint had no lang param at all, so its "reason"/caveat text stayed
hardcoded Cantonese no matter what language the calling page had
selected (ai-analysis.html/chart-analysis.html's regime-router labels
DO follow the page's selected language via data-i18n, which produced a
visibly mixed-language result whenever a non-Chinese language was
selected -- AJ flagged this directly).

## Path parameters

- `ticker` string, required

## Query parameters

- `regime` string
- `min_trades` integer
- `lang` string

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/xfinlab/apis/xfinlab-api.md) · [All operations](https://skmtc.dev/xfinlab/apis/xfinlab-api/llms.txt) · [OpenAPI document](https://skmtc.dev/xfinlab/apis/xfinlab-api/revisions/205f85614bc6?raw)
