Get threat history for a web property
Retrieve historical threat observations for a web property. This endpoint returns time ranges during which threats were detected on the host.<br><br>Use this endpoint to see when a hostname and port was associated with threats, to confirm whether a domain was hosting malicious content at the time of an alert.<br><br>You can define a specific time frame of interest. If you do not specify a time frame, this endpoint will search the historical dataset that is available to your account.<br><br>You can filter by threat name.<br><br>This endpoint is available to organizations that have access to the Adversary Investigation module.
Request
- Base URLhttps://api.platform.censys.io
- URLhttps://api.platform.censys.io/v3/threat-hunting/web/{webproperty_id}/observations/threats
- AuthHTTP bearer
Path parameters
A web property identifier in hostname:port format.
Query parameters
The ID of a Censys organization to associate the request with. See the Getting Started docs for more information.
Start of date range (RFC3339 format, e.g., 2024-01-01T00:00:00Z). If not specified, defaults to the maximum query window back from the end time.
End of date range (RFC3339 format, e.g., 2024-01-31T23:59:59Z). If not specified, defaults to now. Cannot be in the future.
Number of results per page (max 100)
Pagination token from previous response
Filter by threat name
Order observations by these fields. Multiple values can be provided to sort by multiple fields (e.g., ['threat_name DESC']).
Headers
The ID of a Censys organization to associate the request with. See the Getting Started docs for more information. Note: The header parameter is supported for atypical use cases; we recommend always providing this field via the query parameter.
Response
A list of threat observation ranges
Changes
No recorded changes to this operation across all 2 revisions of this API.