Get a list of your requests | Documentation | Email Verification Bulk API | WhoisXML API

获取您的请求列表

POST https://emailverification.whoisxmlapi.com/api/bevService/request/list

CURL 请求示例

curl https://emailverification.whoisxmlapi.com/api/bevService/request/list -X POST -H "Content-Type: application/json"  -d '{"apiKey": "YOUR_API_KEY", "page": 1, "onlyIds": false, "perPage": 10, "sort": "desc", "format": "json"}'

POST 请求正文示例

{
    "apiKey": "YOUR_API_KEY",
    "page": 1,
    "format": "json",
    "onlyIds": false,
    "perPage": 10,
    "sort": "desc"
}

输入参数

API密钥

必填。在我的产品页面获取个人 API KEY。

page

Optional. Integer.

Used to paginate the result sets in conjunction with 'perPage'.

Default value: 1.

onlyIds

Optional. Boolean.

When it's true only the list of IDs is returned.

Default value: true.

perPage

Optional. Integer.

Limits each page of the result-set to this number of requests.

Min: 10; Max: 50.

Default value: 10

sort

选填。字符串。

Specify the order of requests in the response.

Allowed values: "asc", "desc".

Default value: "desc".

格式

选填。字符串。

用于指定响应格式。

允许的值:“xml”、“json”、“csv”。

默认值:“json”。

样本输出

{
    "response": {
        "current_page": 1,
        "data": [
            {
                "id": 596
            },
            {
                "id": 595
            },
            {
                "id": 544
            }
        ],
        "from": 1,
        "last_page": 1,
        "per_page": 10,
        "to": 3,
        "total": 3
    }
}

Code: 200 OK.
{
    "response": {
        "current_page": 1,
        "data": [
            {
                "id": 596,
                "api_version": 3,
                "date_start": "1528377253",
                "total_emails": 3,
                "invalid_emails": 0,
                "processed_emails": 3,
                "failed_emails": 0,
                "ready": 1
            },
            {
                "id": 595,
                "api_version": 3,
                "date_start": "1528377227",
                "total_emails": 20,
                "invalid_emails": 0,
                "processed_emails": 20,
                "failed_emails": 0,
                "ready": 1
            },
            {
                "id": 544,
                "api_version": 2,
                "date_start": "1528204702",
                "total_emails": 500,
                "invalid_emails": 0,
                "processed_emails": 500,
                "failed_emails": 0,
                "ready": 1
            }
        ],
        "from": 1,
        "last_page": 1,
        "per_page": 10,
        "to": 3,
        "total": 3
    }
}

Code: 200 OK.

输入参数

响应

响应对象。

Contains the 'data' field with an array of user's requests' data on success.

The 'from' and 'to' fields represent the result set's ID range of the requests returned for the current page.

'per_page' is the pages' size and 'total' is the number of requests in the result set.

The 'current_page' and 'last_page' correspond to the number of pages in the result set.

如果出现错误,则会在“错误”字段中包含其描述。如果存在多个错误,则它们的描述将在“errors”数组中返回。

数据

Array.

A list of your requests' info elements (if 'onlyIds' is true, each element has only the 'id' field).

data[k].id

String.

Request ID.

data[k].api_version

Integer.

API version used for the request.

data[k].date_start

String.

String representation of the request's start Unix timestamp.

data[k].total_emails

Integer.

The total of number of emails in the request.

data[k].invalid_emails

Integer.

Number of invalid emails.

data[k].processed_emails

Integer.

Number of already processed email addresses.

data[k].failed_emails

Integer.

Number of emails that could not be processed.

data[k].ready

Integer.

1 if processing has finished, 0 – otherwise.

from

Integer.

Min. request ID in the current page of the data set.

to

Integer.

Max. request ID in the current page of the data set.

per_page

Integer.

Max. number of requests for each page of the result set.

total

Integer.

The total number of requests in the result set.

current_page

Integer.

Current page number in the result set.

last_page

Integer.

The number of the last page in the set.

error

String.

Error description.

errors

Array.

Multiple error messages.