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

# HG Insights

> Technographics and IT spend intelligence: which products and vendors a company has installed, its IT spend by category, firmographics, corporate hierarchy, intent signals and contracts.

![](https://mintcdn.com/webrouter/gPu3tCeozwRcDBjt/logo/data-apis/hg-insights.svg?fit=max\&auto=format\&n=gPu3tCeozwRcDBjt\&q=85\&s=b9b16bcccb11eae589948040d06046fd)

[Web Catalog · Company data](https://docs.webrouter.net/data-apis.md?category=company-data)

Needs&#x20;

`HG_API_KEY`

Endpoints

10

Auth

Key in header

[Vendor docs](https://data-docs.hginsights.com/v2/guides/overview)

## Setup

| Variable | | What it is |
| - | - | - |
| `HG_API_KEY` | required | An HG Insights v2 API key (admin.hginsights.com > Settings > API Keys, admin only; starts hg\_v2\_). Sent as a Bearer token. |

Put them in your environment or `.env`; [Data APIs](https://docs.webrouter.net/vendors.md) covers the other ways.

## Notes

* Needs an HG Platform subscription with credits. Enrich, hierarchy, intent and contract calls spend credits by the data returned; match, search, catalog and credits are free but need a positive balance. Out of credits answers 402.
* Re-enriching the same company within the 12-month contract is free; intent calls are charged every time.
* Rate limits by plan: Sandbox 2 requests a second and 1,000 a day, Standard 25 a second and 50,000 a day. A batch counts as one request. 429 comes with x-ratelimit-reset.
* Company ids are hex strings; get them from hg-insights.companies.match or search, or pass domains.

## Endpoints

POST

Match companies

HG company records for up to 10 companies given by name, domain and/or country, best match first, in input order.

[Open](#hg-insights-companies-match)

POST

Enrich companies

Firmographics, installed technologies, IT spend, contracts and other data groups for up to 25 companies.

[Open](#hg-insights-companies-enrich)

POST

Estimate an enrichment's credits

The maximum credits an enrich request would spend, the balance, and whether it suffices, without returning data.

[Open](#hg-insights-companies-enrich-estimate)

POST

Search companies

Companies matching firmographic, installed-product, spend, intent, hierarchy, AI-maturity or scoring filters.

[Open](#hg-insights-companies-search)

POST

Get corporate hierarchy

A company's corporate family as a tree or flat list: the whole group, its children, or its parents up to the group HQ.

[Open](#hg-insights-companies-hierarchy)

POST

Get intent signals

Topic-based intent and buyer-intent activities for one company.

[Open](#hg-insights-intent-enrich)

POST

Get technology usage over time

Monthly usage intensity per product for one company, as dense time series.

[Open](#hg-insights-technographics-time-series)

POST

Search the product catalog

Products HG tracks, with vendor and category, by name and other filters.

[Open](#hg-insights-products-search)

GET

List technology vendors

Vendors in HG's catalog, optionally by name, with their ids.

[Open](#hg-insights-catalog-vendors)

GET

Get credit balance

Credit balance, contract dates and data entitlements of the organisation.

[Open](#hg-insights-credits-get)

### Match companies

POST

`/companies/match`

`hg-insights.companies.match`

HG company records for up to 10 companies given by name, domain and/or country, best match first, in input order.

Input

<table>
  <thead>
    <tr>
      <th>
        Name
      </th>

      <th>
        Type
      </th>

      <th>
        In
      </th>

      <th>
        Notes
      </th>
    </tr>
  </thead>

  <tbody>
    <tr><td>`companies` required</td><td>array</td><td>body</td><td>1-10 companies, each with at least one of name, domain, country (name or ISO alpha-2), and an optional customer\_id echoed back. Example `[{"name": "Salesforce", "domain": "salesforce.com"}]`</td></tr>

    <tr>
      <td>
        `limit`
      </td>

      <td>
        integer
      </td>

      <td>
        body
      </td>

      <td>
        Matches per company, at most 10.
      </td>
    </tr>
  </tbody>
</table>

[Vendor docs](https://data-docs.hginsights.com/v2/openapi/companies/match_companies) · Same job: [Explorium AgentSource](https://docs.webrouter.net/data-apis/explorium.md#explorium-businesses-match)

```python Python theme={null}
router.call_data_api("hg-insights.companies.match", {'companies': [{'name': 'Salesforce', 'domain': 'salesforce.com'}]})
```

```text MCP theme={null}
call_data_api(endpoint="hg-insights.companies.match", params={"companies": [{"name": "Salesforce", "domain": "salesforce.com"}]})
```

> [!NOTE]
>
> * A read sent as POST with a JSON body: it looks data up and changes nothing.
> * Free.

### Enrich companies

POST

`/companies/enrich`

`hg-insights.companies.enrich`

Firmographics, installed technologies, IT spend, contracts and other data groups for up to 25 companies.

Input

<table>
  <thead>
    <tr>
      <th>
        Name
      </th>

      <th>
        Type
      </th>

      <th>
        In
      </th>

      <th>
        Notes
      </th>
    </tr>
  </thead>

  <tbody>
    <tr><td>`companies` required</td><td>object</td><td>body</td><td>The companies: \{"ids": \[hex HG ids]} or \{"domains": \[...]}, up to 25, never both. Example `{"domains": ["salesforce.com"]}`</td></tr>
    <tr><td>`fields` required</td><td>array</td><td>body</td><td>Data groups to return: firmographics, technographics, spend, ai\_spend, contracts (needs the contracts entitlement), ai\_maturity, cloud\_maturity, mentions, statistics, market\_benchmarks. Example `["firmographics", "technographics"]`</td></tr>

    <tr>
      <td>
        `filters`
      </td>

      <td>
        object
      </td>

      <td>
        body
      </td>

      <td>
        Optional filters per group, e.g. \{"technographics": \{"vendors": \{"names": \["Salesforce"]}, "product\_categories": \{"names": \["CRM"]}, "country": \{"codes": \["US"]}}}; spend, ai\_spend and mentions take their own filters.
      </td>
    </tr>

    <tr>
      <td>
        `pagination`
      </td>

      <td>
        object
      </td>

      <td>
        body
      </td>

      <td>
        Paging of the nested technographics, spend, ai\_spend and mentions lists.
      </td>
    </tr>

    <tr>
      <td>
        `contracts`
      </td>

      <td>
        object
      </td>

      <td>
        body
      </td>

      <td>
        Options for the contracts group.
      </td>
    </tr>
  </tbody>
</table>

[Vendor docs](https://data-docs.hginsights.com/v2/openapi/companies/enrich_companies) · Same job: [BuiltWith](https://docs.webrouter.net/data-apis/builtwith.md#builtwith-domain-lookup), [CompanyEnrich](https://docs.webrouter.net/data-apis/companyenrich.md#companyenrich-technologies-autocomplete), [Explorium AgentSource](https://docs.webrouter.net/data-apis/explorium.md#explorium-businesses-technographics), [Findymail](https://docs.webrouter.net/data-apis/findymail.md#findymail-technologies-search), [Forager](https://docs.webrouter.net/data-apis/forager.md#forager-website-get), [OpenFunnel](https://docs.webrouter.net/data-apis/openfunnel.md#openfunnel-tech-companies)

```python Python theme={null}
router.call_data_api("hg-insights.companies.enrich", {'companies': {'domains': ['salesforce.com']}, 'fields': ['firmographics', 'technographics']})
```

```text MCP theme={null}
call_data_api(endpoint="hg-insights.companies.enrich", params={"companies": {"domains": ["salesforce.com"]}, "fields": ["firmographics", "technographics"]})
```

> [!NOTE]
>
> * A read sent as POST with a JSON body: it looks data up and changes nothing.
> * Spends credits by the groups asked for and the data found; estimate first with hg-insights.companies.enrich\_estimate.

### Estimate an enrichment's credits

POST

`/companies/enrich/estimate`

`hg-insights.companies.enrich_estimate`

The maximum credits an enrich request would spend, the balance, and whether it suffices, without returning data.

Input

<table>
  <thead>
    <tr>
      <th>
        Name
      </th>

      <th>
        Type
      </th>

      <th>
        In
      </th>

      <th>
        Notes
      </th>
    </tr>
  </thead>

  <tbody>
    <tr><td>`companies` required</td><td>object</td><td>body</td><td>The companies: \{"ids": \[hex HG ids]} or \{"domains": \[...]}, up to 25, never both. Example `{"domains": ["salesforce.com"]}`</td></tr>
    <tr><td>`fields` required</td><td>array</td><td>body</td><td>Data groups to return: firmographics, technographics, spend, ai\_spend, contracts (needs the contracts entitlement), ai\_maturity, cloud\_maturity, mentions, statistics, market\_benchmarks. Example `["firmographics", "technographics"]`</td></tr>

    <tr>
      <td>
        `filters`
      </td>

      <td>
        object
      </td>

      <td>
        body
      </td>

      <td>
        The same filters as the enrich call.
      </td>
    </tr>

    <tr>
      <td>
        `pagination`
      </td>

      <td>
        object
      </td>

      <td>
        body
      </td>

      <td>
        The same paging of nested technographics, spend, ai\_spend and mentions lists as the enrich call.
      </td>
    </tr>

    <tr>
      <td>
        `contracts`
      </td>

      <td>
        object
      </td>

      <td>
        body
      </td>

      <td>
        The same contracts options as the enrich call: filters (active\_only, vendor\_names up to 10), limit and offset per company.
      </td>
    </tr>
  </tbody>
</table>

[Vendor docs](https://data-docs.hginsights.com/v2/openapi/companies/estimate_companies_enrich)

```python Python theme={null}
router.call_data_api("hg-insights.companies.enrich_estimate", {'companies': {'domains': ['salesforce.com']}, 'fields': ['firmographics', 'technographics']})
```

```text MCP theme={null}
call_data_api(endpoint="hg-insights.companies.enrich_estimate", params={"companies": {"domains": ["salesforce.com"]}, "fields": ["firmographics", "technographics"]})
```

> [!NOTE]
>
> * A read sent as POST with a JSON body: it looks data up and changes nothing.
> * Free. Send the same body as the enrich call.

### Search companies

POST

`/companies/search`

`hg-insights.companies.search`

Companies matching firmographic, installed-product, spend, intent, hierarchy, AI-maturity or scoring filters.

Input

<table>
  <thead>
    <tr>
      <th>
        Name
      </th>

      <th>
        Type
      </th>

      <th>
        In
      </th>

      <th>
        Notes
      </th>
    </tr>
  </thead>

  <tbody>
    <tr><td>`fields` required</td><td>array</td><td>body</td><td>Fields to return: id, name, domain, domain\_normalized. Example `["id", "name", "domain"]`</td></tr>
    <tr><td>`filters` required</td><td>object</td><td>body</td><td>Filter groups: firmographics (country\_codes, employees, revenue, industries, naics\_codes, sic\_codes, company\_level, ...), installs (products, vendors, product\_categories), spend, ai\_spend, intent, corporate\_hierarchy, company\_identifiers, scoring. List items take \{"ids": \[...], "inclusion\_method": "ANY\_PRESENT"}. Example `{"firmographics": {"country_codes": [{"ids": ["US"], "inclusion_method": "ANY_PRESENT"}], "employees": {"min": 1000}}, "installs": {"vendors": [{"ids": [316], "inclusion_method": "ANY_PRESENT"}]}}`</td></tr>

    <tr>
      <td>
        `limit`
      </td>

      <td>
        integer
      </td>

      <td>
        body
      </td>

      <td>
        Companies to return, at most 100.
      </td>
    </tr>

    <tr>
      <td>
        `offset`
      </td>

      <td>
        integer
      </td>

      <td>
        body
      </td>

      <td>
        Companies to skip, at most 24,999.
      </td>
    </tr>

    <tr>
      <td>
        `sorts`
      </td>

      <td>
        array
      </td>

      <td>
        body
      </td>

      <td>
        Sort objects, e.g. \[\{"field": "name", "direction": "ASC"}].
      </td>
    </tr>
  </tbody>
</table>

[Vendor docs](https://data-docs.hginsights.com/v2/openapi/companies/search_companies_v2) · Same job: [Adzuna](https://docs.webrouter.net/data-apis/adzuna.md#adzuna-companies-top), [AI Ark](https://docs.webrouter.net/data-apis/aiark.md#aiark-company-search), [Airscale](https://docs.webrouter.net/data-apis/airscale.md#airscale-companies-search), [akta.pro](https://docs.webrouter.net/data-apis/akta.md#akta-company-search), [Alpha Vantage](https://docs.webrouter.net/data-apis/alphavantage.md#alphavantage-symbol-search), [Apollo.io](https://docs.webrouter.net/data-apis/apollo.md#apollo-organizations-search)

```python Python theme={null}
router.call_data_api("hg-insights.companies.search", {'fields': ['id', 'name', 'domain'], 'filters': {'firmographics': {'country_codes': [{'ids': ['US'], 'inclusion_method': 'ANY_PRESENT'}], 'employees': {'min': 1000}}, 'installs': {'vendors': [{'ids': [316], 'inclusion_method': 'ANY_PRESENT'}]}}})
```

```text MCP theme={null}
call_data_api(endpoint="hg-insights.companies.search", params={"fields": ["id", "name", "domain"], "filters": {"firmographics": {"country_codes": [{"ids": ["US"], "inclusion_method": "ANY_PRESENT"}], "employees": {"min": 1000}}, "installs": {"vendors": [{"ids": [316], "inclusion_method": "ANY_PRESENT"}]}}})
```

> [!NOTE]
>
> * A read sent as POST with a JSON body: it looks data up and changes nothing.
> * Free. Results stop at 25,000 per query: segment with filters. Vendor and product ids come from hg-insights.products.search and hg-insights.catalog.vendors.

### Get corporate hierarchy

POST

`/companies/hierarchy`

`hg-insights.companies.hierarchy`

A company's corporate family as a tree or flat list: the whole group, its children, or its parents up to the group HQ.

Input

<table>
  <thead>
    <tr>
      <th>
        Name
      </th>

      <th>
        Type
      </th>

      <th>
        In
      </th>

      <th>
        Notes
      </th>
    </tr>
  </thead>

  <tbody>
    <tr><td>`hierarchy` required</td><td>object</td><td>body</td><td>The company: \{"id": ...} or \{"domain": ...}. Example `{"domain": "salesforce.com"}`</td></tr>
    <tr><td>`mode` required</td><td>string</td><td>body</td><td>full (whole group from the group HQ), children (below the company) or parents (chain up to the group HQ). One of `full`, `children`, `parents`</td></tr>
    <tr><td>`format`</td><td>string</td><td>body</td><td>tree (default) or list; the countries, regions and tiers filters need list. One of `tree`, `list`</td></tr>

    <tr>
      <td>
        `filters`
      </td>

      <td>
        object
      </td>

      <td>
        body
      </td>

      <td>
        Optional: countries, regions, tiers (list format only), max\_tier (both formats).
      </td>
    </tr>
  </tbody>
</table>

[Vendor docs](https://data-docs.hginsights.com/v2/openapi/companies/company_hierarchy) · Same job: [Brønnøysund Register Centre (Enhetsregisteret)](https://docs.webrouter.net/data-apis/brreg.md#brreg-entities-legal-roles), [Companies House](https://docs.webrouter.net/data-apis/companies-house.md#companies-house-psc-list), [Corpo API](https://docs.webrouter.net/data-apis/corpoapi.md#corpoapi-company-ownership), [Explorium AgentSource](https://docs.webrouter.net/data-apis/explorium.md#explorium-businesses-company-hierarchies), [GLEIF](https://docs.webrouter.net/data-apis/gleif.md#gleif-parent-direct), [OpenCorporates](https://docs.webrouter.net/data-apis/opencorporates.md#opencorporates-companies-statements)

> [!NOTE]
>
> * A read sent as POST with a JSON body: it looks data up and changes nothing.
> * Spends credits by the data returned.

### Get intent signals

POST

`/intent/enrich`

`hg-insights.intent.enrich`

Topic-based intent and buyer-intent activities for one company.

Input

<table>
  <thead>
    <tr>
      <th>
        Name
      </th>

      <th>
        Type
      </th>

      <th>
        In
      </th>

      <th>
        Notes
      </th>
    </tr>
  </thead>

  <tbody>
    <tr><td>`company` required</td><td>object</td><td>body</td><td>The company: \{"id": hex HG id} or \{"domain": ...}, exactly one. Example `{"domain": "salesforce.com"}`</td></tr>
    <tr><td>`fields`</td><td>array</td><td>body</td><td>Sections: summary, topics, activities; summary alone is free. Example `["summary"]`</td></tr>

    <tr>
      <td>
        `filters`
      </td>

      <td>
        object
      </td>

      <td>
        body
      </td>

      <td>
        Optional filters to narrow the results.
      </td>
    </tr>

    <tr>
      <td>
        `limit`
      </td>

      <td>
        integer
      </td>

      <td>
        body
      </td>

      <td>
        Records per section, at most 200.
      </td>
    </tr>

    <tr>
      <td>
        `offset`
      </td>

      <td>
        integer
      </td>

      <td>
        body
      </td>

      <td>
        Records to skip per section.
      </td>
    </tr>
  </tbody>
</table>

[Vendor docs](https://data-docs.hginsights.com/v2/openapi/intent/intent_enrich)

```python Python theme={null}
router.call_data_api("hg-insights.intent.enrich", {'company': {'domain': 'salesforce.com'}, 'fields': ['summary']})
```

```text MCP theme={null}
call_data_api(endpoint="hg-insights.intent.enrich", params={"company": {"domain": "salesforce.com"}, "fields": ["summary"]})
```

> [!NOTE]
>
> * A read sent as POST with a JSON body: it looks data up and changes nothing.
> * Charged per topic and activity record returned, on every call; ask for fields \["summary"] first for a free overview.

### Get technology usage over time

POST

`/technographics/time-series`

`hg-insights.technographics.time_series`

Monthly usage intensity per product for one company, as dense time series.

Input

<table>
  <thead>
    <tr>
      <th>
        Name
      </th>

      <th>
        Type
      </th>

      <th>
        In
      </th>

      <th>
        Notes
      </th>
    </tr>
  </thead>

  <tbody>
    <tr><td>`company` required</td><td>object</td><td>body</td><td>The company: \{"id": hex HG id} or \{"domain": ...}, exactly one. Example `{"domain": "salesforce.com"}`</td></tr>

    <tr>
      <td>
        `filters`
      </td>

      <td>
        object
      </td>

      <td>
        body
      </td>

      <td>
        Optional product filters.
      </td>
    </tr>

    <tr>
      <td>
        `max_products`
      </td>

      <td>
        integer
      </td>

      <td>
        body
      </td>

      <td>
        Products to return, at most 50.
      </td>
    </tr>

    <tr>
      <td>
        `time_range`
      </td>

      <td>
        object
      </td>

      <td>
        body
      </td>

      <td>
        Optional time range.
      </td>
    </tr>
  </tbody>
</table>

[Vendor docs](https://data-docs.hginsights.com/v2/openapi/time-series/technographics_time_series) · Same job: [BuiltWith](https://docs.webrouter.net/data-apis/builtwith.md#builtwith-domain-lookup), [CompanyEnrich](https://docs.webrouter.net/data-apis/companyenrich.md#companyenrich-technologies-autocomplete), [Explorium AgentSource](https://docs.webrouter.net/data-apis/explorium.md#explorium-businesses-technographics), [Findymail](https://docs.webrouter.net/data-apis/findymail.md#findymail-technologies-search), [Forager](https://docs.webrouter.net/data-apis/forager.md#forager-website-get), [OpenFunnel](https://docs.webrouter.net/data-apis/openfunnel.md#openfunnel-tech-companies)

```python Python theme={null}
router.call_data_api("hg-insights.technographics.time_series", {'company': {'domain': 'salesforce.com'}})
```

```text MCP theme={null}
call_data_api(endpoint="hg-insights.technographics.time_series", params={"company": {"domain": "salesforce.com"}})
```

> [!NOTE]
>
> * A read sent as POST with a JSON body: it looks data up and changes nothing.

### Search the product catalog

POST

`/products/search`

`hg-insights.products.search`

Products HG tracks, with vendor and category, by name and other filters.

Input

<table>
  <thead>
    <tr>
      <th>
        Name
      </th>

      <th>
        Type
      </th>

      <th>
        In
      </th>

      <th>
        Notes
      </th>
    </tr>
  </thead>

  <tbody>
    <tr>
      <td>
        `filters`
      </td>

      <td>
        object
      </td>

      <td>
        body
      </td>

      <td>
        Product filters; vendor\_id/vendor\_ids and category\_id/category\_ids are mutually exclusive.
      </td>
    </tr>

    <tr>
      <td>
        `limit`
      </td>

      <td>
        integer
      </td>

      <td>
        body
      </td>

      <td>
        Products to return, at most 100.
      </td>
    </tr>

    <tr>
      <td>
        `offset`
      </td>

      <td>
        integer
      </td>

      <td>
        body
      </td>

      <td>
        Products to skip.
      </td>
    </tr>

    <tr>
      <td>
        `sort`
      </td>

      <td>
        array
      </td>

      <td>
        body
      </td>

      <td>
        Sort objects.
      </td>
    </tr>
  </tbody>
</table>

[Vendor docs](https://data-docs.hginsights.com/v2/openapi/products/v2_search_products)

```python Python theme={null}
router.call_data_api("hg-insights.products.search")
```

```text MCP theme={null}
call_data_api(endpoint="hg-insights.products.search")
```

> [!NOTE]
>
> * A read sent as POST with a JSON body: it looks data up and changes nothing.
> * Free.

### List technology vendors

GET

`/catalog/vendors`

`hg-insights.catalog.vendors`

Vendors in HG's catalog, optionally by name, with their ids.

Input

<table>
  <thead>
    <tr>
      <th>
        Name
      </th>

      <th>
        Type
      </th>

      <th>
        In
      </th>

      <th>
        Notes
      </th>
    </tr>
  </thead>

  <tbody>
    <tr><td>`name`</td><td>string</td><td>query</td><td>Name contains, case-insensitive. Example `Salesforce`</td></tr>

    <tr>
      <td>
        `limit`
      </td>

      <td>
        integer
      </td>

      <td>
        query
      </td>

      <td>
        Records to return, default 10.
      </td>
    </tr>

    <tr>
      <td>
        `offset`
      </td>

      <td>
        integer
      </td>

      <td>
        query
      </td>

      <td>
        Records to skip.
      </td>
    </tr>
  </tbody>
</table>

[Vendor docs](https://data-docs.hginsights.com/v2/openapi/catalog/v2_list_vendors)

```python Python theme={null}
router.call_data_api("hg-insights.catalog.vendors", {'name': 'Salesforce'})
```

```text MCP theme={null}
call_data_api(endpoint="hg-insights.catalog.vendors", params={"name": "Salesforce"})
```

> [!NOTE]
>
> * Free.

### Get credit balance

GET

`/credits`

`hg-insights.credits.get`

Credit balance, contract dates and data entitlements of the organisation.

Input

No inputs.

[Vendor docs](https://data-docs.hginsights.com/v2/openapi/credits/get_credits)

```python Python theme={null}
router.call_data_api("hg-insights.credits.get")
```

```text MCP theme={null}
call_data_api(endpoint="hg-insights.credits.get")
```

> [!NOTE]
>
> * Free.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.