def get_ip_data_from_details_api(self, ip_list, watchlist_flag=False):
        """
        To get IP data from Details API.

        Args:
            ip_list (list): A list of IPs to retrieve details from details API.
            watchlist_flag (bool, optional): A flag indicating whether the IPs are from a watchlist.
                                            Defaults to False.
        Raises:
            TeamCymruScoutException: If an error occurs while retrieving or sending the IP data.
        """
        __method_name = inspect.currentframe().f_code.co_name
        try:
            applogger.debug("{}(method={}) Getting data from Details API.".format(self.logs_starts_with, __method_name))
            valid_ip_count = 0
            for ip in ip_list:
                parsed_ip = ip.replace("[", "").replace("]", "")
                if self.utility_obj.validate_ip_domain(indicator=parsed_ip, indicator_type="ip"):
                    valid_ip_count += 1
                    ip_data = self.rest_helper_obj.make_rest_call(endpoint=consts.IP_DETAILS_ENDPOINT.format(parsed_ip))
                    self.parse_ip_data_and_ingest_into_sentinel(ip_data=ip_data, indicator_value=ip)
                if watchlist_flag:
                    self.checkpoint_obj.save_checkpoint(data=ip, indicator_type="ip")
            applogger.debug("{}(method={}) Total data ingested for {} IPs.".format(self.logs_starts_with, __method_name, valid_ip_count))
        except requests.exceptions.Timeout as error:
            applogger.error(
                self.error_logs.format(
                    self.logs_starts_with,
                    __method_name,
                    consts.TIME_OUT_ERROR_MSG.format(error),
                )
            )
            raise requests.exceptions.Timeout()
        except Exception as err:
            applogger.error(self.error_logs.format(self.logs_starts_with, __method_name, err))
            raise TeamCymruScoutException()

        To get IP data from Details API.

        Args:
            ip_list (list): A list of IPs to retrieve details from details API.
            watchlist_flag (bool, optional): A flag indicating whether the IPs are from a watchlist.
                                            Defaults to False.
        Raises:
            TeamCymruScoutException: If an error occurs while retrieving or sending the IP data.
        
Solutions/Team Cymru Scout/Data Connectors/TeamCymruScout/IPDataCollector/ip_collector.py