---
title: "Search count"
method: POST
path: "/cve/search/count"
tags: ["CVEs"]
---

# Search count

`POST /cve/search/count`

Returns the precise number of search results that matched the search query.

## Request body

- SearchCVECountRequest
  - `search_params` object[], required — A list of CVE attributes to filter the search results by. A comprehensive list of valid search parameters is shown in the table below.

## Response `200`

Operation successful

- TotalCountResponse — TotalCountResponse includes returning data
  - `data` TotalCountResponseData
    - `total_items` integer — The precise number of search results that matched the search query.

## Other responses

- `400` — Bad request
- `401` — Unauthorized
- `500` — Internal server error

---

[API](https://skmtc.net/spyse/apis/data-api.md) · [All operations](https://skmtc.net/spyse/apis/data-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/spyse/data-api/versions/fd05b83ed2c5/schema)
