# Company Enrichment: Firmographics by Domain or Name (`steadyscrape/company-enrichment`) Actor

Company enrichment API from open data: give domains or company names, get firmographics (legal name, founded year, employees, revenue, headquarters, industry, LEI, parent, stock ticker, VAT ID, socials) from the company's site, Wikidata and GLEIF. Export to JSON, CSV or Excel, or via API.

- **URL**: https://apify.com/steadyscrape/company-enrichment.md
- **Developed by:** [Steady Scrape](https://apify.com/steadyscrape) (community)
- **Categories:** Lead generation, Business
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $2.00 / 1,000 company with firmographics

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

## Company Enrichment: Firmographics by Domain or Company Name

**Company enrichment from open data**: give a list of domains, website links, work emails or company names and get one
firmographics row per company — legal name, founded year, employees, revenue, headquarters and address, industry, legal
form, LEI, register number, VAT ID, parent and ultimate parent company, stock ticker, CEO and social profiles. Every value
comes from an open source and says which one: the company's own website (homepage, about page, imprint or legal notice
and their schema.org data), **Wikidata** and **GLEIF**'s LEI records. No LinkedIn, no paid data broker, no login.

### What this company enrichment API does

For each company you give, it:

1. **Reads the company's website** the way a visitor's browser receives it: its name, description, language, schema.org
   Organization data (founding date, employees, address, VAT ID, LEI), its social profile links, and — when the homepage
   links to them — its about page and its imprint or legal notice, where legal names, register numbers (HRB and the
   Amtsgericht, Companies House, RCS, KvK, the Swiss UID) and VAT IDs are printed.
2. **Looks the company up on Wikidata** by its website (or by its name): founded year, employees and revenue with the
   year they were stated for, headquarters, country, industry, legal form, parent organisation, stock exchange and
   ticker, CEO, and the LinkedIn, Crunchbase, X, Facebook and Instagram handles Wikidata states.
3. **Reads its LEI record at GLEIF** (by the LEI Wikidata or the site states, or by an exact legal name): registered
   legal name and form, legal and headquarters addresses, the register and number it is filed under, jurisdiction,
   whether the entity is active, and its direct and ultimate parent companies with their LEIs.

The row merges them, most authoritative first (GLEIF for legal facts, Wikidata for size, the site for its own profile),
and `fieldSources` names where each value came from.

### Use cases

- **Lead enrichment**: add size, industry, founding year and headquarters to a list of company websites from Google Maps,
  a CRM export or a job board scrape, then score or segment it.
- **KYC and supplier onboarding**: legal name, LEI, register number, VAT ID, registered address and parent company of
  each counterparty.
- **Account-based marketing**: find which accounts are public (ticker), how large they are, and who owns them.
- **Data cleaning**: turn the names and domains in a spreadsheet into one consistent firmographics table.

### Input

| Field | What it is |
|---|---|
| `companies` | One per line: `hubspot.com`, `https://www.stripe.com/about`, `sales@acme.com` (its domain is used; Gmail and other mailbox providers are refused) or a name such as `Monzo` (found on Wikidata by its exact name). |
| `country` | For names only: when Wikidata has several companies of that exact name, the one in this country comes first. |
| `datasetId` / `datasetField` | Enrich the items of another run's dataset (a Google Maps scrape, a lead list). The website field is used first, the company name when there is no usable website. |
| `readSubpages` | Read the about page and the imprint / legal notice too (default on). |
| `useGleif` | Ask GLEIF's LEI records (default on). |

```json
{ "companies": ["hubspot.com", "stripe.com", "Monzo"] }
```

### Output example

One row per company (shortened):

