You can call this operation to query the frequently referenced URLs within a specific day.

When you call this operation, follow these rules:
  • If you do not specify the StartTime parameter, the data within the previous day is queried.
  • You can specify only one domain name at a time.
  • The maximum time range that can be specified is the last 90 days.

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 DescribeDcdnDomainTopUrlVisit

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

DomainName String Yes example.com

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

SortBy String No pv

The method that is used to sort the returned URLs. Valid values: traf and pv. Default value: pv.

StartTime String No 2018-10-03T16:00:00Z

The beginning of the time range to query. If you do not specify this parameter, the data within the last 24 hours is queried.

Specify the time in the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ format. The time must be in UTC. To query the data within a specified day, we recommend that you use the format: yyyy-MM-ddT16:00:00Z.

Response parameters

Parameter Type Example Description
AllUrlList

The list of frequently referenced URLs returned.

UrlList

The list of frequently referenced URLs returned.

Flow String 460486880

The network traffic consumed by the visits to the URLs. Unit: bytes.

FlowProportion Float 0.35

The proportion of the network traffic.

UrlDetail String http://example.com/nn_live/nn_x64/a0.m3u8

The full URL.

VisitData String 161673

The number of visits to the URL that was queried.

VisitProportion Float 0.35

The proportion of the visits to the URL.

DomainName String example.com

The name of the accelerated domain.

RequestId String 64D28B53-5902-409B-94F6-FD46680144FE

The ID of the request.

StartTime String 2018-10-03T16:00:00Z

The beginning of the time range during which the data was queried.

Url200List

The list of URLs for which a 2xx HTTP status code was returned.

UrlList

The details of the URL for which a 2xx HTTP status code was returned.

Flow String 460486880

The network traffic consumed by the visits to the URLs. Unit: bytes.

FlowProportion Float 0.35

The proportion of the network traffic.

UrlDetail String http://example.com/nn_live/nn_x64/a0.m3u8

The full URL.

VisitData String 161673

The number of visits to the URL that was queried.

VisitProportion Float 0.35

The proportion of the visits to the URL.

Url300List

The list of URLs for which a 3xx HTTP status code was returned.

UrlList

The details of the URL for which a 3xx HTTP status code was returned.

Flow String 460486880

The network traffic consumed by the visits to the URLs. Unit: bytes.

FlowProportion Float 0.35

The proportion of the network traffic.

UrlDetail String http://example.com/nn_live/nn_x64/a0.m3u8

The full URL.

VisitData String 161673

The number of visits to the URL that was queried.

VisitProportion Float 0.35

The proportion of the visits to the URL.

Url400List

The list of URLs for which a 4xx HTTP status code was returned.

UrlList

The details of the URL for which a 4xx HTTP status code was returned.

Flow String 460486880

The network traffic consumed by the visits to the URLs. Unit: bytes.

FlowProportion Float 0.35

The proportion of the network traffic.

UrlDetail String http://example.com/nn_live/nn_x64/a0.m3u8

The full URL.

VisitData String 161673

The number of visits to the URL that was queried.

VisitProportion Float 0.35

The proportion of the visits to the URL.

Url500List

The list of URLs for which a 5xx HTTP status code was returned.

UrlList

The details of the for which a 5xx HTTP status code was returned.

Flow String 460486880

The network traffic consumed by the visits to the URLs. Unit: bytes.

FlowProportion Float 0.35

The proportion of the network traffic.

UrlDetail String http://example.com/nn_live/nn_x64/a0.m3u8

The full URL.

VisitData String 161673

The number of visits to the URL that was queried.

VisitProportion Float 0.35

The proportion of the visits to the URL.

Examples

Sample requests

http://dcdn.aliyuncs.com?Action=DescribeDcdnDomainTopUrlVisit
&DomainName=example.com
&StartTime=2018-10-03T16:00:00Z
&<Common request parameters>

Sample success responses

XML format

