{ "message": "Company search job successfully created and is being processed.", "enrichment_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"}
{
"error": "<string>"
}
{
"message": "<string>"
}
{
"error": "<string>"
}
Companies
Search Companies via Query
Search and enrich companies using natural language queries.
This endpoint allows you to search for companies using natural language (e.g., “SaaS companies in London with 50-200 employees”) and optionally enrich them with insights, decision makers, or custom queries.
Results are delivered to the provided webhookUrl.
POST
/
v1
/
companies
/
search
Search Companies via Query
curl --request POST \ --url https://api.preceptai.co.uk/v1/companies/search \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "query": "SaaS companies in the UK with 50-200 employees", "webhookUrl": "https://your-site.com/webhook", "enrichments": { "type": "decision_makers", "departments": [ "marketing" ], "jobTitles": [ "Head of Marketing" ], "includeContactDetails": true, "decisionMakersLimit": 5 }}'
import requests
url = "https://api.preceptai.co.uk/v1/companies/search"
payload = {
"query": "SaaS companies in the UK with 50-200 employees",
"webhookUrl": "https://your-site.com/webhook",
"enrichments": {
"type": "decision_makers",
"departments": ["marketing"],
"jobTitles": ["Head of Marketing"],
"includeContactDetails": True,
"decisionMakersLimit": 5
}
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)
{ "message": "Company search job successfully created and is being processed.", "enrichment_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"}
{
"error": "<string>"
}
{
"message": "<string>"
}
{
"error": "<string>"
}
Authorizations
Authorization
string
header
required
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
application/json
query
string
required
Natural language query to search for companies.
webhookUrl
string<uri>
Optional. Your webhook URL to receive the result of the company search operations. If not provided, you can poll the GET /v1/jobs/{jobId} endpoint.
limit
integer
Maximum number of companies to return (up to 1000).
Required range: x <= 1000
name
string
A readable name for your enrichment job.
enrichments
object
Optional enrichments to perform for each discovered company. See the Company Enrichments guide for detailed descriptions and example responses for each type.
Show child attributes
queries
string[]
Response
Request accepted. The search and enrichment are in progress.
message
string
Example:
"Company search job successfully created and is being processed."
enrichment_id
string<uuid>
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Precept API","colors":{"primary":"#1D4ED8","light":"#3B82F6","dark":"#1E3A8A"},"logo":{"light":"https://mintcdn.com/precept/ZNWTJJJ682eOlJcx/logo/precept-full.png?fit=max\u0026auto=format\u0026n=ZNWTJJJ682eOlJcx\u0026q=85\u0026s=29574bc08725b5377625ac95b83faed6","dark":"https://mintcdn.com/precept/ZNWTJJJ682eOlJcx/logo/precept-full.png?fit=max\u0026auto=format\u0026n=ZNWTJJJ682eOlJcx\u0026q=85\u0026s=29574bc08725b5377625ac95b83faed6"},"favicon":"https://mintcdn.com/precept/ZNWTJJJ682eOlJcx/logo/precept-full.png?fit=max\u0026auto=format\u0026n=ZNWTJJJ682eOlJcx\u0026q=85\u0026s=29574bc08725b5377625ac95b83faed6","navbar":{"primary":{"type":"button","label":"Precept","href":"https://app.preceptai.co.uk/developer"}},"footer":{"socials":{"website":"https://www.preceptai.co.uk"}},"seo":{},"metadata":{"timestamp":false},"styling":{"latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"precept","hasAudioNarration":false,"actualSubdomain":"precept","customDomains":["docs.preceptai.co.uk"],"gitSource":{"type":"github","owner":"johnbabat","repo":"precept-api-doc","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"entitlements":{},"buildId":"6afd8176e66841d6ae9bb286","clientVersion":"0.0.4342","searchFilterCounts":[{"language":"default","tag":"API Reference","count":10},{"language":"default","tag":"API Endpoints","count":8},{"language":"default","tag":"Essentials","count":3},{"language":"default","tag":"People","count":3},{"language":"default","tag":"Webhook Examples","count":2},{"language":"default","tag":"Getting Started","count":2},{"language":"default","tag":"Integrations","count":2},{"language":"default","tag":"Companies","count":2},{"language":"default","tag":"Billing","count":1},{"language":"default","tag":"Campaigns","count":1}]},"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":"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":"site-roles","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":"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":"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":"turbopuffer-dual-write","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":"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},{"name":"starter-pricing","enabled":true,"variant":{"name":"control","enabled":true,"payload":{"type":"string","value":"control"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"wildcard-email-auth","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"starterQuestions":[],"googleFontsInlined":false},"customCss":[]}
{"page":{"pagePath":"api-reference/companies/search-companies-via-query","slug":"/api-reference/companies/search-companies-via-query","pageMetadata":{"title":"Search Companies via Query","description":"\n\nSearch and enrich companies using natural language queries.\n\nThis endpoint allows you to search for companies using natural language (e.g., \"SaaS companies in London with 50-200 employees\") and optionally enrich them with insights, decision makers, or custom queries.\n\nResults are delivered to the provided `webhookUrl`.","deprecated":null,"version":null,"openapi":"/api-reference/combined.json post /v1/companies/search","href":"/api-reference/companies/search-companies-via-query","autogeneratedByOpenApi":true},"description":{"compiledSource":"\"use strict\";\nconst {Fragment: _Fragment, jsx: _jsx, jsxs: _jsxs} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n code: \"code\",\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsxs(_Fragment, {\n children: [_jsx(_components.p, {\n children: \"Search and enrich companies using natural language queries.\"\n }), \"\\n\", _jsx(_components.p, {\n children: \"This endpoint allows you to search for companies using natural language (e.g., “SaaS companies in London with 50-200 employees”) and optionally enrich them with insights, decision makers, or custom queries.\"\n }), \"\\n\", _jsxs(_components.p, {\n children: [\"Results are delivered to the provided \", _jsx(_components.code, {\n children: \"webhookUrl\"\n }), \".\"]\n })]\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}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){return _jsx(_Fragment,{})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Search Companies via Query","description":"\n\nSearch and enrich companies using natural language queries.\n\nThis endpoint allows you to search for companies using natural language (e.g., \"SaaS companies in London with 50-200 employees\") and optionally enrich them with insights, decision makers, or custom queries.\n\nResults are delivered to the provided `webhookUrl`.","deprecated":null,"version":null,"openapi":"/api-reference/combined.json post /v1/companies/search","href":"/api-reference/companies/search-companies-via-query","autogeneratedByOpenApi":true}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"summary":"Search Companies via Query","description":"\n\nSearch and enrich companies using natural language queries.\n\nThis endpoint allows you to search for companies using natural language (e.g., \"SaaS companies in London with 50-200 employees\") and optionally enrich them with insights, decision makers, or custom queries.\n\nResults are delivered to the provided `webhookUrl`.","tags":["Companies"],"requestBody":"c38d8165-2cf4-4a3f-9aaf-d30521191f5d","responses":{"202":"6cc9623f-373b-41fa-a128-9324b87e4aed","400":"e06137e7-7964-4c58-961e-84760e0bd047","402":"37d0c1cf-f80d-4a78-855f-9d151630a1cb","500":"61009c6b-b4b7-4898-a951-7e41af612980"},"method":"post","type":"path","servers":["4d01301c-2af4-4574-8d04-1b571324ad7a"],"security":["ba978c6b-5b1e-4c84-aeb4-608c30a51d6a"],"path":"/v1/companies/search","baseUrlOptions":["https://api.preceptai.co.uk"],"title":"Search Companies via Query","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["query"],"properties":{"query":{"type":"string","description":"Natural language query to search for companies.","isRequired":true,"uniqueKey":"query","typeLabel":"string"},"webhookUrl":{"type":"string","format":"uri","description":"Optional. Your webhook URL to receive the result of the company search operations. If not provided, you can poll the GET /v1/jobs/{jobId} endpoint.","uniqueKey":"webhookUrl","typeLabel":"string\u003curi>"},"limit":{"type":"integer","maximum":1000,"description":"Maximum number of companies to return (up to 1000).","uniqueKey":"limit","typeLabel":"integer"},"name":{"type":"string","description":"A readable name for your enrichment job.","uniqueKey":"name","typeLabel":"string"},"enrichments":{"type":"object","description":"Optional enrichments to perform for each discovered company. See the [Company Enrichments](/essentials/enrichments) guide for detailed descriptions and example responses for each type.","properties":{"type":{"type":"string","description":"The type of structured enrichment to perform. Enrichment types are broken down into three categories:\n\n| Category | Type | Explanation |\n| --- | --- | --- |\n| **Company-level** | `technology_stack` | Identifies the software, tools, and technologies used by the company. |\n| | `revenue` | Retrieves the estimated annual revenue of the company. |\n| | `recent_funding` | Provides details about the company's most recent funding rounds and investors. |\n| **Department-level** (Requires `departments` and/or `jobTitles`)* | `employee_count` | Returns the total headcount within specified departments or job titles. |\n| | `employee_count_change` | Shows the growth or decline in employee headcount over time for specific roles. |\n| | `department_ratio` | Calculates the percentage of the company's total workforce that belongs to a specific department. |\n| | `job_posting_insights` | Analyzes active job postings and hiring trends for specified departments. |\n| **Lead-level** | `decision_makers` | Finds specific people based on the provided `departments` and/or `jobTitles`. The people are searched in the order of seniority, most senior employees are returned first. |\n| | `all_employees` | Fetches the company's entire employee directory. |","enum":["decision_makers","all_employees","employee_count","job_posting_insights","department_ratio","employee_count_change","technology_stack","revenue","recent_funding"],"uniqueKey":"enrichments.type","typeLabel":"enum\u003cstring>"},"departments":{"type":"array","maxItems":40,"description":"A list of department names to find employees or insights for. Note: The combined total of departments and jobTitles cannot exceed 40.","items":{"type":"string","uniqueKey":"enrichments.departments.items.[INDEX]","typeLabel":"string"},"uniqueKey":"enrichments.departments","typeLabel":"string[]"},"jobTitles":{"type":"array","maxItems":40,"description":"A list of job titles to find employees for. Note: The combined total of departments and jobTitles cannot exceed 40.","items":{"type":"string","uniqueKey":"enrichments.jobTitles.items.[INDEX]","typeLabel":"string"},"uniqueKey":"enrichments.jobTitles","typeLabel":"string[]"},"country":{"type":"array","items":{"type":"string","uniqueKey":"enrichments.country.items.[INDEX]","typeLabel":"string"},"uniqueKey":"enrichments.country","typeLabel":"string[]"},"includeContactDetails":{"type":"boolean","uniqueKey":"enrichments.includeContactDetails","typeLabel":"boolean"},"decisionMakersLimit":{"type":"integer","uniqueKey":"enrichments.decisionMakersLimit","typeLabel":"integer"},"limitType":{"type":"string","enum":["per_role","overall"],"uniqueKey":"enrichments.limitType","typeLabel":"enum\u003cstring>"}},"uniqueKey":"enrichments","typeLabel":"object"},"queries":{"type":"array","items":{"type":"string","uniqueKey":"queries.items.[INDEX]","typeLabel":"string"},"uniqueKey":"queries","typeLabel":"string[]"}},"uniqueKey":"","typeLabel":"object"},"examples":{"default":{"title":"default","summary":"Search for companies and find decision makers.","value":{"query":"SaaS companies in the UK with 50-200 employees","webhookUrl":"https://your-site.com/webhook","enrichments":{"type":"decision_makers","departments":["marketing"],"jobTitles":["Head of Marketing"],"includeContactDetails":true,"decisionMakersLimit":5}}}},"exampleType":"examples"}},"exampleType":"examples"},"responses":{"6cc9623f-373b-41fa-a128-9324b87e4aed":{"description":"Request accepted. The search and enrichment are in progress.","content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string","example":"Company search job successfully created and is being processed.","uniqueKey":"message","typeLabel":"string"},"enrichment_id":{"type":"string","format":"uuid","uniqueKey":"enrichment_id","typeLabel":"string\u003cuuid>"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"message":"Company search job successfully created and is being processed.","enrichment_id":"3c90c3cc-0d44-4b50-8888-8dd25736052a"}}},"exampleType":"generated"}},"exampleType":"generated"},"e06137e7-7964-4c58-961e-84760e0bd047":{"description":"Invalid input.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string","uniqueKey":"error","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":"\u003cstring>"}}},"exampleType":"generated"}},"exampleType":"generated"},"37d0c1cf-f80d-4a78-855f-9d151630a1cb":{"description":"Insufficient credits.","content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string","uniqueKey":"message","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"message":"\u003cstring>"}}},"exampleType":"generated"}},"exampleType":"generated"},"61009c6b-b4b7-4898-a951-7e41af612980":{"description":"Internal server error.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string","uniqueKey":"error","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":"\u003cstring>"}}},"exampleType":"generated"}},"exampleType":"generated"}},"security":{"ba978c6b-5b1e-4c84-aeb4-608c30a51d6a":{"bearerAuth":{"type":"http","scheme":"bearer","scopes":[],"schemeName":"bearerAuth"}}},"servers":{"4d01301c-2af4-4574-8d04-1b571324ad7a":{"url":"https://api.preceptai.co.uk"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"http","scheme":"bearer","scopes":[],"schemeName":"bearerAuth"},"schema":{"title":"Bearer Auth","type":"string","isRequired":true,"description":"Bearer authentication header of the form `Bearer \u003ctoken>`, where `\u003ctoken>` is your auth token.","format":"bearer","typeLabel":"string\u003cbearer>","deprecated":false},"schemeName":"bearerAuth","name":"Authorization"}],"title":"bearerAuth"}]},"originalFileLocation":"api-reference/combined.json"},"subdomain":"precept","siteName":"Precept API","title":"Search Companies via Query - Precept API","contextualStarterQuestions":[],"navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-11-18T10:44:12.086Z","originalFileLocation":"api-reference/companies/search-companies-via-query.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=\"Search and enrich companies using natural language queries. This endpoint allows you to search for companies using natural language (e.g., \u0026quot;SaaS companies in London with 50-200 employees\u0026quot;) and optionally enrich them with insights, decision makers, or custom queries. Results are delivered to the provided webhookUrl.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Precept API\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/precept/qg3p4hZBAKHbEGg6/_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/precept/qg3p4hZBAKHbEGg6/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/precept/qg3p4hZBAKHbEGg6/_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/precept/qg3p4hZBAKHbEGg6/_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/precept/qg3p4hZBAKHbEGg6/_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/precept/qg3p4hZBAKHbEGg6/_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/precept/qg3p4hZBAKHbEGg6/_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/precept/qg3p4hZBAKHbEGg6/_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/precept/qg3p4hZBAKHbEGg6/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Search Companies via Query - Precept API\">\u003cmeta data-mint-head property=\"og:description\" content=\"Search and enrich companies using natural language queries. This endpoint allows you to search for companies using natural language (e.g., \u0026quot;SaaS companies in London with 50-200 employees\u0026quot;) and optionally enrich them with insights, decision makers, or custom queries. Results are delivered to the provided webhookUrl.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Precept API\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.preceptai.co.uk/api-reference/companies/search-companies-via-query\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://precept.mintlify.site/_mintlify/api/og/v2?division=Companies\u0026amp;title=Search+Companies+via+Query\u0026amp;description=%0A%0ASearch+and+enrich+companies+using+natural+language+queries.%0A%0AThis+endpoint+allows+you+to+search+for+companies+using+natural+language+%28e.g.%2C+%22SaaS+companies+in\u0026amp;theme=d44622a2516bea18105ae64f\u0026amp;signature=9d9b42ab5fe08697f8c3e4d34b78e138e4fdb8cf31be9a17c4fe833fd0d2994e\">\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=\"Search Companies via Query - Precept API\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Search and enrich companies using natural language queries. This endpoint allows you to search for companies using natural language (e.g., \u0026quot;SaaS companies in London with 50-200 employees\u0026quot;) and optionally enrich them with insights, decision makers, or custom queries. Results are delivered to the provided webhookUrl.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://precept.mintlify.site/_mintlify/api/og/v2?division=Companies\u0026amp;title=Search+Companies+via+Query\u0026amp;description=%0A%0ASearch+and+enrich+companies+using+natural+language+queries.%0A%0AThis+endpoint+allows+you+to+search+for+companies+using+natural+language+%28e.g.%2C+%22SaaS+companies+in\u0026amp;theme=d44622a2516bea18105ae64f\u0026amp;signature=9d9b42ab5fe08697f8c3e4d34b78e138e4fdb8cf31be9a17c4fe833fd0d2994e\">\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/precept/qg3p4hZBAKHbEGg6/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Precept API\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#1D4ED8\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.preceptai.co.uk/api-reference/companies/search-companies-via-query\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/companies/search-companies-via-query.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.preceptai.co.uk/#organization\",\"name\":\"Precept API\",\"url\":\"https://docs.preceptai.co.uk\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/precept/ZNWTJJJ682eOlJcx/logo/precept-full.png?fit=max\u0026auto=format\u0026n=ZNWTJJJ682eOlJcx\u0026q=85\u0026s=29574bc08725b5377625ac95b83faed6\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.preceptai.co.uk#website\",\"name\":\"Precept API\",\"url\":\"https://docs.preceptai.co.uk\",\"publisher\":{\"@id\":\"https://docs.preceptai.co.uk/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.preceptai.co.uk/api-reference/companies/search-companies-via-query#webpage\",\"url\":\"https://docs.preceptai.co.uk/api-reference/companies/search-companies-via-query\",\"name\":\"Search Companies via Query\",\"description\":\"Search and enrich companies using natural language queries. This endpoint allows you to search for companies using natural language (e.g., \\\"SaaS companies in London with 50-200 employees\\\") and optionally enrich them with insights, decision makers, or custom queries. Results are delivered to the provided webhookUrl.\",\"dateModified\":\"2026-11-18T10:44:12.086Z\",\"isPartOf\":{\"@id\":\"https://docs.preceptai.co.uk#website\"},\"breadcrumb\":{\"@id\":\"https://docs.preceptai.co.uk/api-reference/companies/search-companies-via-query#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.preceptai.co.uk/api-reference/companies/search-companies-via-query#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"API Reference\",\"item\":\"https://docs.preceptai.co.uk/api-reference/companies/get-company-insights\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"API Endpoints\",\"item\":\"https://docs.preceptai.co.uk/api-reference/companies/get-company-insights\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Companies\",\"item\":\"https://docs.preceptai.co.uk/api-reference/companies/get-company-insights\"},{\"@type\":\"ListItem\",\"position\":4,\"name\":\"Search Companies via Query\",\"item\":\"https://docs.preceptai.co.uk/api-reference/companies/search-companies-via-query\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.preceptai.co.uk/api-reference/companies/search-companies-via-query#apireference\",\"headline\":\"Search Companies via Query\",\"name\":\"Search Companies via Query\",\"description\":\"Search and enrich companies using natural language queries. This endpoint allows you to search for companies using natural language (e.g., \\\"SaaS companies in London with 50-200 employees\\\") and optionally enrich them with insights, decision makers, or custom queries. Results are delivered to the provided webhookUrl.\",\"url\":\"https://docs.preceptai.co.uk/api-reference/companies/search-companies-via-query\",\"mainEntityOfPage\":{\"@id\":\"https://docs.preceptai.co.uk/api-reference/companies/search-companies-via-query#webpage\"},\"dateModified\":\"2026-11-18T10:44:12.086Z\",\"publisher\":{\"@id\":\"https://docs.preceptai.co.uk/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.preceptai.co.uk#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Precept API\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Precept API\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/api-reference/companies/search-companies-via-query.md","siteName":"Precept API","nav":{"global":null,"groups":[{"group":"Getting Started","pages":[{"title":"Introduction","icon":"house","href":"/introduction"},{"title":"Authentication","icon":"key","href":"/authentication"}]},{"group":"Essentials","pages":[{"title":"Understanding Credits","icon":"coins","href":"/essentials/credits"},{"title":"Rate Limits, Speed, and Volume","icon":"gauge-high","href":"/essentials/rate-limits"},{"title":"Company Enrichments","icon":"chart-mixed","href":"/essentials/enrichments"}]},{"group":"Integrations","pages":[{"title":"Make","icon":"plug","href":"/integrations/make"},{"title":"n8n","icon":"plug","href":"/integrations/n8n"}]},{"group":"API Reference","pages":[{"group":"API Endpoints","pages":[{"group":"Companies","pages":[{"title":"Get Company Insights","description":"\n\nRetrieve detailed insights and enrichments for a list of companies.\n\nThis endpoint enriches a list of companies with comprehensive data. You provide a list of companies, identified by either their website or LinkedIn URL, and specify the desired enrichments. The results are delivered to the `webhookUrl` you provide.\n\nGet company-level insights, such as:\n- Number of employees (by department)\n- Names and LinkedIn profiles of employees\n- Funding raised\n- Revenue\n- Strategic initiatives at the company\n- Latest news\n- Top problems the company is facing right now\n- **+42** more datapoints.\n\nYou can also make custom queries about the company.\n\nTo associate your own internal identifiers with each company, use the customData field. This data will be returned to you in the webhook response, allowing you to easily map the enrichment results back to your system.","deprecated":null,"version":null,"openapi":"/api-reference/combined.json post /v1/companies/insights","href":"/api-reference/companies/get-company-insights"},{"title":"Search Companies via Query","deprecated":null,"version":null,"openapi":"/api-reference/combined.json post /v1/companies/search","href":"/api-reference/companies/search-companies-via-query"}]},{"group":"People","pages":[{"title":"Start Contacts Enrichment","description":"\n\nEnrich your contacts using this endpoint.\n\nThis endpoint enriches a list of contacts with contact details and Personalized AI insights:\n- Verified email addresses.\n- Verified phone numbers.\n- Professional summary.\n- Top problems.\n- Internal strategic initiatives.\n- Public appearances.\n- Tailored outreach messages for email (PIPE framework) and LinkedIn (SHIP framework) via `generateMessage`.\n\nTo enrich a contact, you can provide either their LinkedIn profile URL or a combination of their first name, last name, and company name/domain. You can process up to 1,000 contacts in a single request.\n\nTo associate your own internal identifiers with each lead, use the customData field. This data will be returned to you in the webhook response, allowing you to easily map the enrichment results back to your system.\n\nTo receive the results, you must provide a `webhookUrl`.","deprecated":null,"version":null,"openapi":"/api-reference/combined.json post /v1/leads/enrich","href":"/api-reference/people/start-contacts-enrichment"},{"title":"Search People via Query","deprecated":null,"version":null,"openapi":"/api-reference/combined.json post /v1/leads/search","href":"/api-reference/people/search-people-via-query"},{"title":"Discover People from LinkedIn Posts","deprecated":null,"version":null,"openapi":"/api-reference/combined.json post /v1/leads/post-search","href":"/api-reference/people/discover-people-from-linkedin-posts"}]},{"group":"Jobs","pages":[{"title":"Get Job Status","deprecated":null,"version":null,"openapi":"/api-reference/combined.json get /v1/jobs/{jobId}","href":"/api-reference/jobs/get-job-status"}]},{"group":"Billing","pages":[{"title":"Get Remaining Credits","deprecated":null,"version":null,"openapi":"/api-reference/combined.json get /v1/credits","href":"/api-reference/billing/get-remaining-credits"}]},{"group":"Campaigns","pages":[{"title":"Get Campaign Metrics","deprecated":null,"version":null,"openapi":"/api-reference/combined.json get /v1/campaigns","href":"/api-reference/campaigns/get-campaign-metrics"}]}]},{"group":"Webhook Examples","pages":[{"title":"Company Webhooks","openapi":"combined.json webhook companyInsightsWebhook","href":"/api-reference/webhooks/companies-webhooks"},{"title":"People Webhooks","openapi":"combined.json webhook leadEnrichmentWebhook","href":"/api-reference/webhooks/leads-webhooks"}]}]}]},"basePath":"","title":"Search Companies via Query - Precept API","deploymentId":"dpl_QQ3G2kinQNQFFK6Sh8dmX2teK74w","buildId":"dpl_QQ3G2kinQNQFFK6Sh8dmX2teK74w","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-CyAr6xD1.js","snippetPresets-BSqedH3o.js","utils-DXfQSZU_.js","style-to-object-BY3JEAdk.js","utils-DiMyLQC-.js","v4-DIgz8zy6.js","addTypeLabelsToSchema-DvPCxzT8.js","conditional-requirements-CFM0id0Q.js","cloneDeep-dx7iM-7h.js","_Uint8Array-DpQIK2Aw.js","isObject-FP1Yky1u.js","ApiExamples-B2sy5qvP.js","usePlaygroundInputsStore-BDc5FJKB.js","shallow-DxZq5uhD.js","isEqual-Bl_IuwU4.js","CodeSnippets-D1UoeS-I.js","CodeSnippet-C87it1Zg.js","use-playground-group-access-DyECiQ2v.js","Page-wigwbDGe.js","api-description-markdown-DHZIfeWZ.js","DynamicMarkdown-D8KwOkxZ.js","SectionHeading-uish4Ed2.js","MethodPill-DR7O5MCP.js","getPastedJson-D2WQib0m.js","Check2Icon-CUuzblYS.js","axios-CsQoIw0U.js","Markdown-K6_WYP3x.js","AssistantPageLink-BrppVW5v.js","dist-OmDnwAnM.js","lib-DMeTj1gb.js","lib-B8HbPgcC.js","katex-Dbtb6Wk7.js","html-void-elements-mCSPHezU.js","marked.esm-CZWythHk.js"]}