enhanced api queries