# 技术聚合

**API:** Data API

**Endpoint:** `POST /v1/beta/dataforseo/domain_analytics/technologies/aggregation_technologies/live`

**Tags:** DataForSEO

这里返回的是计数而非域名：有多少站点匹配某项技术查询，并按群组、类别和技术细分。返回 `total_count`、`items_count`、`offset` 和 `items`，其中 `internal_groups_list_limit`、`internal_categories_list_limit`、`internal_technologies_list_limit` 和 `internal_list_limit` 分别限制不同的嵌套层级——四个都要设置，否则响应会迅速膨胀。要域名本身而非计数，请使用 `post_dataforseo_domains_tech_domains_by_technology_live`。

### 计费参考

- 计量方式：按上报的响应成本计量。
- 参考请求估算：0.012 美元。
- 参考客户倍率：1.0。不得对已结算的客户金额再次应用。

仅供参考的元数据，不是账户报价、保证价格或消费上限。资源额度不同于 Felo 额度。最终扣费以 Felo 计费记录为准。

## Base URL

- `https://openapi.felo.ai`

## Authentication

- `FeloBearerAuth` (http bearer, bearer format Felo API Key)
- `FeloApiKey` (apiKey in header `X-API-Key`)

## Request body

Required: **no**

### application/json

Schema:

