wrap api call in a method run all price queries at once