Queries the proportions of data usage of different Internet service providers (ISPs). The data is collected at an interval of one day. You can query data collected within the last 90 days.

When you call this operation, note that:
  • If you do not set StartTime or EndTime, data collected within the last 24 hours is queried. If you set both StartTime and EndTime, data collected within the specified time range is queried.
  • This operation queries proportions of data usage of different ISPs for only a specific accelerated domain name, or for all accelerated domain names under your Alibaba Cloud account.
  • The maximum number of times that each user can call this operation per second is 100.

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer. OpenAPI Explorer dynamically generates the sample code of the operation for different SDKs.

Request parameters

Parameter Type Required Example Description
Action String Yes DescribeDomainISPData

The operation that you want to perform. Set the value to DescribeDomainISPData.

DomainName String No test.test.com

The accelerated domain name. You can specify only one domain name.

By default, all accelerated domain names are queried.

StartTime String No 2019-11-29T05:33:00Z

The beginning of the time range to query. Specify the time in the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ format. The time must be in UTC.

EndTime String No 2019-11-30T05:40:00Z

The end of the time range to query. Specify the time in the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ format. The time must be in UTC.

The end time must be later than the start time.

Response parameters

Parameter Type Example Description
DataInterval String 86400

The time interval between the data entries. Unit: seconds.

DomainName String test.test.com

The accelerated domain name.

EndTime String 2019-11-30T05:40:00Z

The end of the time range that was queried.

RequestId String DE81639B-DAC1-4C76-AB72-F34B836837D5

The ID of the request.

StartTime String 2019-11-29T05:33:00Z

The beginning of the time range that was queried.

Value Array of ISPProportionData

The proportions of requests initiated through each ISP.

ISPProportionData
AvgObjectSize String 7081884.7

The average response size. Unit: bytes.

AvgResponseRate String 88.92594866772144

The average response rate. Unit: byte/ms.

AvgResponseTime String 79638.0

The average response time. Unit: milliseconds.

Bps String 1311.4601296296296

The bandwidth value.

BytesProportion String 0.012220518530445479

The proportion of the network traffic.

ISP String Alibaba Cloud

The information about the ISP.

IspEname String alibaba

The name of the ISP.

Proportion String 0.004509176173513099

The proportion of data usage.

Qps String 2.3148148148148147E-5

The number of queries per second.

ReqErrRate String 0.0

The request error rate.

TotalBytes String 7081884

The total amount of network traffic.

TotalQuery String 1

The total number of queries.

Examples

Sample requests

http://cdn.aliyuncs.com/?Action=DescribeDomainISPData
&DomainName=test.com
&StartTime=2015-12-05T00:00:00Z
&EndTime=2019-11-30T05:40:00Z
&<Common request parameters>

Sample success responses

XML format

