C/2/commercial/get count-en

跳转到: 导航, 搜索

commercial/get_count

get the data consumption of the authorized appkey.

URL

https://c.api.weibo.com/2/commercial/get_count.json

Supported Formats

JSON

HTTP Request Method

GET

Login Requirement

true
See Login and Authorization for details.

Authorized Access Limitation

Request for all the business API:

    • 50000 times per hour per IP;

Request Parameters

  Requires Type and Range Description
source false string This parameter is not needed when using OAuth, and is required when using other authorization methods. The value of this parameter is AppKey.
access_token false string This parameter is required when using OAuth, and is not needed when using other authorization methods. You will get the access_token after obtaining OAuth.
date true string format is: XXXX-XX-XX。

Notes

none

Response

JSON Example

{
       sub_count: {                                    //data consumption of subscription service
              10134: "0"
       },
       search_count: "339268",                 //data consumption of /search/statuses/limited
       history_search_count: "0",              //data consumption of /search/statuses/historical/create
       total_count: "29214936",                //the total data consumption 
       repost_status_count: "67784",       //data consumption of /statuses/repost_timeline/all
       user_mention_count: "0",               //data consumption of /statuses/mentions/other
       user_batch_count: "57722",           //data consumption of /statuses/user_timeline_batch
       user_timeline_other_count: "0",     //data consumption of /statuses/user_timeline_other
       user_place_count: "0",                   //data consumption of /place/user_timeline/other      
       comment_show_count: "34466",   // data consumption of /comments/show/all 
       comment_by_me_count: "0",         //data consumption of /comments/by_me/other
       comment_to_me_count: "0",          //data consumption of /comments/to_me/other
       comment_timeline_count: "0",       //data consumption of /comments/timeline/other
       comment_mention_count: "0",       //data consumption of /comments/mentions/other          
}

Please see Error Code Description for details of error information.

Field Description

none

Others

none

Language: [[{{{2/uri}}}|中文]]


文档更新时间: 2017-07-31