# ILAB Supply Chain - Forced & Child Labor Risk (`ryanclinton/ilab-supply-chain-intel`) Actor

Supply chain compliance intelligence from **7 DOL ILAB datasets**: ImportWatch, LaborShield, and Child Labor Reports.

- **URL**: https://apify.com/ryanclinton/ilab-supply-chain-intel.md
- **Developed by:** [ryan clinton](https://apify.com/ryanclinton) (community)
- **Categories:** Other, AI
- **Stats:** 3 total users, 2 monthly users, 100.0% runs succeeded, NaN bookmarks
- **User rating**: No ratings yet

## Pricing

$30.00 / 1,000 result returneds

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

Learn more: https://docs.apify.com/platform/actors/running/actors-in-store#pay-per-event

## What's an Apify Actor?

Actors are a software tools running on the Apify platform, for all kinds of web data extraction and automation use cases.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.
Actors are written with capital "A".

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.
The best way to integrate Actors is as follows.

In JavaScript/TypeScript projects, use official [JavaScript/TypeScript client](https://docs.apify.com/api/client/js.md):

```bash
npm install apify-client
```

In Python projects, use official [Python client library](https://docs.apify.com/api/client/python.md):

```bash
pip install apify-client
```

In shell scripts, use [Apify CLI](https://docs.apify.com/cli/docs.md):

````bash
# MacOS / Linux
curl -fsSL https://apify.com/install-cli.sh | bash
# Windows
irm https://apify.com/install-cli.ps1 | iex
```bash

In AI frameworks, you might use the [Apify MCP server](https://docs.apify.com/platform/integrations/mcp.md).

If your project is in a different language, use the [REST API](https://docs.apify.com/api/v2.md).

For usage examples, see the [API](#api) section below.

For more details, see Apify documentation as [Markdown index](https://docs.apify.com/llms.txt) and [Markdown full-text](https://docs.apify.com/llms-full.txt).


# README

## ILAB Supply Chain Intelligence — Forced Labor & Child Labor Risk

Supply chain compliance intelligence from **7 DOL ILAB datasets**: ImportWatch, LaborShield, and Child Labor Reports. Identifies goods produced with child labor or forced labor worldwide, matches them to **US import HS tariff codes**, and provides country risk assessments with compliance action recommendations.

Directly supports **UFLPA** (Uyghur Forced Labor Prevention Act), **EU CSDDD** (Corporate Sustainability Due Diligence Directive), and Section 307 of the Tariff Act compliance.

### What It Does

1. **Searches ImportWatch** core data by country, good/product, sector, or exploitation type
2. **Matches HS tariff codes** from ImportWatch_Goods_HS — links flagged goods to Harmonized Schedule codes used in US trade
3. **Enriches with country codes** from ImportWatch_Country_Codes
4. **Joins Child Labor Reports** (2016-2022) for country advancement assessments
5. **Adds LaborShield data** — compliance actions, reporting metrics, and goods flagged
6. **Calculates supply chain risk scores** based on exploitation severity, goods count, HS code exposure, and country enforcement levels

### Data Sources (7 DOL ILAB Datasets)

| Dataset | Published | Description |
|---------|-----------|-------------|
| ImportWatch_Core_Data | Sep 2025 | Goods flagged for child/forced labor matched to US trade data |
| ImportWatch_Goods_HS | Nov 2025 | HS tariff code mappings for flagged goods |
| ImportWatch_Country_Codes | Sep 2025 | Country code lookup (ISO2/ISO3) |
| Child_Labor_Report (2016-2022) | Mar 2025 | Country assessments from TVPRA Section 402(b) reporting |
| LaborShield_ReportingData | Jan 2026 | Supply chain risk assessment metrics by country |
| LaborShield_Goods | Jan 2026 | Goods flagged in LaborShield app |
| LaborShield_SuggestedActions | Jan 2026 | Recommended compliance actions |

### Input Parameters

| Parameter | Type | Default | Description |
|-----------|------|---------|-------------|
| `apiKey` | string | — | DOL API key ([register free](https://dataportal.dol.gov/registration)) |
| `dryRun` | boolean | true | Return sample data without API calls |
| `country` | string | — | Search by country name (partial match) |
| `good` | string | — | Search by product name (Cotton, Cobalt, Garments, etc.) |
| `hsCode` | string | — | Filter by HS tariff code prefix (52=cotton, 26=ores) |
| `sector` | string | — | Filter by sector (Mining, Agriculture, Manufacturing) |
| `exploitationType` | string | — | CL (Child Labor), FL (Forced Labor), CL/FL (Both) |
| `region` | string | — | Geographic region (East Asia, Sub-Saharan Africa, etc.) |
| `includeImportWatch` | boolean | true | Enrich with HS codes and country codes |
| `includeLaborShield` | boolean | true | Enrich with compliance actions |
| `includeChildLaborReport` | boolean | true | Enrich with country advancement assessments |
| `maxResults` | integer | 100 | Max country risk profiles (1-5000) |

### Output Format

Each record is a **country-level risk profile** with goods, HS codes, and compliance data:

```json
{
    "country": "China",
    "countryCode": "CN",
    "region": "East Asia & Pacific",
    "goods": [
        {
            "good": "Electronics",
            "exploitationType": "FL",
            "exploitationDescription": "Forced Labor",
            "sector": "Manufacturing",
            "hsCodeMatches": [
                { "hsCode": "8471", "description": "Automatic data processing machines" },
                { "hsCode": "8517", "description": "Telephone sets, smartphones" }
            ]
        },
        {
            "good": "Cotton",
            "exploitationType": "FL",
            "exploitationDescription": "Forced Labor",
            "sector": "Agriculture",
            "hsCodeMatches": [
                { "hsCode": "5201", "description": "Cotton, not carded or combed" }
            ]
        }
    ],
    "totalGoods": 7,
    "goodsWithChildLabor": 0,
    "goodsWithForcedLabor": 6,
    "goodsWithBoth": 1,
    "sectors": ["Manufacturing", "Agriculture"],
    "countryAssessment": {
        "advancementLevel": "No Advancement",
        "goodsWithChildLabor": 2,
        "goodsWithForcedLabor": 18,
        "reportingYear": "2022"
    },
    "suggestedActions": [
        {
            "actionText": "Ensure compliance with the UFLPA for all imports.",
            "actionType": "Legal Compliance"
        }
    ],
    "riskScore": 98,
    "riskLevel": "Critical",
    "riskFactors": [
        "7 goods flagged for labor abuse (+10)",
        "6 good(s) with forced labor (+30)",
        "Country advancement: No Advancement (+25)"
    ]
}
````

### Risk Scoring

| Factor | Points | Cap |
|--------|--------|-----|
| Goods flagged ≥20 | +30 | — |
| Goods flagged ≥10 | +20 | — |
| Goods flagged ≥5 | +10 | — |
| Forced labor goods | +5 each | 30 |
| Both CL & FL goods | +8 each | 25 |
| Country: No Advancement | +25 | — |
| Country: Minimal Advancement | +15 | — |
| Country: Moderate Advancement | +5 | — |
| Sectors affected ≥5 | +15 | — |
| Goods with HS code matches | +3 each | 20 |

**Risk levels:** Critical (≥80) · High (≥50) · Medium (≥25) · Low (<25)

### Example Searches

**All goods from China with forced labor:**

```json
{
    "apiKey": "YOUR_KEY",
    "dryRun": false,
    "country": "China",
    "exploitationType": "FL"
}
```

**Search for cobalt across all countries:**

```json
{
    "apiKey": "YOUR_KEY",
    "dryRun": false,
    "good": "Cobalt"
}
```

**Filter by HS chapter 52 (cotton products):**

```json
{
    "apiKey": "YOUR_KEY",
    "dryRun": false,
    "hsCode": "52"
}
```

**Mining sector in Sub-Saharan Africa:**

```json
{
    "apiKey": "YOUR_KEY",
    "dryRun": false,
    "sector": "Mining",
    "region": "Sub-Saharan Africa"
}
```

### Use Cases

- **UFLPA compliance** — Identify goods and supply chains subject to the Uyghur Forced Labor Prevention Act rebuttable presumption
- **EU CSDDD due diligence** — Map forced labor and child labor risks across supply chains for EU Corporate Sustainability Due Diligence
- **Customs & trade compliance** — Match at-risk goods to HS tariff codes for import screening
- **ESG reporting** — Generate country and sector risk assessments for Environmental, Social, Governance disclosures
- **Investor due diligence** — Assess portfolio companies' supply chain exposure to forced labor
- **Procurement risk** — Screen suppliers and sourcing countries before contract awards
- **Journalism & research** — Investigate supply chain labor exploitation by country, good, or sector

### API Key

Register for a **free** DOL API key at [dataportal.dol.gov/registration](https://dataportal.dol.gov/registration).

### Technical Notes

- The actor uses staggered parallel requests (500ms-4000ms delays) to avoid DOL API rate limiting
- ImportWatch\_Goods\_HS is fetched in full (lookup table) to enable HS code matching across all goods
- If ImportWatch\_Core\_Data returns no results, the actor falls back to LaborShield\_Goods as an alternative data source
- Country risk profiles are sorted by risk score descending
- The HS code filter works by prefix matching — `52` matches all HS codes starting with 52 (cotton chapter)

# Actor input Schema

## `apiKey` (type: `string`):

Your DOL Open Data Portal API key. Register free at https://dataportal.dol.gov/registration

## `dryRun` (type: `boolean`):

Return sample data without calling the API. Default: true (unless apiKey provided)

## `country` (type: `string`):

Search by country name (partial match). e.g., 'China', 'Bangladesh', 'Congo'

## `good` (type: `string`):

Search by product name (partial match). e.g., 'Cotton', 'Cobalt', 'Garments', 'Electronics'

## `hsCode` (type: `string`):

Filter by Harmonized System code prefix. e.g., '52' (cotton), '26' (ores), '61' (knitted apparel)

## `sector` (type: `string`):

Search by industry sector. e.g., 'Mining', 'Agriculture', 'Manufacturing'

## `exploitationType` (type: `string`):

Filter by type of labor exploitation

## `region` (type: `string`):

Filter by geographic region. e.g., 'East Asia', 'Sub-Saharan Africa', 'South Asia'

## `includeImportWatch` (type: `boolean`):

Enrich with HS tariff codes and country codes from ImportWatch

## `includeLaborShield` (type: `boolean`):

Enrich with LaborShield compliance actions and reporting data

## `includeChildLaborReport` (type: `boolean`):

Enrich with country advancement assessments from the Child Labor Report

## `maxResults` (type: `integer`):

Maximum number of country risk profiles to return (1-5000)

## Actor input object example

```json
{
  "dryRun": true,
  "includeImportWatch": true,
  "includeLaborShield": true,
  "includeChildLaborReport": true,
  "maxResults": 100
}
```

# Actor output Schema

## `results` (type: `string`):

No description

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {};

// Run the Actor and wait for it to finish
const run = await client.actor("ryanclinton/ilab-supply-chain-intel").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = {}

# Run the Actor and wait for it to finish
run = client.actor("ryanclinton/ilab-supply-chain-intel").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print("💾 Check your data here: https://console.apify.com/storage/datasets/" + run["defaultDatasetId"])
for item in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{}' |
apify call ryanclinton/ilab-supply-chain-intel --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "command": "npx",
            "args": [
                "mcp-remote",
                "https://mcp.apify.com/?tools=ryanclinton/ilab-supply-chain-intel",
                "--header",
                "Authorization: Bearer <YOUR_API_TOKEN>"
            ]
        }
    }
}

```

## OpenAPI specification

```json
{
    "openapi": "3.0.1",
    "info": {
        "title": "ILAB Supply Chain - Forced & Child Labor Risk",
        "description": "Supply chain compliance intelligence from **7 DOL ILAB datasets**: ImportWatch, LaborShield, and Child Labor Reports.",
        "version": "0.1",
        "x-build-id": "HQtU0JhHaBMDTtUfZ"
    },
    "servers": [
        {
            "url": "https://api.apify.com/v2"
        }
    ],
    "paths": {
        "/acts/ryanclinton~ilab-supply-chain-intel/run-sync-get-dataset-items": {
            "post": {
                "operationId": "run-sync-get-dataset-items-ryanclinton-ilab-supply-chain-intel",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor, waits for its completion, and returns Actor's dataset items in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                }
            }
        },
        "/acts/ryanclinton~ilab-supply-chain-intel/runs": {
            "post": {
                "operationId": "runs-sync-ryanclinton-ilab-supply-chain-intel",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor and returns information about the initiated run in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/runsResponseSchema"
                                }
                            }
                        }
                    }
                }
            }
        },
        "/acts/ryanclinton~ilab-supply-chain-intel/run-sync": {
            "post": {
                "operationId": "run-sync-ryanclinton-ilab-supply-chain-intel",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                }
            }
        }
    },
    "components": {
        "schemas": {
            "inputSchema": {
                "type": "object",
                "properties": {
                    "apiKey": {
                        "title": "DOL API Key",
                        "type": "string",
                        "description": "Your DOL Open Data Portal API key. Register free at https://dataportal.dol.gov/registration"
                    },
                    "dryRun": {
                        "title": "Dry Run",
                        "type": "boolean",
                        "description": "Return sample data without calling the API. Default: true (unless apiKey provided)",
                        "default": true
                    },
                    "country": {
                        "title": "Country",
                        "type": "string",
                        "description": "Search by country name (partial match). e.g., 'China', 'Bangladesh', 'Congo'"
                    },
                    "good": {
                        "title": "Good / Product",
                        "type": "string",
                        "description": "Search by product name (partial match). e.g., 'Cotton', 'Cobalt', 'Garments', 'Electronics'"
                    },
                    "hsCode": {
                        "title": "HS Tariff Code",
                        "type": "string",
                        "description": "Filter by Harmonized System code prefix. e.g., '52' (cotton), '26' (ores), '61' (knitted apparel)"
                    },
                    "sector": {
                        "title": "Sector",
                        "type": "string",
                        "description": "Search by industry sector. e.g., 'Mining', 'Agriculture', 'Manufacturing'"
                    },
                    "exploitationType": {
                        "title": "Exploitation Type",
                        "enum": [
                            "CL",
                            "FL",
                            "CL/FL"
                        ],
                        "type": "string",
                        "description": "Filter by type of labor exploitation"
                    },
                    "region": {
                        "title": "Region",
                        "type": "string",
                        "description": "Filter by geographic region. e.g., 'East Asia', 'Sub-Saharan Africa', 'South Asia'"
                    },
                    "includeImportWatch": {
                        "title": "Include ImportWatch Data",
                        "type": "boolean",
                        "description": "Enrich with HS tariff codes and country codes from ImportWatch",
                        "default": true
                    },
                    "includeLaborShield": {
                        "title": "Include LaborShield Data",
                        "type": "boolean",
                        "description": "Enrich with LaborShield compliance actions and reporting data",
                        "default": true
                    },
                    "includeChildLaborReport": {
                        "title": "Include Child Labor Report",
                        "type": "boolean",
                        "description": "Enrich with country advancement assessments from the Child Labor Report",
                        "default": true
                    },
                    "maxResults": {
                        "title": "Max Results",
                        "minimum": 1,
                        "maximum": 5000,
                        "type": "integer",
                        "description": "Maximum number of country risk profiles to return (1-5000)",
                        "default": 100
                    }
                }
            },
            "runsResponseSchema": {
                "type": "object",
                "properties": {
                    "data": {
                        "type": "object",
                        "properties": {
                            "id": {
                                "type": "string"
                            },
                            "actId": {
                                "type": "string"
                            },
                            "userId": {
                                "type": "string"
                            },
                            "startedAt": {
                                "type": "string",
                                "format": "date-time",
                                "example": "2025-01-08T00:00:00.000Z"
                            },
                            "finishedAt": {
                                "type": "string",
                                "format": "date-time",
                                "example": "2025-01-08T00:00:00.000Z"
                            },
                            "status": {
                                "type": "string",
                                "example": "READY"
                            },
                            "meta": {
                                "type": "object",
                                "properties": {
                                    "origin": {
                                        "type": "string",
                                        "example": "API"
                                    },
                                    "userAgent": {
                                        "type": "string"
                                    }
                                }
                            },
                            "stats": {
                                "type": "object",
                                "properties": {
                                    "inputBodyLen": {
                                        "type": "integer",
                                        "example": 2000
                                    },
                                    "rebootCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "restartCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "resurrectCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "computeUnits": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            },
                            "options": {
                                "type": "object",
                                "properties": {
                                    "build": {
                                        "type": "string",
                                        "example": "latest"
                                    },
                                    "timeoutSecs": {
                                        "type": "integer",
                                        "example": 300
                                    },
                                    "memoryMbytes": {
                                        "type": "integer",
                                        "example": 1024
                                    },
                                    "diskMbytes": {
                                        "type": "integer",
                                        "example": 2048
                                    }
                                }
                            },
                            "buildId": {
                                "type": "string"
                            },
                            "defaultKeyValueStoreId": {
                                "type": "string"
                            },
                            "defaultDatasetId": {
                                "type": "string"
                            },
                            "defaultRequestQueueId": {
                                "type": "string"
                            },
                            "buildNumber": {
                                "type": "string",
                                "example": "1.0.0"
                            },
                            "containerUrl": {
                                "type": "string"
                            },
                            "usage": {
                                "type": "object",
                                "properties": {
                                    "ACTOR_COMPUTE_UNITS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_WRITES": {
                                        "type": "integer",
                                        "example": 1
                                    },
                                    "KEY_VALUE_STORE_LISTS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_INTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_EXTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_SERPS": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            },
                            "usageTotalUsd": {
                                "type": "number",
                                "example": 0.00005
                            },
                            "usageUsd": {
                                "type": "object",
                                "properties": {
                                    "ACTOR_COMPUTE_UNITS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_WRITES": {
                                        "type": "number",
                                        "example": 0.00005
                                    },
                                    "KEY_VALUE_STORE_LISTS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_INTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_EXTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_SERPS": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}
```