<DescribeDcdnDomainTopUrlVisitResponse>
	  <AllUrlList>
		    <UrlList>
			      <VisitData>161673</VisitData>
			      <UrlDetail>http://example.com/nn_live/nn_x64/a0.m3u8</UrlDetail>
			      <VisitProportion>0.35</VisitProportion>
			      <Flow>460486880</Flow>
			      <FlowProportion>0.35</FlowProportion>
		    </UrlList>
		    <UrlList>
			      <VisitData>37</VisitData>
			      <UrlDetail>http://example.com/nn_live/nn_x64/ZXg9MQ,,/HNJSMPP360.ts</UrlDetail>
			      <VisitProportion>0.35</VisitProportion>
			      <Flow>460486880</Flow>
			      <FlowProportion>0.35</FlowProportion>
		    </UrlList>
	  </AllUrlList>
	  <Url300List>
		    <UrlList>
			      <VisitData>161673</VisitData>
			      <UrlDetail>http://example.com/nn_live/nn_x64/aWQ9SE5KU0GNfbGl2ZQ,,/HNJSMPP360.m3u8</UrlDetail>
			      <VisitProportion>0.35</VisitProportion>
			      <Flow>460486880</Flow>
			      <FlowProportion>0.35</FlowProportion>
		    </UrlList>
		    <UrlList>
			      <VisitData>3</VisitData>
			      <UrlDetail>http://example.com/nn_live/nn_x64/aWQ9SE5KU01QUDZXg9MQ,,/HNJSMPP360.ts</UrlDetail>
			      <VisitProportion>0.35</VisitProportion>
			      <Flow>460486880</Flow>
			      <FlowProportion>0.35</FlowProportion>
		    </UrlList>
	  </Url300List>
	  <Url400List>
		    <UrlList>
			      <VisitData>1884</VisitData>
			      <UrlDetail>http://example.com/nn_live/nn_x64/aWQ9SE5KU01QUhbGxfcGNfbGl2ZQ,,/HNJSMPP360.m3u8</UrlDetail>
			      <VisitProportion>0.35</VisitProportion>
			      <Flow>460486880</Flow>
			      <FlowProportion>0.35</FlowProportion>
		    </UrlList>
		    <UrlList>
			      <VisitData>1</VisitData>
			      <UrlDetail>http://example.com/nn_live/nn_x64/aWQ9SEEwODgmpbmRleZPTE,/HNJSMPP360.ts</UrlDetail>
			      <VisitProportion>0.35</VisitProportion>
			      <Flow>460486880</Flow>
			      <FlowProportion>0.35</FlowProportion>
		    </UrlList>
	  </Url400List>
	  <RequestId>64D28B53-5902-409B-94F6-FD46680144FE</RequestId>
	  <DomainName>example.com</DomainName>
	  <Url200List>
		    <UrlList>
			      <VisitData>161673</VisitData>
			      <UrlDetail>http://example.com/nn_live/nn_x64/aWQ9SE5KU0bGxfcGNfbGl2ZQ,,/HNJSMPP360.m3u8</UrlDetail>
			      <VisitProportion>0.35</VisitProportion>
			      <Flow>460486880</Flow>
			      <FlowProportion>0.35</FlowProportion>
		    </UrlList>
		    <UrlList>
			      <VisitData>3</VisitData>
			      <UrlDetail>http://example.com/nn_live/nn_x64/aWQ9SE5KU01QUDMlPTIwMTxMDk5ZXg9MQ,,/HNJSMPP360.ts</UrlDetail>
			      <VisitProportion>0.35</VisitProportion>
			      <Flow>460486880</Flow>
			      <FlowProportion>0.35</FlowProportion>
		    </UrlList>
	  </Url200List>
	  <StartTime>2018-10-03T16:00:00Z</StartTime>
	  <Url500List>
		    <UrlList>
			      <VisitData>161673</VisitData>
			      <UrlDetail>http://example.com/nn_live/nn_x64/aWQ9SE5KU0GNfbGl2ZQ,,/HNJSMPP360.m3u8</UrlDetail>
			      <VisitProportion>0.35</VisitProportion>
			      <Flow>460486880</Flow>
			      <FlowProportion>0.35</FlowProportion>
		    </UrlList>
		    <UrlList>
			      <VisitData>3</VisitData>
			      <UrlDetail>http://example.com/nn_live/nn_x64/aWQ9SE5KU01QUDZXg9MQ,,/HNJSMPP360.ts</UrlDetail>
			      <VisitProportion>0.35</VisitProportion>
			      <Flow>460486880</Flow>
			      <FlowProportion>0.35</FlowProportion>
		    </UrlList>
	  </Url500List>
