Get query from the internet API and store data in CP