Weibo Region City List
https://api.sandbase.ai/v1/api/weibo/web-v2/city-listReturns a directory of provinces and cities on Weibo. Supports toggling a normalized data structure via the normalized parameter.
- Price
- $0.0015USD / callFirst 100 calls per day free (shared per organization)
- Method
- POST
- Response
- JSON
- Parameters
- 0 required · 1 optional
Try the model
Playground
[
{
"data": {
"provinces": [
{
"cities": [
{
"code": 0,
"name": "城市/地区"
}
],
"code": 0,
"name": "省/直辖市"
},
{
"cities": [
{
"code": 1,
"name": "合肥"
},
{
"code": 2,
"name": "芜湖"
},
{
"code": 3,
"name": "蚌埠"
},
{
"code": 4,
"name": "淮南"
},
{
"code": 5,
"name": "马鞍山"
},
{
"code": 6,
"name": "淮北"
},
{
"code": 7,
"name": "铜陵"
},
{
"code": 8,
"name": "安庆"
},
{
"code": 10,
"name": "黄山"
},
{
"code": 11,
"name": "滁州"
},
{
"code": 12,
"name": "阜阳"
},
{
"code": 13,
"name": "宿州"
},
{
"code": 14,
"name": "巢湖"
},
{
"code": 15,
"name": "六安"
},
{
"code": 16,
"name": "亳州"
},
{
"code": 17,
"name": "池州"
},
{
"code": 18,
"name": "宣城"
}
],
"code": 34,
"name": "安徽"
},
{
"cities": [
{
"code": 1,
"name": "东城区"
},
{
"code": 2,
"name": "西城区"
},
{
"code": 3,
"name": "崇文区"
},
{
"code": 4,
"name": "宣武区"
},
{
"code": 5,
"name": "朝阳区"
},
{
"code": 6,
"name": "丰台区"
},
{
"code": 7,
"name": "石景山区"
},
{
"code": 8,
"name": "海淀区"
},
{
"code": 9,
"name": "门头沟区"
},
{
"code": 11,
"name": "房山区"
},
{
"code": 12,
"name": "通州区"
},
{
"code": 13,
"name": "顺义区"
},
{
"code": 14,
"name": "昌平区"
},
{
"code": 15,
"name": "大兴区"
},
{
"code": 16,
"name": "怀柔区"
},
{
"code": 17,
"name": "平谷区"
},
{
"code": 28,
"name": "密云县"
},
{
"code": 29,
"name": "延庆县"
}
],
"code": 11,
"name": "北京"
},
{
"cities": [
{
"code": 1,
"name": "万州区"
},
{
"code": 2,
"name": "涪陵区"
},
{
"code": 3,
"name": "渝中区"
},
{
"code": 4,
"name": "大渡口区"
},
{
"code": 5,
"name": "江北区"
},
{
"code": 6,
"name": "沙坪坝区"
},
{
"code": 7,
"name": "九龙坡区"
},
{
"code": 8,
"name": "南岸区"
},
{
"code": 9,
"name": "北碚区"
},
{
"code": 10,
"name": "万盛区"
},
{
"code": 11,
"name": "双桥区"
},
{
"code": 12,
"name": "渝北区"
},
{
"code": 13,
"name": "巴南区"
},
{
"code": 14,
"name": "黔江区"
},
{
"code": 15,
"name": "长寿区"
},
{
"code": 22,
"name": "綦江县"
},
{
"code": 23,
"name": "潼南县"
},
{
"code": 24,
"name": "铜梁县"
},
{
"code": 25,
"name": "大足县"
},
{
"code": 26,
"name": "荣昌县"
},
{
"code": 27,
"name": "璧山县"
},
{
"code": 28,
"name": "梁平县"
},
{
"code": 29,
"name": "城口县"
},
{
"code": 30,
"name": "丰都县"
},
{
"code": 31,
"name": "垫江县"
},
{
"code": 32,
"name": "武隆县"
},
{
"code": 33,
"name": "忠县"
},
{
"code": 34,
"name": "开县"
},
{
"code": 35,
"name": "云阳县"
},
{
"code": 36,
"name": "奉节县"
},
{
"code": 37,
"name": "巫山县"
},
{
"code": 38,
"name": "巫溪县"
},
{
"code": 40,
"name": "石柱土家族自治县"
},Examples
Select an example to load its inputs and result into the playground.
Model card
Specifications
Pricing
- Base price
- $0.0015 / run
- Daily free calls
- First 100 calls per day free (shared per organization)
Request & response
- Method
- POST
- Request body
- application/json
- Response
- application/json
- Execution
- sync
Parameters
- normalized
- boolean · optional
Access
- Provider
- API
- Platform API
- Base URL
- https://api.sandbase.ai
- Endpoint
- /v1/api/weibo/web-v2/city-list
- Authentication
- Bearer API key
API README
Weibo Region City List API
Call this endpoint to retrieve the list of provinces and cities on Weibo. Configure normalized to select between raw or normalized regional hierarchy formats.
Use cases
- Populate regional dropdown filters for Weibo content analytics.
- Map user location records against standardized Chinese administrative divisions.
- Standardize geographical search queries within Weibo automation workflows.
Request
curl -X POST "https://api.sandbase.ai/v1/api/weibo/web-v2/city-list" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{}'
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
normalized | boolean | No | Whether to return normalized structure (default True) |
Example response
Real response for the request above, trimmed to the main fields. User names and long IDs are masked.
{
"provinces": [
{
"name": "省/直辖市"
}
]
}
Notes
- The
normalizedparameter defaults to true and controls whether the regional structure is normalized.
Related APIs
- Weibo Advanced Search: Search Weibo posts by keyword with filters for time range, post type (hot, original, verified, media) and content type (images, video, links).
- Weibo AI Related Search Content: Returns AI-generated content extensions for a keyword, including related questions, recommended bloggers, and reference posts.
- Weibo AI Search: Returns multimodal search results and relevance scores from Weibo intelligent search for a specified keyword or topic query.
Start building
Send your first request
Platform API endpoint with unified authentication and usage tracking.
# The quoted heredoc keeps Unicode and shell metacharacters unchanged.
result=$(curl --fail-with-body --silent \
-X POST "https://api.sandbase.ai/v1/api/weibo/web-v2/city-list" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
--data-binary @- <<'SANDBASE_JSON'
{
"normalized": true
}
SANDBASE_JSON
)
printf '%s\n' "$result"Explore more
Related APIs
| API | Price | Response | Released |
|---|---|---|---|
Weibo Region City ListThis API Weibo | $0.0015 per call | JSON | Jul 31, 2026 |
Weibo | $0.0015 per call | JSON | Jul 31, 2026 |
Weibo | $0.0015 per call | JSON | Jul 31, 2026 |
Weibo | $0.0015 per call | JSON | Jul 31, 2026 |
Weibo | $0.0015 per call | JSON | Jul 31, 2026 |
Weibo | $0.0015 per call | JSON | Jul 31, 2026 |
Questions
FAQ
How do I use the Weibo Region City List API?
Send a POST request to https://api.sandbase.ai/v1/api/weibo/web-v2/city-list with your SandBase API key in the Authorization header (Bearer) and the parameters as a JSON body. You can also try it in the Playground on this page without writing code.
How much does the Weibo Region City List API cost?
$0.0015 per call. Every organization gets 100 free calls per UTC day, shared across eligible SandBase APIs including this one; after that each call is billed at this price from your SandBase balance. There is no subscription.
What parameters does the Weibo Region City List API accept?
No parameters are required. Optional: normalized (boolean). The Parameters table and the Playground on this page list every field.
What does the Weibo Region City List API return?
A JSON response returned in the same HTTP request (synchronous). The README on this page includes a sample response.
Do I need a Weibo developer account or API key?
No. Weibo Region City List runs through SandBase, so one SandBase API key covers this endpoint and every other API and model in the catalog. You do not need to apply for Weibo API access separately.
