Setup
Put them in your environment or
.env; Data APIs 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
Match companies
- A read sent as POST with a JSON body: it looks data up and changes nothing.
- Free.
Enrich companies
- 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
- 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
- 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
- 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
- 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
- A read sent as POST with a JSON body: it looks data up and changes nothing.
Search the product catalog
- A read sent as POST with a JSON body: it looks data up and changes nothing.
- Free.
List technology vendors
- Free.
Get credit balance
- Free.