C/2/search/statuses/historical/check-en

跳转到: 导航, 搜索

search/statuses/historical/check

check the execution status of searching for historical data

URL

https://c.api.weibo.com/2/search/statuses/historical/check.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.
task_id true int The task ID for searching historical data.
timestamp true timestamp UNIX timestamp of the current time of the caller's server.
signature true string Authentication signature. The encryption method is signature equals to md5(id + secret_key + timestamp).id is the creator's ID, the platform obtains 'id, secret_key' through task_id.

Notes

  • Each download task will automatically expire after 7 days, after which calling this interface will return corresponding error.
  • The executing time of each task is normally within 48 hours. If the timeout occurs, you could contact us to give priority to your task.

Response

JSON Example

//成功返回
{
    "id": "3567122345",             //任务创建者ID
    "q": "昆明暴力事件,三元食品",
    "ids": "324344545~12121343~789078912",
    "province": "11",
    "city": "5",
    "starttime": "1389628800",
    "endtime": "1389690595",
    "type": 1,
    "hasv": 1,
    "onlynum": 80,
    "task_id": "100",                 //任务ID
    "status": true,               //任务执行状态,true:完成,false:执行中
    "count": 10000                //任务结果条数,当status为false时,该字段返回0
}
//失败返回
{
    "request": "/aim/campaign/create.json",
    "error_code": 2111XX,
    "error": "error information."               //显示错误信息  
}


Please see Error Code Description for details of error information.

Field Description

none

Others

none

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


api评价