跳转到主要内容
POST
/
targets
获取目标
curl --request POST \
  --url https://api.decodo.com/api/v2/statistics/targets \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "startDate": "2024-09-01 00:00:00",
  "endDate": "2024-10-01 00:00:00",
  "proxyUsers": [
    "<string>"
  ],
  "search": "<string>",
  "proxyType": "residential_proxies"
}
'
"{}"

授权

Authorization
string
header
必填

请求体

application/json
startDate
string
默认值:2024-09-01 00:00:00

时区为 UTC。最大日期返回间隔为 180 天。日期格式:YYYY-MM-DD HH:MM:SS

endDate
string
默认值:2024-10-01 00:00:00

时区为 UTC。最大日期返回间隔为 180 天。日期格式:YYYY-MM-DD HH:MM:SS

proxyUsers
string[]

此处获取的代理用户 ID 列表(仅适用于 residential_proxies)。不适用于 RTC 代理(抓取 API)

搜索目标中的特定字符串。最少 3 个字符。留空将返回所有目标

proxyType
enum<string>
默认值:residential_proxies

RTC 代理即抓取 API

可用选项:
residential_proxies,
mobile_proxies,
rtc_universal_proxies,
rtc_universal_core_proxies,
modular_scraper

响应

200

The response is of type object.