GET /v1/weibo/web_v2/fetch_city_list
Region City List
stable · 2 credits per success
Get region city mapping data for region filter parameter in user search APIs.;normalized: Whether to return normalized structure (default True);Province-city mapping data, for region parameter in fetch_user_search and other APIs;Note;Returned code format is custom:province_code:city_code, e.g. custom:11:1
Request parameters
| Name | Type | In | Required | Description | Example |
|---|---|---|---|---|---|
| normalized | boolean | query | no | 是否返回标准化结构(省份列表+城市数组) | demo |
Response fields
Field dictionary coming soon — the executable panel shows the live shape.
Errors
| code | HTTP | Meaning | Billed |
|---|---|---|---|
| 40001 | 400 | Invalid parameters | no |
| 40102 | 401 | Invalid or revoked API Key | no |
| 40201 | 402 | Insufficient credits | no |
| 40402 | 404 | Resource not found | no |
| 42201 | 422 | Quality gate failed | no |
| 42901 | 429 | Rate limit exceeded | no |
| 50401 | 504 | Upstream timeout | no |
| 50201 | 502 | Upstream error | no |
Billing
Success costs 2 credits. Any failure — including a 200 from upstream that fails the quality gate — costs 0.