# Company Enrichment: Domain to Company Profile from Its Website (`thoob/domain-company-enrichment`) Actor

Turns domains into company profiles from each company's own website: name, description, logo, founding date, employees, phone, email, address and social links from JSON-LD and meta tags. Billed only for domains where a company name was found; other rows are free.

- **URL**: https://apify.com/thoob/domain-company-enrichment.md
- **Developed by:** [Pono Data](https://apify.com/thoob) (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 $1.00 / 1,000 company profile founds

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: Domain to Company Profile from Its Website

This actor turns a list of domains into company profiles read from each company's own website. It is for sales, research and data teams who need names, descriptions, logos, contacts and social links for many domains.

### What you get

- Identity: `companyName`, `nameSource`, `legalName`, `description`, `descriptionSource`, `foundingDate`, `numberOfEmployees`
- Images: `logoUrl`, `faviconUrl`
- Contact: `telephone`, `email`, `address`, plus `emails` and `phones` from `mailto:` and `tel:` links
- Social: `sameAs`, `linkedin`, `twitter`, `facebook`, `instagram`, `youtube`, `tiktok`, `github`
- Page: `finalUrl`, `language`, `canonicalUrl`, `aboutUrl`
- Status: `found`, `error`, `sourceUrl`, `sourceUrls`, `retrievedAt`

Values come from JSON-LD first, then meta tags, then the page title.

### Input

```json
{ "domains": ["ponodata.com", "stripe.com", "python.org"], "includeAboutPage": true, "maxRecords": 0 }
```

Domains may be bare or full URLs; duplicates are dropped with a warning. `includeAboutPage` reads one linked about page and fills only empty fields. `maxRecords` caps billed rows; 0 means no cap.

### Output

Illustration only, values may differ:

```json
{
  "domain": "example.com",
  "inputUrl": "https://www.example.com/",
  "finalUrl": "https://example.com/",
  "companyName": "Example Widgets Inc.",
  "nameSource": "jsonld",
  "legalName": "Example Widgets Incorporated",
  "description": "Example Widgets makes industrial widgets.",
  "descriptionSource": "jsonld",
  "logoUrl": "https://example.com/logo.png",
  "faviconUrl": "https://example.com/favicon.ico",
  "foundingDate": "2010",
  "numberOfEmployees": 120,
  "telephone": "+1-555-0100",
  "email": "info@example.com",
  "address": { "street": "1 Main St", "locality": "Springfield", "region": "IL", "postalCode": "62701", "country": "US" },
  "sameAs": ["https://github.com/example-widgets"],
  "linkedin": "https://linkedin.com/company/example-widgets",
  "twitter": "https://x.com/examplewidgets",
  "facebook": null, "instagram": null, "youtube": null, "tiktok": null,
  "github": "https://github.com/example-widgets",
  "emails": ["info@example.com"],
  "phones": ["+1-555-0100"],
  "language": "en",
  "canonicalUrl": "https://example.com/",
  "aboutUrl": "https://example.com/about",
  "found": true,
  "error": null,
  "sourceUrl": "https://example.com/",
  "sourceUrls": ["https://example.com/", "https://example.com/about"],
  "retrievedAt": "2025-01-15T12:00:00Z"
}
```

### Pricing

Pay per event `company-profile`, charged once per domain where a company name was found (`found` true). Every other row, including failed or skipped domains, is free.

### Limits

- Reads the homepage and at most one about page per domain.
- No browser is used, so JavaScript-only sites may return few fields.
- At most 2 MB of HTML per page, 20 second timeout, 4 domains at a time.
- A domain that fails becomes a free row with `error` set.
- Social fields keep the first link per network.

### Compliance

- Public sources only: the company's own public website. No login, CAPTCHA solving or proxy.
- Honest User-Agent: `PonoDataActors/1.0 (+https://ponodata.com)`.
- robots.txt is obeyed; disallowed pages are not fetched and give a free row.
- Found on the page only: values are copied as published, hidden emails are not decoded, and missing values are `null`.

### Who uses it

- RevOps teams who fill in `companyName`, `description` and `logoUrl` for domains already in a CRM.
- Lead researchers who add `telephone`, `email`, `address` and `sameAs` links to account lists.
- Marketplace operators who show `logoUrl` and `description` on vendor profiles.
- Analysts who compare `foundingDate` and `numberOfEmployees` where a company publishes them.

### FAQ

#### What goes into `domains`?

A list of company domains such as `example.com`. With `includeAboutPage` on, the about page is also read when one is found, and its address appears in `aboutUrl`.

#### What does `found: false` mean?

No company name was found on the website. Those rows are not billed, and `error` is filled when the site could not be read.

#### Why are some fields empty?

Values come from the company's own JSON-LD and meta tags, so fields stay empty when the site does not publish them. `nameSource` and `descriptionSource` show where those values were taken from.

#### Can it run on a schedule or through the API?

Yes. Use Apify Schedules for recurring runs, or start it through the Apify API with the same input JSON.

# Actor input Schema

## `domains` (type: `array`):

Bare domains or URLs, one per line. Each is reduced to its host without www.; duplicates after that are dropped with a warning.

## `includeAboutPage` (type: `boolean`):

Also read one about page linked from the homepage (first same-site link whose path or anchor text matches about, company, who-we-are or our-story) and fill only fields still empty.

## `maxRecords` (type: `integer`):

Cap on billed rows (domains where a company name was found). 0 means no cap. Free rows are not counted. The platform spend cap is honored regardless.

## Actor input object example

```json
{
  "domains": [
    "ponodata.com",
    "stripe.com",
    "python.org"
  ],
  "includeAboutPage": true,
  "maxRecords": 0
}
```

# Actor output Schema

## `profiles` (type: `string`):

One row per input domain.

# 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 = {
    "domains": [
        "ponodata.com",
        "stripe.com",
        "python.org"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("thoob/domain-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 = { "domains": [
        "ponodata.com",
        "stripe.com",
        "python.org",
    ] }

# Run the Actor and wait for it to finish
run = client.actor("thoob/domain-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 '{
  "domains": [
    "ponodata.com",
    "stripe.com",
    "python.org"
  ]
}' |
apify call thoob/domain-company-enrichment --silent --output-dataset

```

## MCP server setup

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