The company search endpoint lets you query The Hog’s company database using any combination of firmographic filters (employee count, revenue, founding year, location), technographic filters (required tech stack, keyword category), and intent signals (hiring activity, recent funding, growth band). When you include a project ID, each result is annotated with brand voice, matched personas, and competitive intelligence specific to that project. Credits are charged after the search completes, based on the number of unique domains that required third-party provider lookups — not on the total rows returned.Documentation Index
Fetch the complete documentation index at: https://docs.thehog.ai/llms.txt
Use this file to discover all available pages before exploring further.
Request
Authentication
All requests require a Bearer token in theAuthorization header. Your token is scoped to your organization and must have sufficient credits before a search is executed.
Headers
| Header | Required | Description |
|---|---|---|
Authorization | Yes | Bearer <your-api-key> |
X-Project-Id | No | Project context. Overridden by projectId in the request body if both are provided. |
Body Parameters
Free-text search applied to company name and domain. Must be at least 1 character when provided. Example:
"Acme".Filter by industry. Accepts an exact match or a partial (case-insensitive) match. Example:
"Software".Minimum employee count (inclusive). Must be 0 or greater.
Maximum employee count (inclusive). Must be 0 or greater.
Filter by company domain. Accepts an exact match or partial match. Example:
"acme.com".Filter by country or city. Example:
"United States".Minimum founding year (inclusive). Accepted range: 1800–2100.
Maximum founding year (inclusive). Accepted range: 1800–2100.
Minimum annual revenue in USD (inclusive). Must be 0 or greater. Example:
1000000.Maximum annual revenue in USD (inclusive). Must be 0 or greater. Example:
50000000.Array of required technologies. Only companies using all listed tools are returned. Example:
["Salesforce", "HubSpot"].Keyword advertising category filter. Example:
"PPC - CRM".When
true, returns only companies with an active hiring signal. When false, excludes companies that are hiring.When
true, returns only companies with a recent funding signal. When false, excludes recently funded companies.Growth band filter. Accepted values:
"low", "medium", "high".Number of results per page. Minimum
1, maximum 100. Defaults to 20.Zero-based pagination offset. Defaults to
0.Project context override. When set, this value takes precedence over the
X-Project-Id header. Adds brand voice, persona matching, and competitive intelligence to each result.Response
Paginated list of matching company cards.
Total number of companies matching your filters, regardless of page size.
true when additional pages of results exist beyond the current offset.Present only when a
projectId is provided. Contains project-specific enrichment for each result.Billing and usage data for this request.
Status Codes
| Code | Meaning |
|---|---|
200 | Success. Results returned. |
401 | Missing or invalid Bearer token. |
402 | Insufficient credits. Your balance is below the worst-case estimate for this query. |
403 | Organization context missing or forbidden. |