Aggregate results for a search query
Aggregate results for a Platform search query. This functionality is equivalent to the Report Builder in the Platform web UI.<br><br>In a SOC environment, use this endpoint to count and bucket matches by field, such as country, ASN, or port, to size a campaign or spot where malicious infrastructure clusters without pulling every record.
Request
- Base URLhttps://api.platform.censys.io
- URLhttps://api.platform.censys.io/v3/global/search/aggregate
- AuthHTTP bearer
Query parameters
The ID of a Censys organization to associate the request with. If omitted, the request will be processed using the authenticated user's free wallet where applicable. See the Getting Started docs for more information.
Headers
The ID of a Censys organization to associate the request with. If omitted, the request will be processed using the authenticated user's free wallet where applicable. 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.
Request body
Example request
{
"field": "host.services.port",
"query": "host.services.protocol=SSH"
}Response
OK
Changes
No recorded changes to this operation across all 2 revisions of this API.