API Integration in dashboard

Could anyone help me for matomo API integration
My requirement is that I need the records according to page url and in the Page url there is no data of device type,conversion rate,o/s etc.

Could anyone help me return the data as per my requirement or is it possible to do that.

hi jyotsana.khannu ?

You can use Device Detection Module for device type and Goals Module for conversion rate. If you need more help please explain your requirement I will send you a sample. Thanks!

My Url to get the data for device type

$url = "https://resboss-iq.matomo.cloud";
        $url .= "/index.php?module=API&method=DevicesDetection.getType"; //VisitsSummary.get";//UserCountry.getCountry";//VisitsSummary.get
        $url .= "&idSite=1";
        $url .= "&format=JSON&date=" . $start_date . "," . $end_date . "&period=day&filter_limit=10";
        $url .= "&token_auth=$token_auth";

And Another API for page Url

 $url1 = "https://resboss-iq.matomo.cloud";
        $url1 .= "/index.php?module=API&method=Actions.getPageUrl"; //DevicesDetection.getType";//VisitsSummary.get";//UserCountry.getCountry";//VisitsSummary.get
        $url1 .= "&idSite=1&pageUrl=" . $apiurl . $account_name . "/" . $provider . "";
        $url1 .= "&format=JSON&date=" . $start_date . "," . $end_date . "&period=day&filter_limit=10";
        $url1 .= "&token_auth=$token_auth";

I have passed the page url in second API with account name and provider
Ex: Account name : Londonsteakhoue-city
Provider name : virgin

and it gives me the data
Sample:

[label] => /virgin
                    [nb_visits] => 14
                    [nb_uniq_visitors] => 14
                    [nb_hits] => 20
                    [sum_time_spent] => 1919
                    [nb_hits_with_time_generation] => 16
                    [min_time_generation] => 0.3
                    [max_time_generation] => 2.666
                    [entry_nb_uniq_visitors] => 13
                    [entry_nb_visits] => 13
                    [entry_nb_actions] => 19
                    [entry_sum_visit_length] => 4665
                    [entry_bounce_count] => 8
                    [exit_nb_uniq_visitors] => 14
                    [exit_nb_visits] => 14
                    [avg_time_on_page] => 96
                    [bounce_rate] => 62%
                    [exit_rate] => 100%
                    [avg_time_generation] => 0.572
                    [url] => https://www.resboss.com/londonsteakhouse-chelsea/virgin

But in this there is no conversion rate,Device type,o/s and it is not fullfilling my requirements.

Is it requires to call two API’s for these?
In the device type API how we passed the accountname and provider to get the actual data of passed values.

Could you please elaborate