Operation metadata returned in every data/meta response.
Show child attributes
Was this page helpful?
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Generect","colors":{"primary":"#2d59c8","light":"#5b85e6","dark":"#2d59c8"},"logo":{"light":"https://mintcdn.com/generect/X6p5e4jggJuPFyIO/logo/light.svg?fit=max\u0026auto=format\u0026n=X6p5e4jggJuPFyIO\u0026q=85\u0026s=749751167c04ffe76f0b07e4c1c00c09","dark":"https://mintcdn.com/generect/X6p5e4jggJuPFyIO/logo/dark.svg?fit=max\u0026auto=format\u0026n=X6p5e4jggJuPFyIO\u0026q=85\u0026s=5f67f8a3846d00903ec121cfedef7d2d"},"favicon":{"light":"https://mintcdn.com/generect/MwlP3J5sxV0qPVVI/favicon-black.svg?fit=max\u0026auto=format\u0026n=MwlP3J5sxV0qPVVI\u0026q=85\u0026s=0c5d1ab2f2f0105a0df758267cc5ccb4","dark":"https://mintcdn.com/generect/MwlP3J5sxV0qPVVI/favicon-white.svg?fit=max\u0026auto=format\u0026n=MwlP3J5sxV0qPVVI\u0026q=85\u0026s=34744abec4b538d5c0efada097a3dbfa"},"api":{},"background":{},"navbar":{"links":[{"href":"https://status.generect.com","label":"Status"},{"href":"mailto:support@generect.com","label":"Support"}],"primary":{"type":"button","label":"Website","href":"https://generect.com/"}},"footer":{"socials":{}},"integrations":{"posthog":{"apiKey":"phc_oZ9t9NRDaaMw82GikzAbFGwstRHRyY45U8g5T8sfi6rv","apiHost":"https://eu.i.posthog.com"}},"contextual":{"options":["copy","view","chatgpt","claude","download-spec"],"display":"header"},"styling":{"latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"generect","hasAudioNarration":false,"actualSubdomain":"generect","customDomains":["docs.generect.com"],"gitSource":{"type":"github","owner":"generect","repo":"generect-docs","deployBranch":"master","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"feedback":{"thumbs":true},"entitlements":{},"buildId":"6af473dd95eac268437891f3","clientVersion":"0.0.4111","searchFilterCounts":[{"language":"default","tag":"API Reference","count":58},{"language":"default","tag":"Introduction","count":16},{"language":"default","tag":"Use Cases \u0026 Best Practices","count":14},{"language":"default","tag":"Search","count":13},{"language":"default","tag":"Leads","count":11},{"language":"default","tag":"Getting Started","count":11},{"language":"default","tag":"Enrich","count":10},{"language":"default","tag":"Billing \u0026 Pricing","count":10},{"language":"default","tag":"Companies","count":9},{"language":"default","tag":"MCP","count":9}]},"assistantConfig":{},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[],"page":{"pagePath":"api-reference/endpoint/search/count-database-company-leads","slug":"/api-reference/endpoint/search/count-database-company-leads","pageMetadata":{"sidebarTitle":"Database count","openapi":"post /api/v1/search/database/company-leads/count/","title":"Count database company leads","description":"Count cached company-lead matches. Database count endpoints are free.","href":"/api-reference/endpoint/search/count-database-company-leads"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Count cached company-lead matches. Database count endpoints are free.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={p:`p`,..._provideComponents(),...props.components},{Heading}=_components;if(!Heading)_missingMdxReference(`Heading`,true);return _jsxs(_Fragment,{children:[_jsx(Heading,{level:`2`,id:`use-case`,children:`Use Case:`}),`\n`,_jsx(_components.p,{children:`Count cached company-lead matches before retrieving them.`}),`\n`,_jsx(Heading,{level:`2`,id:`pricing`,children:`Pricing`}),`\n`,_jsx(_components.p,{children:`This endpoint is free — it does not incur any charges.`})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"sidebarTitle":"Database count","openapi":"post /api/v1/search/database/company-leads/count/","title":"Count database company leads","description":"Count cached company-lead matches. Database count endpoints are free.","href":"/api-reference/endpoint/search/count-database-company-leads"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Use Case:","slug":"use-case","depth":2,"children":[]},{"title":"Pricing","slug":"pricing","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":["/_mintlify/custom/generect/aa350f9581328dbf/brand/logo-version.test.js"],"openApiReferenceData":{"operation":{"tags":["9. Search"],"summary":"Count database company leads","description":"Count cached company-lead matches. Database count endpoints are free.","requestBody":"07d32a6f-a3c2-441b-a45f-e4ac0eaaea99","responses":{"200":"ae1ee3a6-3d08-4397-8e99-80682cb8071b","400":"0fbe293d-4ac9-450b-883c-72bea305e836","401":"5f331d59-5f83-4c50-a3ab-ead706c2acf4","402":"060cf8b5-ec13-405e-9aa2-3abd70054309","403":"476bc2bf-e79a-470d-b63b-afc0671b80b1","429":"7bc69bea-a5d9-42a5-bd1f-894c007b504b"},"method":"post","type":"path","servers":["48651494-e758-4280-852b-ae5b3f15e5a8"],"security":["5aef15b8-48e8-4e2e-9e54-42455287aefb"],"path":"/api/v1/search/database/company-leads/count/","baseUrlOptions":["https://api.generect.com"],"title":"Count database company leads","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"company_search_criteria":{"type":"object","example":{"industries":["Software Development"],"headcounts":["51-200"],"locations":["United States"],"limit_by":50},"properties":{"industries":{"type":"array","items":{"type":"string","uniqueKey":"company_search_criteria.industries.items.[INDEX]","typeLabel":"string"},"description":"Industries of the target companies; a company is included if it matches at least one. Values follow LinkedIn's industry taxonomy. Examples: \"Software Development\", \"Financial Services\", \"Information Technology\".","uniqueKey":"company_search_criteria.industries","typeLabel":"string[]"},"exclude_industries":{"type":"array","items":{"type":"string","uniqueKey":"company_search_criteria.exclude_industries.items.[INDEX]","typeLabel":"string"},"description":"Industries to exclude.","uniqueKey":"company_search_criteria.exclude_industries","typeLabel":"string[]"},"sub_industries":{"type":"boolean","default":false,"description":"Controls how the `industries` filter maps onto LinkedIn's industry taxonomy. By default (`false`), a selected industry also matches companies in its sub-industries. Set to `true` to match only the industries you specify and exclude their sub-industries, for finer sub-category targeting — for example, \"Manufacturing\" without \"Chemicals\".","uniqueKey":"company_search_criteria.sub_industries","typeLabel":"boolean"},"headcounts":{"type":"array","items":{"type":"string","uniqueKey":"company_search_criteria.headcounts.items.[INDEX]","typeLabel":"string"},"description":"Company size, as employee-count ranges; a company is included if it falls into at least one. Allowed values: \"1-10\", \"11-50\", \"51-200\", \"201-500\", \"501-1000\", \"1001-5000\", \"5001-10000\", \"10 000+\".","uniqueKey":"company_search_criteria.headcounts","typeLabel":"string[]"},"locations":{"type":"array","items":{"type":"string","uniqueKey":"company_search_criteria.locations.items.[INDEX]","typeLabel":"string"},"description":"Company headquarters locations — matches across cities, states/regions and countries; a company is included if its HQ matches at least one. Examples: \"United States\", \"San Francisco, California, United States\", \"Germany\".","uniqueKey":"company_search_criteria.locations","typeLabel":"string[]"},"exclude_locations":{"type":"array","items":{"type":"string","uniqueKey":"company_search_criteria.exclude_locations.items.[INDEX]","typeLabel":"string"},"description":"Locations to exclude.","uniqueKey":"company_search_criteria.exclude_locations","typeLabel":"string[]"},"company_types":{"type":"array","items":{"type":"string","uniqueKey":"company_search_criteria.company_types.items.[INDEX]","typeLabel":"string"},"description":"Company types: \"Public Company\", \"Privately Held\", \"Non Profit\", \"Government Agency\", \"Educational\", etc.","uniqueKey":"company_search_criteria.company_types","typeLabel":"string[]"},"exclude_ids":{"type":"array","items":{"type":"string","uniqueKey":"company_search_criteria.exclude_ids.items.[INDEX]","typeLabel":"string"},"description":"Exclude companies by LinkedIn ID or URN.","uniqueKey":"company_search_criteria.exclude_ids","typeLabel":"string[]"},"exclude_domains":{"type":"array","items":{"type":"string","uniqueKey":"company_search_criteria.exclude_domains.items.[INDEX]","typeLabel":"string"},"description":"Exclude companies by domain.","uniqueKey":"company_search_criteria.exclude_domains","typeLabel":"string[]"},"limit_by":{"type":"integer","description":"Maximum number of companies to return, from 1 to 10000. Without it, a search returns 100 rows: `results_count` is the whole match, and `offset_by` reaches the rest.","default":100,"uniqueKey":"company_search_criteria.limit_by","typeLabel":"integer"},"offset_by":{"type":"integer","description":"Number of companies to skip (0-9999, for pagination).","uniqueKey":"company_search_criteria.offset_by","typeLabel":"integer"},"strict":{"type":"array","items":{"type":"string","uniqueKey":"company_search_criteria.strict.items.[INDEX]","typeLabel":"string"},"description":"Fields to apply strict matching on (e.g. \"company_locations\").","uniqueKey":"company_search_criteria.strict","typeLabel":"string[]"},"apply_domain_blocklist":{"type":"boolean","default":true,"description":"Apply Generect's blocked-domain list, which removes staffing agencies, directories and similar low-signal records that match broad industry filters. Set to `false` to receive them. On by default on the company search endpoints, in both database and realtime mode; the company-leads endpoints do not apply it. In database search the exclusion happens before `results_count`, so the count always matches what the pages can deliver; in realtime the records are dropped after retrieval, so a page may hold fewer companies than `results_count` implies.","uniqueKey":"company_search_criteria.apply_domain_blocklist","typeLabel":"boolean"},"include_companies_without_website":{"type":"boolean","default":false,"description":"Also return companies that have a LinkedIn page but no website, such as many hospitals, clinics and local businesses. Off by default: the company search endpoints drop every company without a website, in both database and realtime mode. Such a company has no website and no domain, so there are no corporate emails to find for its people and lead matching by domain does not work for it; an `exclude_domains` entry cannot remove it (use `exclude_ids`). Each one is returned and billed as a result like any other, and many of them have few or no leads on LinkedIn. The other quality rules stay: a company with zero employees on LinkedIn is still dropped, and the blocked-domain list still applies to companies that have a website. In database search these companies are counted in `results_count`; the realtime count comes from LinkedIn and always included them. The company-leads endpoints do not read it.","uniqueKey":"company_search_criteria.include_companies_without_website","typeLabel":"boolean"},"detail":{"type":"string","enum":["full","thin"],"default":"full","description":"Row shape. `full` (the default) returns full rows, billed per row. `thin` returns the company's name, industry, size and location at no charge, up to a daily quota per account (currently 2,000 rows per UTC day); a thin row has no domain, website, LinkedIn URL or contacts. A spent quota is refused with `429` until 00:00 UTC, never billed. Accounts on a custom API contract get `400` unless their contract includes thin search. The count endpoints ignore this field: counts are always free.","uniqueKey":"company_search_criteria.detail","typeLabel":"enum\u003cstring>"},"founded_year":{"oneOf":[{"type":"array","items":{"type":"integer","uniqueKey":"company_search_criteria.founded_year.oneOf.0.items.[INDEX]","typeLabel":"integer"},"description":"Founding year of the company — the \"company age\" filter. Accepts either an explicit list of years, or a `{\"min\", \"max\"}` range of founding years; both bounds are inclusive and either may be omitted (an omitted `max` means \"up to the current year\").\n\nDatabase mode only. Realtime company search has no founded-year facet upstream, so it rejects this field rather than accepting it and returning a wider result set than you asked for.\n\nCoverage matters here: the founding year is known for roughly 57% of companies, and a company without one never matches. Filtering by company age therefore also drops records that simply lack the data, not only those outside your range.","example":{"min":2010,"max":2020},"uniqueKey":"company_search_criteria.founded_year.oneOf.0","typeLabel":"integer[]"},{"type":"object","description":"Founding year of the company — the \"company age\" filter. Accepts either an explicit list of years, or a `{\"min\", \"max\"}` range of founding years; both bounds are inclusive and either may be omitted (an omitted `max` means \"up to the current year\").\n\nDatabase mode only. Realtime company search has no founded-year facet upstream, so it rejects this field rather than accepting it and returning a wider result set than you asked for.\n\nCoverage matters here: the founding year is known for roughly 57% of companies, and a company without one never matches. Filtering by company age therefore also drops records that simply lack the data, not only those outside your range.","example":{"min":2010,"max":2020},"properties":{"min":{"type":"integer","description":"Earliest founding year, inclusive. Clamped up to 1800 — earlier values in the data are junk, not history.","uniqueKey":"company_search_criteria.founded_year.oneOf.1.min","typeLabel":"integer"},"max":{"type":"integer","description":"Latest founding year, inclusive. Clamped down to the current year.","uniqueKey":"company_search_criteria.founded_year.oneOf.1.max","typeLabel":"integer"}},"uniqueKey":"company_search_criteria.founded_year.oneOf.1","typeLabel":"object"}],"uniqueKey":"company_search_criteria.founded_year","typeLabel":"integer[] | object"}},"uniqueKey":"company_search_criteria","typeLabel":"object"},"lead_search_criteria":{"type":"object","example":{"job_titles":["CEO","Founder"],"seniorities":["c_suite"],"locations":["United States"],"company_industries":["Software Development"],"company_headcounts":["51-200"],"limit_by":50},"properties":{"job_titles":{"type":"array","items":{"type":"string","uniqueKey":"lead_search_criteria.job_titles.items.[INDEX]","typeLabel":"string"},"description":"Job titles held by the people you want to find. A lead only needs to match one of the titles you provide — adding more expands your search. Results may also include similar titles (e.g. \"marketing manager\" can return \"content marketing manager\"). Combine with seniorities to target both function and level. Examples: \"sales development representative\", \"marketing manager\", \"software engineer\".","uniqueKey":"lead_search_criteria.job_titles","typeLabel":"string[]"},"seniorities":{"type":"array","items":{"type":"string","uniqueKey":"lead_search_criteria.seniorities.items.[INDEX]","typeLabel":"string"},"description":"Job seniority levels at the lead's current employer (current position only, not previous roles). A lead needs to match at least one; adding more values expands your search. Allowed values: owner, founder, c_suite, partner, vp, head, director, manager, senior, entry, intern. Combine with job_titles to narrow targeting.","uniqueKey":"lead_search_criteria.seniorities","typeLabel":"string[]"},"locations":{"type":"array","items":{"type":"string","uniqueKey":"lead_search_criteria.locations.items.[INDEX]","typeLabel":"string"},"description":"Geographic locations where leads currently live — matches across cities, states/regions and countries. A lead needs to match at least one. To filter by the employer's HQ location, use company_locations. Examples: \"San Francisco, California, United States\", \"Germany\", \"London\".","uniqueKey":"lead_search_criteria.locations","typeLabel":"string[]"},"exclude_locations":{"type":"array","items":{"type":"string","uniqueKey":"lead_search_criteria.exclude_locations.items.[INDEX]","typeLabel":"string"},"description":"Locations to exclude from results.","uniqueKey":"lead_search_criteria.exclude_locations","typeLabel":"string[]"},"company_locations":{"type":"array","items":{"type":"string","uniqueKey":"lead_search_criteria.company_locations.items.[INDEX]","typeLabel":"string"},"description":"Headquarters location of the lead's current employer; a lead is included if their company's HQ matches at least one. Filters by where the company is based — distinct from locations, which is where the lead personally lives.","uniqueKey":"lead_search_criteria.company_locations","typeLabel":"string[]"},"exclude_company_locations":{"type":"array","items":{"type":"string","uniqueKey":"lead_search_criteria.exclude_company_locations.items.[INDEX]","typeLabel":"string"},"description":"Company locations to exclude.","uniqueKey":"lead_search_criteria.exclude_company_locations","typeLabel":"string[]"},"company_industries":{"type":"array","items":{"type":"string","uniqueKey":"lead_search_criteria.company_industries.items.[INDEX]","typeLabel":"string"},"description":"Industries of the lead's current employer; a lead is included if their company matches at least one. Values follow LinkedIn's industry taxonomy. Examples: \"Software Development\", \"Financial Services\", \"Information Technology\".","uniqueKey":"lead_search_criteria.company_industries","typeLabel":"string[]"},"exclude_company_industries":{"type":"array","items":{"type":"string","uniqueKey":"lead_search_criteria.exclude_company_industries.items.[INDEX]","typeLabel":"string"},"description":"Company industries to exclude.","uniqueKey":"lead_search_criteria.exclude_company_industries","typeLabel":"string[]"},"company_headcounts":{"type":"array","items":{"type":"string","uniqueKey":"lead_search_criteria.company_headcounts.items.[INDEX]","typeLabel":"string"},"description":"Size of the lead's current employer, as employee-count ranges; a lead is included if their company falls into at least one. Allowed values: \"1-10\", \"11-50\", \"51-200\", \"201-500\", \"501-1000\", \"1001-5000\", \"5001-10000\", \"10 000+\".","uniqueKey":"lead_search_criteria.company_headcounts","typeLabel":"string[]"},"exclude_company_headcounts":{"type":"array","items":{"type":"string","uniqueKey":"lead_search_criteria.exclude_company_headcounts.items.[INDEX]","typeLabel":"string"},"description":"Company size ranges to exclude.","uniqueKey":"lead_search_criteria.exclude_company_headcounts","typeLabel":"string[]"},"company_types":{"type":"array","items":{"type":"string","uniqueKey":"lead_search_criteria.company_types.items.[INDEX]","typeLabel":"string"},"description":"Company types: \"Public Company\", \"Privately Held\", \"Non Profit\", \"Government Agency\", \"Educational\", \"Self Employed\", \"Partnership\", \"Self Owned\".","uniqueKey":"lead_search_criteria.company_types","typeLabel":"string[]"},"company_name":{"type":"string","description":"Target company name (mutually exclusive with company_link and company_id).","uniqueKey":"lead_search_criteria.company_name","typeLabel":"string"},"company_link":{"type":"string","description":"LinkedIn company URL (mutually exclusive with company_name and company_id).","uniqueKey":"lead_search_criteria.company_link","typeLabel":"string"},"company_id":{"type":"integer","description":"LinkedIn company numeric ID (mutually exclusive with company_name and company_link).","uniqueKey":"lead_search_criteria.company_id","typeLabel":"integer"},"exclude_names":{"type":"array","items":{"type":"string","uniqueKey":"lead_search_criteria.exclude_names.items.[INDEX]","typeLabel":"string"},"description":"Skip leads by full name.","uniqueKey":"lead_search_criteria.exclude_names","typeLabel":"string[]"},"exclude_ids":{"type":"array","items":{"type":"string","uniqueKey":"lead_search_criteria.exclude_ids.items.[INDEX]","typeLabel":"string"},"description":"Skip leads by Sales Navigator ID.","uniqueKey":"lead_search_criteria.exclude_ids","typeLabel":"string[]"},"filter_empty_vars":{"type":"array","items":{"type":"string","uniqueKey":"lead_search_criteria.filter_empty_vars.items.[INDEX]","typeLabel":"string"},"description":"Skip leads where these fields are empty. Options: job_started_on, profile_photo, started_at_position, company_website.","uniqueKey":"lead_search_criteria.filter_empty_vars","typeLabel":"string[]"},"limit_by":{"type":"integer","description":"Maximum number of leads to return. Without it, a search returns 100 rows: `results_count` is the whole match, and `offset_by` reaches the rest. For filter-only searches (no company_id/company_link/company_name) the maximum is 2400.","default":100,"uniqueKey":"lead_search_criteria.limit_by","typeLabel":"integer"},"offset_by":{"type":"integer","description":"Number of leads to skip (for pagination). For filter-only searches the maximum is 2399.","uniqueKey":"lead_search_criteria.offset_by","typeLabel":"integer"},"strict":{"type":"array","items":{"type":"string","uniqueKey":"lead_search_criteria.strict.items.[INDEX]","typeLabel":"string"},"description":"Fields to apply strict matching on (e.g. \"company_locations\").","uniqueKey":"lead_search_criteria.strict","typeLabel":"string[]"},"skip_truncated_names":{"type":"boolean","default":false,"description":"Drop leads whose first or last name is a single character or empty. LinkedIn abbreviates surnames for members who restrict their profile, so these rows carry a name that cannot be personalised. Applies to both database and realtime search.","uniqueKey":"lead_search_criteria.skip_truncated_names","typeLabel":"boolean"},"detail":{"type":"string","enum":["full","thin"],"default":"full","description":"Row shape. `full` (the default) returns full rows, billed per row. `thin` returns who, what role, where and which company at no charge, up to a daily quota per account (currently 2,000 rows per UTC day); a thin row has no LinkedIn profile URL, company domain, contacts or work history. A spent quota is refused with `429` until 00:00 UTC, never billed. Accounts on a custom API contract get `400` unless their contract includes thin search. The count endpoints ignore this field: counts are always free.","uniqueKey":"lead_search_criteria.detail","typeLabel":"enum\u003cstring>"},"gender":{"type":"array","items":{"type":"string","enum":["male","female","unknown"],"uniqueKey":"lead_search_criteria.gender.items.[INDEX]","typeLabel":"enum\u003cstring>"},"description":"Gender of the lead; a lead is included if it matches at least one value. Case-insensitive; any other value is rejected with `400`. Gender is inferred from the lead's name, so it is an estimate, and a lead whose name does not point to one is `unknown`. To leave a gender out, list the others — e.g. `[\"female\", \"unknown\"]`.\n\nDatabase mode only. LinkedIn search has no gender facet, so realtime search rejects this field rather than accepting it and returning a wider result set than you asked for.\n\nCoverage matters here: gender is known for roughly a third of leads, and the rest are `unknown`. Filtering by `male` or `female` therefore also drops leads whose gender simply is not known, not only those of the other gender.","example":["female"],"uniqueKey":"lead_search_criteria.gender","typeLabel":"enum\u003cstring>[]"},"seniority_levels":{"type":"array","items":{"type":"string","enum":["In Training","Entry Level","Senior","Entry Level Manager","Experienced Manager","Director","Vice President","Strategic","Owner \u0026 Partner","CXO"],"uniqueKey":"lead_search_criteria.seniority_levels.items.[INDEX]","typeLabel":"enum\u003cstring>"},"description":"Seniority level of the lead's current role, as our model reads it from the lead's job title and profile summary. A lead is included if it matches at least one level. Case-insensitive; any other value is rejected with `400`, and the error lists the levels. To leave a level out, list the others.\n\nNot the same as `seniorities`, which matches words in the job title (`vp`, `director`, …). Each lead has one level, so a level finds every title that means it without listing the titles. About 1% of leads have no level yet; a `seniority_levels` filter leaves them out.\n\nDatabase mode only. LinkedIn search has no such field, so realtime search rejects it rather than returning a wider result set than you asked for.","example":["Director","Vice President","CXO"],"uniqueKey":"lead_search_criteria.seniority_levels","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"lead_search_criteria","typeLabel":"object"}},"example":{"company_search_criteria":{"industries":["Software Development"],"headcounts":["51-200"],"locations":["United States"]},"lead_search_criteria":{"job_titles":["CEO"],"seniorities":["c_suite"],"locations":["United States"]}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"company_search_criteria":{"industries":["Software Development"],"headcounts":["51-200"],"locations":["United States"]},"lead_search_criteria":{"job_titles":["CEO"],"seniorities":["c_suite"],"locations":["United States"]}}}},"exampleType":"generated"}},"exampleType":"generated"},"responses":{"ae1ee3a6-3d08-4397-8e99-80682cb8071b":{"description":"Matching company-lead count","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"results_count":{"type":"integer","uniqueKey":"data.results_count","typeLabel":"integer"},"companies_count":{"type":"integer","uniqueKey":"data.companies_count","typeLabel":"integer"},"leads_count":{"type":"integer","uniqueKey":"data.leads_count","typeLabel":"integer"}},"uniqueKey":"data","typeLabel":"object"},"meta":{"type":"object","description":"Operation metadata returned in every data/meta response.","required":["amount_charged"],"properties":{"amount_charged":{"type":"number","description":"Actual amount charged for this request in USD, computed from your pricing tier. 0 for free operations and for not-found results (No Data — No Charge).","isRequired":true,"uniqueKey":"meta.amount_charged","typeLabel":"number"},"status":{"type":"string","description":"Set to \"error\" when the operation finished with an error.","uniqueKey":"meta.status","typeLabel":"string"},"error":{"type":"string","description":"Error details; present only when the operation failed.","uniqueKey":"meta.error","typeLabel":"string"},"time_cached":{"type":"string","format":"date-time","description":"When the cached result set was originally collected (returned by database company search when results are served from a previous identical search).","uniqueKey":"meta.time_cached","typeLabel":"string\u003cdate-time>"},"free_tier":{"type":"object","description":"Present only on a database lead or company search sent with `\"detail\": \"thin\"`: where your account stands against today's free row quota. The quota resets at 00:00 UTC.","properties":{"detail":{"type":"string","enum":["thin"],"uniqueKey":"meta.free_tier.detail","typeLabel":"enum\u003cstring>"},"daily_rows":{"type":"integer","description":"Free thin rows per account per UTC day.","uniqueKey":"meta.free_tier.daily_rows","typeLabel":"integer"},"rows_used_today":{"type":"integer","description":"Thin rows returned to your account today, this page included.","uniqueKey":"meta.free_tier.rows_used_today","typeLabel":"integer"},"rows_left_today":{"type":"integer","description":"Thin rows your account can still take today.","uniqueKey":"meta.free_tier.rows_left_today","typeLabel":"integer"}},"uniqueKey":"meta.free_tier","typeLabel":"object"}},"uniqueKey":"meta","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"example":{"data":{"results_count":320,"companies_count":45,"leads_count":320},"meta":{"amount_charged":0}},"examples":{"Example":{"title":"Example","value":{"data":{"results_count":320,"companies_count":45,"leads_count":320},"meta":{"amount_charged":0}}}},"exampleType":"examples"}},"exampleType":"examples"},"0fbe293d-4ac9-450b-883c-72bea305e836":{"description":"Validation error.","content":{"application/json":{"schema":{"type":"object","description":"Standard error envelope returned for 4xx/5xx responses.","properties":{"status":{"type":"string","example":"error","uniqueKey":"status","typeLabel":"string"},"status_code":{"type":"integer","example":400,"uniqueKey":"status_code","typeLabel":"integer"},"detail":{"description":"Human-readable message (string) for most errors, or a field-level validation map ({ field: [messages] }) for 400 validation errors.","example":"Person does not exist","uniqueKey":"detail","typeLabel":"any"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Validation error":{"title":"Validation error","value":{"status":"error","status_code":400,"detail":{"non_field_errors":["company_search_criteria or lead_search_criteria must be specified"]}}}},"exampleType":"examples"}},"exampleType":"examples"},"5f331d59-5f83-4c50-a3ab-ead706c2acf4":{"description":"Missing or invalid API token.","content":{"application/json":{"schema":{"type":"object","description":"Standard error envelope returned for 4xx/5xx responses.","properties":{"status":{"type":"string","example":"error","uniqueKey":"status","typeLabel":"string"},"status_code":{"type":"integer","example":400,"uniqueKey":"status_code","typeLabel":"integer"},"detail":{"description":"Human-readable message (string) for most errors, or a field-level validation map ({ field: [messages] }) for 400 validation errors.","example":"Person does not exist","uniqueKey":"detail","typeLabel":"any"}},"uniqueKey":"","typeLabel":"object"},"example":{"status":"error","status_code":401,"detail":"Authentication credentials were not provided."},"examples":{"Example":{"title":"Example","value":{"status":"error","status_code":401,"detail":"Authentication credentials were not provided."}}},"exampleType":"examples"}},"exampleType":"examples"},"060cf8b5-ec13-405e-9aa2-3abd70054309":{"description":"Not enough balance to run a billable request. Top up in your billing settings; requests already accepted run to completion.","content":{"application/json":{"schema":{"type":"object","description":"Standard error envelope returned for 4xx/5xx responses.","properties":{"status":{"type":"string","example":"error","uniqueKey":"status","typeLabel":"string"},"status_code":{"type":"integer","example":400,"uniqueKey":"status_code","typeLabel":"integer"},"detail":{"description":"Human-readable message (string) for most errors, or a field-level validation map ({ field: [messages] }) for 400 validation errors.","example":"Person does not exist","uniqueKey":"detail","typeLabel":"any"}},"uniqueKey":"","typeLabel":"object"},"example":{"status":"error","status_code":402,"detail":"Insufficient funds in the account."},"examples":{"Example":{"title":"Example","value":{"status":"error","status_code":402,"detail":"Insufficient funds in the account."}}},"exampleType":"examples"}},"exampleType":"examples"},"476bc2bf-e79a-470d-b63b-afc0671b80b1":{"description":"Authenticated, but the account/plan is not allowed to use this endpoint.","content":{"application/json":{"schema":{"type":"object","description":"Standard error envelope returned for 4xx/5xx responses.","properties":{"status":{"type":"string","example":"error","uniqueKey":"status","typeLabel":"string"},"status_code":{"type":"integer","example":400,"uniqueKey":"status_code","typeLabel":"integer"},"detail":{"description":"Human-readable message (string) for most errors, or a field-level validation map ({ field: [messages] }) for 400 validation errors.","example":"Person does not exist","uniqueKey":"detail","typeLabel":"any"}},"uniqueKey":"","typeLabel":"object"},"example":{"status":"error","status_code":403,"detail":"You do not have permission to perform this action."},"examples":{"Example":{"title":"Example","value":{"status":"error","status_code":403,"detail":"You do not have permission to perform this action."}}},"exampleType":"examples"}},"exampleType":"examples"},"7bc69bea-a5d9-42a5-bd1f-894c007b504b":{"description":"Rate limit exceeded — retry later.","content":{"application/json":{"schema":{"type":"object","description":"Standard error envelope returned for 4xx/5xx responses.","properties":{"status":{"type":"string","example":"error","uniqueKey":"status","typeLabel":"string"},"status_code":{"type":"integer","example":400,"uniqueKey":"status_code","typeLabel":"integer"},"detail":{"description":"Human-readable message (string) for most errors, or a field-level validation map ({ field: [messages] }) for 400 validation errors.","example":"Person does not exist","uniqueKey":"detail","typeLabel":"any"}},"uniqueKey":"","typeLabel":"object"},"example":{"status":"error","status_code":429,"detail":"Request was throttled."},"examples":{"Example":{"title":"Example","value":{"status":"error","status_code":429,"detail":"Request was throttled."}}},"exampleType":"examples"}},"exampleType":"examples"}},"security":{"5aef15b8-48e8-4e2e-9e54-42455287aefb":{"apiKey":{"type":"apiKey","in":"header","name":"Authorization","description":"Use the required Token prefix. Example: Authorization: Token xxxxxxxxx","scopes":[],"schemeName":"apiKey"}}},"servers":{"48651494-e758-4280-852b-ae5b3f15e5a8":{"url":"https://api.generect.com"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"apiKey","in":"header","name":"Authorization","description":"Use the required Token prefix. Example: Authorization: Token xxxxxxxxx","scopes":[],"schemeName":"apiKey"},"schema":{"title":"Authorization","type":"string","description":"Use the required Token prefix. Example: Authorization: Token xxxxxxxxx","isRequired":true,"typeLabel":"string","deprecated":false},"schemeName":"apiKey","name":"Authorization"}],"title":"apiKey"}]},"originalFileLocation":"api-reference/openapi.yaml"},"subdomain":"generect","siteName":"Generect","title":"Count database company leads - Generect","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-07-03T07:14:21.713Z","originalFileLocation":"api-reference/endpoint/search/count-database-company-leads.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Count cached company-lead matches. Database count endpoints are free.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Generect\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/generect/a6AHBlxtST4jsqP0/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/generect/a6AHBlxtST4jsqP0/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/generect/a6AHBlxtST4jsqP0/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/generect/a6AHBlxtST4jsqP0/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/generect/a6AHBlxtST4jsqP0/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/generect/a6AHBlxtST4jsqP0/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/generect/a6AHBlxtST4jsqP0/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/generect/a6AHBlxtST4jsqP0/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/generect/a6AHBlxtST4jsqP0/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Count database company leads - Generect\">\u003cmeta data-mint-head property=\"og:description\" content=\"Count cached company-lead matches. Database count endpoints are free.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Generect\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.generect.com/api-reference/endpoint/search/count-database-company-leads\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://generect.mintlify.site/_mintlify/api/og/v2?division=Company-Leads\u0026amp;title=Count+database+company+leads\u0026amp;description=Count+cached+company-lead+matches.+Database+count+endpoints+are+free.\u0026amp;theme=6ca42c67ba0b93527cc1a62e\u0026amp;signature=6c3216fe3f767697d1a2d953100a42c79e031d64b5cd99c48b54e45528a371d5\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Count database company leads - Generect\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Count cached company-lead matches. Database count endpoints are free.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://generect.mintlify.site/_mintlify/api/og/v2?division=Company-Leads\u0026amp;title=Count+database+company+leads\u0026amp;description=Count+cached+company-lead+matches.+Database+count+endpoints+are+free.\u0026amp;theme=6ca42c67ba0b93527cc1a62e\u0026amp;signature=6c3216fe3f767697d1a2d953100a42c79e031d64b5cd99c48b54e45528a371d5\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/generect/a6AHBlxtST4jsqP0/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Generect\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#2d59c8\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.generect.com/api-reference/endpoint/search/count-database-company-leads\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/endpoint/search/count-database-company-leads.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.generect.com/#organization\",\"name\":\"Generect\",\"url\":\"https://docs.generect.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/generect/X6p5e4jggJuPFyIO/logo/light.svg?fit=max\u0026auto=format\u0026n=X6p5e4jggJuPFyIO\u0026q=85\u0026s=749751167c04ffe76f0b07e4c1c00c09\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.generect.com#website\",\"name\":\"Generect\",\"url\":\"https://docs.generect.com\",\"publisher\":{\"@id\":\"https://docs.generect.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.generect.com/api-reference/endpoint/search/count-database-company-leads#webpage\",\"url\":\"https://docs.generect.com/api-reference/endpoint/search/count-database-company-leads\",\"name\":\"Count database company leads\",\"description\":\"Count cached company-lead matches. Database count endpoints are free.\",\"dateModified\":\"2026-07-03T07:14:21.713Z\",\"isPartOf\":{\"@id\":\"https://docs.generect.com#website\"},\"breadcrumb\":{\"@id\":\"https://docs.generect.com/api-reference/endpoint/search/count-database-company-leads#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.generect.com/api-reference/endpoint/search/count-database-company-leads#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Search\",\"item\":\"https://docs.generect.com/api-reference/endpoint/search/realtime-companies\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Company-Leads\",\"item\":\"https://docs.generect.com/api-reference/endpoint/search/realtime-company-leads\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Count database company leads\",\"item\":\"https://docs.generect.com/api-reference/endpoint/search/count-database-company-leads\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.generect.com/api-reference/endpoint/search/count-database-company-leads#apireference\",\"headline\":\"Count database company leads\",\"name\":\"Count database company leads\",\"description\":\"Count cached company-lead matches. Database count endpoints are free.\",\"url\":\"https://docs.generect.com/api-reference/endpoint/search/count-database-company-leads\",\"mainEntityOfPage\":{\"@id\":\"https://docs.generect.com/api-reference/endpoint/search/count-database-company-leads#webpage\"},\"dateModified\":\"2026-07-03T07:14:21.713Z\",\"publisher\":{\"@id\":\"https://docs.generect.com/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.generect.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Generect\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Generect\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/api-reference/endpoint/search/count-database-company-leads.md","siteName":"Generect","nav":{"global":null,"tabs":[{"tab":"Introduction","pages":[{"title":"Introduction","href":"/docs/what-is-generect"}]},{"tab":"API Reference","groups":[{"group":"API Reference","pages":[{"title":"Introduction","icon":"book-open","href":"/api-reference/introduction"},{"title":"Quickstart","icon":"rocket","href":"/api-reference/quickstart"},{"title":"Test mode","icon":"flask","href":"/api-reference/test-mode"},{"title":"Database vs Real-time","icon":"scale-balanced","href":"/api-reference/database-vs-realtime"},{"title":"Limits","icon":"gauge","href":"/api-reference/limits"},{"title":"Reliability","icon":"heart-pulse","href":"/api-reference/reliability"},{"title":"Errors","icon":"triangle-exclamation","href":"/api-reference/errors"},{"title":"Migration Guide","icon":"right-left","href":"/api-reference/migration-guide"}]},{"group":"Auth","pages":[{"title":"Authentication","icon":"key","href":"/api-reference/authentication"}]},{"group":"Enrich","pages":[{"group":"Companies","icon":"building","pages":[{"sidebarTitle":"Real-time","openapi":"post /api/v1/enrich/realtime/company/","title":"Enrich company in realtime","href":"/api-reference/endpoint/enrich/enrich-realtime-company"},{"sidebarTitle":"Database","openapi":"post /api/v1/enrich/database/company/","title":"Enrich company from database","href":"/api-reference/endpoint/enrich/enrich-database-company"},{"sidebarTitle":"Bulk (realtime)","openapi":"post /api/v1/enrich/realtime/companies/bulk/","title":"Start bulk company enrich (realtime)","href":"/api-reference/endpoint/enrich/enrich-realtime-companies-bulk"},{"sidebarTitle":"Bulk (database)","openapi":"post /api/v1/enrich/database/companies/bulk/","title":"Start bulk company enrich (database)","href":"/api-reference/endpoint/enrich/enrich-database-companies-bulk"},{"sidebarTitle":"Get bulk job","openapi":"get /api/v1/enrich/companies/bulk/{job_id}/","title":"Get bulk company enrich job","href":"/api-reference/endpoint/enrich/get-companies-bulk"}]},{"group":"Leads","icon":"user","pages":[{"sidebarTitle":"Real-time","openapi":"post /api/v1/enrich/realtime/lead/","title":"Enrich lead in realtime","href":"/api-reference/endpoint/enrich/enrich-realtime-lead"},{"sidebarTitle":"Database","openapi":"post /api/v1/enrich/database/lead/","title":"Enrich lead from database","href":"/api-reference/endpoint/enrich/enrich-database-lead"},{"sidebarTitle":"Bulk (realtime)","openapi":"post /api/v1/enrich/realtime/leads/bulk/","title":"Start bulk lead enrich (realtime)","href":"/api-reference/endpoint/enrich/enrich-realtime-leads-bulk"},{"sidebarTitle":"Bulk (database)","openapi":"post /api/v1/enrich/database/leads/bulk/","title":"Start bulk lead enrich (database)","href":"/api-reference/endpoint/enrich/enrich-database-leads-bulk"},{"sidebarTitle":"Get bulk job","openapi":"get /api/v1/enrich/leads/bulk/{job_id}/","title":"Get bulk lead enrich job","href":"/api-reference/endpoint/enrich/get-leads-bulk"}]}]},{"group":"Search","pages":[{"group":"Companies","icon":"building","pages":[{"sidebarTitle":"Real-time","openapi":"post /api/v1/search/realtime/companies/","title":"Search realtime companies","href":"/api-reference/endpoint/search/realtime-companies"},{"sidebarTitle":"Database","openapi":"post /api/v1/search/database/companies/","title":"Search database companies","href":"/api-reference/endpoint/search/database-companies"},{"sidebarTitle":"Real-time count","openapi":"post /api/v1/search/realtime/companies/count/","title":"Count realtime companies","href":"/api-reference/endpoint/search/count-realtime-companies"},{"sidebarTitle":"Database count","openapi":"post /api/v1/search/database/companies/count/","title":"Count database companies","href":"/api-reference/endpoint/search/count-database-companies"}]},{"group":"Leads","icon":"user","pages":[{"sidebarTitle":"Real-time","openapi":"post /api/v1/search/realtime/leads/","title":"Search realtime leads","href":"/api-reference/endpoint/search/realtime-leads"},{"sidebarTitle":"Database","openapi":"post /api/v1/search/database/leads/","title":"Search database leads","href":"/api-reference/endpoint/search/database-leads"},{"sidebarTitle":"Real-time count","openapi":"post /api/v1/search/realtime/leads/count/","title":"Count realtime leads","href":"/api-reference/endpoint/search/count-realtime-leads"},{"sidebarTitle":"Database count","openapi":"post /api/v1/search/database/leads/count/","title":"Count database leads","href":"/api-reference/endpoint/search/count-database-leads"},{"group":"Preview","icon":"eye","pages":[{"sidebarTitle":"Leads","openapi":"post /api/v1/preview/leads/","title":"Preview leads","href":"/api-reference/endpoint/preview/preview-leads"},{"sidebarTitle":"Count Leads","openapi":"post /api/v1/preview/leads/count/","title":"Count preview leads","href":"/api-reference/endpoint/preview/count-preview-leads"}]}]},{"group":"Company-Leads","icon":"building-user","pages":[{"sidebarTitle":"Real-time","openapi":"post /api/v1/search/realtime/company-leads/","title":"Search realtime company leads","href":"/api-reference/endpoint/search/realtime-company-leads"},{"sidebarTitle":"Database","openapi":"post /api/v1/search/database/company-leads/","title":"Search database company leads","description":"Search cached leads at matching companies.","href":"/api-reference/endpoint/search/database-company-leads"},{"sidebarTitle":"Database count","openapi":"post /api/v1/search/database/company-leads/count/","title":"Count database company leads","href":"/api-reference/endpoint/search/count-database-company-leads"}]}]},{"group":"Contacts","pages":[{"group":"Email","icon":"envelope","pages":[{"sidebarTitle":"Single find","openapi":"post /api/v1/email/find/","title":"Find email","description":"Find a verified work email by lead ID, LinkedIn URL, or by name and domain. Billed only when a valid email is found.","href":"/api-reference/endpoint/emails/email-finder"},{"sidebarTitle":"Start bulk job","openapi":"post /api/v1/email/find/bulk/","title":"Start bulk email find","href":"/api-reference/endpoint/emails/email-finder-bulk"},{"sidebarTitle":"Get bulk job","openapi":"get /api/v1/email/find/bulk/{job_id}/","title":"Get bulk email find job","href":"/api-reference/endpoint/emails/get-email-finder-bulk"},{"sidebarTitle":"Validate","openapi":"post /api/v1/email/validate/","title":"Validate emails","href":"/api-reference/endpoint/emails/email-validation"}]},{"group":"Phone","icon":"phone","pages":[{"sidebarTitle":"Find","openapi":"post /api/v1/phone/find/","title":"Find phone","href":"/api-reference/endpoint/phone/phone-finder"},{"sidebarTitle":"Start bulk job","openapi":"post /api/v1/phone/find/bulk/","title":"Start bulk phone find","href":"/api-reference/endpoint/phone/phone-finder-bulk"},{"sidebarTitle":"Get bulk job","openapi":"get /api/v1/phone/find/bulk/{job_id}/","title":"Get bulk phone find job","href":"/api-reference/endpoint/phone/get-phone-finder-bulk"}]}]},{"group":"Account","icon":"user-gear","pages":[{"openapi":"get /api/v1/accounts/me/","title":"Get account profile","href":"/api-reference/endpoint/accounts/get-account-me"},{"openapi":"get /api/v1/accounts/usage/","title":"Get account usage","href":"/api-reference/endpoint/accounts/get-account-usage"},{"openapi":"get /api/v1/accounts/transactions/","title":"Get account transactions","href":"/api-reference/endpoint/accounts/get-account-transactions"},{"openapi":"get /api/v1/accounts/tokens/analytics/","title":"Usage by token","href":"/api-reference/endpoint/accounts/get-account-token-analytics"}]},{"group":"Webhooks","icon":"bell","pages":[{"title":"Webhooks","sidebarTitle":"Overview","href":"/api-reference/endpoint/webhooks/overview"},{"openapi":"get /api/v1/webhooks/","title":"List webhooks","href":"/api-reference/endpoint/webhooks/list-webhooks"},{"openapi":"post /api/v1/webhooks/","title":"Register webhook","href":"/api-reference/endpoint/webhooks/create-webhook"},{"openapi":"get /api/v1/webhooks/{id}/","title":"Retrieve webhook","href":"/api-reference/endpoint/webhooks/get-webhook"},{"openapi":"put /api/v1/webhooks/{id}/","title":"Update webhook","href":"/api-reference/endpoint/webhooks/update-webhook"},{"openapi":"delete /api/v1/webhooks/{id}/","title":"Delete webhook","href":"/api-reference/endpoint/webhooks/delete-webhook"},{"openapi":"post /api/v1/webhooks/{id}/test/","title":"Test webhook","href":"/api-reference/endpoint/webhooks/test-webhook"}]}]},{"tab":"Billing \u0026 Pricing","pages":[{"title":"Billing \u0026 Pricing","href":"/billing/pay-as-you-go"}]},{"tab":"Integrations","pages":[{"title":"Integrations","href":"/integrations/hubspot/hubspot"}]},{"tab":"Use Cases \u0026 Best Practices","pages":[{"title":"Use Cases \u0026 Best Practices","href":"/use-cases/saas/introduction"}]}]},"basePath":"","title":"Count database company leads - Generect","buildId":"dpl_DqYu5MPb49gWBBbUGgpHQUmCHY3P","deploymentId":"dpl_DqYu5MPb49gWBBbUGgpHQUmCHY3P","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-CybtLBIt.js","utils-BMLj2fvV.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-B6In562Y.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-Dr8Mfhp9.js","snippetPresets-2rmQvMVl.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","conditional-requirements-CFM0id0Q.js","ApiExamples-WMqJYdZj.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-CJ-MlPHu.js","shallow-dY3TMRCk.js","getApiPlaygroundDisplay-v-1B2bKm.js","CodeSnippet-BDhiTB7U.js","CodeSnippets-D9hnzQcS.js","Page-C4GwDT3_.js","getPastedJson-Th2V45jI.js","icon-BQXch1W9.js","MethodPill-BCqUneP3.js","DuplicateIcon-Q_-bhurZ.js","createIcon-DUjLHRqp.js","DynamicMarkdown-B-f2cqXQ.js","SectionHeading-Da5NsV4v.js","axios-vUo_bRtp.js","Markdown-D13FWkIM.js","clsx-D3Isdib3.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-C-XZBk9h.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink--qIqmmVG.js"]}