get_market_index_data
idx.co.idRetrieves the latest IDX market index summary from https://idx.co.id in one request. Returns all available index records, including COMPOSITE (IHSG) and sector indices, with every non-empty source field per index.
Playground
Runs on Notte and spends your workspace credits — what comes back is the live response, not a sample.
What is get_market_index_data?
Retrieves the latest IDX market index summary from https://idx.co.id in one request. Returns all available index records, including COMPOSITE (IHSG) and sector indices, with every non-empty source field per index. It runs on Notte's browser infrastructure and returns structured JSON, so you can call it like any other API — pass timeout_seconds and get the result back without maintaining a scraper.
Response
{
"count": 0,
"indices": [
{}
],
"trading_date": "<string>"
}Call it
curl --location 'https://us-prod.notte.cc/functions/44d4ae5d-0d83-4e6e-8e71-70a04befcaf0/runs/start' \
--header 'x-notte-api-key: YOUR_API_KEY' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer YOUR_API_KEY' \
--data '{
"function_id": "44d4ae5d-0d83-4e6e-8e71-70a04befcaf0",
"variables": {
"timeout_seconds": 35
}
}'Ask an agent
Paste this into Claude Code, Cursor or any MCP client to have an agent call this function for you.
Use the Anything API MCP server (https://anything.notte.cc/mcp). Call run(function_id="44d4ae5d-0d83-4e6e-8e71-70a04befcaf0") — the "get_market_index_data" function, which retrieves the latest IDX market index summary from https://idx.co.id in one request. Returns all available index records, including COMPOSITE (IHSG) and sector indices, with every non-empty source field per index.. It takes timeout_seconds (int). Return the result as structured JSON.