Add devices_history to the api_pricing