# Count people matching a search (free)

Get People Search Count people matching search data via REST or OpenAny MCP—with pay-per-use pricing and no subscription. Powered by Treg, pass parameters such as query, and retrieve structured data including returned success field and reported total count to search interfaces and source review, and integration reference, ready for production pipelines and AI agent automation.

Documentation: https://openany.si/people-search/people-search-count-people-matching-a-search-free/a000f066-93b1-4826-a0e8-31218685860b/
API ID: a000f066-93b1-4826-a0e8-31218685860b
Provider: treg
Contract revision: 4
Method: POST
Endpoint: https://api.openany.si/v1/agent-apis/treg/call/icypeas.people.search.count
Page update time: 2026-12-03T02:49:47.784Z
Access: OpenAny REST
OpenAny MCP: availability is not supplied by this REST contract. Check get_api on the configured OpenAny MCP server before execution.
Request content type: application/json
Execution mode: sync
Authentication: Authorization: Bearer $OPENANY_API_KEY

## Billing
Price: $0 / call
The published contract currently has no usage charge. Authentication and service limits still apply.
Price source: OpenAny public API contract.
Contract update time: 2026-12-03T02:49:46.626Z. This is not a price-change timestamp.
```json
{
  "currency": "USD",
  "mode": "fixed",
  "priceMicroUsd": "0",
  "rounding": null,
  "unit": "call",
  "unitQuantity": null
}
```

## Usage and limits
## People Search Count people matching a search API

Search for count people matching a via API. Provide query in body. Read the response using the field paths below, preserving identifiers and the declared value types when mapping results.

## What You Can Build

- **Search interfaces and source review**: Keep returned sources and query context together.
- **Integration reference**: Use the selected request format and keep source identifiers with the returned result.

## Documented Response Fields

| Field | Meaning |
| --- | --- |
| `success` | Returned success field |
| `total` | Reported total count |

## Request parameters
```json
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "Count people matching a search (free) request inputs",
  "$comment": "Declared input types grouped by HTTP location. Path, query and header values describe decoded inputs and are serialized as text on the wire; body is the payload. This is not an exhaustive provider contract or a schema for the raw HTTP request.",
  "type": "object",
  "properties": {
    "path": {
      "type": "object",
      "properties": {}
    },
    "query": {
      "type": "object",
      "properties": {}
    },
    "headers": {
      "type": "object",
      "properties": {}
    },
    "body": {
      "additionalProperties": false,
      "properties": {
        "query": {
          "additionalProperties": true,
          "description": "identical filter object to icypeas.people.search",
          "properties": {},
          "type": "object"
        }
      },
      "required": [
        "query"
      ],
      "type": "object",
      "description": "How many people match a query, before you pay to read any of them"
    }
  },
  "required": [
    "path",
    "query",
    "headers",
    "body"
  ]
}
```

## Response fields
Source: Inferred from examples; not an exhaustive provider schema.
```json
{
  "type": "object",
  "properties": {
    "success": {
      "type": "boolean"
    },
    "total": {
      "type": "integer"
    }
  }
}
```

## Request example
Scenario: Official example · TREG catalog reference (HTTP assumed)
```bash
curl \
  'https://api.openany.si/v1/agent-apis/treg/call/icypeas.people.search.count' \
  -X POST \
  -H "Authorization: Bearer $OPENANY_API_KEY" \
  -H 'Content-Type: application/json' \
  --data-raw '{
  "query": {
    "currentCompanyWebsite": {
      "include": [
        "stripe.com"
      ]
    },
    "currentJobTitle": {
      "include": [
        "Engineer"
      ]
    }
  }
}'
```

## Response example
Example from the provider's documentation. Field values in your results will differ.
Sample response · Configured HTTP 200; actual status is unverified.
```json
{
  "success": true,
  "total": 3446
}
```

## Error handling
400: Check the request fields.
401 / 403: Verify credentials and access permissions.
402: Inspect payment requirements and balance.
429: Respect returned retry guidance.
5xx: Inspect the error and usage record before retrying a paid operation.

## Common questions
### Which inputs identify this request?
Provide query in body (object). Keep identifiers and URLs in the formats documented for this implementation.

### How should I structure the JSON body?
Send the body according to its root JSON schema. Do not add a second body wrapper around the documented properties, and preserve the declared types of nested values.

### How should I map the returned fields?
Use the documented response paths with their returned types. Keep null, empty collections, false and zero distinct, and retain the identifiers needed to match results to the request.

### Can I reuse request parameters from another endpoint?
Use the selected implementation schema. Similar operation names, providers or versions do not establish identical input locations, types or response fields.

### Which API key should I use?
Use your OpenAny API key as Bearer authentication on the documented OpenAny route.

### Where can I check the current request price?
Check the pricing area for the selected API implementation. Follow its billing unit, quantity and any request-dependent rules before sending the request.

## Available implementations
- treg: https://openany.si/people-search/people-search-count-people-matching-a-search-free/a000f066-93b1-4826-a0e8-31218685860b/

Integration guide: https://openany.si/docs/
Agent setup: https://openany.si/SKILL.md
