> ## Documentation Index
> Fetch the complete documentation index at: https://leadmagic.io/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Job Search Companies

> Autocomplete and resolve companies for Job Search filters.

# Job Search Companies

Company autocomplete and card data for [Job Search](/docs/v1/reference/job-search) filter builders. Use this helper to resolve a free-text company name or domain into a canonical company ID before running search.

## Endpoint Details

<Tabs>
  <Tab title="Pricing" icon="coins">
    | Metric         | Value                        |
    | -------------- | ---------------------------- |
    | **Cost**       | FREE — 0 credits per request |
    | **No Results** | FREE                         |

    <Tip>
      The main [Job Search](/docs/v1/reference/job-search) route can auto-resolve companies when `autoResolve` is `true`. Use this helper directly when you're building autocomplete or filter-builder UIs.
    </Tip>
  </Tab>

  <Tab title="Rate Limits" icon="gauge">
    | Metric              | Value               |
    | ------------------- | ------------------- |
    | **Requests/Minute** | 300                 |
    | **Burst Capacity**  | \~5 requests/second |

    <Info>
      Rate limits are subject to change. Contact us for enterprise plans — [support@leadmagic.io](mailto:support@leadmagic.io).
    </Info>
  </Tab>
</Tabs>

***

## Quick Example

<CodeGroup>
  ```bash cURL theme={"theme":{"light":"github-light","dark":"github-dark"}}
  curl 'https://api.leadmagic.io/v3/jobs/search/companies?q=leadmagic&limit=10' \
    -H 'X-API-Key: YOUR_API_KEY'
  ```

  ```javascript Node.js theme={"theme":{"light":"github-light","dark":"github-dark"}}
  const url = new URL('https://api.leadmagic.io/v3/jobs/search/companies');
  url.searchParams.set('q', 'leadmagic');
  url.searchParams.set('limit', '10');

  const response = await fetch(url, {
    headers: { 'X-API-Key': 'YOUR_API_KEY' }
  });
  const data = await response.json();
  console.log(data.companies);
  ```

  ```python Python theme={"theme":{"light":"github-light","dark":"github-dark"}}
  import requests

  response = requests.get(
      'https://api.leadmagic.io/v3/jobs/search/companies',
      headers={'X-API-Key': 'YOUR_API_KEY'},
      params={'q': 'leadmagic', 'limit': 10}
  )
  data = response.json()
  print(data['companies'])
  ```
</CodeGroup>

***

## Request Parameters

<ParamField query="q" type="string">
  Free-text company name or domain to search for.
</ParamField>

<ParamField query="domain" type="string">
  Exact company domain to look up (e.g. `leadmagic.io`).
</ParamField>

<ParamField query="limit" type="integer" default="10">
  Number of company candidates to return.
</ParamField>

***

## Response

<ResponseField name="companies" type="object[]">
  Matching company candidates with `id`, `name`, `domain`, and any available card data.
</ResponseField>

### Example Response

```json theme={"theme":{"light":"github-light","dark":"github-dark"}}
{
  "companies": [
    {
      "id": 102413,
      "name": "LeadMagic",
      "domain": "leadmagic.io",
      "logo_domain": "leadmagic.io"
    }
  ]
}
```

***

## Related endpoints

<CardGroup cols={2}>
  <Card title="Job Search" icon="briefcase" href="/docs/v1/reference/job-search">
    Run search using the resolved company IDs from this helper.
  </Card>

  <Card title="Job Search Helpers" icon="wand-magic-sparkles" href="/docs/v1/reference/job-search-helpers">
    Index of all Job Search filter helpers.
  </Card>

  <Card title="Job Search Resolve" icon="arrows-turn-to-dots" href="/docs/v1/reference/job-search-helpers#resolve-a-search">
    Resolve a full draft search request in one call.
  </Card>
</CardGroup>


## OpenAPI

````yaml get /v3/jobs/search/companies
openapi: 3.1.0
info:
  title: LeadMagic API
  version: 1.4.34
  description: >
    # LeadMagic API Documentation


    The LeadMagic API provides comprehensive B2B data enrichment services
    including email validation, email finding, profile search, company
    intelligence, and more.


    ## Quick Start


    1. Get your API key from the [LeadMagic Dashboard](https://app.leadmagic.io)

    2. Add the `X-API-Key` header to all requests

    3. Start enriching your data!


    ## Base URL


    All API requests should be made to: `https://api.leadmagic.io`


    ## Rate Limits


    Each endpoint has specific rate limits (requests per minute). Exceeding
    limits returns a `429 Too Many Requests` response.


    ## Credits


    API calls consume credits based on the endpoint used. Check your balance
    with the `/v1/credits` endpoint.


    ## Support


    Contact us at support@leadmagic.io for assistance.
  contact:
    name: LeadMagic Support
    email: support@leadmagic.io
    url: https://leadmagic.io
  termsOfService: https://leadmagic.io/legal/terms
servers:
  - url: https://api.leadmagic.io
    description: Production API Server
security:
  - ApiKeyAuth: []
tags:
  - name: Credits
    description: Manage and check your credit balance
  - name: Analytics
    description: >-
      Monitor your API usage with comprehensive analytics endpoints (FREE - no
      credits consumed)
  - name: People Enrichment
    description: Find and validate contact information for individuals
  - name: Company Data
    description: Discover company information and intelligence
  - name: Jobs Data
    description: Search job listings and detect career changes
  - name: Ads Data
    description: Search advertising data across platforms
paths:
  /v3/jobs/search/companies:
    get:
      tags:
        - Jobs Data
      summary: Job Search Companies Helper
      description: Company autocomplete and cards for Job Search.
      operationId: job-search-companies
      parameters:
        - name: q
          in: query
          example: leadmagic
          schema:
            type: string
        - name: domain
          in: query
          example: leadmagic.io
          schema:
            type: string
        - name: limit
          in: query
          example: 10
          schema:
            type: integer
            default: 10
      responses:
        '200':
          description: Company helper results
components:
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: X-API-Key
      description: >-
        Your LeadMagic API key. Header name is case-insensitive (X-API-Key,
        X-API-KEY, x-api-key all work).

````