{"templateId":"markdown","sharedDataIds":{"sidebar":"sidebar-v2/sidebars.yaml"},"props":{"metadata":{"markdoc":{"tagList":[]},"type":"markdown"},"seo":{"title":"Use the Catalog"},"dynamicMarkdocComponents":[],"compilationErrors":[],"ast":{"$$mdtype":"Tag","name":"article","attributes":{},"children":[{"$$mdtype":"Tag","name":"Heading","attributes":{"level":1,"id":"use-the-catalog","__idx":0},"children":["Use the Catalog"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["The Catalog is HG's reference data: vendors, products, categories, attributes, and industry taxonomy codes. You'll mostly use it to look up the ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["ids"]}," and ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["names"]}," you pass into filters on ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/v2/guides/enrichment#filtering-technographics"},"children":["Enrich Companies"]},", ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/v2/guides/find-companies"},"children":["Search or Match Companies"]},", and ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/v2/guides/scoring"},"children":["Score Companies"]},". None of these endpoints consume credits."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["There are two ways to query it, and they're not interchangeable:"]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"data-label":""},"children":[]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"GET /catalog/*"},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["GET /catalog/*"]}]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"POST /products/*/search , GET /industries/search"},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["POST /products/*/search"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["GET /industries/search"]}]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Use when"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["You know roughly what you're looking for and just need an ID"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["You need to filter by more than one field at once, or get relevance-ranked results"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Filtering"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["One partial-name match (",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["?name="]},")"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Multiple fields, AND-combined (name + vendor + category + attribute, etc.)"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Ranking"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["None, results come back in no particular relevance order"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Vendor and product search rank by relevance (exact > prefix > substring match)"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Pagination"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["limit"]}," / ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["offset"]}," query params"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["limit"]}," / ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["offset"]}," in the request body, plus ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["sort"]}]}]}]}]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"simple-lookups-get-catalog","__idx":1},"children":["Simple Lookups: ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["GET /catalog/*"]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Every ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["/catalog/*"]}," endpoint follows the same shape: ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["limit"]}," (default 10), ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["offset"]}," (default 0), and ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["name"]}," for a case-insensitive partial match."]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"bash","header":{"controls":{"copy":{}}},"source":"curl \"https://api.hginsights.com/data-api/v2/catalog/vendors?name=Salesforce\" \\\n  -H \"Authorization: Bearer $HG_API_KEY\"\n","lang":"bash"},"children":[]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"json","header":{"controls":{"copy":{}}},"source":"{\n  \"data\": [\n    {\"id\": \"376\", \"name\": \"Salesforce.com, Inc.\", \"domain\": \"https://salesforce.com\"}\n  ]\n}\n","lang":"json"},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Available ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["/catalog/*"]}," endpoints: ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["vendors"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["products"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["product_categories"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["product_attributes"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["industries"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["spend_categories"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["countries"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["states"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["naics2012"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["sicus1987"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["fai_departments"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["job_functions"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["job_seniorities"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["intent_topics"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["intent_context_types"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["intent_buyers_journey"]},"."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Use these for a quick one-off lookup, like \"what's the ID for Salesforce?\", before passing the result into an enrich or search filter. See ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/v2/guides/enrichment#filter-by-id"},"children":["Filter by ID"]}," for that workflow."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"multi-field-search-products-vendors-categories-attributes","__idx":2},"children":["Multi-Field Search: Products, Vendors, Categories, Attributes"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["When you need to filter by more than one field, or want relevance ranking, use the dedicated search endpoints instead. They're POST requests with a ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["filters"]}," object, not a single query param."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"search-products","__idx":3},"children":["Search Products"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"header":{"controls":{"copy":{}}},"source":"POST /data-api/v2/products/search\n"},"children":[]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"json","header":{"controls":{"copy":{}}},"source":"{\n  \"filters\": {\n    \"product_name\": \"Salesforce\",\n    \"category_name\": \"CRM\",\n    \"has_install\": true\n  },\n  \"limit\": 50,\n  \"sort\": [{\"field\": \"relevance\"}]\n}\n","lang":"json"},"children":[]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Filter"},"children":["Filter"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Description"},"children":["Description"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["product_name"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Partial match on product name"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["product_description"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Partial match on product description"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["vendor_id"]}," / ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["vendor_ids"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Exact match on one vendor, or any of several. Mutually exclusive with each other."]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["vendor_name"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Partial match on vendor name"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["category_id"]}," / ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["category_ids"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Exact match on one category, or any of several. Mutually exclusive with each other."]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["category_name"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Partial match on category name"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["attribute_ids"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Matches products with any of the given attribute IDs"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["attribute_name"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Partial match on attribute name"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["has_install"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Restrict to products with at least one company install"]}]}]}]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["All filters are AND-combined. Sort by ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["relevance"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["product_name"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["vendor_name"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["category_name"]},", or ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["last_verified_at"]},"."]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"json","header":{"controls":{"copy":{}}},"source":"{\n  \"count\": 1,\n  \"products\": [\n    {\n      \"product_id\": 22,\n      \"product_name\": \"Salesforce CRM\",\n      \"product_description\": \"Salesforce CRM is a customer relationship platform...\",\n      \"vendor_id\": 376,\n      \"vendor_name\": \"Salesforce.com, Inc.\",\n      \"category_id\": \"368B0C2D14F47CC1A7DB3BB7C2B41C7E\",\n      \"category_name\": \"Customer Relationship Management Applications\"\n    }\n  ]\n}\n","lang":"json"},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"search-vendors","__idx":4},"children":["Search Vendors"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"header":{"controls":{"copy":{}}},"source":"POST /data-api/v2/products/vendors/search\n"},"children":[]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"json","header":{"controls":{"copy":{}}},"source":"{\n  \"filters\": {\n    \"vendor_name\": \"Salesforce\",\n    \"has_products_with_installs\": true\n  },\n  \"include_products\": true,\n  \"products_limit\": 10\n}\n","lang":"json"},"children":[]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Filter"},"children":["Filter"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Description"},"children":["Description"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["vendor_name"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Substring match, relevance-ranked (exact > prefix > substring)"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["description"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Substring match on ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["vendor_company_description"]}]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["vendor_id"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Exact match"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["has_products_with_installs"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Restrict to vendors with at least one installed product"]}]}]}]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Set ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["include_products: true"]}," to get each vendor's top products (by install presence) attached inline, up to ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["products_limit"]}," per vendor, instead of making a separate product search per vendor."]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"json","header":{"controls":{"copy":{}}},"source":"{\n  \"count\": 1,\n  \"data\": [\n    {\n      \"vendor_id\": 376,\n      \"vendor_name\": \"Salesforce.com, Inc.\",\n      \"vendor_company_id\": \"...\",\n      \"vendor_company_description\": \"...\",\n      \"vendor_url\": \"https://salesforce.com\",\n      \"vendor_parent_id\": 0,\n      \"product_count\": 42,\n      \"products\": [\n        {\"product_id\": 22, \"product_name\": \"Salesforce CRM\"}\n      ]\n    }\n  ]\n}\n","lang":"json"},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["vendor_parent_id"]}," is ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["0"]}," for a top-level vendor, or the parent vendor's ID for a subsidiary brand."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"search-categories","__idx":5},"children":["Search Categories"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"header":{"controls":{"copy":{}}},"source":"POST /data-api/v2/products/categories/search\n"},"children":[]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"json","header":{"controls":{"copy":{}}},"source":"{\n  \"filters\": {\n    \"category_name\": \"Customer Relationship\",\n    \"has_category_installs\": true\n  }\n}\n","lang":"json"},"children":[]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Filter"},"children":["Filter"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Description"},"children":["Description"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["category_name"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Partial match"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["category_code"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Exact match"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["tree_contains"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Partial match against the category's full tree path"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["has_category_installs"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Restrict to categories with at least one install"]}]}]}]}]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"json","header":{"controls":{"copy":{}}},"source":"{\n  \"count\": 1,\n  \"categories\": [\n    {\n      \"category_id\": \"1B45A740FC4C3958BDF5957F142D6A7E\",\n      \"category_name\": \"Customer Relationship Management Applications\",\n      \"category_code\": \"SW049\",\n      \"category_parent_id\": \"148EC4B995226416EBC8BE44C24D65E8\",\n      \"category_name_tree\": [\"Software\", \"Enterprise Applications\", \"Enterprise Resource Planning Applications\", \"Customer Relationship Management Applications\"],\n      \"category_id_tree\": [\"319D067B229178F03BCFA1DA4AC4DEDE\", \"0450D8C9CB5523C08C3684C31BF161C4\", \"148EC4B995226416EBC8BE44C24D65E8\", \"1B45A740FC4C3958BDF5957F142D6A7E\"],\n      \"product_count\": 1821\n    }\n  ]\n}\n","lang":"json"},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["category_name_tree"]}," and ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["category_id_tree"]}," give you the full path from root category down to the matched one, useful for breadcrumbs or rolling up to a parent category."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"search-attributes","__idx":6},"children":["Search Attributes"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"header":{"controls":{"copy":{}}},"source":"POST /data-api/v2/products/attributes/search\n"},"children":[]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"json","header":{"controls":{"copy":{}}},"source":"{\n  \"filters\": {\n    \"attribute_name\": \"Cloud Computing\"\n  }\n}\n","lang":"json"},"children":[]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Filter"},"children":["Filter"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Description"},"children":["Description"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["attribute_ids"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Matches any of the given IDs"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["attribute_name"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Partial match"]}]}]}]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"industry-taxonomy-get-industriessearch","__idx":7},"children":["Industry Taxonomy: ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["GET /industries/search"]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["A separate endpoint for a separate kind of lookup: the crosswalk between HG's 23 industry buckets, NAICS 2012 (~2,200 codes), and SIC 1987 (~1,500 codes). Free text, exact codes, or both, across one taxonomy or all three at once."]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"header":{"controls":{"copy":{}}},"source":"GET /data-api/v2/industries/search\n"},"children":[]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"bash","header":{"controls":{"copy":{}}},"source":"curl \"https://api.hginsights.com/data-api/v2/industries/search?q=fintech&taxonomy=naics\" \\\n  -H \"Authorization: Bearer $HG_API_KEY\"\n","lang":"bash"},"children":[]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Parameter"},"children":["Parameter"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Description"},"children":["Description"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["q"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Free-text search (min 2 chars). All-digit queries prefix-match codes. Comma-separated terms run as OR. Colloquial terms like \"fintech\" or \"saas\" are auto-expanded to the matching taxonomy terms."]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["taxonomy"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Scope to ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["industry"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["naics"]},", or ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["sic"]},". Omit to search all three."]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["limit"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Page size, 1-500 (default 50)"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["offset"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Page offset, 0-10000"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["naics_leaf_only"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Only applies when ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["taxonomy=naics"]},". When true, returns only 6-digit leaf codes (the most specific level) instead of rollup codes."]}]}]}]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Every result row returns the full crosswalk, not just the taxonomy you searched:"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"json","header":{"controls":{"copy":{}}},"source":"{\n  \"results\": [\n    {\n      \"matched_on\": \"naics\",\n      \"industry\": {\"industry_id\": 16, \"industry_name\": \"Financial Services\"},\n      \"naics\": {\"naics_code\": \"522110\", \"naics_name\": \"Commercial Banking\", \"hierarchy_level\": \"national_industry\", \"is_leaf\": true},\n      \"sic\": {\"sic_code\": \"I6021\", \"sic_standard_code\": \"6021\", \"sic_name\": \"National Commercial Banks\", \"is_hg_extension\": true}\n    }\n  ],\n  \"pagination\": {\"total\": 1, \"limit\": 50, \"offset\": 0, \"has_more\": false, \"offset_exceeds_total\": false},\n  \"alias_expansions\": [{\"term\": \"fintech\", \"expanded_to\": [\"financial technology\", \"fintech\"]}]\n}\n","lang":"json"},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Watch for HG-extended SIC codes."]}," ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["sic_code"]}," can be a letter-prefixed HG extension (e.g. ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["I6021"]},") rather than a standard 4-digit SIC code. Use ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["sic_standard_code"]}," (e.g. ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["6021"]},") when you need the real SIC-1987 code for a downstream system."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["If a text query gets zero results, the response includes ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["suggestions"]},", up to 5 closest taxonomy names by spelling distance, instead of an empty array with nothing to go on."]}]},"headings":[{"value":"Use the Catalog","id":"use-the-catalog","depth":1},{"value":"Simple Lookups: GET /catalog/*","id":"simple-lookups-get-catalog","depth":2},{"value":"Multi-Field Search: Products, Vendors, Categories, Attributes","id":"multi-field-search-products-vendors-categories-attributes","depth":2},{"value":"Search Products","id":"search-products","depth":3},{"value":"Search Vendors","id":"search-vendors","depth":3},{"value":"Search Categories","id":"search-categories","depth":3},{"value":"Search Attributes","id":"search-attributes","depth":3},{"value":"Industry Taxonomy: GET /industries/search","id":"industry-taxonomy-get-industriessearch","depth":2}],"frontmatter":{"seo":{"title":"Use the Catalog"}},"lastModified":"2026-10-09T20:13:09.000Z","pagePropGetterError":{"message":"","name":""}},"slug":"/v2/guides/catalog","userData":{"isAuthenticated":false,"teams":["anonymous"]},"isPublic":true}