Skip to content
Eden Engine

Weibo Province and City Code List (Normalized)

omnial/weibo-province-city-codes

Returns Weibo's region code list in its normalized form: each province-level region (including Hong Kong, Macau, Taiwan, overseas and other) with its name and numeric code, and under each its cities or districts with their names and numeric codes. The first entry is the picker's header row with code 0.

activeper callv1

Price

Up to $0.00205 per call; you pay what the call used

The price shown is the price you pay. No monthly minimum. Top-ups start at $5.

Data source

Weibo

Data from Weibo.

Use it

Five steps: search, inspect, learn, run, settle. No per-tool setup; your agent reaches this tool through the meta-tools it already has.

agent
// 1. search: find the tool
omnial_search({ query: "what you need" })

// 2. inspect: price and input schema
omnial_inspect({ tool: "omnial/weibo-province-city-codes" })

// 3. learn: read the usage guide at runtime
omnial_learn({ tool: "omnial/weibo-province-city-codes" })

// 4. run: price the exact call first, then run it
omnial_execute({ tool: "omnial/weibo-province-city-codes", input: { /* see input_schema */ }, dry_run: true })
omnial_execute({ tool: "omnial/weibo-province-city-codes", input: { /* ... */ } })

// 5. settle: the call is charged when it finishes, nothing to do

Not connected yet? Point your MCP client at https://mcp.eden-engine.com/mcp, then copy a config for your client.

Pricing

Every charge this tool can incur.

ChargePrice
Per call
$0.00205
Updated
Oct 14, 2026

Input and output schemas

Input schema
input_schema.json
{
  "type": "object",
  "required": [
    "normalized"
  ],
  "properties": {
    "normalized": {
      "enum": [
        true
      ],
      "type": "boolean",
      "description": "Return the normalized structure (provinces, each with its cities); pass true, the only value offered."
    }
  },
  "additionalProperties": false
}
Output schema
output_schema.json
{
  "type": "object",
  "properties": {
    "provinces": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "code": {
            "type": "number",
            "description": "The region's numeric code."
          },
          "name": {
            "type": "string",
            "description": "The region's name, in Chinese."
          },
          "cities": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "code": {
                  "type": "number",
                  "description": "The city's numeric code within its region."
                },
                "name": {
                  "type": "string",
                  "description": "The city's name, in Chinese."
                }
              }
            },
            "description": "The region's cities or districts."
          }
        }
      },
      "description": "Province-level regions, the header row first."
    }
  },
  "description": "The region code list, as returned after shaping."
}