# Open Supply Hub Scraper (`jooah-code/opensupplyhub-org-scraper`) Actor

⚡ Fast Open Supply Hub scraper. No login, no API key. Extract factories and production facilities by search URL, OS ID or name with country, sector, contributor and worker filters: address, GPS, parent company, workers, product types, certifications and reporting brands.

- **URL**: https://apify.com/jooah-code/opensupplyhub-org-scraper.md
- **Developed by:** [jooah code](https://apify.com/jooah-code) (community)
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $2.10 / 1,000 results

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

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

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
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.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## 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.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

## Open Supply Hub Scraper

![Open Supply Hub Scraper](https://i.ibb.co/QFrLLXy0/opensupplyhub-org-banner.png)

> Scrape factory and production facility profiles from [Open Supply Hub](https://opensupplyhub.org/) and download them as JSON, CSV, Excel, or HTML. No account or login required.

### What does Open Supply Hub Scraper do?

**Open Supply Hub Scraper** turns Open Supply Hub facility profiles into a clean, structured dataset. Start from a facility search URL you filtered in your browser, or simply type a facility name or OS ID, and get the address, GPS coordinates, parent companies, sectors, facility and product types, worker counts, certifications, and the full list of brands and organizations that reported each facility.

[Open Supply Hub](https://opensupplyhub.org/) is an open, public map of supply chain locations. It lists more than 2.5 million factories, farms, warehouses, and offices shared by brands, retailers, auditors, certification bodies, and the facilities themselves, and gives each one a stable OS ID. That makes it a trusted reference for supply chain transparency, supplier due diligence, and ESG reporting. The scraper reads the same public information you see on each profile, so you can run it once, schedule it, or plug it into your own tools.

### Features

- **Search or paste URLs**: start from facility names, OS IDs, or any Open Supply Hub search page you already filtered.
- **Keeps your filters**: country, sector, contributor, facility type, number of workers, parent company, product type, and sort order from the URL are applied to the results.
- **Extra search filters**: narrow search queries by countries, sectors, contributors, facility types, worker ranges, and sort order.
- **Clean data**: coordinates and worker counts are real numbers, dates use one standard format, and text is free of HTML.
- **Small, cheap runs**: set a result limit per URL or query and pay only for what you need.
- **Automation ready**: schedule runs, export to Google Sheets, or connect to Make, Zapier, and n8n.

### Data fields

1. **Facility**: `url`, `osId`, `name`, `otherNames`, `newOsId`, `isClaimed`, `isClosed`, `isDataCenter`, `createdAt`, `createdBy`
2. **Location**: `address`, `otherAddresses`, `countryCode`, `countryName`, `latitude`, `longitude`, `hasInexactCoordinates`, `otherLocations`
3. **Company and activity**: `parentCompanies`, `sectors`, `facilityTypes`, `processingTypes`, `productTypes`, `isicClassifications`, `activityReports`
4. **Workforce**: `numberOfWorkers`, `numberOfWorkersMin`, `numberOfWorkersMax`
5. **Contributors**: `contributorCount`, `contributors` (name, type, list name, verification, and dates)
6. **Claimed profile**: `claim` (contributor, description, website, phone number, details, contact, office, and dates)
7. **Partner and extra data**: `partnerFields` (certifications, audits, grievance mechanisms), `additionalFields` (each extra value with its source)

### Who uses this Open Supply Hub scraper?

- **Sourcing and procurement teams** map which factories produce for which brands, and in which countries and sectors.
- **Compliance and ESG analysts** check certifications, audits, grievance mechanisms, and worker numbers of their suppliers.
- **Sales teams** build lead lists of manufacturers by country, sector, product type, or size.
- **Researchers and NGOs** study supply chains with stable OS IDs and exact coordinates.
- **Data and AI teams** load ready-to-use facility data into spreadsheets, dashboards, map tools, or AI workflows.

### How to use Open Supply Hub Scraper

**Step 1.** Paste one or more Open Supply Hub URLs into **Start URLs**, or type facility names or OS IDs into **Search queries**.

**Step 2.** For search queries, optionally choose **Countries**, **Sectors**, **Contributors**, **Facility types**, **Number of workers**, and **Sort by**.

**Step 3.** Set **Maximum number of results** to how many facilities you want per URL or per query.

**Step 4.** Click **Start** and wait for the run to finish.

**Step 5.** Download the data in JSON, CSV, Excel, or HTML from the **Output** tab.

### Input parameters

- `startUrls` (**Start URLs**): Open Supply Hub URLs to scrape. Supported pages: facility search pages (`https://opensupplyhub.org/facilities?...`) and single facility profiles (`https://opensupplyhub.org/facilities/{OS ID}`). Filters you apply on the website are kept.
- `searchQueries` (**Search queries**): facility names or OS IDs to look up on Open Supply Hub, one per line. Each query is scraped separately.
- `maxResults` (**Maximum number of results**): how many facilities to collect for each start URL or search query. Default: 5.
- `countries` (**Countries**): country names such as Bangladesh, or two-letter codes such as BD. Search queries only.
- `sectors` (**Sectors**): sector names exactly as shown in the Open Supply Hub filter, for example Apparel, Footwear, or Agriculture. Search queries only.
- `contributors` (**Contributors**): exact contributor names such as H\&M Group, or their numeric IDs. Search queries only.
- `facilityTypes` (**Facility types**): for example Final Product Assembly or Warehousing / Distribution. Search queries only.
- `numberOfWorkers` (**Number of workers**): Less than 1,000, 1,001 - 5,000, 5,001 - 10,000, or More than 10,000. Search queries only.
- `sortBy` (**Sort by**): Most contributors (default), Name A to Z, or Name Z to A. Search queries only.

Start URLs and search queries can be combined in one run. Start URLs always keep their own filters.

### Example input

#### Scrape an Open Supply Hub facility search page

```json
{
  "startUrls": [{ "url": "https://opensupplyhub.org/facilities?sort_by=contributors_desc" }],
  "maxResults": 5
}
```

#### Search by facility name with filters

```json
{
  "searchQueries": ["textile"],
  "countries": ["Bangladesh"],
  "sectors": ["Apparel"],
  "sortBy": "contributors_desc",
  "maxResults": 5
}
```

### Sample output

Every facility becomes one dataset item, for example (long lists are shortened):

```json
{
  "url": "https://opensupplyhub.org/facilities/CN2019083DCWXWP",
  "osId": "CN2019083DCWXWP",
  "name": "KASHION INDUSTRY CO. LTD",
  "address": "555 MEIDISI ROAD, WUXIANG INDUSTRY PARK, YINZHOU - 315111 NINGBO (ZHEJIANG)",
  "countryCode": "CN",
  "countryName": "China",
  "latitude": 29.8570101,
  "longitude": 121.6739796,
  "hasInexactCoordinates": false,
  "sectors": ["Apparel", "Textiles"],
  "facilityTypes": ["Final Product Assembly", "Textile or Material Production"],
  "processingTypes": ["Manufacturing unit", "Final Product Assembly"],
  "productTypes": ["Accessories", "JERSEY"],
  "parentCompanies": ["KASHION INDUSTRY LIMITED", "KASHION"],
  "numberOfWorkers": "1-500",
  "numberOfWorkersMin": 1,
  "numberOfWorkersMax": 500,
  "isClaimed": true,
  "isClosed": null,
  "isDataCenter": false,
  "newOsId": null,
  "otherNames": ["KASHION INDUSTRY CO.,LTD", "Kashion Industry Co., Ltd."],
  "otherAddresses": [
    "Meidisi Road 555, ningbo",
    "555 Medisi Road, Wuxiang Industrial Park, Yinzhou District, Ningbo city, Zhejiang Province"
  ],
  "otherLocations": [
    {
      "latitude": 29.84497,
      "longitude": 121.69526,
      "contributorName": "Boden",
      "notes": null
    }
  ],
  "contributorCount": 103,
  "contributors": [
    {
      "name": "Fair Factories Clearinghouse",
      "type": "Multi-Stakeholder Initiative",
      "listName": "FFC Factory List Oct 2022",
      "isVerified": false,
      "lastContributedAt": "2022-10-23T18:14:18.237Z",
      "listUploadedAt": "2022-10-21T13:31:24.399Z"
    }
  ],
  "claim": {
    "contributor": "KASHION INDUSTRY LIMITED",
    "description": "1.Kashion is a China based fashion company providing incorporated services of sourcing & developing, styling design, merchandising and manufacturing\n2.Monthl...",
    "website": null,
    "phoneNumber": null,
    "details": {
      "parentCompany": {
        "id": "KASHION INDUSTRY LIMITED",
        "name": "KASHION INDUSTRY LIMITED"
      }
    },
    "contact": null,
    "office": null,
    "createdAt": "2023-07-11T01:24:42.240Z",
    "updatedAt": "2023-09-23T00:26:00.108Z"
  },
  "partnerFields": [
    {
      "field": "wrapCertification",
      "label": "WRAP Certification",
      "values": {
        "issueDate": "2025-04-04",
        "expirationDate": "2026-04-04",
        "certificationStatus": "inactive"
      },
      "contributorName": "Worldwide Responsible Accredited Production (WRAP)",
      "updatedAt": "2026-04-23T18:44:09.264Z"
    }
  ],
  "additionalFields": [
    {
      "field": "numberOfWorkers",
      "value": "1-500",
      "contributorName": "H&M Group",
      "isFromClaim": false,
      "isVerified": false,
      "updatedAt": "2026-08-24T20:58:08.979Z"
    }
  ],
  "isicClassifications": [
    {
      "facilityType": "Final Product Assembly",
      "processingType": "Cut & Sew",
      "codes": [
        { "level": "section", "code": "C", "title": "Manufacturing" },
        { "level": "division", "code": "14", "title": "Manufacture of wearing apparel" },
        { "level": "group", "code": "141", "title": "Manufacture of wearing apparel, except fur apparel" },
        { "level": "class", "code": "1410", "title": "Manufacture of wearing apparel, except fur apparel" }
      ]
    }
  ],
  "activityReports": [],
  "createdAt": "2019-06-30T13:56:41.400Z",
  "createdBy": "Benetton Group"
}
```

Export the dataset as JSON, CSV, Excel, XML, or HTML, or read it through the Apify API.

### Good to know

- A single Open Supply Hub search returns at most 5,000 facilities. For bigger collections, split the search, for example by country or by sector.
- Only facility search pages and facility profile pages are supported. Any other URL is skipped with a warning.
- Sector names must be written exactly as in the Open Supply Hub filter. An unknown sector, country, or contributor stops the run with a clear message.
- The claimed profile, partner data, and number of workers are only filled in when someone has reported them. Otherwise they come back as `null` or as empty lists.
- A facility that shows up in several searches is saved only once per run.

### Frequently asked questions

**How many results can I scrape?**

Any number you set in **Maximum number of results**. The scraper stops at your limit or when the search has no more facilities. See **Good to know** for the limit set by Open Supply Hub.

**Do I need an Open Supply Hub account?**

No. Only public data is collected, so you do not need to log in or share any account details.

**Can I run it on a schedule?**

Yes. Apify Schedules can run it every hour, day, or week, so your facility data stays fresh.

**Why are some fields empty?**

Not every facility has every detail reported. A value that nobody has shared on Open Supply Hub is returned as `null` or as an empty list.

**Can you add a new filter or input?**

Yes. The scraper supports start URLs, search queries, and the search filters listed above today. Other inputs can be added on request.

**Can I get a custom or private version?**

Yes. It can be adapted to your workflow, delivered as a private version, or a new scraper can be built for another website. See the contact details below.

### Support and custom scrapers

Need another field, a private version, or a scraper for a different website? Get in touch:

- Email: jooah.code@gmail.com
- Apify profile: [joaah-code](https://apify.com/joaah-code)

### Image credit

Banner: screenshot of [Open Supply Hub](https://opensupplyhub.org/).

# Actor input Schema

## `startUrls` (type: `array`):

Open Supply Hub facility search URLs (with any filters, e.g. https://opensupplyhub.org/facilities?countries=BD\&sectors=Apparel) or facility profile URLs (https://opensupplyhub.org/facilities/<OS ID>).

## `searchQueries` (type: `array`):

Facility names or OS IDs to search on Open Supply Hub. Each query is scraped separately.

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

Maximum number of facilities to scrape per start URL or search query. Open Supply Hub returns at most 5,000 facilities per search.

## `countries` (type: `array`):

Only facilities in these countries. Use country names (e.g. Bangladesh) or two-letter codes (e.g. BD). Applies to search queries only; start URLs keep their own filters.

## `sectors` (type: `array`):

Only facilities in these sectors, as named in the Open Supply Hub sector filter (e.g. Apparel, Footwear, Agriculture). Applies to search queries only.

## `contributors` (type: `array`):

Only facilities reported by these contributors (brands, organizations, auditors). Use the exact contributor name shown on Open Supply Hub (e.g. H\&M Group) or its numeric ID. Applies to search queries only.

## `facilityTypes` (type: `array`):

Only facilities of these types. Applies to search queries only.

## `numberOfWorkers` (type: `array`):

Only facilities with a number of workers in these ranges. Applies to search queries only.

## `sortBy` (type: `string`):

Order of the search results. Applies to search queries only.

## Actor input object example

```json
{
  "startUrls": [
    {
      "url": "https://opensupplyhub.org/facilities?sort_by=contributors_desc"
    }
  ],
  "maxResults": 5,
  "sortBy": "contributors_desc"
}
```

# Actor output Schema

## `overview` (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 = {
    "startUrls": [
        {
            "url": "https://opensupplyhub.org/facilities?sort_by=contributors_desc"
        }
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("jooah-code/opensupplyhub-org-scraper").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 = { "startUrls": [{ "url": "https://opensupplyhub.org/facilities?sort_by=contributors_desc" }] }

# Run the Actor and wait for it to finish
run = client.actor("jooah-code/opensupplyhub-org-scraper").call(run_input=run_input)

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

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

```

## CLI example

```bash
echo '{
  "startUrls": [
    {
      "url": "https://opensupplyhub.org/facilities?sort_by=contributors_desc"
    }
  ]
}' |
apify call jooah-code/opensupplyhub-org-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,jooah-code/opensupplyhub-org-scraper"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/oxqKx7u72JGMSGunq/builds/wcpnU3qOVKWoeEfi5/openapi.json
