HG Insights Industries API
Industry taxonomy search across HG industry, NAICS 2012, and SIC 1987.
Industry taxonomy search across HG industry, NAICS 2012, and SIC 1987.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
find_apisBrowse and filter every API in the catalog.get_api_artifactsOne API's artifacts, grouped by type.get_openapiThe primary OpenAPI for this API.find_similar_apisAPIs that look like this one.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.curl "https://apis.io/api/v1/apis/hg-insights:hg-insights-industries-api"
curl "https://apis.io/api/v1/apis?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
openapi: 3.2.0
info:
license:
name: HG Insights terms of service
url: https://hginsights.com/contact-hg/terms-of-service
title: HG Insights Industries API
version: ''
description: Industry taxonomy search across HG industry, NAICS 2012, and SIC 1987.
servers:
- url: https://api.hginsights.com
variables: {}
security:
- authorization: []
tags:
- description: Industry taxonomy search across HG industry, NAICS 2012, and SIC 1987.
name: Industries
paths:
/data-api/v2/industries/search:
get:
callbacks: {}
description: 'Search the industry taxonomy crosswalk across HG industry (23 buckets),
NAICS 2012 (~2,200 codes), and SIC 1987 (~1,500 codes).
Supports free-text search, exact code lookup, taxonomy scoping,
colloquial alias expansion (e.g. "fintech", "saas"), and multi-term
comma-separated queries.
Every result row returns the full crosswalk — the HG industry, the
NAICS 2012 code + top-parent sector, and the SIC 1987 code + name.
Free — no credits consumed.'
operationId: v2_search_industries
parameters:
- description: Free-text search term (min 2 chars). Text queries match case-insensitively as substrings. All-digit queries prefix-match against code columns. Comma-separated terms run as union (OR). Colloquial terms like 'fintech', 'saas' are auto-expanded.
in: query
name: q
required: false
schema:
minLength: 2
type: string
x-struct: null
x-validate: null
- description: Scope the search to one taxonomy. Omit to search all three at once.
in: query
name: taxonomy
required: false
schema:
$ref: '#/components/schemas/TaxonomyType'
- description: Page size (1-500).
in: query
name: limit
required: false
schema:
default: 50
maximum: 500
minimum: 1
type: integer
x-struct: null
x-validate: null
- description: Page offset (0-10000).
in: query
name: offset
required: false
schema:
default: 0
maximum: 10000
minimum: 0
type: integer
x-struct: null
x-validate: null
- description: Only applied when taxonomy=naics. When true, returns only 6-digit leaf codes.
in: query
name: naics_leaf_only
required: false
schema:
default: false
type: boolean
x-struct: null
x-validate: null
responses:
'200':
content:
application/json:
schema:
$ref: '#/components/schemas/IndustrySearchResponse'
description: Industry search results
'401':
content:
application/json:
schema:
$ref: '#/components/schemas/UnauthorizedResponse'
description: Unauthorized
'422':
content:
application/json:
schema:
$ref: '#/components/schemas/JsonErrorResponse'
description: Unprocessable Entity
summary: Search industries
tags:
- Industries
components:
schemas:
IndustryMapping:
description: HG industry bucket (23 curated values, or null when unmapped).
properties:
industry_id:
description: HG industry id (0/None = unmapped).
type:
- integer
- 'null'
x-struct: null
x-validate: null
industry_name:
description: HG industry name.
type:
- string
- 'null'
x-struct: null
x-validate: null
naics_count:
description: Number of distinct NAICS codes mapped to this HG industry. Only set when taxonomy=industry.
type:
- integer
- 'null'
x-struct: null
x-validate: null
sic_count:
description: Number of distinct SIC codes mapped to this HG industry. Only set when taxonomy=industry.
type:
- integer
- 'null'
x-struct: null
x-validate: null
title: IndustryMapping
type: object
x-struct: Elixir.TalariaWeb.Schemas.V2.Industries.Search.IndustryMapping
x-validate: null
IndustrySearchResult:
description: One crosswalk row, plus which taxonomy field produced the hit.
properties:
industry:
$ref: '#/components/schemas/IndustryMapping'
matched_on:
$ref: '#/components/schemas/TaxonomyType'
naics:
$ref: '#/components/schemas/NaicsMapping'
sic:
$ref: '#/components/schemas/SicMapping'
required:
- matched_on
- industry
- naics
- sic
title: IndustrySearchResult
type: object
x-struct: Elixir.TalariaWeb.Schemas.V2.Industries.Search.IndustrySearchResult
x-validate: null
IndustrySearchPagination:
description: Pagination metadata.
properties:
has_more:
description: True when more rows are available.
type: boolean
x-struct: null
x-validate: null
limit:
description: Requested page size.
type: integer
x-struct: null
x-validate: null
offset:
description: Requested offset.
type: integer
x-struct: null
x-validate: null
offset_exceeds_total:
description: True when the caller paged past the end of the result set.
type: boolean
x-struct: null
x-validate: null
total:
description: Total rows matching the query.
type: integer
x-struct: null
x-validate: null
total_pages:
description: Total pages available.
type: integer
x-struct: null
x-validate: null
required:
- total
- limit
- offset
- has_more
- total_pages
title: IndustrySearchPagination
type: object
x-struct: Elixir.TalariaWeb.Schemas.V2.Industries.Search.IndustrySearchPagination
x-validate: null
IndustrySearchResponse:
description: Response envelope for GET /v2/industries/search.
properties:
alias_expansions:
description: Populated when one or more q terms were treated as colloquial aliases and expanded server-side.
items:
$ref: '#/components/schemas/AliasExpansion'
type:
- array
- 'null'
x-struct: null
x-validate: null
pagination:
$ref: '#/components/schemas/IndustrySearchPagination'
results:
description: Matched industry crosswalk rows.
items:
$ref: '#/components/schemas/IndustrySearchResult'
type: array
x-struct: null
x-validate: null
suggestions:
description: Populated only when 0 results and q was a text term. Up to 5 closest taxonomy names by trigram distance.
items:
type: string
x-struct: null
x-validate: null
type:
- array
- 'null'
x-struct: null
x-validate: null
required:
- results
- pagination
title: IndustrySearchResponse
type: object
x-struct: Elixir.TalariaWeb.Schemas.V2.Industries.Search.IndustrySearchResponse
x-validate: null
SicMapping:
description: SIC 1987 code (HG-extended + standard).
properties:
is_hg_extension:
description: True when sic_code is an HG-extended code (letter-prefixed).
type:
- boolean
- 'null'
x-struct: null
x-validate: null
naics_count:
description: Number of distinct NAICS codes mapped to this SIC code. Only set when taxonomy=sic.
type:
- integer
- 'null'
x-struct: null
x-validate: null
sic_code:
description: HG-extended SIC code with letter prefix (e.g. 'I7372'). Not a standard SIC code — use sic_standard_code for downstream calls.
type:
- string
- 'null'
x-struct: null
x-validate: null
sic_name:
description: SIC 1987 label.
type:
- string
- 'null'
x-struct: null
x-validate: null
sic_standard_code:
description: Standard SIC-1987 code (e.g. '7372'). Use this value for downstream endpoints.
type:
- string
- 'null'
x-struct: null
x-validate: null
title: SicMapping
type: object
x-struct: Elixir.TalariaWeb.Schemas.V2.Industries.Search.SicMapping
x-validate: null
TaxonomyType:
description: Which taxonomy a search hit matched on.
enum:
- industry
- naics
- sic
title: TaxonomyType
type: string
x-struct: Elixir.TalariaWeb.Schemas.V2.Industries.Search.TaxonomyType
x-validate: null
JsonErrorResponse:
properties:
errors:
items:
properties:
detail:
example: null value where string expected
type: string
x-struct: null
x-validate: null
source:
properties:
pointer:
example: /data/attributes/petName
type: string
x-struct: null
x-validate: null
required:
- pointer
type: object
x-struct: null
x-validate: null
title:
example: Invalid value
type: string
x-struct: null
x-validate: null
required:
- title
- source
- detail
type: object
x-struct: null
x-validate: null
type: array
x-struct: null
x-validate: null
required:
- errors
title: JsonErrorResponse
type: object
x-struct: Elixir.OpenApiSpex.JsonErrorResponse
x-validate: null
AliasExpansion:
description: A colloquial term the server expanded into substring matches.
properties:
expanded_to:
description: Substrings the server actually searched in place of the term.
items:
type: string
x-struct: null
x-validate: null
type: array
x-struct: null
x-validate: null
term:
description: The colloquial term as supplied by the caller.
type: string
x-struct: null
x-validate: null
required:
- term
- expanded_to
title: AliasExpansion
type: object
x-struct: Elixir.TalariaWeb.Schemas.V2.Industries.Search.AliasExpansion
x-validate: null
NaicsMapping:
description: NAICS 2012 code + its top-parent sector.
properties:
display_name_with_level:
description: Disambiguating label including hierarchy level and code.
type:
- string
- 'null'
x-struct: null
x-validate: null
hierarchy_level:
description: NAICS hierarchy level. national_industry is a leaf; others are rollups.
enum:
- sector
- subsector
- industry_group
- naics_industry
- national_industry
- null
type:
- string
- 'null'
x-struct: null
x-validate: null
is_leaf:
description: True when naics_code is a 6-digit leaf — the most specific level.
type:
- boolean
- 'null'
x-struct: null
x-validate: null
naics_code:
description: NAICS 2012 code (e.g. '541511').
type:
- string
- 'null'
x-struct: null
x-validate: null
naics_name:
description: NAICS 2012 label.
type:
- string
- 'null'
x-struct: null
x-validate: null
naics_top_parent_code:
description: Top-parent NAICS sector code (e.g. '54').
type:
- string
- 'null'
x-struct: null
x-validate: null
naics_top_parent_name:
description: Top-parent NAICS sector name.
type:
- string
- 'null'
x-struct: null
x-validate: null
sic_count:
description: Number of distinct SIC codes mapped to this NAICS code. Only set when taxonomy=naics.
type:
- integer
- 'null'
x-struct: null
x-validate: null
title: NaicsMapping
type: object
x-struct: Elixir.TalariaWeb.Schemas.V2.Industries.Search.NaicsMapping
x-validate: null
UnauthorizedResponse:
properties:
errors:
items:
properties:
detail:
example: The api key provided is not valid
type: string
x-struct: null
x-validate: null
source:
type:
- string
- 'null'
x-struct: null
x-validate: null
title:
example: Unauthorized
type: string
x-struct: null
x-validate: null
required:
- title
- detail
type: object
x-struct: null
x-validate: null
type: array
x-struct: null
x-validate: null
title: UnauthorizedResponse
type: object
x-struct: Elixir.TalariaWeb.Schemas.V2.Error.UnauthorizedResponse
x-validate: null
securitySchemes:
authorization:
bearerFormat: API_KEY
scheme: bearer
type: http