Development Document

ISP List Download PDF Document

Endpoint

Request URL: base/info/isp (GET)

Endpoint Domain Name: cdn.api.baishan.com
Endpoint Version: v2

Endpoint Description

Get a list of ISP providers
Note: Refer to the response header for interface call frequency limit

API Parameters

Notice: Please request the API token from your account team.

Sample Request:

If use GET method, the -d parameter will not be generated,while add the parameter after URL

curl -X GET "https://cdn.api.baishan.com/v2/base/info/isp?token=xxx"

Sample Response

Json format.

{
    "code": 0,
    "data": [
        {
            "id": "1",
            "name": "China Telecom",
            "code": "dx"
        },
        {
            "id": "2",
            "name": "China Unicom",
            "code": "lt"
        },
        {
            "id": "3",
            "name": "China Mobile",
            "code": "yd"
        },
        {
            "id": "4",
            "name": "Tietong",
            "code": "tt"
        },
        {
            "id": "5",
            "name": " Great Wall Broadband Network ",
            "code": "ck"
        },
        {
            "id": "6",
            "name": " Shaanxi Broadcast & TV Network ",
            "code": "gd"
        },
        {
            "id": "7",
            "name": " CERNET ",
            "code": "jyw"
        },
        {
            "id": "8",
            "name": " ehomenet ",
            "code": "eh"
        },
        {
            "id": "9",
            "name": "Other",
            "code": "other"
        },
        {
            "id": "10",
            "name": "BGP",
            "code": "bgp"
        },
        {
            "id": "11",
            "name": "Wasu",
            "code": "hs"
        },
        {
            "id": "12",
            "name": " Gehua CATV Network ",
            "code": "gh"
        },
        {
            "id": "13",
            "name": "GAMEFAST",
            "code": "yc"
        },
        {
            "id": "14",
            "name": "PCCW",
            "code": "pccw"
        },
        {
            "id": "15",
            "name": "Citic Network",
            "code": "zx"
        },
        {
            "id": "16",
            "name": "Aipu",
            "code": "aipu"
        },
        {
            "id": "17",
            "name": " founder",
            "code": "fz"
        }
    ]
}

Response Header

HTTP/1.0 200 OK
Api-Id:                100438085
Content-Type:          application/json; charset=utf-8
X-Ratelimit-Grad:      minute
X-Ratelimit-Limit:     100
X-Ratelimit-Remaining: 100
X-Retry-After:         1

HTTP Status Codes

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