Skip to main content
GET
https://api.sectors.app
/
v1
/
idx-total
IDX Historical Market Cap Data
curl --request GET \
  --url https://api.sectors.app/v1/idx-total/
[
  {
    "date": "2024-01-02",
    "idx_total_market_cap": 11741696124656268
  },
  {
    "date": "2024-01-03",
    "idx_total_market_cap": 11682715125038308
  }
]
[
  {
    "date": "2024-01-02",
    "idx_total_market_cap": 11741696124656268
  },
  {
    "date": "2024-01-03",
    "idx_total_market_cap": 11682715125038308
  }
]

Notes

The earliest data available for this endpoint is from January 2021 onward.
Authorization
string
required
Authorization header that should be filled with your Sectors Financial API key.

Query Parameters

start
string
Start date for which the IDX historical market cap data is to be retrieved.
The API endpoint only accepts start date in the YYYY-MM-DD format.
The start date must be no earlier than 90 days before the end date. If a date earlier than this is provided, only the most recent 90 days of data will be retrieved.
When only end date is provided, the default value of start date is 30 days before the end date.When start and end dates are not provided, the default value of start date is 30 days before today.
end
string
End date for which the IDX historical market cap data is to be retrieved.
The API endpoint only accepts end date in the YYYY-MM-DD format.
The end date must be no later than 90 days after the start date. If a date later than this is provided, only the most recent 90 days of data will be retrieved.
When only start date is provided, the default value of end date is 30 days after the start date.When start and end dates are not provided, the default value of end date is today.

Response

payload
IDXMarketCapData[]