# DIFC Company Registry Scraper (`moving_beacon-owner1/difc-company-registry-scraper`) Actor

Scrapes company records from the official Dubai International Financial Centre (DIFC) Public Register, capturing company names, registration numbers, statuses, legal structures, profile URLs, links, and available company details, with filters for company name, licence number, and licence type.

- **URL**: https://apify.com/moving_beacon-owner1/difc-company-registry-scraper.md
- **Developed by:** [Jamshaid Arif](https://apify.com/moving_beacon-owner1) (community)
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 80.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $9.99 / 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.

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

## DIFC Company Registry Scraper

An Apify Actor that collects company information displayed in the **Dubai International Financial Centre (DIFC) Public Register**.

### Features

- Search by company name or partial name
- Search by registration/licence number
- Optional status and licence-type filters
- Configurable maximum record and page limits
- Optional company profile enrichment
- Structured dataset output
- Duplicate removal and polite request delays
- Stops and reports when an access challenge is presented; it does not bypass CAPTCHAs or access controls

### Input

| Field | Type | Default | Description |
|---|---|---:|---|
| `query` | string | `""` | Company name or partial name |
| `licenseNo` | string | `""` | Registration/licence number |
| `status` | string | `""` | Status filter, e.g. Active or Dissolved |
| `licenseType` | string | `""` | Licence type filter |
| `limit` | integer | `100` | Maximum records; `0` means no limit |
| `maxPages` | integer | `0` | Maximum pages; `0` follows available pagination |
| `delay` | number | `0.7` | Delay between profile requests |
| `includeDetails` | boolean | `true` | Visit public company profile links |
| `timeoutSecs` | integer | `45` | Page navigation timeout |

### Example input

```json
{
  "query": "bank",
  "licenseNo": "",
  "status": "Active",
  "licenseType": "",
  "limit": 100,
  "maxPages": 0,
  "delay": 0.7,
  "includeDetails": true,
  "timeoutSecs": 45
}
```

### Output

Records are saved to the default Apify Dataset. Depending on what DIFC publishes for a company, output may include:

- `company_name`
- `registration_number`
- `status`
- `legal_structure`
- `profile_url`
- `links`
- `raw_columns`
- `raw_text`
- `details`
- `detail_text`
- `source_url`
- `scraped_at`

The actor preserves visible source text and omits fields that are not publicly available. The exact fields depend on the current DIFC register layout.

### Data source

Official DIFC Public Register: https://www.difc.com/business/public-register
\#policy

This actor collects publicly displayed company registry information for business research, company verification, and due diligence. Users must comply with DIFC website terms, applicable privacy and data protection laws, and permitted access policies. Use reasonable request delays and avoid excessive crawling or misuse of collected information. The actor does not bypass CAPTCHAs, access controls, or automated access challenges. If access is blocked or the register changes its structure, stop and use permitted access methods. Test with a small run and verify the extracted records before scaling up.

### Important notes

The public register may load content in an embedded frame or change its page structure. This first implementation uses browser rendering and conservative HTML extraction rather than relying on an undocumented endpoint. It should be tested against live results before production use. If DIFC changes its layout or blocks automated access, the actor reports the issue instead of attempting to bypass it.

Use collected information in accordance with DIFC website terms, applicable privacy laws, and your permitted business purpose.

# Actor input Schema

## `query` (type: `string`):

Substring to match against company names.

## `licenseNo` (type: `string`):

Exact registration or license number.

## `status` (type: `string`):

Filter by status, e.g. 'Active' or 'Dissolved'.

## `licenseType` (type: `string`):

Filter by license type.

## `limit` (type: `integer`):

Max company records to return. 0 = no limit.

## `maxPages` (type: `integer`):

Max API result pages. 0 = until exhausted.

## `delay` (type: `number`):

Polite delay between API pages.

## `timeout` (type: `integer`):

HTTP request timeout.

## `proxyConfiguration` (type: `object`):

Proxy settings for the run. Enable a US-based proxy for the most reliable results, especially for sites that limit non-US or datacenter traffic. Optional — leave off to run directly.

## Actor input object example

```json
{
  "licenseType": "",
  "limit": 10,
  "maxPages": 0,
  "delay": 0.5,
  "timeout": 30,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ]
  }
}
```

# 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 = {
    "proxyConfiguration": {
        "useApifyProxy": true,
        "apifyProxyGroups": [
            "RESIDENTIAL"
        ]
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("moving_beacon-owner1/difc-company-registry-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 = { "proxyConfiguration": {
        "useApifyProxy": True,
        "apifyProxyGroups": ["RESIDENTIAL"],
    } }

# Run the Actor and wait for it to finish
run = client.actor("moving_beacon-owner1/difc-company-registry-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 '{
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ]
  }
}' |
apify call moving_beacon-owner1/difc-company-registry-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,moving_beacon-owner1/difc-company-registry-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/7RMCsOhVNJfVfQSW1/builds/BWhydCm7dNcM08ZT1/openapi.json
