WellbyteWellbyte

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

Sign up for 500 credits and run with your own API key. Sign up free

Request

curl -s 'https://api.wellbyte.net/v1/weibo/web_v2/fetch_city_list?normalized=demo' \
  -H "Authorization: Bearer dg_live_…"

Response

Sample captured 2026-08-27

data{
code:0
data{
provinces[ 2 items ]
}
meta{
endpoint:"weibo.web_v2.fetch_city_list"
cache_hit:false
elapsed_ms:0
request_id:"req_sample"
credits_charged:0
}
message:"ok"
}

No calls yet. Get one green run first, then switch to your own data.

    Request parameters

    NameTypeInRequiredDescriptionExample
    normalizedbooleanqueryno是否返回标准化结构(省份列表+城市数组)demo

    Response fields

    Field dictionary coming soon — the executable panel shows the live shape.

    Errors

    codeHTTPMeaningBilled
    40001400Invalid parametersno
    40102401Invalid or revoked API Keyno
    40201402Insufficient creditsno
    40402404Resource not foundno
    42201422Quality gate failedno
    42901429Rate limit exceededno
    50401504Upstream timeoutno
    50201502Upstream errorno

    Billing

    Success costs 2 credits. Any failure — including a 200 from upstream that fails the quality gate — costs 0.

    Search

    Search endpoints and docs