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

# Search Count

`POST /search/count`

## Request

- Base URL: `https://api.dataforb2b.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://api.dataforb2b.ai/search/count`
- Auth: none declared

Compte le nombre de matches d'un FilterGroup sans exécuter la recherche.

**Authentification requise:** Header `api_key: <your_api_key>`

**Tarification:** Gratuit (0 crédit) — destiné à un compteur de résultats live.

Le count est plafonné à 10000 (`total_results_is_capped=true` au-delà).

## Headers

- `api-key` string, nullable

## Request body

- SearchCountRequest: Requête pour compter les matches d'un FilterGroup sans exécuter la recherche
  - `category` string, required: Catégorie: 'people' ou 'company'
  - `filters` object, required: Filtres au format FilterGroup avancé

## Response `200`

Successful Response

- SearchCountResponse: Nombre de matches pour un FilterGroup
  - `total_results` integer, required: Nombre de matches (plafonné à 10000)
  - `total_results_is_capped` boolean, required: True si le count a atteint le plafond de 10000

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/dataforb2b/apis/dataforb2b-api.md) · [All operations](https://skmtc.dev/dataforb2b/apis/dataforb2b-api/llms.txt) · [OpenAPI document](https://skmtc.dev/dataforb2b/apis/dataforb2b-api/revisions/24ea79caa1a1?raw)
