Instagram Fetch Cities
2.07 credits/call
ae_instagram_fetch_cities
获取指定国家的城市或地区列表,可使用页码分页。 **输入** - `country_code`:必填,国家代码,例如 `US`、`CN` 或 `JP`。 - `page`:可选,页码,默认为 `1`,最小值为 `1`。 **返回** 返回服务响应及其 `data` 数据,其中包含请求国家对应的城市或地区结果;如服务提供,还会包含国家信息和下一页等分页信息。
2.07 credits/call
Pricing
2.07 credits/call
| Condition | Charge |
|---|---|
| Each call | 2.07 credits/call |
2.07 credits/call Charges are per query. A successful query is billed even if it returns no results.
Parameters
Optional parameters use the platform defaults when omitted.
| Parameter | Type | Required | Description | Default |
|---|---|---|---|---|
page | integer | No | 页码/Page number | 1 |
country_code | string | Yes | 国家代码(如US、CN、JP)/Country code (e.g. US, CN, JP) | — |
Invocation example
Parameter templateGenerated from the parameter configuration. Replace the sample values before use.
POST
/agent-api/v1/tool/executeX-Api-KeyRequest coderequest.sh
curl --request POST \
--url 'https://agentearth.ai/agent-api/v1/tool/execute?tool_name=ae_instagram_fetch_cities' \
--header "X-Api-Key: $AGENTEARTH_API_KEY" \
--header 'Content-Type: application/json' \
--data-raw '{
"params": {
"country_code": "xxx"
}
}'No response example available yet.

