curl --request GET \
--url https://api.projectdiscovery.io/v1/asset/enumerate \
--header 'X-API-Key: <api-key>'{
"current_page": 123,
"result_count": 123,
"total_results": 123,
"total_pages": 123,
"data": [
{
"id": "<string>",
"name": "<string>",
"status": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"failure_reason": "<string>",
"completed_at": "2023-11-07T05:31:56Z",
"enumeration_time": "<string>",
"enumeration_type": "<string>",
"enumeration_stats": {
"hosts": 123,
"http": 123,
"endpoints": 123,
"ports": 123,
"total_assets": 123,
"total_asset_groups": 123
},
"updated_at": "2023-11-07T05:31:56Z",
"root_domains": [
"<string>"
],
"exclusions": [
"<string>"
],
"enrichment_hosts_count": 123,
"is_rescan": true,
"rescan_count": 123,
"cloudlist_config_ids": [
"<string>"
],
"cloudlist_provider_name": "<string>",
"enumeration_time_elapsed": "<string>",
"total_assets": 123,
"new_assets": 123,
"domain_names": [
"<string>"
],
"schedule": {
"enumeration_id": "<string>",
"scan_frequency": "<string>",
"schedule_last_run": "<string>",
"schedule_next_run": "<string>",
"start_time": "<string>",
"hourly_frequency": 123,
"custom_weekdays": [
3
]
},
"is_public": true,
"asset_group_filters": {
"is_tech": true,
"is_favicon": true,
"is_new": true,
"labels": "<string>",
"host": "<string>",
"port": "<string>",
"status_code": "<string>",
"content_length": "<string>",
"title": "<string>",
"domain": [
"<string>"
],
"cname": "<string>",
"technologies": "<string>",
"ip": "<string>",
"is_screenshot": true,
"time": "last_day",
"start_date": "2023-12-25",
"end_date": "2023-12-25",
"custom_filter": "<string>",
"search": "<string>",
"enumeration_id": "<string>",
"only_dns": true,
"only_ip": true
},
"body": "<string>",
"agent_id": "<string>",
"agent_tags": [
"<string>"
],
"agent_networks": [
"<string>"
],
"agent_behavior": "distribute",
"agent_auto_discover": true,
"automatic_vuln_scans": true,
"is_internal": true
}
]
}Get enumeration list
curl --request GET \
--url https://api.projectdiscovery.io/v1/asset/enumerate \
--header 'X-API-Key: <api-key>'{
"current_page": 123,
"result_count": 123,
"total_results": 123,
"total_pages": 123,
"data": [
{
"id": "<string>",
"name": "<string>",
"status": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"failure_reason": "<string>",
"completed_at": "2023-11-07T05:31:56Z",
"enumeration_time": "<string>",
"enumeration_type": "<string>",
"enumeration_stats": {
"hosts": 123,
"http": 123,
"endpoints": 123,
"ports": 123,
"total_assets": 123,
"total_asset_groups": 123
},
"updated_at": "2023-11-07T05:31:56Z",
"root_domains": [
"<string>"
],
"exclusions": [
"<string>"
],
"enrichment_hosts_count": 123,
"is_rescan": true,
"rescan_count": 123,
"cloudlist_config_ids": [
"<string>"
],
"cloudlist_provider_name": "<string>",
"enumeration_time_elapsed": "<string>",
"total_assets": 123,
"new_assets": 123,
"domain_names": [
"<string>"
],
"schedule": {
"enumeration_id": "<string>",
"scan_frequency": "<string>",
"schedule_last_run": "<string>",
"schedule_next_run": "<string>",
"start_time": "<string>",
"hourly_frequency": 123,
"custom_weekdays": [
3
]
},
"is_public": true,
"asset_group_filters": {
"is_tech": true,
"is_favicon": true,
"is_new": true,
"labels": "<string>",
"host": "<string>",
"port": "<string>",
"status_code": "<string>",
"content_length": "<string>",
"title": "<string>",
"domain": [
"<string>"
],
"cname": "<string>",
"technologies": "<string>",
"ip": "<string>",
"is_screenshot": true,
"time": "last_day",
"start_date": "2023-12-25",
"end_date": "2023-12-25",
"custom_filter": "<string>",
"search": "<string>",
"enumeration_id": "<string>",
"only_dns": true,
"only_ip": true
},
"body": "<string>",
"agent_id": "<string>",
"agent_tags": [
"<string>"
],
"agent_networks": [
"<string>"
],
"agent_behavior": "distribute",
"agent_auto_discover": true,
"automatic_vuln_scans": true,
"is_internal": true
}
]
}Retrieve the Team ID from: https://cloud.projectdiscovery.io/settings/team
The number of items to skip before starting to collect the result set
The numbers of items to return
search keyword in enumeration list
types of enumeration list (comma seperated)
comma separated ascending sorting e.g sort_asc=created_at,name
comma separated descending sorting e.g sort_desc=created_at,name
comma separated filter enumeration result by status
time range to get enumerations from
last_day, last_week, last_month, last_3_months, last_6_months, last_12_months, all_time time filter start date
time filter end date
custom query to filter. double encode the query string.
filter by internal enumerations
Example response
Show child attributes
Show child attributes
Combined inclusion (prefixed with +) and exclusion patterns for discovery scope
Show child attributes
Array of integer denoting the weekdays on which the scan is supposed to run. 0-6 denoting Sunday-Saturday.
0 <= x <= 6Show child attributes
Return records that have technologies
Return the records that have favicon
Filter by new content
Filter by comma separated labels, e.g-> labels=p1,p2
Filter by comma separated hosts, e.g-> host=p1,p2
Filter by comma separated ports, e.g-> port=p1,p2
Filter by comma separated status codes, e.g-> status_code=p1,p2
Filter by comma separated content lengths, e.g-> content_length=p1,p2
Filter by comma separated titles, e.g-> title=p1,p2
Filter by comma separated domain names, e.g-> domain=domain1.com,domain2.com
Filter by comma separated cnames, e.g-> cname=p1,p2
Filter by comma separated technologies, e.g-> technologies=p1,p2
Filter by comma separated ips, e.g-> ip=p1,p2
Return the records with screenshots
Filter by time range
last_day, last_week, last_month, last_3_months, last_6_months, last_12_months, all_time Filter by start date
Filter by end date
Filter by custom filter. Double encode the query string.
Search on the content name
Filter by enumeration id
Query only dns FQDN records
Query only dns IP records
distribute, mirror Was this page helpful?