<DescribeDomainISPDataResponse>
      <Value>
            <ISPProportionData>
                  <ByteHitRate>100.0</ByteHitRate>
                  <TotalQuery>1</TotalQuery>
                  <Bps>1311.4601296296296</Bps>
                  <Proportion>0.004509176173513099</Proportion>
                  <AvgResponseRate>88.92594866772144</AvgResponseRate>
                  <IspEname>alibaba</IspEname>
                  <AvgObjectSize>7081884.7</AvgObjectSize>
                  <ISP>Alibaba</ISP>
                  <ReqErrRate>0.0</ReqErrRate>
                  <Qps>2.3148148148148147E-5</Qps>
                  <AvgResponseTime>79638.0</AvgResponseTime>
                  <ReqHitRate>100.0</ReqHitRate>
                  <TotalBytes>7081884</TotalBytes>
                  <BytesProportion>0.012220518530445479</BytesProportion>
            </ISPProportionData>
            <ISPProportionData>
                  <ByteHitRate>100.0</ByteHitRate>
                  <TotalQuery>3</TotalQuery>
                  <Bps>444.455</Bps>
                  <Proportion>0.013527528520539298</Proportion>
                  <AvgResponseRate>154.3345765545624</AvgResponseRate>
                  <IspEname>overseas</IspEname>
                  <AvgObjectSize>800019.0</AvgObjectSize>
                  <ISP>ISPs outside mainland China</ISP>
                  <ReqErrRate>0.0</ReqErrRate>
                  <Qps>6.944444444444444E-5</Qps>
                  <AvgResponseTime>5183.666666666667</AvgResponseTime>
                  <ReqHitRate>100.0</ReqHitRate>
                  <TotalBytes>2400057</TotalBytes>
                  <BytesProportion>0.004141544558417533</BytesProportion>
            </ISPProportionData>
            <ISPProportionData>
                  <ByteHitRate>100.0</ByteHitRate>
                  <TotalQuery>82</TotalQuery>
                  <Bps>45838.64816666667</Bps>
                  <Proportion>0.3697524462280741</Proportion>
                  <AvgResponseRate>1025.5028528460102</AvgResponseRate>
                  <IspEname>drpeng</IspEname>
                  <AvgObjectSize>3018642.684146342</AvgObjectSize>
                  <ISP>Dr. Peng</ISP>
                  <ReqErrRate>0.0</ReqErrRate>
                  <Qps>0.0018981481481481482</Qps>
                  <AvgResponseTime>2943.5731707317073</AvgResponseTime>
                  <ReqHitRate>100.0</ReqHitRate>
                  <TotalBytes>247528700</TotalBytes>
                  <BytesProportion>0.42713616424581613</BytesProportion>
            </ISPProportionData>
            <ISPProportionData>
                  <ByteHitRate>99.99999999999999</ByteHitRate>
                  <TotalQuery>114</TotalQuery>
                  <Bps>65933.51396296297</Bps>
                  <Proportion>0.5140460837804933</Proportion>
                  <AvgResponseRate>484.6396117340071</AvgResponseRate>
                  <IspEname>cernet</IspEname>
                  <AvgObjectSize>3123166.4508771934</AvgObjectSize>
                  <ISP>CERNET</ISP>
                  <ReqErrRate>0.0</ReqErrRate>
                  <Qps>0.002638888888888889</Qps>
                  <AvgResponseTime>6444.30701754386</AvgResponseTime>
                  <ReqHitRate>100.0</ReqHitRate>
                  <TotalBytes>356040975</TotalBytes>
                  <BytesProportion>0.6143852267848392</BytesProportion>
            </ISPProportionData>
            <ISPProportionData>
                  <ByteHitRate>100.0</ByteHitRate>
                  <TotalQuery>207</TotalQuery>
                  <Bps>81128.73735185186</Bps>
                  <Proportion>0.9333994679172115</Proportion>
                  <AvgResponseRate>752.2096624205244</AvgResponseRate>
                  <IspEname>tietong</IspEname>
                  <AvgObjectSize>2116401.843961353</AvgObjectSize>
                  <ISP>Tietong</ISP>
                  <ReqErrRate>0.0</ReqErrRate>
                  <Qps>0.004791666666666666</Qps>
                  <AvgResponseTime>2813.5797101449275</AvgResponseTime>
                  <ReqHitRate>100.0</ReqHitRate>
                  <TotalBytes>438095181</TotalBytes>
                  <BytesProportion>0.7559781771177001</BytesProportion>
            </ISPProportionData>
            <ISPProportionData>
                  <ByteHitRate>100.00000000000001</ByteHitRate>
                  <TotalQuery>256</TotalQuery>
                  <Bps>129137.37100000001</Bps>
                  <Proportion>1.1543491004193533</Proportion>
                  <AvgResponseRate>321.5924922592767</AvgResponseRate>
                  <IspEname>other</IspEname>
                  <AvgObjectSize>2723991.4195312504</AvgObjectSize>
                  <ISP>Other ISPs</ISP>
                  <ReqErrRate>0.0</ReqErrRate>
                  <Qps>0.005925925925925926</Qps>
                  <AvgResponseTime>8470.3203125</AvgResponseTime>
                  <ReqHitRate>100.0</ReqHitRate>
                  <TotalBytes>697341803</TotalBytes>
                  <BytesProportion>1.2033348171432345</BytesProportion>
            </ISPProportionData>
            <ISPProportionData>
                  <ByteHitRate>99.14745652563326</ByteHitRate>
                  <TotalQuery>2866</TotalQuery>
                  <Bps>879955.1972037038</Bps>
                  <Proportion>12.923298913288543</Proportion>
                  <AvgResponseRate>1004.5513789924338</AvgResponseRate>
                  <IspEname>mobile</IspEname>
                  <AvgObjectSize>1657975.598360084</AvgObjectSize>
                  <ISP>China Mobile</ISP>
                  <ReqErrRate>0.0</ReqErrRate>
                  <Qps>0.06634259259259259</Qps>
                  <AvgResponseTime>1650.463712491277</AvgResponseTime>
                  <ReqHitRate>97.3831123517097</ReqHitRate>
                  <TotalBytes>4751758064</TotalBytes>
                  <BytesProportion>8.19964599032574</BytesProportion>
            </ISPProportionData>
            <ISPProportionData>
                  <ByteHitRate>99.99981717005271</ByteHitRate>
                  <TotalQuery>6534</TotalQuery>
                  <Bps>3194660.60262963</Bps>
                  <Proportion>29.46295711773459</Proportion>
                  <AvgResponseRate>1171.525957981939</AvgResponseRate>
                  <IspEname>unicom</IspEname>
                  <AvgObjectSize>2640215.374074074</AvgObjectSize>
                  <ISP>China Unicom</ISP>
                  <ReqErrRate>0.0</ReqErrRate>
                  <Qps>0.15125</Qps>
                  <AvgResponseTime>2253.6550352004897</AvgResponseTime>
                  <ReqHitRate>99.96939087848179</ReqHitRate>
                  <TotalBytes>17251167254</TotalBytes>
                  <BytesProportion>29.768658772680293</BytesProportion>
            </ISPProportionData>
            <ISPProportionData>
                  <ByteHitRate>99.99968869093071</ByteHitRate>
                  <TotalQuery>12114</TotalQuery>
                  <Bps>6333214.260796296</Bps>
                  <Proportion>54.62416016593768</Proportion>
                  <AvgResponseRate>984.184264638081</AvgResponseRate>
                  <IspEname>telecom</IspEname>
                  <AvgObjectSize>2823126.71357933</AvgObjectSize>
                  <ISP>China Telecom</ISP>
                  <ReqErrRate>0.0</ReqErrRate>
                  <Qps>0.28041666666666665</Qps>
                  <AvgResponseTime>2868.494056463596</AvgResponseTime>
                  <ReqHitRate>99.97523526498266</ReqHitRate>
                  <TotalBytes>34199357008</TotalBytes>
                  <BytesProportion>59.01449878861353</BytesProportion>
            </ISPProportionData>
      </Value>
      <DataInterval>86400</DataInterval>
      <RequestId>DE81639B-DAC1-4C76-AB72-F34B836837D5</RequestId>
      <DomainName>downtest.cdnpe.com</DomainName>
      <EndTime>2019-11-29T05:33:00Z</EndTime>
      <StartTime>2019-11-29T05:33:00Z</StartTime>
