Get pool state api