pump queries through api