Skip to content

The funds' market line, the average each fund's share price is read against

GET
/v1/beta-baskets/market/

A NAV-weighted index of every fund’s share price, chained over the same daily or hourly points a fund’s own history serves, so the two curves line up point for point.

Rate limit: 300 requests per minute per IP (scope explore).

  • None
days
integer

Window. Default 90 and maximum 365 at resolution=day, default and maximum 30 at hour. 400 outside [1, max] or on a non-integer.

resolution
string
Allowed values: day hour

Point granularity, as in a fund’s own history. 400 on any other value. Default day.

The market line, one point per day or per hour.

Media typeapplication/json

The funds’ market line, flow-neutral, rebuilt from hourly snapshots.

object
resolution
required

day or hour, as applied.

string
days
required

The window in days, as applied: 90 by default at resolution=day, 30 at hour.

integer
points
required

Oldest first: the window’s first point, then one per day or hour where at least one fund has a priced step from its previous point. Hourly, the window is the one a fund’s hourly history of the same days covers.

Array<object>
object
ts

At resolution=hour: the hour bucket, as in a fund’s hourly history.

string format: date-time
date

At resolution=day.

string format: date
index
required

Chained NAV-weighted share-price index, 1.0 on the window’s first point.

number format: double
funds
required

Funds whose step entered the point; on the first point, the funds priced there.

integer

Example generated

{
"resolution": "example",
"days": 1,
"points": [
{
"ts": "2026-04-15T12:00:00Z",
"date": "2026-04-15",
"index": 1,
"funds": 1
}
]
}

A parameter failed its check, which message names. code is usually VALIDATION_ERROR.

Media typeapplication/json

The error envelope every 4xx and 5xx response carries. The introduction lists the code values.

object
error
required

Always true. Lets a client branch without reading the status code.

boolean
code
required

Machine-readable error code, such as VALIDATION_ERROR or RESOURCE_NOT_FOUND. Branch on it, not on message.

string
message
required

One human-readable sentence.

string
detail
required

Extra context for some codes, such as the invalid fields of a VALIDATION_ERROR or retry_after on RATE_LIMITED; else null.

nullable

Examples

ExampleVALIDATIONERROR

VALIDATION_ERROR

{
"error": true,
"code": "VALIDATION_ERROR",
"message": "resolution must be one of: day, hour",
"detail": null
}

Rate limit exceeded (300/minute, per IP). Retry-After carries the seconds to wait.

Media typeapplication/json

The error envelope every 4xx and 5xx response carries. The introduction lists the code values.

object
error
required

Always true. Lets a client branch without reading the status code.

boolean
code
required

Machine-readable error code, such as VALIDATION_ERROR or RESOURCE_NOT_FOUND. Branch on it, not on message.

string
message
required

One human-readable sentence.

string
detail
required

Extra context for some codes, such as the invalid fields of a VALIDATION_ERROR or retry_after on RATE_LIMITED; else null.

nullable

Examples

ExampleRATELIMITED

RATE_LIMITED

{
"error": true,
"code": "RATE_LIMITED",
"message": "Request was throttled",
"detail": {
"retry_after": 12
}
}
Retry-After
integer

Seconds before the next request is accepted.

QUERY_TIMEOUT: the query exceeded its budget. detail carries budget_ms, elapsed_ms, path and query.

Media typeapplication/json

The error envelope every 4xx and 5xx response carries. The introduction lists the code values.

object
error
required

Always true. Lets a client branch without reading the status code.

boolean
code
required

Machine-readable error code, such as VALIDATION_ERROR or RESOURCE_NOT_FOUND. Branch on it, not on message.

string
message
required

One human-readable sentence.

string
detail
required

Extra context for some codes, such as the invalid fields of a VALIDATION_ERROR or retry_after on RATE_LIMITED; else null.

nullable

Examples

ExampleQUERYTIMEOUT

QUERY_TIMEOUT

{
"error": true,
"code": "QUERY_TIMEOUT",
"message": "query exceeded the 12000 ms budget; retry, or narrow the requested range",
"detail": {
"budget_ms": 12000,
"elapsed_ms": 12004,
"path": "/trades/summary/",
"query": "coldkey=5GrwvaEF5zXb26Fz9rcQpDWS57CtERHpNehXCPcNoHGKutQY&resolution=day"
}
}