JSON Visits Report using Module Live API

Dear Matt,

My goal is to differenciate visits between Home page and Deeplink page.

I am using Module Live API for get all my visits detail in JSON format.
My API : http://mysite/piwik/index.php?module=API&method=Live.getLastVisitsDetails&idSite=1&period=day&date=10-11-2014&format=JSON&token_auth=654216498746513246546523156

How do I display visits count using above API?

I can able to check visitCount field from JSON, but this count and Visitior Overview -> visits counts are different.
Please explain me, how do I get Home page visit and Deeplink visits.

check out the Actions API: Reporting API Reference: API Reference - Matomo Analytics (formerly Piwik Analytics) - Developer Docs - v3