# WBASCO BASC Certified Companies Scraper (`aboo.script/wbasco-org-scraper`) Actor

⚡ Fast WBASCO scraper for BASC certified companies. No login, no API key. Search by company name, activity, chapter, country or city, or paste directory URLs. Get WBO code, tax ID, standard, address, certification scope and certification and expiry dates.

- **URL**: https://apify.com/aboo.script/wbasco-org-scraper.md
- **Developed by:** [Aboo Script](https://apify.com/aboo.script) (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.80 / 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

## WBASCO BASC Certified Companies Scraper

![WBASCO BASC Certified Companies Scraper](https://i.ibb.co/m5Q7ZjV0/wbasco-org-banner.png)

**WBASCO BASC Certified Companies Scraper** extracts BASC certified companies from the [World BASC Organization](https://www.wbasco.org/) directory into clean, structured data you can download as JSON, CSV, Excel, or HTML. Paste a directory URL or type a company name, and get the WBO code, security code, company name, tax ID, main activity, BASC standard, chapter, country, city, address, certification scope, and certification and expiry dates for every company. No account or login required.

### Introduction

The [World BASC Organization (WBASCO)](https://www.wbasco.org/) runs BASC (Business Alliance for Secure Commerce), a supply chain security certification used across the Americas by exporters, importers, customs brokers, freight forwarders, carriers, ports, airports, and warehouses. Its public directory lists every company with a valid BASC certification, grouped by chapter and country.

This actor collects the same public information you see in the directory and on each company's certificate page, and turns it into a ready-to-use dataset. You can run it once, schedule it to run daily, or connect it to your own tools.

### What data can you extract from WBASCO?

- 🆔 WBO code, security code, and company ID
- 🏢 Company name and tax ID
- 🚚 Main activity (exporter, customs broker, logistic operator, carrier, and more)
- 📜 BASC standard version (for example 6.0.1)
- 🌎 BASC chapter, country, city, and audited facility address
- 📝 Certification scope in Spanish and English
- 📅 Certification date and expiry date
- 🔗 Direct URL to each company's certificate page

### Use Cases

- 🛡️ **Supplier due diligence**: check whether a supplier, carrier, or customs broker holds a valid BASC certification and when it expires.
- 🤝 **Lead generation**: build lists of certified exporters, importers, and logistics companies by country, chapter, or activity.
- 📈 **Market research**: see how many companies are certified per country, chapter, or activity, and track new and expiring certifications.
- 🗂️ **Database building**: keep your own searchable copy of the BASC directory with full certificate details.
- 🤖 **AI and automation**: feed clean, structured data into spreadsheets, dashboards, or AI workflows.

### How to scrape WBASCO step by step

1. Paste one or more WBASCO directory or company URLs into **Start URLs**, or type company names into **Company names**.
2. Optionally pick a **Main activity** or **Chapter**, or type a **Country** or **City**, to narrow your company name searches.
3. Set **Maximum number of results** to how many companies you want per URL or per company name.
4. Click **Start** and wait for the run to finish.
5. Download your data in JSON, CSV, Excel, or HTML from the **Output** tab.

### Input

- **Start URLs**: WBASCO URLs to scrape. Supported pages: the certified companies directory (`https://sibasc.wbasco.org/mod_consulta_pag_wbo/consulta_empresas_certificadast.php`), the directory search form, and single company certificate pages. Directory filters in the URL are kept: company name (`buscar`), main activity (`_sec`), chapter (`_cap`), country (`buscar_pais`), and city (`buscar_ciu`). For example, `...consulta_empresas_certificadast.php?buscar_pais=Colombia` returns companies in Colombia only.
- **Company names**: company name keywords to search in the directory, one per line. Accents are optional (`logistica` also finds `logística`). Each keyword is scraped separately.
- **Main activity**, **Chapter**, **Country**, **City**: filters for your company name searches. Country and city names are written as the directory shows them, in Spanish (for example `Perú`, `Estados Unidos`, `Bogotá`).
- **Maximum number of results**: how many companies to collect for each start URL or company name. Set `0` for no limit.

You can use start URLs, company names, or both in the same run.

### Input Examples

Scrape all companies certified by the BASC USA chapter:

```json
{
  "startUrls": [
    {
      "url": "https://sibasc.wbasco.org/mod_consulta_pag_wbo/consulta_empresas_certificadast.php?_cap=20"
    }
  ],
  "maxResults": 5
}
```

Search by company name:

```json
{
  "searchQueries": ["logistica"],
  "maxResults": 5
}
```

Search by company name in one country and activity:

```json
{
  "searchQueries": ["transporte"],
  "mainActivity": "13",
  "country": "Colombia",
  "maxResults": 5
}
```

### Output

Each company is saved as one item in the dataset. Here is an example of a single item:

```json
{
  "url": "https://sibasc.wbasco.org/mod_consulta_pag_wbo/consulta_empresa.php?empresa_id=67&capitulo_id=24",
  "companyId": 67,
  "wboCode": "PANPTY00073-1-2",
  "securityCode": "65321",
  "companyName": "ALEPH DISTRIBUTIONS, S.A.",
  "taxId": "155701683-2-2021 DV 84",
  "mainActivity": "Cargo Consolidators / Shipping Agents",
  "standard": "6.0.2",
  "chapter": "BASC Panamá",
  "chapterId": 24,
  "country": "Panamá",
  "city": "Ciudad de Panamá",
  "address": "MMG Tower Piso 27, Paseo del Mar, Costa Del Este, Ciudad de Panamá",
  "certificationScope": "Plataforma Comercial para la Distribución de Neumáticos desde la República de Panamá",
  "certificationScopeEnglish": "Commercial Platform for the Distribution of Tires from the Republic of Panama",
  "certificationDate": "2025-10-30T00:00:00Z",
  "expirationDate": "2026-10-30T00:00:00Z"
}
```

You can download the dataset in JSON, CSV, Excel, XML, or HTML, or access it through the Apify API.

### Notes

- The full directory has over 4,000 companies and the WBASCO website sends it slowly, so a run with no limit and no filters takes several minutes before the first companies appear. Small limits and filtered searches start in seconds.
- Company name search matches company names only; WBO codes cannot be searched.
- Main activity names are in English, while country, city, address, and the main certification scope are in Spanish, as shown in the directory. The English scope is in `certificationScopeEnglish`.
- When you start from a single company page, the security code, main activity, country, and city are not shown on that page, so they are returned as `null`.
- Some companies have no security code or English scope in the directory; these fields are returned as `null`.
- Company pages that no longer exist are skipped with a warning. URLs from other websites are skipped too.

### Why use the WBASCO BASC Certified Companies Scraper?

- ✅ **No login needed**: works with public data only, so there is no account to manage.
- 🎯 **Keeps your filters**: paste a directory URL with filters and get exactly those companies.
- 📜 **Full certificate details**: tax ID, standard, address, scope, and dates from each company page, not just the directory table.
- 🧹 **Clean data**: dates use one standard format, IDs are real numbers, and text is free of HTML.
- 🔄 **Ready for automation**: schedule runs, export to Google Sheets, or connect to Make, Zapier, and n8n.

### FAQ

#### How many results can I scrape?

You can set any number in **Maximum number of results**, or `0` for every matching company. The directory currently lists over 4,000 certified companies.

#### Do I need a WBASCO account?

No. The actor only collects publicly available data. You do not need to log in or provide any account details.

#### Can I scrape data on a schedule?

Yes. Use Apify Schedules to run the actor every day or week, and keep track of new and expiring BASC certifications.

#### What are the main activity codes?

Pick the activity from the **Main activity** list in the input form. If you use the input as JSON, each option is a numeric code, for example `5` for Exporter, `1` for Customs Brokers, `8` for Logistic Operator, and `13` for Highway Carrier.

#### Can I request a new feature or filter?

Yes. Right now the actor supports directory URLs, company pages, company name searches, and the activity, chapter, country, and city filters. If you need something else, get in touch and it can be added.

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

Yes. The actor can be customized for your workflow, delivered as a private version, or a new scraper can be built for a different website. Use the contact details below.

### Need to scrape other certification and company directories?

- [ASC Certified Farms Scraper](https://apify.com/aboo.script/asc-aqua-org-scraper): ASC certified aquaculture farm sites with species, countries, and certificate details.
- [amfori Members Scraper](https://apify.com/aboo.script/amfori-org-scraper): amfori member companies with countries and websites.
- [1pacteclimat.fr Scraper - Signatory Companies](https://apify.com/aboo.script/1pacteclimat-fr-scraper): companies that signed the French business climate pledge.

***

**Need help or want a custom solution?**

- 📧 Email: aboo.script@gmail.com
- 🧩 More scrapers: [Apify profile](https://apify.com/aboo.script)

### Image Credit

Image credit: [World BASC Organization](https://www.wbasco.org/)

# Actor input Schema

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

WBASCO certified companies directory URLs (filters such as `buscar`, `_sec`, `_cap`, `buscar_pais` and `buscar_ciu` in the URL are kept) or company detail URLs (`consulta_empresa.php?empresa_id=...&capitulo_id=...`).

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

Company name keywords to search in the directory (accents are optional). Each keyword is scraped separately and uses the filters below.

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

Maximum number of companies to scrape per start URL or company name. Set 0 for unlimited (the full directory has over 4,000 companies and takes several minutes to load).

## `mainActivity` (type: `string`):

Only companies with this main activity. Applies to company names only; start URLs keep their own filters.

## `chapter` (type: `string`):

Only companies certified by this BASC chapter. Applies to company names only.

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

Only companies in this country, as written in the directory (Spanish names, e.g. "Colombia", "Perú", "Estados Unidos"). Applies to company names only.

## `city` (type: `string`):

Only companies in this city (e.g. "Lima", "Bogotá"). Applies to company names only.

## Actor input object example

```json
{
  "startUrls": [
    {
      "url": "https://sibasc.wbasco.org/mod_consulta_pag_wbo/consulta_empresas_certificadast.php?_cap=20"
    }
  ],
  "searchQueries": [
    "logistica"
  ],
  "maxResults": 5
}
```

# 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://sibasc.wbasco.org/mod_consulta_pag_wbo/consulta_empresas_certificadast.php?_cap=20"
        }
    ],
    "searchQueries": [
        "logistica"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("aboo.script/wbasco-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://sibasc.wbasco.org/mod_consulta_pag_wbo/consulta_empresas_certificadast.php?_cap=20" }],
    "searchQueries": ["logistica"],
}

# Run the Actor and wait for it to finish
run = client.actor("aboo.script/wbasco-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://sibasc.wbasco.org/mod_consulta_pag_wbo/consulta_empresas_certificadast.php?_cap=20"
    }
  ],
  "searchQueries": [
    "logistica"
  ]
}' |
apify call aboo.script/wbasco-org-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,aboo.script/wbasco-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/F8V87L0Q4afKzvceJ/builds/NBmzzGjdh0WCHG2gU/openapi.json
