API Description

Queries the number of Shake Nearby users, the number of Shake Nearby operations, the number of users tapping on Shake Nearby messages, and the number of taps on Shake Nearby messages for each page on a specified date.

Only the data of last 90 days can be queried, and only the data of one day can be queried at a time.

This API can only obtain the data of the previous day, but cannot obtain the data of the day.

Because the system processes the data of the previous day in the early hours of the morning, calling this API too early may not obtain the data. It is recommended to call this API after 8:00 am.

Note: Pages whose number of Shake Nearby users, number of Shake Nearby operations, number of users tapping on Shake Nearby messages, and number of taps on Shake Nearby messages are 0 are not returned in the result list.

API Request Format

HTTP request method: POST (use the HTTPS protocol)https://api.weixin.qq.com/shakearound/statistics/pagelist?access_token=ACCESS_TOKEN
POST data format: json
POST data example:
{    
     "date": 1425139200,		
     "page_index":1
}

Parameters

Parameter Required Description
access_token Yes The credential for calling the API
date Yes Timestamp of the specified queried date
page_index Yes The number of result page of the specified query; the returned result is sorted in descending order by the number of users of Shake Nearby. 50 records per page.

Response

Example of JSON packet returned for a successful request:

{	"data": {
	  "pages": [
       	{
           	"page_id":1
           	"click_pv": 0,
           	"click_uv": 0,
           	"shake_pv": 0,
           	"shake_uv": 0
       	},
       	{
          	"page_id":1
           	"click_pv": 0,
           	"click_uv": 0,
           	"shake_pv": 0,
           	"shake_uv": 0
       	},
       ],
    },
   "date":1435075200
   "total_count": 151
   "page_index":1
   "errcode": 0,
   "errmsg": "success."
}

Parameters

Parameter Description
page_id Page ID
click_pv Number of taps on Shake Nearby messages
click_uv Number of users tapping on Shake Nearby messages
shake_pv Number of Shake Nearby operations
shake_uv Number of users of Shake Nearby
date Timestamp of the queried date (in sec)
total_count Total number of pages
page_index The number of result page of the query; the returned result is sorted in descending order by the number of users of Shake Nearby. 50 records per page.