DataForSEO SERP Bing Locations By Country
1积分/次
ae_dataforseo_serp_bing_locations_by_country
按国家代码查询 DataForSEO 支持的 Bing 搜索地区及地区代码。
1积分/次
价格说明
1积分/次
| 条件 | 费用 |
|---|---|
| 每次调用 | 1积分/次 |
每次调用固定收取1积分。
工具参数
未传入的可选参数将使用平台默认值。
| 参数 | 类型 | 必填 | 说明 | 默认值 |
|---|---|---|---|---|
country | string | 是 | <em>country ISO code</em><br>optional field<br>specify the ISO code if you want to filter the list of locations by country<br>example:<br><code>us</code> | — |
调用示例
复制请求代码,查看对应的返回示例。
POST
/agent-api/v1/tool/executeX-Api-Key请求代码request.sh
curl --request POST \
--url 'https://agentearth.ai/agent-api/v1/tool/execute?tool_name=ae_dataforseo_serp_bing_locations_by_country' \
--header "X-Api-Key: $AGENTEARTH_API_KEY" \
--header 'Content-Type: application/json' \
--data-raw '{
"params": {
"country": "sg"
}
}'返回示例response.json
{
"status_code": 20000,
"status_message": "Ok.",
"tasks": [
{
"data": {
"api": "serp",
"function": "locations",
"se": "bing"
},
"id": "11150735-2802-0096-0000-6dd5f80569f7",
"path": [
"v3"
],
"result": [
{
"country_iso_code": "SG",
"location_code": 2702,
"location_name": "Singapore",
"location_type": "Country"
}
],
"result_count": 60,
"status_code": 20000
}
],
"tasks_count": 1,
"tasks_error": 0,
"time": "0.0352 sec."
}返回示例仅展示部分内容,不代表完整响应;复制内容为合法 JSON。



