DataForSEO Google Bulk Traffic Estimation
https://api.sandbase.ai/v1/api/dataforseo/v3/dataforseo_labs/google/bulk_traffic_estimation/liveEstimate monthly organic and paid traffic for up to 100 domains, subdomains or URLs in Google by location and language.
- 价格
- 起价 $0.01224美元 / 次调用
- 方法
- POST
- 响应
- JSON
- 参数
- 0 个必填 · 3 个可选
Playground
您的输出将显示在这里
完成输入,然后点击运行。
API README
Google Bulk Traffic Estimation API
Returns estimated monthly organic and paid search traffic for a list of domains, subdomains or URLs on Google. Send up to 100 targets with a location_code and a language_code.
Use cases
- Compare the estimated organic traffic of several competitor domains in one call.
- Check whether a domain buys paid search traffic by reading its paid keyword count and traffic value.
- Rank a list of prospect sites by estimated search traffic before outreach.
- Track how a set of domains differs between locations by repeating the call with another
location_code.
Request
curl -X POST "https://api.sandbase.ai/v1/api/dataforseo/v3/dataforseo_labs/google/bulk_traffic_estimation/live" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"targets": ["openai.com", "anthropic.com"], "location_code": 2840, "language_code": "en"}'
The result is returned in outputs[0].
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
language_code | string | No | |
location_code | integer | No | |
targets | array | No |
Example response
Real response for the request above, trimmed: lists keep their first item and long strings are cut.
{
"status_code": 20000,
"status_message": "Ok.",
"tasks": [
{
"data": {
"api": "dataforseo_labs",
"function": "bulk_traffic_estimation",
"language_code": "en",
"location_code": 2840,
"se_type": "google",
"targets": [
"openai.com"
]
},
"id": "11030828-2190-0391-0000-28e0759fdf73",
"path": [
"v3"
],
"result": [
{
"items": [
{
"metrics": {
"featured_snippet": null,
"local_pack": null,
"organic": {
"count": 322762,
"etv": 18608008.67582856
},
"paid": {
"count": 40,
"etv": 422.7895669937134
}
},
"se_type": "google",
"target": "openai.com"
}
],
"items_count": 2,
"language_code": "en",
"location_code": 2840,
"se_type": "google",
"total_count": 2
}
],
"result_count": 1,
"status_code": 20000,
"status_message": "Ok.",
"time": "0.2070 sec."
}
],
"tasks_count": 1,
"tasks_error": 0,
"time": "0.2155 sec.",
"version": "0.1.20261022"
}
Response fields
| Field | Meaning |
|---|---|
tasks[].result[].items[].target | The domain, subdomain or URL that the metrics describe. Match it to the value you sent in targets. |
tasks[].result[].items[].metrics.organic.count | Number of organic results counted for the target, such as 322762 for openai.com. |
tasks[].result[].items[].metrics.organic.etv | Estimated traffic value (etv) of the target's organic results. Use it to compare targets with each other. |
tasks[].result[].items[].metrics.paid.count | Number of paid results counted for the target. A value of 0 means no paid results were found. |
tasks[].result[].items[].metrics.paid.etv | Estimated traffic value (etv) of the target's paid results. |
tasks[].result[].items[].metrics.featured_snippet / tasks[].result[].items[].metrics.local_pack | Metrics for featured snippet and local pack results. They are null when none apply to the target. |
tasks[].result[].items_count / tasks[].result[].total_count | Number of items in the result and total number of items available. Both are 2 for the two targets in this request. |
tasks[].result[].location_code / tasks[].result[].language_code | The location and language the estimate was calculated for. |
Notes
- Pass
targetsas an array of up to 100 strings. Each string can be a domain, a subdomain or a URL. - Use
location_code2840withlanguage_codeenfor the example request. Other location codes select other markets. - Results come back in
tasks[].result[].items[], one item per target. Readtasks[].status_codeto confirm the task succeeded (20000means OK).
Pricing
Billed at the actual cost of each call, about $0.01224 for the request above. Failed calls are not charged.
开始构建
发送您的第一条请求
具备统一身份验证和使用情况跟踪的平台 API 端点。
curl -X POST "https://api.sandbase.ai/v1/api/dataforseo/v3/dataforseo_labs/google/bulk_traffic_estimation/live" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"targets": [
"openai.com",
"anthropic.com"
],
"language_code": "en",
"location_code": 2840
}'2. 身份验证
将您的 SandBase API 密钥设置到服务器环境中。请求使用 Bearer 身份验证。
export SANDBASE_API_KEY="YOUR_API_KEY"请将密钥保存在服务器端。不要在浏览器代码中暴露它。
3. 参数
location_codeinteger
language_codestring
4. 响应
这是该 API 保存的示例响应;查看时不会发起实时请求。
尚未发布已保存的响应。请在 Playground 中运行 API 以查看其响应。
探索更多
相关 APIs
| API | 价格 | 响应 |
|---|---|---|
DataForSEO | 每次调用从 $0.01224 起 | JSON |
DataForSEO | 每次调用从 $0.0102 起 | JSON |
DataForSEO | 每次调用从 $0.000724 起 | JSON |
DataForSEO | $0.004 每次调用 | JSON |
DataForSEO | 每次调用从 $0.00162 起 | JSON |
DataForSEO | 每次调用从 $0.001105 起 | JSON |
问题
常见问题
如何使用 DataForSEO Google Bulk Traffic Estimation API?
向 https://api.sandbase.ai/v1/api/dataforseo/v3/dataforseo_labs/google/bulk_traffic_estimation/live 发送 POST 请求,在 Authorization 请求头中使用您的 SandBase API key(Bearer),并将参数作为 JSON 请求体传入。您也可以直接在本页的 Playground 中试用,无需编写代码。
DataForSEO Google Bulk Traffic Estimation API 的价格是多少?
起价每次调用 $0.01224,从您的 SandBase 余额中扣费。您只需为实际调用付费;无需订阅。
DataForSEO Google Bulk Traffic Estimation API 接受哪些参数?
无需参数。 可选:targets (array), location_code (integer) 和 language_code (string)。 Parameters 表和本页的 Playground 列出了每个字段。
DataForSEO Google Bulk Traffic Estimation API 返回什么?
在同一个 HTTP 请求中返回的 JSON 响应(同步)。 本页的 README 包含一个示例响应。
我需要 DataForSEO 开发者账户或 API key 吗?
不需要。DataForSEO Google Bulk Traffic Estimation 通过 SandBase 运行,因此一个 SandBase API key 即可覆盖此端点以及目录中的其他所有 API 和模型。您无需单独申请 DataForSEO API 访问权限。
