Enrich Request
HG Insights API
The v2 API provides company enrichment with firmographics, spend, and technographics data.
Include your token in the Authorization header:
curl -X POST "https://api.hginsights.com/data-api/api/v2/companies/enrich" \
-H "Authorization: YOUR_API_TOKEN" \
-H "Content-Type: application/json" \
-d '{"companies": {"ids": ["COMPANY_ID"]}}'Important: Do not include "Bearer" prefix. Use the token directly.
v2 tokens start with hg_v2_ followed by a random string.
Example: hg_v2_K3WnkKrSyVD8yOoGTu1oqujB0f37eJuen1wvV2Ptg0
The enrichment endpoint returns firmographics, spend, and technographics data for companies.
{
"companies": {
"ids": ["1698C53EBC888758570396E0334965C1"]
},
"fields": ["firmographics", "spend", "technographics"]
}| Parameter | Type | Required | Description |
|---|---|---|---|
companies.ids | array | Yes | Company IDs (hex format, max 50) |
fields | array | No | Data categories to return |
- firmographics - Company info, location, revenue, employees
- spend - IT spend by category
- technographics - Technology installs
{
"companies": [
{
"company_id": "1698C53EBC888758570396E0334965C1",
"firmographics": {
"name": "Walmart Inc.",
"url": "walmart.com",
"country_code": "US",
"employees_total": 2100000,
"revenue_total": 680985000000
},
"spend": {
"all": [...],
"all_count": 135
},
"technographics": {
"installs": [...],
"installs_count": 5900
}
}
]
}Filter installs by vendor, product, or category:
{
"companies": {"ids": ["..."]},
"fields": ["technographics"],
"filters": {
"technographics": {
"vendors": {"ids": [316]},
"products": {"ids": [814]}
}
}
}Firmographics: Company name, URL, country, industry
Spend: Absolute spend amounts only
Technographics: Not included
Firmographics: All 48 fields including revenue, employees, HQ info, rankings
Spend: Full details with category name, description, country
Technographics: Full install data with product, vendor, intensity, dates, categories
Make a request and check which fields are returned. Fields outside your entitlements will be omitted from the response.
Request
Unified endpoint to enrich company data with firmographics, spend, and technographics.
Select which data categories to include using the fields parameter. By default, all categories are included. Filter technographics by categories, vendors, or products using the filters parameter. Control pagination for both companies and nested technographics data.
Filter companies by IDs
Which data categories to include in the response
- https://api.hginsights.com/data-api/v2/companies/enrich
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
https://api.hginsights.com/data-api/v2/companies/enrich \
-H 'Authorization: YOUR_API_KEY_HERE' \
-H 'Content-Type: application/json' \
-d '{
"companies": {
"ids": [
"78040737422146204640576",
"1698C53EBC888758570396E0334965C1"
]
},
"fields": [
"firmographics",
"spend",
"technographics"
],
"filters": {
"technographics": {
"categories": {
"ids": [
"319D067B229178F03BCFA"
]
},
"products": {
"ids": [
814
]
},
"vendors": {
"ids": [
316
]
}
}
},
"pagination": {
"technographics": {
"limit": 25,
"offset": 0
}
}
}'Enrich Response
{ "companies": [ { … } ] }