Get region list information

HTTP method

Endpoint

GET

/v1/dict_region

Note: When you request this field, it will return you the targeted region information from the dictionary .

Path parameters

Parameter

Description

country

name/id of the country .

Note: Countrys field can't be null

Response body parameters

Field

Type

Description

country_id

string

Id of the country.

dict_region

array[string]

The country's regions.

id

string

Id of the region.

region_name

string

International short of this region.

Example request

Request GET http://{networkname}.api.offerslook.com/v1/dict_region?country=CN

Example response

{
    "code": 0,
    "message": "Success",
    "data": {
        "dict_region": [
            {
                "id": 633,
                "region_name": "Anhui Sheng"
            },
            {
                "id": 634,
                "region_name": "AOL"
            },
            {
                "id": 635,
                "region_name": "Beijing Shi"
            },
            {
                "id": 636,
                "region_name": "China"
            },
            {
                "id": 637,
                "region_name": "Chongqing Shi"
            },
            {
                "id": 638,
                "region_name": "Fujian Sheng"
            },
            {
                "id": 639,
                "region_name": "Gansu Sheng"
            },
            {
                "id": 640,
                "region_name": "Guangdong Sheng"
            },
            {
                "id": 641,
                "region_name": "Guangxi Zhuangzu Zizhiqu"
            },
            {
                "id": 642,
                "region_name": "Guizhou Sheng"
            },
            {
                "id": 643,
                "region_name": "Hainan Sheng"
            },
            {
                "id": 644,
                "region_name": "Hebei Sheng"
            },
            {
                "id": 645,
                "region_name": "Heilongjiang Sheng"
            },
            {
                "id": 646,
                "region_name": "Henan Sheng"
            },
            {
                "id": 647,
                "region_name": "Hubei Sheng"
            },
            {
                "id": 648,
                "region_name": "Hunan Sheng"
            },
            {
                "id": 649,
                "region_name": "Jiangsu Sheng"
            },
            {
                "id": 650,
                "region_name": "Jiangxi Sheng"
            },
            {
                "id": 651,
                "region_name": "Jilin Sheng"
            },
            {
                "id": 652,
                "region_name": "Liaoning Sheng"
            },
            {
                "id": 653,
                "region_name": "Nei Mongol Zizhiqu"
            },
            {
                "id": 654,
                "region_name": "Ningxia Huizi Zizhiqu"
            },
            {
                "id": 655,
                "region_name": "Qinghai Sheng"
            },
            {
                "id": 656,
                "region_name": "Shaanxi Sheng"
            },
            {
                "id": 657,
                "region_name": "Shandong Sheng"
            },
            {
                "id": 658,
                "region_name": "Shanghai Shi"
            },
            {
                "id": 659,
                "region_name": "Shanxi Sheng"
            },
            {
                "id": 660,
                "region_name": "Sichuan Sheng"
            },
            {
                "id": 661,
                "region_name": "Tianjin Shi"
            },
            {
                "id": 662,
                "region_name": "Xinjiang Uygur Zizhiqu"
            },
            {
                "id": 663,
                "region_name": "Xizang Zizhiqu"
            },
            {
                "id": 664,
                "region_name": "Yunnan Sheng"
            },
            {
                "id": 665,
                "region_name": "Zhejiang Sheng"
            }
        ],
        "country_id": 48
    }
}

Last updated