```json
{
  "status": "enriched",
  "input": "stripe.com",
  "domain": "stripe.com",
  "name": "Stripe",
  "legalName": "STRIPE, LLC",
  "description": "Stripe is a financial services platform that helps all types of businesses accept payments…",
  "country": "US",
  "foundedYear": 2010,
  "employees": 8000,
  "employeesYear": 2022,
  "headquarters": "South San Francisco",
  "address": "354 Oyster Point Blvd, 94080, South San Francisco, US",
  "industry": ["financial services", "mobile payment industry"],
  "legalForm": "Limited Liability Company",
  "lei": "549300CLHGIPTCYHQ143",
  "registrationNumber": "4675506",
  "registrationAuthority": "Division of Corporations, Department of State",
  "parentCompany": "STRIPE GLOBAL HOLDINGS INC.",
  "parentLei": "254900VYCQ4K0SLSXF22",
  "ceo": "Patrick Collison",
  "linkedin": "https://www.linkedin.com/company/stripe",
  "crunchbase": "https://www.crunchbase.com/organization/stripe",
  "wikidataId": "Q7624104",
  "firmographicFields": ["foundedYear", "employees", "headquarters", "industry", "parentCompany", "lei"],
  "chargedEvent": "company-with-firmographics",
  "fieldSources": { "legalName": "gleif", "foundedYear": "wikidata", "employees": "wikidata", "headquarters": "gleif" }
}
```

### Output fields

| Field | Meaning |
|---|---|
| `status` | `enriched` (charged), or a free row: `not_found`, `blocked`, `unreachable`, `invalid`, with its `reason`. |
| `input`, `source`, `datasetItemIndex` | The company as you gave it; whether it came from your list (`companies`) or the dataset (`dataset`), and that item's position in it. |
| `domain`, `website`, `matchedBy` | The company's domain and homepage; `matchedBy` is `domain` or `name`. |
| `name`, `legalName`, `description`, `wikidataDescription` | The name the site gives itself, the registered legal name, the site's description and Wikidata's one-line description. |
| `country`, `language` | ISO country code; the site's language. |
| `foundedYear` | From Wikidata, the site's schema.org `foundingDate`, or GLEIF's entity creation date. |
| `employees`, `employeesYear` | Latest headcount Wikidata or the site states, and the year it was stated for. |
| `revenue`, `revenueCurrency`, `revenueYear` | Latest revenue Wikidata states. |
| `headquarters`, `address`, `registeredAddress` | Headquarters town and address; the legal (registered) address from GLEIF. |
| `industry`, `legalForm` | Wikidata industries (or a NAICS / ISIC code the site declares); the legal form. |
| `lei`, `entityStatus`, `jurisdiction` | Legal Entity Identifier and GLEIF's record status. |
| `registrationNumber`, `registrationAuthority`, `vatId` | Register entry and VAT ID, from GLEIF or the imprint / legal notice. |
| `parentCompany`, `parentLei`, `ultimateParent`, `ultimateParentLei` | Owners, from Wikidata, the site or GLEIF. |
| `stockTickers`, `ceo` | Listed tickers with their exchange; the current CEO on Wikidata. |
| `linkedin`, `x`, `facebook`, `instagram`, `youtube`, `tiktok`, `pinterest`, `crunchbase` | Profiles the site links to, else the handles Wikidata states. |
| `schemaTypes`, `keywords` | The site's schema.org types and meta keywords. |
| `wikidataId`, `siteStatus`, `pagesRead` | The Wikidata item; whether the site could be read and which pages were. |
| `firmographicFields`, `chargedEvent`, `fieldSources` | Which firmographic fields were delivered, what the row was charged as, and the source of each value. |
| `otherMatches` | For names: other Wikidata companies of the same exact name, so you can check the pick. |
| `unreadFields`, `sourceNotes` | Fields a source stated in a form the Actor could not read (left empty, never guessed), and sources that did not answer. |
| `checkedAt` | When the row was made (UTC, ISO 8601). |

Views: **Firmographics** and **Legal entity**. Export to JSON, CSV or Excel, or read the dataset through the API.

### Pricing

Pay per company, nothing per run:

- **company** — US$0.001: a profile read from the company's own site (name, description, legal name and register or VAT
  number when it prints them, language, socials), with no firmographic field.
- **company-with-firmographics** — US$0.002: the same row with at least one of founded year, employees, revenue,
  headquarters, industry, parent company, LEI or stock ticker.
