Skip to main content
GET
/
v2
/
index-daily
/
{index_code}
Index Daily Transaction Data
curl --request GET \
  --url https://api.sectors.app/v2/index-daily/{index_code}/ \
  --header 'Authorization: <api-key>'
[
  {
    "index_code": "IDX30",
    "date": "2024-01-02",
    "price": 478.5
  },
  {
    "index_code": "IDX30",
    "date": "2024-01-03",
    "price": 476.2
  }
]

Authorizations

Authorization
string
header
required

API key passed directly in the Authorization header (without Bearer prefix).

Path Parameters

index_code
string
required

Index code. E.g. lq45, ihsg, idx30.

Query Parameters

start
string

Start date (YYYY-MM-DD). Defaults to 30 days before end.

end
string

End date (YYYY-MM-DD). Defaults to today.

Response

Array of daily index price records.

{key}
any