# OpenCorporates Scraper — Global Company Data (`fervent_bus/opencorporates-scraper`) Actor

Extract company data from OpenCorporates (240M+ companies, 140+ jurisdictions). Get company numbers, officers, addresses, incorporation dates for lead generation, due diligence & compliance. Works with Claude, ChatGPT & AI agents via Apify MCP. Requires free OpenCorporates API token.

- **URL**: https://apify.com/fervent\_bus/opencorporates-scraper.md
- **Developed by:** [Archit Khurana](https://apify.com/fervent_bus) (community)
- **Categories:** Lead generation, Developer tools
- **Stats:** 1 total users, 0 monthly users, 0.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $5.00 / 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?

Actors are web data automations that power AI and operations. They run on the Apify platform to scrape websites, process data, connect APIs, and automate workflows.
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.

- **AI agents and MCP clients** — the [Apify MCP server](https://docs.apify.com/integrations/mcp.md) at `https://mcp.apify.com` (remote, streamable HTTP, OAuth on first use).
- **Agentic workflows and local Actor development** — [Agent Skills](https://apify.com/.well-known/agent-skills/index.json) with the [Apify CLI](https://docs.apify.com/cli/docs.md): `npm install -g apify-cli`, then `apify login`.
- **JavaScript/TypeScript projects** — the official [JS/TS client](https://docs.apify.com/api/client/js/docs.md): `npm install apify-client`.
- **Python projects** — the official [Python client](https://docs.apify.com/api/client/python/docs.md): `pip install apify-client`.
- **Any other language** — 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

## OpenCorporates Scraper

Extract company data from **OpenCorporates**, the world's largest open company database with 240M+ companies from 140+ jurisdictions.

**⚠️ Requires OpenCorporates API Token**: Get a free API token at https://opencorporates.com/api\_accounts/new

### Features

- 🌍 **Global Coverage**: Access companies from US, UK, Germany, France, and 140+ other jurisdictions
- 🔍 **Flexible Search**: Search by company name, keyword, or filter by specific jurisdiction
- 📊 **Rich Data**: Company number, name, status, incorporation date, address, officers, and more
- ⚡ **Fast & Reliable**: Uses official OpenCorporates API for consistent data
- 💰 **Free**: OpenCorporates API is free for reasonable use
- 🤖 **AI Agent Compatible**: Works with Claude, ChatGPT & AI agents via Apify MCP

### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `apiToken` | string | Yes | Your OpenCorporates API token - get one at https://opencorporates.com/api\_accounts/new |
| `searchQuery` | string | Yes | Company name or keyword (e.g., "Google", "Tesla") |
| `jurisdiction` | string | No | Filter by jurisdiction code (e.g., "us\_ca", "gb", "us\_de") |
| `maxResults` | number | No | Maximum companies to scrape (1-1000, default: 100) |
| `fetchDetails` | boolean | No | Fetch detailed info including officers (default: false) |

### Output Example

```json
{
  "companyNumber": "C2474131",
  "name": "GOOGLE LLC",
  "jurisdiction": "us_ca",
  "incorporationDate": "1998-09-04",
  "companyType": "Domestic Limited Liability Company",
  "status": "Active",
  "address": "1600 Amphitheatre Parkway, Mountain View, CA 94043, USA",
  "registryUrl": "https://businesssearch.sos.ca.gov/Document/RetrievePDF?Id=...",
  "opencorporatesUrl": "https://opencorporates.com/companies/us_ca/C2474131",
  "officers": [
    {
      "name": "Sundar Pichai",
      "position": "CEO",
      "startDate": "2015-10-02"
    }
  ],
  "scrapedAt": "2026-08-19T10:15:00+00:00"
}
```

### Jurisdiction Codes

- **United States**: `us_ca` (California), `us_de` (Delaware), `us_ny` (New York), `us_tx` (Texas)
- **Europe**: `gb` (UK), `de` (Germany), `fr` (France), `es` (Spain), `it` (Italy)
- **Other**: `au` (Australia), `ca` (Canada), `in` (India), `sg` (Singapore)

[Full list of jurisdictions](https://opencorporates.com/registers)

### Use Cases

- **Lead Generation**: Find companies in specific industries or regions
- **Due Diligence**: Research company backgrounds and officer history
- **Market Research**: Analyze company registration trends
- **Compliance**: KYC/AML checks and entity verification
- **Data Enrichment**: Add company metadata to existing datasets

### Limits

OpenCorporates API has rate limits. This actor includes built-in delays to respect them. For high-volume use, consider OpenCorporates' commercial plans.

### Tips

- Use `fetchDetails: false` for faster scraping (recommended for >100 results)
- Combine with jurisdiction filter to narrow results
- For US companies, state-level jurisdictions (us\_ca, us\_de) give better results than country-level (us)

### Data Source

All data comes from [OpenCorporates](https://opencorporates.com), which aggregates official company registry data from government sources worldwide.

# Actor input Schema

## `apiToken` (type: `string`):

Your OpenCorporates API token (get one at https://opencorporates.com/api\_accounts/new). Required for API access.

## `searchQuery` (type: `string`):

Company name or keyword to search

## `jurisdiction` (type: `string`):

Filter by jurisdiction (e.g., us\_ca, gb, us\_de). Leave empty for all jurisdictions.

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

Maximum number of companies to scrape

## `fetchDetails` (type: `boolean`):

Fetch detailed information for each company (officers, full address, etc.). Slower but more comprehensive.

## Actor input object example

```json
{
  "searchQuery": "Google",
  "jurisdiction": "us_ca",
  "maxResults": 10,
  "fetchDetails": false
}
```

# 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 = {
    "apiToken": "",
    "searchQuery": "Google",
    "jurisdiction": "",
    "maxResults": 10,
    "fetchDetails": false
};

// Run the Actor and wait for it to finish
const run = await client.actor("fervent_bus/opencorporates-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 = {
    "apiToken": "",
    "searchQuery": "Google",
    "jurisdiction": "",
    "maxResults": 10,
    "fetchDetails": False,
}

# Run the Actor and wait for it to finish
run = client.actor("fervent_bus/opencorporates-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 '{
  "apiToken": "",
  "searchQuery": "Google",
  "jurisdiction": "",
  "maxResults": 10,
  "fetchDetails": false
}' |
apify call fervent_bus/opencorporates-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,fervent_bus/opencorporates-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/j5uURwhwQvv53mF4w/builds/G9JdtIaxlL2gbbWyM/openapi.json
