curl --request POST \
--url https://api.aisa.one/v1/tasks/seo.get_domain_overview \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"input": {
"domain": "hubspot.com"
}
}
'
{
"meta": {
"approximate_fields": [
"<string>"
],
"delivered": true,
"missing_fields": {}
},
"result": {
"country": "US",
"domain": "<string>",
"lost_keywords": 123,
"month": "<string>",
"new_keywords": 123,
"organic_keywords": 123,
"organic_traffic": 123,
"organic_traffic_value": {
"amount": 123,
"currency": "<string>"
},
"paid_keywords": 123,
"paid_traffic": 123,
"paid_traffic_cost": {
"amount": 123,
"currency": "<string>"
}
},
"status": "found",
"task": "seo.get_domain_overview",
"version": 1
}{
"error": {
"code": "invalid_request",
"message": "<string>",
"request_id": "<string>",
"retry_hint": "never",
"retryable": true,
"param": "<string>",
"problems": [
"<string>"
],
"similar_tasks": [
"<string>"
],
"task_id": "<string>"
}
}Seo
查域名的自然流量与关键词概况
需要了解一个网站在某国 Google 搜索中的可见度时使用:有排名的关键词数、估算的每月自然流量及其价值,以及 Google 广告投放规模。数据均为估算值,多个独立来源的估算并列返回(by_source),各自带状态。
POST
https://api.aisa.one
/
v1
/
tasks
/
seo.get_domain_overview
curl --request POST \
--url https://api.aisa.one/v1/tasks/seo.get_domain_overview \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"input": {
"domain": "hubspot.com"
}
}
'
{
"meta": {
"approximate_fields": [
"<string>"
],
"delivered": true,
"missing_fields": {}
},
"result": {
"country": "US",
"domain": "<string>",
"lost_keywords": 123,
"month": "<string>",
"new_keywords": 123,
"organic_keywords": 123,
"organic_traffic": 123,
"organic_traffic_value": {
"amount": 123,
"currency": "<string>"
},
"paid_keywords": 123,
"paid_traffic": 123,
"paid_traffic_cost": {
"amount": 123,
"currency": "<string>"
}
},
"status": "found",
"task": "seo.get_domain_overview",
"version": 1
}{
"error": {
"code": "invalid_request",
"message": "<string>",
"request_id": "<string>",
"retry_hint": "never",
"retryable": true,
"param": "<string>",
"problems": [
"<string>"
],
"similar_tasks": [
"<string>"
],
"task_id": "<string>"
}
}上方请求和响应面板使用此 API 发布的 Schema。条件必填和参数组合限制属于请求契约;组合筛选条件或账号身份前,请查看完整 Schema。
查询 BBC 在英国 Google 搜索中的概况
成功交付才收费;正常查空不收费。
发送相同请求并带上
示例
以下请求可直接运行;请求面板中也可选择同样的示例。 查询 HubSpot 在美国 Google 搜索中的概况{
"input": {
"domain": "hubspot.com"
}
}
{
"input": {
"domain": "bbc.co.uk",
"country": "GB"
}
}
计费
| 输入 | 计价单位 | 价格 (USD) |
|---|---|---|
| 所有有效输入 | 每次成功请求 | 0.0428 |
X-AISA-Cost-Mode: quote,获取与输入对应的报价;报价不执行任务,也不预扣资金。实际执行时预扣预计请求费用,按上述规则结算。用 X-AISA-Max-Price-USD 设置价格上限。
执行任务时使用 Idempotency-Key。错误时查看 error.code、error.request_id、error.retryable 和 error.retry_hint。提示先核对结算时,应先查询原请求再决定是否重试;不能把待结算当作已退款。