```json
{
  "type": "array",
  "items": {
    "type": [
      "object",
      "null"
    ],
    "oneOf": [
      {
        "type": "object",
        "properties": {
          "group": {
            "type": "string",
            "description": "<em>目标技术分组的 id</em><br><strong>未指定 <code>technology</code>、<code>category</code> 或 <code>keyword</code> 时为必填字段</strong><br>必须至少设置一个字段（<code>group</code>、<code>category</code>、<code>keyword</code>、<code>technology</code>）<br>可<a href=\"/v3/domain_analytics/technologies/technologies\" target=\"_blank\" rel=\"noopener noreferrer\">在此页面</a>查看技术分组 id 的完整列表<br>示例：<br><code>\"marketing\"</code>"
          },
          "category": {
            "type": "string",
            "description": "<em>目标技术类别的 id</em><br><strong>未指定 <code>group</code>、<code>keyword</code> 或 <code>technology</code> 时为必填字段</strong><br>必须至少设置一个字段（<code>group</code>、<code>category</code>、<code>keyword</code>、<code>technology</code>）<br>可<a href=\"/v3/domain_analytics/technologies/technologies\" target=\"_blank\" rel=\"noopener noreferrer\">在此页面</a>查看技术类别 id 的完整列表<br>示例：<br><code>\"crm\"</code>"
          },
          "technology": {
            "type": "string",
            "description": "<em>目标技术</em><br><strong>未指定 <code>group</code>、<code>keyword</code> 或 <code>category</code> 时为必填字段</strong><br>至少需设置一个字段（<code>group</code>、<code>category</code>、<code>keyword</code>、<code>technology</code>）<br>完整技术列表见 <a href=\"/v3/domain_analytics/technologies/technologies\" target=\"_blank\" rel=\"noopener noreferrer\">此页面</a><br>示例：<br><code>\"Salesforce\"</code>"
          },
          "keyword": {
            "type": "string",
            "description": "<em>域名元关键词中的目标关键词</em><br><strong>未指定 <code>group</code>、<code>category</code> 或 <code>technology</code> 时为必填字段</strong><br>必须至少设置一个字段（<code>group</code>、<code>category</code>、<code>keyword</code>、<code>technology</code>）<br>UTF-8 编码<br>示例：<br><code>\"seo\"</code>有关 DataForSEO API 中 <code>keyword</code> 和 <code>keywords</code> 字段的规则与限制，请参阅这篇 <a href=\"https://dataforseo.com/help-center/rules-and-limitations-of-keyword-and-keywords-fields-in-dataforseo-apis\" rel=\"noopener noreferrer\" target=\"_blank\">帮助中心文章</a>"
          },
          "mode": {
            "type": [
              "string",
              "null"
            ],
            "description": "<em>搜索模式</em><br>可选字段<br>可能的搜索模式类型：<br><code>as_is</code> - 搜索与指定的分组 id、类别 id 或技术名称完全匹配的结果<br><code>entry</code> - 搜索与指定的分组 id、类别 id 或技术名称的一部分匹配的结果<br>默认值：<code>as_is</code>"
          },
          "filters": {
            "type": [
              "array",
              "null"
            ],
            "items": {
              "type": [
                "object",
                "null"
              ]
            },
            "description": "<em>结果筛选参数数组</em><br>可选字段<br><strong>可同时添加多个筛选条件（最多 8 个）</strong><br>应在条件之间设置逻辑运算符 <code>and</code>、<code>or</code><br>支持以下运算符：<br><code>&lt;</code>、<code>&lt;=</code>、<code>&gt;</code>、<code>&gt;=</code>、<code>=</code>、<code>&lt;&gt;</code>、<code>in</code>、<code>not_in</code>、<code>like</code>、<code>not_like</code><br>可在 <code>like</code> 和 <code>not_like</code> 中使用 <code>%</code> 运算符，匹配任意长度（零个或多个字符）的字符串<br>可使用以下参数筛选结果：<code>domain_rank</code>、<code>last_visited</code>、<code>country_iso_code</code>、<code>language_code</code>、<code>content_language_code</code><br><strong>注意：</strong>所有筛选参数均取自 <a href=\"/v3/domain_analytics/technologies/filters\" target=\"_blank\" rel=\"noopener noreferrer\">domain_technologies</a> 端点的 <code>domain_technology_item</code>；<br>示例：<br><code>[[\"country_iso_code\",\"=\",\"US\"],<br>\"and\",<br>[\"domain_rank\",\"&gt;\",800]]</code>有关筛选条件的更多信息，请参阅 <a href=\"/v3/domain_analytics/technologies/filters\" target=\"_blank\" rel=\"noopener noreferrer\">Domain Analytics Technologies API - Filters</a>"
          },
          "order_by": {
            "type": [
              "array",
              "null"
            ],
            "items": {
              "type": "string"
            },
            "description": "<em>结果排序规则</em><br>可选字段<br>可使用以下值对结果排序：<code>groups_count</code>、<code>categories_count</code>、<code>technologies_count</code><br>可能的排序类型：<br><code>asc</code> - 结果将按升序排列<br><code>desc</code> - 结果将按降序排列<br>应使用逗号设置排序类型<br>示例：<br><code>[\"groups_count,desc\"]</code><br><strong>注意，单次请求中最多可设置三条排序规则</strong><br>应使用逗号分隔多条排序规则<br>示例：<br><code>[\"groups_count,desc\",\"technologies_count,desc\"]</code><br>默认值：<br><code>[\"groups_count,desc\",\"categories_count,desc\",\"technologies_count,desc\"]</code>"
          },
          "internal_groups_list_limit": {
            "type": [
              "integer",
              "null"
            ],
            "description": "<em>返回的技术分组最大数量</em><br>可选字段<br>可使用此字段限制结果中 <code>\"group\"</code> 相同的项目数量<br>默认值：<code>5</code><br>最小值：<code>1</code><br>最大值：<code>10000</code>"
          },
          "internal_categories_list_limit": {
            "type": [
              "integer",
              "null"
            ],
            "description": "<em>同一分组内返回的技术类别最大数量</em><br>可选字段<br>可使用此字段限制结果中 <code>\"category\"</code> 相同的项目数量<br>默认值：<code>5</code><br>最小值：<code>1</code><br>最大值：<code>10000</code>"
          },
          "internal_technologies_list_limit": {
            "type": [
              "integer",
              "null"
            ],
            "description": "<em>同一类别内返回的技术最大数量</em><br>可选字段<br>可使用此字段限制结果中 <code>\"technology\"</code> 相同的项目数量<br>默认值：<code>10</code><br>最小值：<code>1</code><br>最大值：<code>10000</code>"
          },
          "internal_list_limit": {
            "type": [
              "integer",
              "null"
            ],
            "description": "<em><code>\"category\"</code>、<code>\"group\"</code> 和 <code>\"technology\"</code> 相同的项目最大数量</em><br>可选字段<br>如果使用此字段，<code>internal_groups_list_limit</code>、<code>internal_categories_list_limit</code> 和 <code>internal_technologies_list_limit</code> 中指定的值将被忽略；<br>可使用此字段限制 <code>\"category\"</code>、<code>\"group\"</code> 或 <code>\"technology\"</code> 相同的项目数量<br>默认值：<code>10</code><br>最小值：<code>1</code><br>最大值：<code>10000</code>"
          },
          "limit": {
            "type": [
              "integer",
              "null"
            ],
            "description": "<em>返回的技术最大数量</em><br>可选字段<br>默认值：<code>100</code><br>最大值：<code>10000</code>"
          },
          "offset": {
            "type": [
              "integer",
              "null"
            ],
            "description": "<em>返回的域名在结果数组中的偏移量</em><br>可选字段<br>默认值：<code>0</code><br>最大值：<code>9999</code><br>如果指定 <code>10</code>，结果数组中的前十个技术将被跳过，并返回后续技术的数据"
          },
          "tag": {
            "type": [
              "string",
              "null"
            ],
            "description": "<em>用户自定义任务标识符</em><br>可选字段<br><em>字符数上限为 255</em><br>可使用此参数标识任务，并将其与结果对应<br>可在响应的 <code>data</code> 对象中找到指定的 <code>tag</code> 值"
          }
        },
        "example": [
          {
            "mode": "entry",
            "technology": "Nginx",
            "keyword": "WordPress",
            "filters": [
              [
                "country_iso_code",
                "=",
                "US"
              ],
              "and",
              [
                "domain_rank",
                ">",
                800
              ]
            ],
            "order_by": [
              "groups_count,desc"
            ],
            "limit": 10
          }
        ]
      }
    ]
  },
  "example": [
    {
      "mode": "entry",
      "technology": "Nginx",
      "keyword": "WordPress",
      "filters": [
        [
          "country_iso_code",
          "=",
          "US"
        ],
        "and",
        [
          "domain_rank",
          ">",
          800
        ]
      ],
      "order_by": [
        "groups_count,desc"
      ],
      "limit": 10
    }
  ]
}
```

