> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.middesk.com/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.middesk.com/_mcp/server.

# Industry classification object

> Describes the contents of an industry classification record.

This reference describes the `industry_classification` object, which represents the industry classification of a business.

Middesk leverages a variety of techniques to determine if a business falls into a particular industry.
Middesk scores a business against each category and returns the top industry classifications for each entity.
Middesk returns up to 5 classifications per `classification_system` that meet the threshold requirement.
Classifications appear in descending order by confidence score.

**`Sample response`**

```json title="Sample response"
{
  "object": "industry_classification",
  "id": "11515c70-5359-4ff5-a810-2063b3a26783",
  "status": "completed",
  "categories": [
    {
      "classification_system": "NAICS",
      "name": "Other Accounting Services",
      "sector": "PROFESSIONAL_SCIENTIFIC_TECHNICAL_SERVICES",
      "category": "OTHER_ACCOUNTING_SERVICES",
      "score": 0.84254183902144128,
      "high_risk": false,
      "naics_codes": [
        "541219"
      ],
      "sic_codes": [
        "7291",
        "8721"
      ],
      "mcc_codes": [],
      "prohibited_labels": []
    },
    {
      "classification_system": "NAICS",
      "name": "Software Publishers",
      "sector": "INFORMATION",
      "category": "SOFTWARE_PUBLISHERS",
      "score": 0.71428778733424187,
      "high_risk": false,
      "naics_codes": [
        "513210"
      ],
      "sic_codes": [
        "7372"
      ],
      "mcc_codes": [],
      "prohibited_labels": []
    },
    {
      "classification_system": "Prohibited",
      "name": "Other Non-Prohibited",
      "sector": null,
      "category": "OTHER_NON_PROHIBITED",
      "score": 0.65029388771531674,
      "high_risk": false,
      "naics_codes": [],
      "sic_codes": [],
      "mcc_codes": [],
      "prohibited_labels": [
        "OTHER_NON_PROHIBITED"
      ]
    }
  ],
  "created_at": "2023-03-07T23:08:11.893Z",
  "completed_at": "2023-03-07T23:08:12.305Z",
  "website": {
    "url": "https://www.middesk.com",
    "status": "online",
    "parked": false
  }
},
"subscription": null,
"tax_exempt_organization": null,
"fmcsa_registrations": [],
"actions": [],
"submitted": {
  "object": "submitted_attributes",
  "name": "Middesk",
  "addresses": null,
  "orders": null,
  "people": [],
  "phone_numbers": null,
  "tags": null,
  "external_id": null,
  "tin": null,
  "website": {
    "url": "https://www.middesk.com"
  },
  "assignee_id": null,
  "formation": null,
  "names": null
}
```

## Industry classification attributes

| Property       | Type         | Description                                                                               |
| -------------- | ------------ | ----------------------------------------------------------------------------------------- |
| `object`       | `string`     | A definition of the type of object returned                                               |
| `id`           | `string`     |                                                                                           |
| `status`       | `string`     | The current status of the classification                                                  |
| `categories`   | `category[]` | List and details of all known [classifications](/online-presence/industry-classification) |
| `website`      | `object`     | The URL and status of the submitted website. This appears only if you submit a website.   |
| `created_at`   | `timestamp`  |                                                                                           |
| `completed_at` | `timestamp`  |                                                                                           |

## Category attributes

An `industry_classification` may have multiple categories. The `category` object contains the following properties.

| Property                | Type       | Description                                                                                                                                                                                        |
| ----------------------- | ---------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `classification_system` | `string`   | The relevant classification system. Valid values are NAICS, MCC, and Prohibited. 501c3 is a valid but deprecated classification system.                                                            |
| `name`                  | `string`   | The name of the industry category.                                                                                                                                                                 |
| `sector`                | `string`   | The sector that the business operates in. The sector is defined per category, and some categories may not have a sector.                                                                           |
| `category`              | `string`   | The industry category that the business operates in.                                                                                                                                               |
| `score`                 | `float`    | A score indicating the likelihood that a business operates within this category.                                                                                                                   |
| `high_risk`             | `boolean`  | A flag indicating if the industry is considered high risk.                                                                                                                                         |
| `naics_codes`           | `string[]` | A list of NAICS (North American Industry Classification System) codes for the industry category. This array may be populated if the `classification_system` is **NAICS**.                          |
| `sic_codes`             | `string[]` | A list of SIC (Standard Industrial Classification) codes for the industry category. This array may be populated if the `classification_system` is **NAICS**.                                       |
| `mcc_codes`             | `string[]` | A list of MCCs (Merchant Category Codes) for the industry category. This array may be populated if the `classification_system` is **MCC**.                                                         |
| `prohibited_labels`     | `string[]` | A list of prohibited industry labels that may be populated if the `classification_system` is **Prohibited**.                                                                                       |
| `risk_program_flags`    | `object[]` | A list of card network risk program flags (Mastercard SMRP and Visa VIRP) that apply to the category. This array appears only on Risk orders and is empty when the Risk order flagged no programs. |

Each industry classification can be classified under multiple categories.

## Risk program flag attributes

> **Note**
>
> Card network risk program flags are available only on Risk orders. Categories returned by any other order omit the `risk_program_flags` field entirely. On a Risk order the field is always present, and it is an empty array when the category matched no program.

Each flag identifies a card network risk program (Mastercard SMRP or Visa VIRP) that lists the category. The flags are enrichment only and never contribute to the risk score or level. See [Card network risk programs](/online-presence/industry-classification/prohibited-categories#card-network-risk-programs) for how the programs work.

| Property           | Type     | Description                                                                                                                                                                                |
| ------------------ | -------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| `program`          | `string` | The card network risk program. Valid values are SMRP (Mastercard) and VIRP (Visa).                                                                                                         |
| `program_category` | `string` | The network listing category (e.g., `crypto`, `pharmacy`, `gambling`).                                                                                                                     |
| `tier`             | `object` | The VIRP tier severity, with a `level` (1, 2, or 3) and a `harm_type` (`health_safety`, `financial`, or `regulatory_deceptive`). This object appears only on VIRP flags; SMRP is untiered. |

**`Category with risk program flags, returned on a Risk order`**

```json title="Category with risk program flags, returned on a Risk order"
{
  "classification_system": "MCC",
  "name": "Online Gambling",
  "sector": null,
  "category": "GAMBLING",
  "score": 0.91334781125904183,
  "high_risk": true,
  "naics_codes": [],
  "sic_codes": [],
  "mcc_codes": [
    "7995"
  ],
  "prohibited_labels": [],
  "risk_program_flags": [
    {
      "program": "SMRP",
      "program_category": "gambling"
    },
    {
      "program": "VIRP",
      "program_category": "gambling",
      "tier": {
        "level": 1,
        "harm_type": "health_safety"
      }
    }
  ]
}
```

> **Get a demo**
>
> Contact your account manager or [contact sales](https://www.middesk.com/contact-sales) to inquire about access.