PocketQuery provides APIs in several places along the PocketQuery Pipeline. You can find all the available functions here.