## Responses

### 200 — 操作成功

Headers:
- `X-Request-Id` (string) — 联系 Felo 支持时需提供的请求标识符。

**application/json**

Schema: object | null

```json
{
  "type": [
    "object",
    "null"
  ],
  "oneOf": [
    {
      "$ref": "#/components/schemas/Response36Afe1097B20_DomainAnalyticsTechnologiesAggregationTechnologiesLiveResponseInfo"
    }
  ]
}
```

### 400 — 无法处理该请求。请检查请求参数。

### 401 — 需要有效的 Felo API 密钥。

### 402 — 由于未满足计费要求，请求无法继续。

### 403 — 该账户无权执行此操作。

### 429 — 已达到请求或支出限额。

### 502 — 服务无法完成该请求。

### 503 — API 或计费服务暂时不可用。

### 504 — 服务在处理请求时超时。

### default — 错误响应；上游透传响应可能采用提供方格式

**application/json**

Schema:

```json
{}
```

## Schema definitions

### Response36Afe1097B20_BaseResponseInfo

`#/components/schemas/Response36Afe1097B20_BaseResponseInfo`

```json
{
  "properties": {
    "version": {
      "type": [
        "string",
        "null"
      ],
      "description": "API 的当前版本"
    },
    "status_code": {
      "type": [
        "integer",
        "null"
      ],
      "description": "通用状态码\n完整响应码列表见此处"
    },
    "status_message": {
      "type": [
        "string",
        "null"
      ],
      "description": "通用信息性消息\n完整的一般信息性消息列表见此处"
    },
    "time": {
      "type": [
        "string",
        "null"
      ],
      "description": "总执行时间，秒"
    },
    "cost": {
      "type": [
        "number",
        "null"
      ],
      "description": "任务总费用，美元",
      "format": "double"
    },
    "tasks_count": {
      "type": [
        "integer",
        "null"
      ],
      "description": "tasks 数组中的任务数",
      "format": "int64"
    },
    "tasks_error": {
      "type": [
        "integer",
        "null"
      ],
      "description": "tasks 数组中返回错误的任务数",
      "format": "int64"
    }
  }
}
```

### Response36Afe1097B20_BaseResponseTaskInfo

`#/components/schemas/Response36Afe1097B20_BaseResponseTaskInfo`

```json
{
  "properties": {
    "id": {
      "type": [
        "string",
        "null"
      ],
      "description": "任务标识符\n我们系统中 UUID 格式的唯一任务标识符"
    },
    "status_code": {
      "type": [
        "integer",
        "null"
      ],
      "description": "任务的状态码\n由 DataForSEO 生成，范围如下：10000-60000\n完整响应码列表见此处"
    },
    "status_message": {
      "type": [
        "string",
        "null"
      ],
      "description": "任务的信息性消息\n完整的一般信息性消息列表见此处"
    },
    "time": {
      "type": [
        "string",
        "null"
      ],
      "description": "执行时间，秒"
    },
    "cost": {
      "type": [
        "number",
        "null"
      ],
      "description": "任务总费用，美元",
      "format": "double"
    },
    "result_count": {
      "type": [
        "integer",
        "null"
      ],
      "description": "result 数组中的元素数",
      "format": "int64"
    },
    "path": {
      "type": [
        "array",
        "null"
      ],
      "items": {
        "type": [
          "string",
          "null"
        ]
      },
      "description": "URL 路径"
    },
    "data": {
      "type": [
        "object",
        "null"
      ],
      "additionalProperties": {
        "type": [
          "object",
          "null"
        ]
      },
      "description": "包含你在 POST 请求中指定的相同参数"
    }
  }
}
```

