> ## Documentation Index
> Fetch the complete documentation index at: https://docs.parcha.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# High Risk Industry Check

> Learn how to run high risk industry checks to verify a business's industry classification

The High Risk Industry check helps identify potential risks by verifying a business's industry classification and ensuring it does not operate in prohibited or high-risk industries. This guide explains how to run the check, what data to provide, and how to interpret the results.

## Overview

The check analyzes various aspects of a business's industry:

* Primary business activities
* Industry classification
* Prohibited industry screening
* High-risk sector evaluation
* Business model assessment

## Running the Check

### API Endpoint

```bash theme={null}
POST https://api.parcha.ai/api/v1/startKYBAgentJob
```

### Request Parameters

<Warning>
  **Important**: You must use your own agent key, not a default or public agent key. Your agent key can be found in the Parcha dashboard under your agent's settings, or in the "Test API Integration" dialog.
</Warning>

<ParamField body="agent_key" type="string" required>
  Your KYB agent key from the Parcha dashboard. This is unique to your organization and agent configuration.
</ParamField>

<ParamField body="check_id" type="string" required>
  Use `"kyb.high_risk_industry_check"` for industry risk verification.
</ParamField>

<ParamField body="payload" type="object" required>
  The business information for verification.

  <Expandable title="Payload Properties">
    <ParamField body="id" type="string" required>
      A unique identifier for this check case.
    </ParamField>

    <ParamField body="self_attested_data" type="object" required>
      <ParamField body="business_name" type="string" required>
        The legal name of the business to verify.
      </ParamField>

      <ParamField body="industry" type="string">
        The self-attested industry of the business.
      </ParamField>

      <ParamField body="business_activity" type="string">
        Description of the business's activities and operations.
      </ParamField>
    </ParamField>
  </Expandable>
</ParamField>

### Example Request

<CodeGroup>
  ```bash cURL theme={null}
  curl -X POST 'https://api.parcha.ai/api/v1/startKYBAgentJob' \
  -H 'Authorization: Bearer YOUR_API_KEY' \
  -H 'Content-Type: application/json' \
  -d '{
    "agent_key": "your-kyb-agent-key",
    "check_id": "kyb.high_risk_industry_check",
    "payload": {
      "id": "industry-check-001",
      "self_attested_data": {
        "business_name": "Parcha Labs Inc",
        "industry": "Financial Technology Services",
        "business_activity": "Development and provision of business verification and compliance software solutions"
      }
    }
  }'
  ```

  ```python Python theme={null}
  import requests

  api_key = 'YOUR_API_KEY'
  url = 'https://api.parcha.ai/api/v1/startKYBAgentJob'

  headers = {
      'Authorization': f'Bearer {api_key}',
      'Content-Type': 'application/json'
  }

  data = {
      'agent_key': 'your-kyb-agent-key',  # Replace with your actual agent key
      'check_id': 'kyb.high_risk_industry_check',
      'payload': {
          'id': 'industry-check-001',
          'self_attested_data': {
              'business_name': 'Parcha Labs Inc',
              'industry': 'Financial Technology Services',
              'business_activity': 'Development and provision of business verification and compliance software solutions'
          }
      }
  }

  response = requests.post(url, json=data, headers=headers)
  print(response.json())
  ```

  ```typescript TypeScript theme={null}
  import axios from 'axios';

  const api_key = 'YOUR_API_KEY';
  const url = 'https://api.parcha.ai/api/v1/startKYBAgentJob';

  const data = {
    agent_key: 'your-kyb-agent-key',  // Replace with your actual agent key
    check_id: 'kyb.high_risk_industry_check',
    payload: {
      id: 'industry-check-001',
      self_attested_data: {
        business_name: 'Parcha Labs Inc',
        industry: 'Financial Technology Services',
        business_activity: 'Development and provision of business verification and compliance software solutions'
      }
    }
  };

  axios.post(url, data, {
    headers: {
      'Authorization': `Bearer ${api_key}`,
      'Content-Type': 'application/json'
    }
  })
  .then(response => console.log(response.data))
  .catch(error => console.error('Error:', error));
  ```
</CodeGroup>

### Initial Response

```json theme={null}
{
  "id": "job-abc123",
  "status": "PENDING",
  "created_at": "2024-02-15T10:30:00Z",
  "updated_at": "2024-02-15T10:30:00Z",
  "agent_id": "your-agent-key",
  "input_payload": {
    // Original request payload
  }
}
```

## Retrieving Check Results

Once the job is complete, retrieve the results using the job ID with the `getJobByID` endpoint. Make sure to include the `include_check_results=true` parameter to get the full check results.

```bash theme={null}
GET https://api.parcha.ai/api/v1/getJobByID?job_id=job-abc123&include_check_results=true
```

## Check Process

The high risk industry check follows these steps:

1. **Industry Analysis**
   * Evaluates primary business activities
   * Analyzes business model and operations
   * Reviews product and service offerings

2. **Risk Classification**
   * Screens against prohibited industries
   * Identifies high-risk sectors
   * Assesses regulatory requirements

3. **Verification Process**
   * Reviews business documentation
   * Analyzes online presence
   * Verifies against NAICS standards
   * Cross-references industry databases

## Check Results

Once the check is complete, you can retrieve the results using the check ID. The results will include:

### Response Structure

```typescript theme={null}
{
  type: "IndustryActivityCheckResult";
  passed: boolean;
  verified_industry: string | null;
  verified_business_activity: string | null;
}
```
