跳转到主要内容
POST
https://api.aisa.one/apis/v1
/
dataforseo
/
domain_analytics
/
technologies
/
technology_stats
/
live
技术统计
curl --request POST \
  --url https://api.aisa.one/apis/v1/dataforseo/domain_analytics/technologies/technology_stats/live \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "technology": "<string>",
  "date_from": "<string>",
  "date_to": "<string>",
  "tag": "<string>"
}
'
import requests

url = "https://api.aisa.one/apis/v1/dataforseo/domain_analytics/technologies/technology_stats/live"

payload = {
"technology": "<string>",
"date_from": "<string>",
"date_to": "<string>",
"tag": "<string>"
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}

response = requests.post(url, json=payload, headers=headers)

print(response.text)
const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
technology: '<string>',
date_from: '<string>',
date_to: '<string>',
tag: '<string>'
})
};

fetch('https://api.aisa.one/apis/v1/dataforseo/domain_analytics/technologies/technology_stats/live', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));
<?php

$curl = curl_init();

curl_setopt_array($curl, [
CURLOPT_URL => "https://api.aisa.one/apis/v1/dataforseo/domain_analytics/technologies/technology_stats/live",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'technology' => '<string>',
'date_from' => '<string>',
'date_to' => '<string>',
'tag' => '<string>'
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);

$response = curl_exec($curl);
$err = curl_error($curl);

curl_close($curl);

if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
package main

import (
"fmt"
"strings"
"net/http"
"io"
)

func main() {

url := "https://api.aisa.one/apis/v1/dataforseo/domain_analytics/technologies/technology_stats/live"

payload := strings.NewReader("{\n \"technology\": \"<string>\",\n \"date_from\": \"<string>\",\n \"date_to\": \"<string>\",\n \"tag\": \"<string>\"\n}")

req, _ := http.NewRequest("POST", url, payload)

req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")

res, _ := http.DefaultClient.Do(req)

defer res.Body.Close()
body, _ := io.ReadAll(res.Body)

fmt.Println(string(body))

}
HttpResponse<String> response = Unirest.post("https://api.aisa.one/apis/v1/dataforseo/domain_analytics/technologies/technology_stats/live")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"technology\": \"<string>\",\n \"date_from\": \"<string>\",\n \"date_to\": \"<string>\",\n \"tag\": \"<string>\"\n}")
.asString();
require 'uri'
require 'net/http'

url = URI("https://api.aisa.one/apis/v1/dataforseo/domain_analytics/technologies/technology_stats/live")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"technology\": \"<string>\",\n \"date_from\": \"<string>\",\n \"date_to\": \"<string>\",\n \"tag\": \"<string>\"\n}"

response = http.request(request)
puts response.read_body
{
  "version": "<string>",
  "status_code": 123,
  "status_message": "<string>",
  "time": "<string>",
  "cost": 123,
  "tasks_count": 123,
  "tasks_error": 123,
  "tasks": [
    "<string>"
  ],
  "tasks.id": "<string>",
  "tasks.status_code": 123,
  "tasks.status_message": "<string>",
  "tasks.time": "<string>",
  "tasks.cost": 123,
  "tasks.result_count": 123,
  "tasks.path": [
    "<string>"
  ],
  "tasks.data": {},
  "tasks.result": [
    "<string>"
  ],
  "tasks.result.technology": "<string>",
  "tasks.result.date_from": "<string>",
  "tasks.result.date_to": "<string>",
  "tasks.result.items_count": 123,
  "tasks.result.items": [
    "<string>"
  ],
  "tasks.result.items.type": "<string>",
  "tasks.result.items.date": "<string>",
  "tasks.result.items.domains_count": 123,
  "tasks.result.items.countries": {},
  "tasks.result.items.languages": {},
  "tasks.result.items.domains_rank": {}
}

授权

Authorization
string
header
必填

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

请求体

application/json
technology
string
必填

目标技术,必填字段;可在此页面查看可指定的完整技术列表;示例:"Salesforce"

date_from
string

时间范围的开始日期;可选字段;最小值:2022-10-31;如果未指定此字段,将默认使用最小值;日期格式:"yyyy-mm-dd";示例:"2023-06-01"

date_to
string

时间范围的结束日期,可选字段。如果未指定此字段,默认使用当天日期。日期格式:"yyyy-mm-dd" 示例:"2023-01-15"

tag
string

用户定义的任务标识符。可选字段。字符数限制为 255。您可以使用此参数标识任务并将其与结果匹配;您将在响应的 data 对象中找到指定的 tag 值

响应

成功响应

version
string

API 的当前版本

status_code
integer

通用状态码;您可以在此处查看完整的响应码列表。注意:我们强烈建议设计必要的系统来处理相关异常或错误情况

status_message
string

常规信息消息;可在此处查看常规信息消息的完整列表

time
string

执行时间(秒)

cost
number

任务总成本(美元)

tasks_count
integer

tasks 数组中的任务数量

tasks_error
integer

返回错误的 tasks 数组中的任务数量

tasks
string[]

任务数组

tasks.id
string

任务标识符,系统中采用 UUID 格式的唯一任务标识符

tasks.status_code
integer

DataForSEO 生成的任务状态码;范围为:10000-60000;完整响应代码列表可在此处查看

tasks.status_message
string

任务的信息性消息,你可以在此处查看通用信息性消息的完整列表

tasks.time
string

执行时间(秒)

tasks.cost
number

任务成本(美元)

tasks.result_count
integer

结果数组中的元素数量

tasks.path
string[]

URL 路径

tasks.data
object

包含您在 POST 请求中指定的相同参数

tasks.result
string[]

结果数组

tasks.result.technology
string

目标技术

tasks.result.date_from
string

时间范围的起始日期

tasks.result.date_to
string

时间范围的结束日期

tasks.result.items_count
integer

results 数组中的项目数量

tasks.result.items
string[]

items 数组

tasks.result.items.type
string

项目类型 = ‘technology_stats_item’

tasks.result.items.date
string

所提供数据对应的日期

tasks.result.items.domains_count
integer

使用指定技术的域名数量

tasks.result.items.countries
object

网站按国家/地区的分布,包含国家/地区代码以及每个国家/地区的网站数量

tasks.result.items.languages
object

按语言划分的网站分布,包含语言代码及每种语言对应的网站数量

tasks.result.items.domains_rank
object

按反向链接排名划分的网站分布,包含域名排名区间以及每个区间内的网站数量。有关排名及其计算方式的更多信息,请参阅此帮助中心文章