Weibo City List
Retrieve Weibo province and city mappings to help build region filters for user searches and other operations that accept these codes. Input: normalized is an optional boolean, defaulting to true. Use true for a normalized structure with a province list and city arrays, or false to request data without normalization. No other input is needed. Result: province-city mapping data with region codes formatted as custom:province_code:city_code, such as custom:11:1. Use the relevant code in a compatible operation's region filter. This tool returns reference data, not matching users or their locations.
Pricing
| 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 |
|---|---|---|---|---|
normalized | boolean | No | 是否返回标准化结构(省份列表+城市数组)/Whether to return normalized structure | true |
Invocation example
Parameter templateGenerated from the parameter configuration. Replace the sample values before use.
/agent-api/v1/tool/executeX-Api-Keycurl --request POST \
--url 'https://agentearth.ai/agent-api/v1/tool/execute?tool_name=ae_weibo_city_list' \
--header "X-Api-Key: $AGENTEARTH_API_KEY" \
--header 'Content-Type: application/json' \
--data-raw '{
"params": {}
}'No response example available yet.

