latestOpenAPI 3.0.3Netlas API & Data License Agreement2026-08-104487309.0 KB

2b1f84425791

Certificates

Certificates Count

Counts the number of documents matching the search query q in the selected indices.

  • If there are fewer than 1,000 results, the method returns the exact count.
  • If there are more than 1,000 results, the count is estimated with an error margin not exceeding 3%.
get/api/certs_count/

Query parameters

qstring required

The query string used for searching. See Query Syntax for more details.

Example:domain:example.com
indicesIndiceLabel[]

A list of indice labels to search in. If not provided, the search will be performed in the default (most relevant index).

Call indices endpoint to get the list of available indices.

ℹ️ Netlas stores all collected certificates in a single default index.
This parameter is included for interface consistency but is not applicable to certificate-related endpoints.

[
  "2025-09-24",
  "2025-09-02"
]

Response

Count

countinteger required

Number of documents that match the search query

Example response

{
  "count": 123
}