Actions.getpageurls is not showing the URL's

When I check the demo site for actions.getpageurls it shows the urls’s with count as mentioned below,
Demo Link: http://demo.piwik.org/?module=API&method=Actions.getPageUrls&idSite=7&period=day&date=today&format=JSON&token_auth=anonymous

Output as,

[{“label”:“t”,“nb_visits”:190,“nb_hits”:204,“sum_time_spent”:17886,“nb_hits_with_time_generation”:200,“min_time_generation”:“0.096”,“max_time_generation”:“42.406”,“entry_nb_visits”:116,“entry_nb_actions”:171,“entry_sum_visit_length”:16166,“entry_bounce_count”:93,“exit_nb_visits”:119,“nb_hits_following_search”:11,“avg_time_on_page”:88,“bounce_rate”:“80%”,“exit_rate”:“63%”,“avg_time_generation”:0.766,“idsubdatatable”:1},{“label”:"/index",“nb_visits”:17,“nb_uniq_visitors”:14,“nb_hits”:21,“sum_time_spent”:918,“nb_hits_with_time_generation”:“21”,“min_time_generation”:“0.01”,“max_time_generation”:“0.676”,“entry_nb_uniq_visitors”:“12”,“entry_nb_visits”:“14”,“entry_nb_actions”:“75”,“entry_sum_visit_length”:“5169”,“entry_bounce_count”:“7”,“exit_nb_uniq_visitors”:“8”,“exit_nb_visits”:“9”,“avg_time_on_page”:44,“bounce_rate”:“50%”,“exit_rate”:“53%”,“avg_time_generation”:0.391,“url”:“301 Moved Permanently”}]

But when i am using in my site the URL list is not displaying,

Link: http://site.com/index.php?module=API&method=Actions.getPageUrls&idSite=1&period=day&date=today&format=JSON&token_auth=xxxxxxxxxxxxx

Output as,

[{“label”:“accelerator”,“nb_visits”:3125,“nb_hits”:3442,“sum_time_spent”:113143,“nb_hits_with_time_generation”:3168,“min_time_generation”:“0.001”,“max_time_generation”:“56.902”,“entry_nb_visits”:2994,“entry_nb_actions”:3464,“entry_sum_visit_length”:114495,“entry_bounce_count”:2844,“exit_nb_visits”:2987,“nb_hits_following_search”:3,“avg_time_on_page”:36,“bounce_rate”:“95%”,“exit_rate”:“96%”,“avg_time_generation”:1.488,“idsubdatatable”:1}]

But when i access directly in page it list all the url’s