You can call this operation to query the asset list under a specified tag.

You can call this operation to query assets under multiple tags.


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 DescribeAssetsByTags

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

Tags.N RepeatList Yes ['tag1', 'tag2']

Specifies tag N by which to return assets.

CurrentPage Integer No 2

The number of the page to return.

Lang String No zh

The language in which the responses are returned.

  • zh: Chinese
  • en: English
PageSize Integer No 20

The number of entries to return on each page.

Search String No

The information by which to query a specified asset.

SourceIp String No

The source IP address of the request.

Type String No ip

The type of the asset to be queried. Valid values:

  • ip: assets of the IP address type
  • domain: assets of the root domain type
Untagged Integer No 0

Specifies whether to return assets without tags. Valid values: 0 and 1.

Response parameters

Parameter Type Example Description
Count Integer 14

The number of entries returned on the current page.

CurrentPage Integer 5

The current page number.


The list of returned assets.

Asset String test

The name of the returned asset.

AssetId String 13183b57-f77c-459b-8512-******

The ID of the returned asset.

ExpireTime Long 1592044480000

The expiration time of the returned asset.

GmtCreate Long 1545972690000

The time at which the asset was created.

LastScanDate Long 1540744470000

The last time when the asset was scanned.

Source String UserAdd

The source of the returned asset.

Type String ip

The type of the returned asset.

PageCount Integer 7

The number of returned pages.

PageSize Integer 20

The number of entries returned on each page.

RequestId String 6A218865-5D7C-42EE-9509-33069D66F284

The ID of the request.

TotalCount Integer 60

The total number of returned assets.


Sample requests

http(s)://[Endpoint]/? Action=DescribeAssetsByTags
&<Common request parameters>

Sample success responses

XML format

			      <Asset>***. ***.io</Asset>

JSON format

				"Asset":"***. ***.io",

Error codes

For more information about error codes, visit API Error Center.