implemented prices index endpoint