Development Document

Country and Area List Download PDF Document


Request URL: base/info/area (GET)

Endpoint Domain Name:
Endpoint Version: v2

Endpoint Description

Get the Country and Area List, aquire the code parameter corresponding to the country or region, which will be applied to the query_area parameter .

API Parameters

Note:Please request an API token from your account team.

Request Parameters (GET)

Specify request parameters in the URL query strings, i.e. ?key1=value1&key2=value2.

Sample Request:

curl -X GET ""

Sample Response

    "code": 0,
    "data": [
            "id": "2",
            "name": "United Arab Emirates",
            "ename": "United Arab Emirates",
            "code": "ae"
            "id": "9",
            "name": "Laos",
            "ename": "Laos",
            "code": "la"

Response Header

HTTP/1.0 200 OK
Api-Id:               63832415
Content-Type:          application/json; charset=utf-8
X-Ratelimit-Grad:      minute  
X-Ratelimit-Limit:     300  
X-Ratelimit-Remaining: 299   
X-Retry-After:         50     

HTTP Status Codes

Error CodeDescription
404Bad request URLs.
401Authorization Error: Invalid token or lack of access.
400Bad request parameters.
5xxPlease contact your account team.
CopyRight © 2015-2022 BaishanCloud . All Rights Reserved.