---
title: "Prospect Fetch Stats"
method: POST
path: "/v1/prospects/stats"
tags: ["Prospects"]
---

# Prospect Fetch Stats

`POST /v1/prospects/stats`

Fetch stats for businesses.

## Request body

- ProspectsStatsRequest
  - `request_context` object, nullable
  - `filters` ProspectsFetchFilters, required
    - `prospect_id` IncludesFilterProspectId
      - `negate` boolean
      - `values` string[], required
    - `has_email` ExistsFilter
      - `negate` boolean
      - `value` boolean, required
    - `has_phone_number` ExistsFilter
      - `negate` boolean
      - `value` boolean, required
    - `job_level` IncludesFilterJobSeniorityLevel
      - `negate` boolean
      - `values` JobSeniorityLevel[], required
    - `job_department` IncludesFilterJobDepartment
      - `negate` boolean
      - `values` JobDepartment[], required
    - `business_id` IncludesFilterBusinessId
      - `negate` boolean
      - `values` string[], required
    - `total_experience_months` RangeFilterInt
      - `negate` boolean
      - `gte` integer
      - `lte` integer
    - `country_code` IncludesFilterCountryCodeAlpha2
      - `negate` boolean
      - `values` string[], required
    - `region_country_code` IncludesFilterRegionCode
      - `negate` boolean
      - `values` string[], required
    - `current_role_months` RangeFilterInt
      - `negate` boolean
      - `gte` integer
      - `lte` integer
    - `company_size` IncludesFilterNumberOfEmployeesRange
      - `negate` boolean
      - `values` NumberOfEmployeesRange[], required
    - `company_revenue` IncludesFilterRevenueRange
      - `negate` boolean
      - `values` RevenueRange[], required
    - `company_age` IncludesFilterCompanyAgeRange
      - `negate` boolean
      - `values` CompanyAgeRange[], required
    - `company_number_of_locations` IncludesFilterNumberOfLocations
      - `negate` boolean
      - `values` NumberOfLocations[], required
    - `google_category` IncludesFilterStandardizedText
      - `negate` boolean
      - `values` string[], required
    - `naics_category` IncludesFilterNAICS
      - `negate` boolean
      - `values` string[], required
    - `linkedin_category` IncludesFilterText
      - `negate` boolean
      - `values` string[], required
    - `job_title` JobTitleFilter
      - `negate` boolean
      - `values` string[], required — List of job titles to filter by. Maximum 300 items allowed.
      - `operator` 'or' | 'and'
      - `include_related_job_titles` boolean, nullable — When set to true, includes related job titles in the search.
    - `skills` AnyMatchPhraseFilterText
      - `negate` boolean
      - `values` string[], required
      - `operator` 'or' | 'and'
    - `interests` AnyMatchPhraseFilterText
      - `negate` boolean
      - `values` string[], required
      - `operator` 'or' | 'and'
    - `company_country_code` IncludesFilterCountryCodeAlpha2
      - `negate` boolean
      - `values` string[], required
    - `company_region_country_code` IncludesFilterRegionCode
      - `negate` boolean
      - `values` string[], required
    - `city_region_country` IncludesFilterText
      - `negate` boolean
      - `values` string[], required
    - `company_name` AnyMatchFilterOrganizationName
      - `negate` boolean
      - `values` string[], required
    - `has_website` ExistsFilter
      - `negate` boolean
      - `value` boolean, required
    - `is_public_company` ExistsFilter
      - `negate` boolean
      - `value` boolean, required

## Response `200`

Successful Response

- ProspectsStatsResponse — This is base response model for all responses in partner service.
  - `response_context` ResponseContext, required
    - `correlation_id` string, required
    - `request_status` 'success' | 'miss' | 'failure', required — The `RequestStatus` class is an enumeration that defines the possible statuses of a request. This enum is used to indicate whether a request was successful, missed, or failed. It ensures consistent handling of request statuses across the application. Attributes: SUCCESS: Indicates that the request was successfully processed. MISS: Indicates that the request did not find any matching data. FAILURE: Indicates that the request encountered an error or failure.
    - `time_took_in_seconds` number, required
  - `total_results` integer, required
  - `stats` ProspectsStats, required
    - `job_departments_per_location` object
    - `total_per_location` object

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.net/explorium-ai/apis/partner-service.md) · [All operations](https://skmtc.net/explorium-ai/apis/partner-service/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/explorium-ai/partner-service/revisions/cdff11b1b0d3/schema)
