Index calculation API finished