DataForSEO Merchant Amazon Locations By Country

1积分/次
ae_dataforseo_merchant_amazon_locations_by_country

通过 DataForSEO 查询指定国家的 Amazon 市场地区及代码。 返回所选国家的完整地区目录;较大国家可能包含数万条记录,请确认调用方能够处理大结果。

地图
1积分/次

价格说明

1积分/次
条件费用
每次调用1积分/次

按调用次数计费,每次固定费用为1积分。

工具参数

未传入的可选参数将使用平台默认值。

参数类型必填说明默认值
countrystring是Required two-letter ISO country code, for example us or cn. Returns the full location directory for that country. Large countries may return tens of thousands of records; ensure the caller can handle a large response.—

调用示例

复制请求代码,查看对应的返回示例。

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_merchant_amazon_locations_by_country' \
  --header "X-Api-Key: $AGENTEARTH_API_KEY" \
  --header 'Content-Type: application/json' \
  --data-raw '{
  "params": {
    "country": "us"
  }
}'
返回示例response.json
JSON部分内容
{
  "status_code": 20000,
  "status_message": "Ok.",
  "tasks": [
    {
      "data": {
        "api": "merchant",
        "function": "locations",
        "se": "amazon"
      },
      "id": "11150735-2802-0207-0000-bdecafb1e03c",
      "path": [
        "v3"
      ],
      "result": [
        {
          "country_iso_code": "US",
          "location_code": 2840,
          "location_name": "United States",
          "location_type": "Country"
        }
      ],
      "result_count": 31848,
      "status_code": 20000
    }
  ],
  "tasks_count": 1,
  "tasks_error": 0,
  "time": "0.0592 sec."
}

返回示例仅展示部分内容,不代表完整响应;复制内容为合法 JSON。