Assets

Read Asset

Retrieve a specific asset by its ID within a project. Use the additional_fields to specify any extra information you want returned about the asset. By default only custom_tags is returned; specifying additional_fields replaces that default.

get/projects/{project_id}/assets/{asset_id}

Request

  • Base URL
    https://api.securitytrails.com/v2
  • URL
    https://api.securitytrails.com/v2/projects/{project_id}/assets/{asset_id}
  • Auth
    API key in header apikey

Path parameters

asset_idstring required

The asset identifier (domain or IP)

project_idstring required

The ID of the project

Query parameters

additional_fieldsstring[] nullable

A list of additional fields to include in the response. You may specify this field multiple times or pass a comma-separated list from: custom_tags, dns_records, whois, ip_metadata, open_tcp_ports, open_udp_ports, web_technologies, certificates, certificate_chain, defenses, exposures, exposure_instance_details. By default custom_tags will be returned.

Response

Successful Response

Changes

No recorded changes to this operation across all 1 revision of this API.