v1
latestOpenAPI 3.1.02026-07-2481742657.4 KBCensEye: Retrieve value counts to discover pivots
Get counts of web assets for specific field-value pairs and combinations of field-value pairs. This is similar to the CensEye functionality available in the Platform web UI, but it allows you to define specific fields of interest rather than the default fields leveraged by the tool in the UI.<br><br>Each array can only target fields within the same nested object and may contain at most 5 field-value pairs. For example, you can combine host.services.port=80 and host.services.protocol=SSH in the same array, but you cannot combine host.services.port=80 and host.location.country="United States" in the same array. You can input multiple arrays of objects in each API call.<br><br>To use this endpoint, your organization must have access to the Adversary Investigation module. This endpoint costs 1 credit per count condition (array of objects) included in the API call.
Query parameters
The ID of a Censys organization to associate the request with. See the Getting Started docs for more information.
The ID of a Censys organization to associate the request with. See the Getting Started docs for more information.
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.
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.
Request body
Example request
{
"and_count_conditions": [
{
"field_value_pairs": [
{
"field": "host.services.port",
"value": "80"
}
]
}
]
}Response
OK