</DescribeDcdnDomainTopUrlVisitResponse>

JSON format

{
	"Url300List":{
		"UrlList":[
			{
				"Flow":"460486880",
				"VisitProportion":0.35,
				"VisitData":"161673",
				"UrlDetail":"http://example.com/nn_live/nn_x64/aWQ9SE5KU0GNfbGl2ZQ,,/HNJSMPP360.m3u8",
				"FlowProportion":0.35
			},
			{
				"Flow":"460486880",
				"VisitProportion":0.35,
				"VisitData":"3",
				"UrlDetail":"http://example.com/nn_live/nn_x64/aWQ9SE5KU01QUDZXg9MQ,,/HNJSMPP360.ts",
				"FlowProportion":0.35
			}
		]
	},
	"AllUrlList":{
		"UrlList":[
			{
				"Flow":"460486880",
				"VisitProportion":0.35,
				"VisitData":"161673",
				"UrlDetail":"http://example.com/nn_live/nn_x64/a0.m3u8",
				"FlowProportion":0.35
			},
			{
				"Flow":"460486880",
				"VisitProportion":0.35,
				"VisitData":"37",
				"UrlDetail":"http://example.com/nn_live/nn_x64/ZXg9MQ,,/HNJSMPP360.ts",
				"FlowProportion":0.35
			}
		]
	},
	"Url400List":{
		"UrlList":[
			{
				"Flow":"460486880",
				"VisitProportion":0.35,
				"VisitData":"1884",
				"UrlDetail":"http://example.com/nn_live/nn_x64/aWQ9SE5KU01QUhbGxfcGNfbGl2ZQ,,/HNJSMPP360.m3u8",
				"FlowProportion":0.35
			},
			{
				"Flow":"460486880",
				"VisitProportion":0.35,
				"VisitData":"1",
				"UrlDetail":"http://example.com/nn_live/nn_x64/aWQ9SEEwODgmpbmRleZPTE,/HNJSMPP360.ts",
				"FlowProportion":0.35
			}
		]
	},
	"RequestId":"64D28B53-5902-409B-94F6-FD46680144FE",
	"DomainName":"example.com",
	"Url200List":{
		"UrlList":[
			{
				"Flow":"460486880",
				"VisitProportion":0.35,
				"VisitData":"161673",
				"UrlDetail":"http://example.com/nn_live/nn_x64/aWQ9SE5KU0bGxfcGNfbGl2ZQ,,/HNJSMPP360.m3u8",
				"FlowProportion":0.35
			},
			{
				"Flow":"460486880",
				"VisitProportion":0.35,
				"VisitData":"3",
				"UrlDetail":"http://example.com/nn_live/nn_x64/aWQ9SE5KU01QUDMlPTIwMTxMDk5ZXg9MQ,,/HNJSMPP360.ts",
				"FlowProportion":0.35
			}
		]
	},
	"StartTime":"2018-10-03T16:00:00Z",
	"Url500List":{
		"UrlList":[
			{
				"Flow":"460486880",
				"VisitProportion":0.35,
				"VisitData":"161673",
				"UrlDetail":"http://example.com/nn_live/nn_x64/aWQ9SE5KU0GNfbGl2ZQ,,/HNJSMPP360.m3u8",
				"FlowProportion":0.35
			},
			{
				"Flow":"460486880",
				"VisitProportion":0.35,
				"VisitData":"3",
				"UrlDetail":"http://example.com/nn_live/nn_x64/aWQ9SE5KU01QUDZXg9MQ,,/HNJSMPP360.ts",
				"FlowProportion":0.35
			}
		]
	}
}

Error codes

HTTP status code Error code Error message Description
400 InvalidStartTime.Malformed The specified StartTime is invalid. The error message returned because the specified StartTime parameter is invalid. Specify the time in the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ format. The time must be in UTC.
400 InvalidStartTime.ValueNotSupported The specified StartTime is invalid. The error message returned because the specified start time is not supported.

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