- Rows that are `not_found`, `blocked`, `unreachable` or `invalid` are free. A company given twice is enriched and charged
  once. Set a spending limit and the run stops before a company it could not pay for.

### Limits — what open data covers

- **Employees and revenue exist only where Wikidata or the company itself publishes them**: large and mid-size firms,
  listed companies, well-known brands. A local business usually gets its site profile, and its headquarters when its
  site declares an address in schema.org data. In a test list of 14 entries, all five established companies got founded year,
  headquarters and LEI; four small businesses got a site profile, three of them with a headquarters.
- Company **names** are found only when Wikidata has a company of that exact name with an official website; for a common
  name the best-known company is taken and the others are listed in `otherMatches`. For names Wikidata does not know,
  find the domain first (for example with Company Name to Domain) and give the domain.
- A site behind a bot check is never passed: its row is free (`blocked`), unless Wikidata or GLEIF still publish
  firmographics for the company, which the row then carries. robots.txt is respected.
- No email addresses or phone numbers are collected, and no logos (use a favicon / logo extractor for brand kits).

### Is it legal?

It reads public pages the way a visitor's browser does, respecting robots.txt, and asks two open-data services meant for
programmatic use: Wikidata (CC0) and GLEIF's LEI records (CC0). It identifies itself to both with its Store page. You are
responsible for how you use the data, including the privacy laws that apply to you.

This Actor is not affiliated with, endorsed by or sponsored by Wikidata, the Wikimedia Foundation, GLEIF (the Global Legal
Entity Identifier Foundation) or any company whose website it reads. Company names and trademarks belong to their owners.

# Actor input Schema

## `companies` (type: `array`):

One company per line: a domain (<code>hubspot.com</code>), a website link (<code>https://www.stripe.com/about</code>), a work email address (<code>sales@acme.com</code>, its domain is used) or a company name (<code>Monzo</code>, found on Wikidata). Each company comes back as one row with its firmographics, or with the reason it has none. Up to 10,000 per run, together with the dataset below.

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

For company names only: when Wikidata knows several companies of that exact name, the one in this country comes first. Domains need no country. Leave empty for any.

## `datasetId` (type: `string`):

Pick the dataset of another run (a Google Maps scrape, a lead list, Company Name to Domain's results) and every item's company is enriched. Only the dataset you pick here can be read. Items without a website or company name are skipped and counted in the status message.

## `datasetField` (type: `string`):

The field of each item that holds the company's website, domain or name, as a dotted path (<code>website</code>, <code>company.domain</code>). Leave empty to take the first field named like <code>website</code>, <code>url</code>, <code>domain</code> or <code>email</code>, else <code>companyName</code>, <code>company</code>, <code>name</code> or <code>title</code>.

## `readSubpages` (type: `boolean`):

Also read the about page and the imprint or legal notice the homepage links to: where legal names, register numbers (HRB, Companies House, RCS, KvK) and VAT IDs are printed. Turn off to read only the homepage.

## `useGleif` (type: `boolean`):

Look the company up in GLEIF's LEI records (by the LEI Wikidata or the site states, or by an exact legal name): legal name, legal form, registered and headquarters address, register number, LEI and parent companies.

## Actor input object example

```json
{
  "companies": [
    "hubspot.com",
    "stripe.com",
    "Monzo"
  ],
  "readSubpages": true,
  "useGleif": true
}
```

# Actor output Schema

## `rows` (type: `string`):

No description

## `summary` (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 = {
    "companies": [
        "hubspot.com",
        "stripe.com",
        "Monzo"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("steadyscrape/company-enrichment").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 = { "companies": [
        "hubspot.com",
        "stripe.com",
        "Monzo",
    ] }

# Run the Actor and wait for it to finish
run = client.actor("steadyscrape/company-enrichment").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 '{
  "companies": [
    "hubspot.com",
    "stripe.com",
    "Monzo"
  ]
}' |
apify call steadyscrape/company-enrichment --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,steadyscrape/company-enrichment"
        }
    }
}
```

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/VXTelTp95l2adPqJ9/builds/iKOBA1HGs1Wleg8V4/openapi.json