### Response36Afe1097B20_DomainAnalyticsTechnologiesAggregationTechnologiesLiveItem

`#/components/schemas/Response36Afe1097B20_DomainAnalyticsTechnologiesAggregationTechnologiesLiveItem`

```json
{
  "type": "object",
  "properties": {
    "type": {
      "type": [
        "string",
        "null"
      ],
      "description": "元素类型"
    },
    "group": {
      "type": [
        "string",
        "null"
      ],
      "description": "<em>技术组 ID</em>"
    },
    "category": {
      "type": [
        "string",
        "null"
      ],
      "description": "<em>技术类别 ID</em>"
    },
    "technology": {
      "type": [
        "string",
        "null"
      ],
      "description": "<em>技术名称</em>"
    },
    "groups_count": {
      "type": [
        "integer",
        "null"
      ],
      "description": "<em>技术组数量</em><br>匹配你指定参数且使用所示 <code>group</code> 中技术的域名数量",
      "format": "int64"
    },
    "categories_count": {
      "type": [
        "integer",
        "null"
      ],
      "description": "<em>技术类别数量</em><br>匹配你指定参数且使用所示 <code>category</code> 中技术的域名数量",
      "format": "int64"
    },
    "technologies_count": {
      "type": [
        "integer",
        "null"
      ],
      "description": "<em>技术数量</em><br>匹配你指定参数且使用所示 <code>technology</code> 的域名数量",
      "format": "int64"
    }
  },
  "description": "条目数组"
}
```

### Response36Afe1097B20_DomainAnalyticsTechnologiesAggregationTechnologiesLiveResponseInfo

`#/components/schemas/Response36Afe1097B20_DomainAnalyticsTechnologiesAggregationTechnologiesLiveResponseInfo`

```json
{
  "type": "object",
  "allOf": [
    {
      "$ref": "#/components/schemas/Response36Afe1097B20_BaseResponseInfo"
    },
    {
      "type": "object",
      "properties": {
        "tasks": {
          "type": [
            "array",
            "null"
          ],
          "items": {
            "type": [
              "object",
              "null"
            ],
            "oneOf": [
              {
                "$ref": "#/components/schemas/Response36Afe1097B20_DomainAnalyticsTechnologiesAggregationTechnologiesLiveTaskInfo"
              }
            ]
          },
          "description": "<em>任务数组</em>"
        }
      }
    }
  ]
}
```

### Response36Afe1097B20_DomainAnalyticsTechnologiesAggregationTechnologiesLiveResultInfo

`#/components/schemas/Response36Afe1097B20_DomainAnalyticsTechnologiesAggregationTechnologiesLiveResultInfo`

```json
{
  "type": "object",
  "properties": {
    "total_count": {
      "type": [
        "integer",
        "null"
      ],
      "description": "<em>我们数据库中与你的请求相关的结果总数</em>",
      "format": "int64"
    },
    "items_count": {
      "type": [
        "integer",
        "null"
      ],
      "description": "<em><code>items</code> 数组中返回的结果数</em>",
      "format": "int64"
    },
    "offset": {
      "type": [
        "integer",
        "null"
      ],
      "description": "返回域名结果数组中的偏移量"
    },
    "items": {
      "type": [
        "array",
        "null"
      ],
      "items": {
        "type": [
          "object",
          "null"
        ],
        "oneOf": [
          {
            "$ref": "#/components/schemas/Response36Afe1097B20_DomainAnalyticsTechnologiesAggregationTechnologiesLiveItem"
          }
        ]
      }
    }
  }
}
```

### Response36Afe1097B20_DomainAnalyticsTechnologiesAggregationTechnologiesLiveTaskInfo

`#/components/schemas/Response36Afe1097B20_DomainAnalyticsTechnologiesAggregationTechnologiesLiveTaskInfo`

```json
{
  "type": "object",
  "allOf": [
    {
      "$ref": "#/components/schemas/Response36Afe1097B20_BaseResponseTaskInfo"
    },
    {
      "type": "object",
      "properties": {
        "result": {
          "type": [
            "array",
            "null"
          ],
          "items": {
            "type": [
              "object",
              "null"
            ],
            "oneOf": [
              {
                "$ref": "#/components/schemas/Response36Afe1097B20_DomainAnalyticsTechnologiesAggregationTechnologiesLiveResultInfo"
              }
            ]
          },
          "description": "<em>结果数组</em>"
        }
      }
    }
  ]
}
```