</DescribeDomainISPDataResponse>

JSON format

{
    "Value": {
        "ISPProportionData": [{
            "ByteHitRate": "100.0",
            "TotalQuery": "1",
            "Bps": "1311.4601296296296",
            "Proportion": "0.004509176173513099",
            "AvgResponseRate": "88.92594866772144",
            "IspEname": "alibaba",
            "AvgObjectSize": "7081884.7",
            "ISP": "Alibaba",
            "ReqErrRate": "0.0",
            "Qps": "2.3148148148148147E-5",
            "AvgResponseTime": "79638.0",
            "ReqHitRate": "100.0",
            "TotalBytes": "7081884",
            "BytesProportion": "0.012220518530445479"
        }, {
            "ByteHitRate": "100.0",
            "TotalQuery": "3",
            "Bps": "444.455",
            "Proportion": "0.013527528520539298",
            "AvgResponseRate": "154.3345765545624",
            "IspEname": "overseas",
            "AvgObjectSize": "800019.0",
            "ISP": "ISPs outside mainland China",
            "ReqErrRate": "0.0",
            "Qps": "6.944444444444444E-5",
            "AvgResponseTime": "5183.666666666667",
            "ReqHitRate": "100.0",
            "TotalBytes": "2400057",
            "BytesProportion": "0.004141544558417533"
        }, {
            "ByteHitRate": "100.0",
            "TotalQuery": "82",
            "Bps": "45838.64816666667",
            "Proportion": "0.3697524462280741",
            "AvgResponseRate": "1025.5028528460102",
            "IspEname": "drpeng",
            "AvgObjectSize": "3018642.684146342",
            "ISP": "Dr.Peng",
            "ReqErrRate": "0.0",
            "Qps": "0.0018981481481481482",
            "AvgResponseTime": "2943.5731707317073",
            "ReqHitRate": "100.0",
            "TotalBytes": "247528700",
            "BytesProportion": "0.42713616424581613"
        }, {
            "ByteHitRate": "99.99999999999999",
            "TotalQuery": "114",
            "Bps": "65933.51396296297",
            "Proportion": "0.5140460837804933",
            "AvgResponseRate": "484.6396117340071",
            "IspEname": "cernet",
            "AvgObjectSize": "3123166.4508771934",
            "ISP": "CERNET",
            "ReqErrRate": "0.0",
            "Qps": "0.002638888888888889",
            "AvgResponseTime": "6444.30701754386",
            "ReqHitRate": "100.0",
            "TotalBytes": "356040975",
            "BytesProportion": "0.6143852267848392"
        }, {
            "ByteHitRate": "100.0",
            "TotalQuery": "207",
            "Bps": "81128.73735185186",
            "Proportion": "0.9333994679172115",
            "AvgResponseRate": "752.2096624205244",
            "IspEname": "tietong",
            "AvgObjectSize": "2116401.843961353",
            "ISP": "Tietong",
            "ReqErrRate": "0.0",
            "Qps": "0.004791666666666666",
            "AvgResponseTime": "2813.5797101449275",
            "ReqHitRate": "100.0",
            "TotalBytes": "438095181",
            "BytesProportion": "0.7559781771177001"
        }, {
            "ByteHitRate": "100.00000000000001",
            "TotalQuery": "256",
            "Bps": "129137.37100000001",
            "Proportion": "1.1543491004193533",
            "AvgResponseRate": "321.5924922592767",
            "IspEname": "other",
            "AvgObjectSize": "2723991.4195312504",
            "ISP": "Other ISPs",
            "ReqErrRate": "0.0",
            "Qps": "0.005925925925925926",
            "AvgResponseTime": "8470.3203125",
            "ReqHitRate": "100.0",
            "TotalBytes": "697341803",
            "BytesProportion": "1.2033348171432345"
        }, {
            "ByteHitRate": "99.14745652563326",
            "TotalQuery": "2866",
            "Bps": "879955.1972037038",
            "Proportion": "12.923298913288543",
            "AvgResponseRate": "1004.5513789924338",
            "IspEname": "mobile",
            "AvgObjectSize": "1657975.598360084",
            "ISP": "China Mobile",
            "ReqErrRate": "0.0",
            "Qps": "0.06634259259259259",
            "AvgResponseTime": "1650.463712491277",
            "ReqHitRate": "97.3831123517097",
            "TotalBytes": "4751758064",
            "BytesProportion": "8.19964599032574"
        }, {
            "ByteHitRate": "99.99981717005271",
            "TotalQuery": "6534",
            "Bps": "3194660.60262963",
            "Proportion": "29.46295711773459",
            "AvgResponseRate": "1171.525957981939",
            "IspEname": "unicom",
            "AvgObjectSize": "2640215.374074074",
            "ISP": "China Unicom",
            "ReqErrRate": "0.0",
            "Qps": "0.15125",
            "AvgResponseTime": "2253.6550352004897",
            "ReqHitRate": "99.96939087848179",
            "TotalBytes": "17251167254",
            "BytesProportion": "29.768658772680293"
        }, {
            "ByteHitRate": "99.99968869093071",
            "TotalQuery": "12114",
            "Bps": "6333214.260796296",
            "Proportion": "54.62416016593768",
            "AvgResponseRate": "984.184264638081",
            "IspEname": "telecom",
            "AvgObjectSize": "2823126.71357933",
            "ISP": "China Telecom",
            "ReqErrRate": "0.0",
            "Qps": "0.28041666666666665",
            "AvgResponseTime": "2868.494056463596",
            "ReqHitRate": "99.97523526498266",
            "TotalBytes": "34199357008",
            "BytesProportion": "59.01449878861353"
        }]
    },
    "DataInterval": "86400",
    "RequestId": "DE81639B-DAC1-4C76-AB72-F34B836837D5",
    "DomainName": "downtest.cdnpe.com",
    "EndTime": "2019-11-30T05:40:00Z",
    "StartTime": "2019-11-29T05:33:00Z"
}

Error codes

HttpCode Error code Error message Description
400 InvalidStartTime.Malformed Specified StartTime is malformed. The error message returned because the format of the specified start time is invalid. For more information about the time format, see the Request parameters section.
400 InvalidEndTime.Malformed Specified EndTime is malformed. The error message returned because the format of the end time is invalid. For more information about the time format, see the Request parameters section.
400 InvalidStartTime.ValueNotSupported The specified value of parameter StartTime is not supported. The error message returned because the specified start time is not supported.
404 InvalidDomain.NotFound The domain provided does not exist in our records. The error message returned because the specified domain name does not exist or does not belong to the current Alibaba Cloud account. Check whether the domain name is correctly specified, whether the domain name is under the current Alibaba Cloud account, and whether the domain name is expired.

For a list of error codes, visit the API Error Center.