Skip to main content
GET
Count matching certificates exactly

Authorizations

X-API-Key
string
header
required

Infrawatch API key. Supply the complete key directly as the header value.

Query Parameters

q
string
required

Selective certificate InfraQL expression, limited to 8192 UTF-8 bytes after URL decoding. Exact SHA, bounded date, name, issuer, and other schema-advertised fields are supported subject to the certificate cost rules.

Required string length: 1 - 8192
history
enum<string>
default:recent

Recent searches the current certificate index. All searches every published historical cohort and may cost more.

Available options:
recent,
all

Response

Exact count.

count
integer<int64>
required
Required range: 0 <= x <= 9007199254740991
query
string
required
Maximum string length: 8192
total_relation
enum<string>
required

Service, DNS, and certificate counts are always exact.

Available options:
eq