Skip to content

Index level history

GET
/v1/indices/{name}/history
curl --request GET \
--url 'https://api.tapetide.com/v1/indices/example/history?interval=1m' \
--header 'Authorization: Bearer <token>'

OHLC plus PE/PB/dividend-yield series for one NSE index (Nifty 50, Nifty Bank, Nifty IT, India VIX, …). interval is the lookback window: 1m, 3m, 6m, 1y (daily bars) or 2y, max (weekly bars).

name
required
string
<= 64 characters

Index display name, e.g. “Nifty 50”, “Nifty IT”, “India VIX”. Matched case-insensitively.

interval
string
Allowed values: 1m 3m 6m 1y 2y max

Lookback window (default 3m).

OK. Costs one request unit.

Media typeapplication/json
object
data
required

The document. Shape is route-specific and never truncated.

meta
required

Paging and window information where the route pages (e.g. window.next_cursor on price history).

object
as_of

When this response was assembled (UTC).

string format: date-time
route

The operationId that served it.

string
key
additional properties
any

Example generated

{
"data": "example",
"meta": {
"as_of": "2026-04-15T12:00:00Z",
"route": "example"
}
}
X-RateLimit-Reset
integer

Unix seconds when the binding quota window resets (IST boundaries).

Malformed or out-of-range parameter. Not charged.

Media typeapplication/json
object
error
required
object
code
required
string
Allowed values: authentication_required invalid_token invalid_request route_not_found not_found method_not_allowed rate_limited quota_exhausted upstream_unavailable service_unavailable tool_error internal_error
message
required
string
details
object
key
additional properties
any

Example

{
"error": {
"code": "authentication_required"
}
}

Missing or invalid bearer token.

Media typeapplication/json
object
error
required
object
code
required
string
Allowed values: authentication_required invalid_token invalid_request route_not_found not_found method_not_allowed rate_limited quota_exhausted upstream_unavailable service_unavailable tool_error internal_error
message
required
string
details
object
key
additional properties
any

Example

{
"error": {
"code": "authentication_required"
}
}

The symbol, index or document does not exist. Not charged.

Media typeapplication/json
object
error
required
object
code
required
string
Allowed values: authentication_required invalid_token invalid_request route_not_found not_found method_not_allowed rate_limited quota_exhausted upstream_unavailable service_unavailable tool_error internal_error
message
required
string
details
object
key
additional properties
any

Example

{
"error": {
"code": "authentication_required"
}
}

Per-minute burst cap or plan quota reached.

Media typeapplication/json
object
error
required
object
code
required
string
Allowed values: authentication_required invalid_token invalid_request route_not_found not_found method_not_allowed rate_limited quota_exhausted upstream_unavailable service_unavailable tool_error internal_error
message
required
string
details
object
key
additional properties
any

Example

{
"error": {
"code": "authentication_required"
}
}
Retry-After
integer
X-RateLimit-Reset
integer

Unix seconds when the binding quota window resets (IST boundaries).

A data dependency was unavailable. Not charged.

Media typeapplication/json
object
error
required
object
code
required
string
Allowed values: authentication_required invalid_token invalid_request route_not_found not_found method_not_allowed rate_limited quota_exhausted upstream_unavailable service_unavailable tool_error internal_error
message
required
string
details
object
key
additional properties
any

Example

{
"error": {
"code": "authentication_required"
}
}