Skip to main content
cesto.products reads baskets (products). Both methods are read-only.

List products

Include backtested performance

Set includeBacktest to merge backtested performance onto each item (one extra request). If that data can’t be fetched, backtest comes back null rather than failing the call.
category
string
Optional category filter.
includeBacktest
boolean
default:"false"
Also fetch and attach backtested performance per product.

Get a product

Fetch a single basket by its slug.

Include the backtested chart

includeBacktestChart
boolean
default:"false"
Also fetch and attach the backtested chart.
chartTimeRange
'7d' | '1m' | '3m' | '6m' | '1y' | 'all'
default:"1y"
Chart window. Full metrics (CAGR, Sharpe, etc.) are only computed for 1y.