# Dun & Bradstreet Scraper: Companies, Revenue and Employees (`themineworks/dnb-scraper`) Actor

Scrape the Dun & Bradstreet business directory (dnb.com) by industry, country, state and city or by link: company name, address, phone, website, revenue, employees, key principal, NAICS and SIC codes, D\&B id. No login.

- **URL**: https://apify.com/themineworks/dnb-scraper.md
- **Developed by:** [The Mine Works](https://apify.com/themineworks) (community)
- **Categories:** Lead generation, Automation, Business
- **Features:** Limited permissions
- **Stats:** 1 total users, 0 monthly users, 0.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.20 / 1,000 companies

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/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

## Dun & Bradstreet Scraper: Companies, Revenue and Employees

[![10 Dun and Bradstreet company profiles with revenue, employees and key principal in about 2 minutes](https://api.apify.com/v2/key-value-stores/cUXz95yxflDho41nn/records/dnb-scraper-hero.png)](https://console.apify.com/actors/270celHwWr4QdKmqG/input?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral)

Returns companies from the Dun & Bradstreet business directory (dnb.com) by industry and location, or by pasted directory and profile links, one row per company with name, full address, phone, website, industry with NAICS and SIC codes, revenue, employees, key principal, ownership, D\&B directory id and profile link. No login, no cookies, no API key. You pay $9.00 per 1,000 companies with their full profile on the Free plan and $7.20 per 1,000 on the Gold plan, or $1.80 and $1.20 per 1,000 for list rows only, plus a $0.003 start fee per run.

[![Run it on Apify](https://api.apify.com/v2/key-value-stores/cUXz95yxflDho41nn/records/button-run.png)](https://console.apify.com/actors/270celHwWr4QdKmqG/input?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral)

**Part of The Mine Works Company and business data family:** [Company Domain Finder](https://apify.com/themineworks/company-domain-finder?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral), [GST Taxpayer Lookup](https://apify.com/themineworks/gst-taxpayer-lookup?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral), [Company KYB Resolver](https://apify.com/themineworks/company-identity-resolver?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral), [SEC EDGAR Filings Scraper](https://apify.com/themineworks/sec-edgar-filings?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral), [EU VAT Checker (VIES)](https://apify.com/themineworks/eu-vat-vies-validator?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral), [Tech Stack Detector](https://apify.com/themineworks/tech-stack-detector?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral).

Updated 20 Nov 2026: first release. Industry and place lists (country, state, city), pasted listing and profile links, full company profiles with revenue, employee counts, key principal, ownership, industry codes and revenue by year, one flat row per company. Bookmark this Actor on its Store page so it is one click away next time.

### Why choose this actor?

- **Firmographics in columns, not text.** `revenue_usd` and `employees_all_sites_count` are numbers you can sort and filter, next to the bands D\&B shows (`revenue` "$6.66 B", `employees_all_sites` "10,000+") and whether each figure is Actual or Modelled.
- **The contact basics a sales team needs.** In our tests on Apify, street address, website and key principal came back on 75 of 75 profiles and the phone on 73 of 75, plus the other principals D\&B names with their positions.
- **Industry codes for clean segments.** Primary industry with its 4 digit NAICS code, every NAICS and SIC code on the profile, and the parent sector, so a list drops straight into a CRM segment.
- **Pick industry, state and city from a list.** All 314 D\&B directory industries are in the input, with their NAICS code. Add a country, a state and a city to narrow it down. Lists come largest revenue first.
- **Proxy included, nothing to set up.** D\&B's directory sits behind a Cloudflare check that plain cloud addresses do not pass. The actor sends its calls through Apify's UNBLOCKER proxy, and that cost is in the price, not billed on top.
- **Cheap list mode.** Switch profiles off and you get name, city, state, country, D\&B id and link for $1.80 per 1,000, about 50 companies per call.

### Try it in one minute

Paste this into the input (JSON view) and press Start. It returns the 10 largest software publishers in California with their full profiles. It took about 2 minutes in our test run on Apify:

```json
{
  "industries": ["software_publishers"],
  "country": "us",
  "state": "California",
  "maxItems": 10
}
```

Apify's free plan includes $5 of credit every month, which covers about 550 full company profiles or about 2,700 list rows at this actor's Free plan prices.

#### Copy to your AI assistant

```text
themineworks/dnb-scraper on Apify. Reads the Dun & Bradstreet business directory (dnb.com/business-directory) and returns one flat row per company, no login. Call ApifyClient("TOKEN").actor("themineworks/dnb-scraper").call(run_input={"industries": ["software_publishers"], "country": "us", "state": "Texas", "city": "Austin", "maxItems": 50}), then client.dataset(run["defaultDatasetId"]).list_items().items. Give industries (D&B industry slugs such as software_publishers, restaurants_and_other_eating_places, depository_credit_intermediation; the full list of 314 is in the input schema) with country (two letter code, default us), optional state (name or US code such as CA) and city, or startUrls (dnb.com listing links and company profile links), or both. Optional: maxItems (default 50, 1 to 5000, per industry or listing link), includeDetails (default true; false returns list rows only at the cheaper company price). Company rows have no _type field and carry company_name, trade_style_name, dnb_id, profile_url, description, address, city, state, country, address_city, address_region, country_code, phone, website, key_principal, principals, total_principals, industry, naics_code, parent_industry, industries, ownership, entity_type, is_headquarters, global_headquarters, employees_all_sites, employees_all_sites_count, employees_all_sites_reliability, employees_this_site, employees_this_site_count, employees_this_site_reliability, revenue, revenue_usd, revenue_reliability, revenue_year, revenue_history, stock_ticker, ranking, year_started, year_incorporated, fiscal_year_end, details_scraped, details_error, source, search_industry, search_location, listing_url, input, page, position, scraped_at. Each run also writes one row with _type "summary", rows with _type "info" (for example a place with no companies) and a row with _type "error" for each input that could not be read; none of these is charged. Full spec: GET https://api.apify.com/v2/acts/themineworks~dnb-scraper/builds/default (Bearer TOKEN), which returns inputSchema and readme.
```

### Key features

- **Industry by place.** Each industry becomes one D\&B list for your country, and optionally a state or region and a city inside it, for example software publishers in Austin, Texas, or restaurants in the United Kingdom.
- **Pasted links.** Listing links from dnb.com keep everything in the link, including D\&B's own filters such as `revenue-1b-plus` or `employees-10000-plus` (`https://www.dnb.com/business-directory/us/software-publishers/revenue-1b-plus/companies`). Old style links such as `company-information.software_publishers.gb.html` work too. A profile link returns that company with its full profile.
- **Up to 5,000 companies per list,** read 50 at a time by following D\&B's own next page link.
- **Profiles read 8 at a time.** A profile that cannot be read keeps its list data, says why in `details_error`, and is charged as a list row.
- **One row per company.** A company that two of your lists return is delivered and charged once.
- **Stops cleanly.** A failed call is retried on a new session; four failed calls in a row end the run; an empty or misspelt place costs one call and returns an info row. The run stops before its time limit and keeps every row. The summary row says why.

### How to use it

#### Prospect list: one industry in one city

```json
{
  "industries": ["computer_systems_design_and_related_services"],
  "country": "us",
  "state": "NY",
  "city": "New York",
  "maxItems": 200
}
```

#### Several industries across a country, list rows only

```json
{
  "industries": ["software_publishers", "restaurants_and_other_eating_places"],
  "country": "gb",
  "maxItems": 500,
  "includeDetails": false
}
```

Use this to size a market or build a target account list cheaply, then send the `profile_url`s you want back in as `startUrls` for full profiles.

#### Enrich known companies from their D\&B links

```json
{
  "startUrls": [
    "https://www.dnb.com/business-directory/company-profiles/microsoft-corporation.11cc3fba5624e87df547d444810e77f8",
    "https://www.dnb.com/business-directory/company-profiles/apple-inc.ec7f550b3a97b94d919d837672573959"
  ]
}
```

#### Large companies only, with D\&B's own filter

```json
{
  "startUrls": ["https://www.dnb.com/business-directory/us/software-publishers/revenue-1b-plus/companies"],
  "maxItems": 100
}
```

### Input parameters

| Field | Type | Default | What it does |
|---|---|---|---|
| `industries` | list | | D\&B directory industries (314, NAICS based). One list each. |
| `country` | text | us | Two letter country code: us, gb, ca, au, de, fr, in and so on. |
| `state` | text | | State or region as D\&B writes it (California, Texas, England, Ontario) or a US code (CA, TX). |
| `city` | text | | A city inside that state. Needs the state. |
| `startUrls` | list of text | | dnb.com listing links and company profile links. |
| `maxItems` | number | 50 | Most companies per industry or listing link, 1 to 5,000. |
| `includeDetails` | true/false | true | Reads each company's profile. Off gives list rows only, at the cheaper price. |

### What data do you get?

| Field | Example | Notes |
|---|---|---|
| `company_name` / `trade_style_name` | Take-Two Interactive Software, Inc. / Take-Two | doing business as name when D\&B shows one |
| `dnb_id` / `profile_url` | 2d66458a75c9d054a6e33addf02f1573 | D\&B directory id from the profile link |
| `address` | 110 W 44TH St New York, NY, 10036-4011 United States | with profiles |
| `city` / `state` / `country` / `country_code` | New York / New York / United States / US | |
| `phone` / `website` | (646) 536-2842 / www.take2games.com | with profiles |
| `key_principal` / `principals` | Strauss Zelnick / name and position | principals D\&B names publicly |
| `industry` / `naics_code` / `industries` | Computer Systems Design and Related Services / 5415 | every NAICS and SIC code on the profile |
| `ownership` / `entity_type` / `is_headquarters` | Public / Parent / true | |
| `employees_all_sites` / `employees_all_sites_count` | 10,000+ / 12909 | with Actual or Modelled in `employees_all_sites_reliability` |
| `employees_this_site` / `employees_this_site_count` | 1,000-9,999 / 1152 | |
| `revenue` / `revenue_usd` / `revenue_reliability` / `revenue_year` | $6.66 B / 6656400000 / Actual / 2026 | |
| `revenue_history` | 2022 to 2026 in USD millions | when D\&B shows it |
| `stock_ticker` / `ranking` | NASDAQ:TTWO / Fortune 1000 Revenue Rank #618 (2026) | public companies |
| `year_started` / `year_incorporated` | null | D\&B hides these from visitors today; filled when shown |
| `source` / `search_industry` / `search_location` / `position` | listing / Software Publishers / California, US / 3 | where the row came from |

#### Output example

```json
{
  "company_name": "Intuit Inc.",
  "trade_style_name": "Intuit",
  "dnb_id": "94b31a9bb956e6e6651f2a5f39bc6eb7",
  "profile_url": "https://www.dnb.com/business-directory/company-profiles/intuit-inc.94b31a9bb956e6e6651f2a5f39bc6eb7",
  "address": "2700 Coast Ave Mountain View, CA, 94043-1140 United States",
  "city": "Mountain View",
  "state": "California",
  "country": "United States",
  "country_code": "US",
  "phone": "(650) 944-6000",
  "website": "www.intuit.com",
  "key_principal": "Sasan K Goodarzi",
  "industry": "Software Publishers",
  "naics_code": "5132",
  "parent_industry": "Information",
  "ownership": "Public",
  "entity_type": "Parent",
  "is_headquarters": true,
  "employees_all_sites": "10,000+",
  "employees_all_sites_count": 18600,
  "employees_all_sites_reliability": "Actual",
  "revenue": "$21.45 B",
  "revenue_usd": 21448000000,
  "revenue_reliability": "Actual",
  "revenue_year": 2026,
  "stock_ticker": "NASDAQ:INTU",
  "details_scraped": true,
  "source": "listing",
  "search_industry": "Software Publishers",
  "search_location": "California, US",
  "position": 10,
  "scraped_at": "2026-11-20T14:12:10.635Z"
}
```

### Pricing

Pay per event: you pay for the companies you receive, plus a flat $0.003 per run, whatever memory you choose. The Apify UNBLOCKER proxy that D\&B needs is included. Each company row is charged once, as `company` or as `company-detailed`, never both.

| Event | When it is charged | Free plan | Bronze (Starter) | Silver (Scale) | Gold (Business) |
|---|---|---|---|---|---|
| `company` | Once per company row from a D\&B list only (profiles off, or a profile that could not be read) | $1.80 per 1,000 | $1.60 per 1,000 | $1.40 per 1,000 | $1.20 per 1,000 |
| `company-detailed` | Once per company row that also carries its D\&B profile | $9.00 per 1,000 | $8.40 per 1,000 | $7.80 per 1,000 | $7.20 per 1,000 |
| `run-start` | Once per run, after the first call returned companies | $0.003 | $0.003 | $0.003 | $0.003 |

Why profiles cost more: every profile is one more call through the unblocker, while one list call returns about 50 companies.

Never charged:

- inputs that are not D\&B industries or links (each gets an error row);
- a list with no companies (an info row tells you);
- a company that a second list of the same run returns again;
- companies past your `maxItems`;
- the summary, info and error rows;
- a run with no valid input, or one whose lists return nothing: the start fee is charged only once companies came back;
- anything past your "Max cost per run". The actor checks the budget before each batch of rows and stops while the total is still below your limit.

### How it compares

| Actor | Price per 1,000 on the Free plan | Start fee | Platform usage and proxy |
|---|---|---|---|
| **This actor** | $9.00 with full profile, $1.80 list rows | $0.003 per run | Included, proxy included |
| [Dun & Bradstreet Scraper by epctex](https://apify.com/epctex/dnb-scraper?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral) | $4.60 | $0.00005 | Billed on top; its README asks for a residential proxy |
| [DNB Companies Scraper by dtrungtin](https://apify.com/dtrungtin/dnb-companies-scraper?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral) | $30.00 per profile | $0.08 | Included; its README says residential proxies only |
| [Dun & Bradstreet Scraper by haketa](https://apify.com/haketa/dnb-scraper?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral) | $2.50 ($1.00 on Gold) | $0.00005 | Included |

Checked 20 Nov 2026 from the public Store listings.

### Run it on a schedule

1. Open the actor in Apify Console, set your input and click **Save as a new task**.
2. In the task, open **Schedules**, click **Add schedule** and pick how often (every Monday at 08:00, the first of each month and so on).
3. Compare runs on `dnb_id` to spot new companies in a market, or on `revenue_usd` and `employees_all_sites_count` to see who grew.
4. Optional: add an integration (Google Sheets, a webhook, your CRM through Make or Zapier) so each run lands where your team works.

### FAQ

#### What does this actor read?

The public D\&B business directory pages anyone can open on dnb.com without logging in: industry lists and company profiles. It does not log in, does not buy reports and does not read D\&B Hoovers or credit data.

#### Do I need an account, cookies or an API key?

No account, no cookies and no API key. Nothing to set up. D\&B turns away plain cloud addresses, so the actor sends its calls through the Apify UNBLOCKER proxy group, which is included in the price.

#### Why is the D-U-N-S number not in the rows?

D\&B hides the 9 digit D-U-N-S number, the year started and the year incorporated from visitors and sells them in its reports. Each row carries `dnb_id`, the id D\&B uses in the profile link, which is stable and unique per company. `year_started` and `year_incorporated` are filled whenever D\&B shows them.

#### What do Actual and Modelled mean?

D\&B marks each revenue and employee figure as Actual (reported) or Modelled (estimated by D\&B). The actor keeps that in `revenue_reliability` and the employee reliability fields, so you can filter on it.

#### Can I search by company name or keyword?

Not yet. D\&B's own keyword search runs behind a verification check, so this actor works from the industry lists and from links. To enrich a known company, paste its D\&B profile link.

#### Which countries work?

Any country D\&B lists, by two letter code: us, gb, ca, au, de, fr, in, sg and so on. The United States has the most data. A place D\&B does not know returns an info row and costs nothing per company.

#### How many companies can I get?

Up to 5,000 per industry or listing link and 100 lists per run. D\&B listed 59,042 software publishers in the United States and 170,184 restaurant companies in the United Kingdom on 20 Nov 2026.

#### How long does a run take?

In our tests on Apify (20 Nov 2026): about 2 minutes for the "Try it" input (10 full profiles), 4.5 minutes for 30 full profiles of Chicago banks, and 76 seconds for 240 list rows from two UK industries. A profile takes 10 to 70 seconds through the unblocker; 8 are read at a time. The summary row shows calls, retries and time.

#### Which formats can I download?

JSON, CSV, Excel, XML, RSS and HTML from the run's Storage tab or through the API.

#### Can I use it from Claude, ChatGPT or Cursor (MCP)?

Yes, through Apify's MCP server. Connector URL: https://mcp.apify.com/?tools=themineworks/dnb-scraper

- Claude: Settings > Connectors > Add custom connector, paste the URL, sign in with Apify.
- ChatGPT: turn on developer mode, add an MCP connector with the URL, sign in with Apify.
- Cursor or VS Code: add it as an HTTP MCP server with that URL.
- Claude Code: `claude mcp add -t http dnb-scraper "https://mcp.apify.com/?tools=themineworks/dnb-scraper"`

#### Is it legal to scrape Dun & Bradstreet?

The actor reads only business information that D\&B publishes on its open directory pages, the same pages anyone can open without an account. The people it returns are company officers that D\&B names publicly in a business role. You are responsible for how you use the data, including D\&B's terms of use and the data protection and marketing laws that apply to you, for example before you contact anyone. This is general information, not legal advice.

### Integrations

- **Google Sheets**: send each run's companies to a sheet with Apify's Google Sheets integration; one row per company fits a sheet as is.
- **Make, Zapier and n8n**: start a run and read its dataset with the Apify apps and nodes, for example "new software companies in Texas every month to the CRM".
- **Clay and AI agents**: call it once per profile link to enrich a record with revenue, employees, phone and industry codes.
- **Webhooks**: have Apify call your URL when a run succeeds, then fetch the dataset.
- **API and SDKs**: run it from Python or JavaScript with the Apify client, or with a plain HTTP call (see "Copy to your AI assistant" above).

If this actor saved you time, a short rating on the Store helps other buyers find it.

### More from The Mine Works

**Company and business data**

- [Company Domain Finder](https://apify.com/themineworks/company-domain-finder?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral)
- [GST Taxpayer Lookup](https://apify.com/themineworks/gst-taxpayer-lookup?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral)
- [Company KYB Resolver](https://apify.com/themineworks/company-identity-resolver?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral)
- [SEC EDGAR Filings Scraper](https://apify.com/themineworks/sec-edgar-filings?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral)
- [EU VAT Checker (VIES)](https://apify.com/themineworks/eu-vat-vies-validator?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral)
- [Tech Stack Detector](https://apify.com/themineworks/tech-stack-detector?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral)
- [Bundesanzeiger Scraper](https://apify.com/themineworks/germany-bundesanzeiger-monitor?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral)
- [Domain to LinkedIn URL Resolver](https://apify.com/themineworks/domain-to-linkedin-resolver?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral)
- [World Bank Trade Scraper](https://apify.com/themineworks/global-trade-data?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral)
- [US Import Records](https://apify.com/themineworks/us-import-supplier-intelligence?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral)
- [Y Combinator Scraper](https://apify.com/themineworks/y-combinator-scraper?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral)
- [Norway Company Register](https://apify.com/themineworks/norway-brreg-entity-search?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral)

**Social media and video**

- [Threads Scraper](https://apify.com/themineworks/threads-scraper?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral)
- [Reddit Scraper](https://apify.com/themineworks/reddit-scraper?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral)
- [Threads Search Scraper](https://apify.com/themineworks/threads-search-scraper?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral)
- [Instagram Profile Scraper](https://apify.com/themineworks/instagram-profile-scraper?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral)

**Leads and business directories**

- [B2B Leads Finder](https://apify.com/themineworks/b2b-leads-finder?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral)
- [Skip Trace Lookup](https://apify.com/themineworks/skip-trace-lookup?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral)
- [Google Maps Email Scraper](https://apify.com/themineworks/maps-leads?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral)
- [2GIS Places Scraper](https://apify.com/themineworks/2gis-places-search?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral)

**Marketing, SEO and reviews**

- [Facebook Ad Library Scraper](https://apify.com/themineworks/meta-ad-library-scraper?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral)
- [Google Ads Transparency Scraper](https://apify.com/themineworks/google-ads-transparency?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral)
- [Similarweb Scraper](https://apify.com/themineworks/similarweb-scraper?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral)
- [Google News Scraper](https://apify.com/themineworks/google-news?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral)

**LinkedIn**

- [LinkedIn Company Scraper](https://apify.com/themineworks/linkedin-company-details?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral)
- [LinkedIn Post Scraper](https://apify.com/themineworks/linkedin-post-search?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral)
- [LinkedIn Employees Scraper](https://apify.com/themineworks/linkedin-employees?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral)
- [LinkedIn Profile Scraper](https://apify.com/themineworks/linkedin-profile-scraper?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral)

**Real estate**

- [Zillow Rentals Scraper](https://apify.com/themineworks/zillow-rental-listings?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral)
- [Zillow Sold Comps Scraper](https://apify.com/themineworks/zillow-recently-sold?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral)
- [India Real Estate MCP](https://apify.com/themineworks/india-real-estate-mcp?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral)
- [Housing.com Scraper](https://apify.com/themineworks/housing-com-scraper?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral)

**Science, health and government data**

- [Academic Research MCP](https://apify.com/themineworks/academic-research-mcp?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral)
- [CourtListener Scraper](https://apify.com/themineworks/courtlistener-court-records?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral)
- [Socrata Open Data Scraper](https://apify.com/themineworks/socrata-open-data?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral)
- [OpenAlex Scraper](https://apify.com/themineworks/openalex-scholarly-works?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral)

**Jobs and hiring**

- [Foundit Monster India Jobs](https://apify.com/themineworks/foundit-jobs-scraper?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral)
- [Hirist Jobs Scraper](https://apify.com/themineworks/hirist-jobs-scraper?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral)
- [India Jobs MCP](https://apify.com/themineworks/india-jobs-mcp?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral)
- [Naukri Jobs Scraper](https://apify.com/themineworks/naukri-jobs?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral)

**E-commerce and marketplaces**

- [Ozon.ru Scraper](https://apify.com/themineworks/ozon-product-search?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral)
- [⭐ Amazon Reviews Scraper](https://apify.com/themineworks/amazon-reviews?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral)
- [Amazon Product Scraper](https://apify.com/themineworks/amazon-products?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral)
- [Etsy Listings Scraper](https://apify.com/themineworks/etsy-search-scraper?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral)

**Food and local services**

- [NoBroker Scraper](https://apify.com/themineworks/nobroker-scraper?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral)
- [Swiggy Restaurant Scraper](https://apify.com/themineworks/swiggy-scraper?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral)
- [Zomato Scraper](https://apify.com/themineworks/zomato-scraper?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral)

**Developer and AI tools**

- [Website to Markdown Crawler](https://apify.com/themineworks/rag-crawler?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral)
- [GitHub Skill Finder](https://apify.com/themineworks/github-skill-discovery?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral)
- [GitHub Repo Scraper](https://apify.com/themineworks/github-repo-intelligence?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral)
- [GitHub Trending Scraper](https://apify.com/themineworks/github-trending-scraper?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral)

**More tools**

- [G2 Reviews Scraper](https://apify.com/themineworks/g2-reviews-scraper?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral)
- [Naver Blog Scraper](https://apify.com/themineworks/naver-blog-posts-scraper?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral)
- [WeChat Article Scraper 微信公众号文章](https://apify.com/themineworks/wechat-article-scraper?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral)
- [Taobao Products Scraper 淘宝 天猫](https://apify.com/themineworks/taobao-products-scraper?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral)

### Support

Found a list that returns fewer companies than the site, or a field that comes back empty? Open an issue in the Issues tab with the input and the run ID, and we will look at it. For a field you need or a new source, email dmineworks@gmail.com.

*Pick an industry and a place on the Dun & Bradstreet business directory and get every company back as one row, with address, phone, website, revenue, employees, key principal and industry codes, no login.*

# Actor input Schema

## `industries` (type: `array`):

D\&B directory industries (NAICS based, the 4 digit code is shown next to each name). Each one becomes a list of companies in the place below, largest revenue first.

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

Two letter country code: us, gb, ca, au, de, fr, in, sg and so on. The United States has the most data.

## `state` (type: `string`):

As D\&B writes it, for example California, Texas, New York (or the US code CA, TX, NY), England, Ontario. Leave empty for the whole country.

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

A city inside the state above, for example San Jose, Austin, London. Needs the state.

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

Listing links copied from dnb.com, such as https://www.dnb.com/business-directory/us/texas/austin/software_publishers/companies or https://www.dnb.com/business-directory/company-information.software_publishers.gb.html, and company profile links such as https://www.dnb.com/business-directory/company-profiles/apple-inc.ec7f550b3a97b94d919d837672573959. A profile link always returns the full profile.

## `maxItems` (type: `integer`):

The most companies to return for each industry or listing link, 1 to 5,000. D\&B shows about 50 per page.

## `includeDetails` (type: `boolean`):

On: each company's D\&B profile is read too, for address, phone, website, revenue, employees, key principal, ownership and NAICS and SIC codes. Off: only name, city, state, country and profile link from the list, much cheaper.

## Actor input object example

```json
{
  "industries": [
    "software_publishers"
  ],
  "country": "us",
  "state": "California",
  "maxItems": 10,
  "includeDetails": true
}
```

# Actor output Schema

## `results` (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 = {
    "industries": [
        "software_publishers"
    ],
    "country": "us",
    "state": "California",
    "maxItems": 10
};

// Run the Actor and wait for it to finish
const run = await client.actor("themineworks/dnb-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 = {
    "industries": ["software_publishers"],
    "country": "us",
    "state": "California",
    "maxItems": 10,
}

# Run the Actor and wait for it to finish
run = client.actor("themineworks/dnb-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 '{
  "industries": [
    "software_publishers"
  ],
  "country": "us",
  "state": "California",
  "maxItems": 10
}' |
apify call themineworks/dnb-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,themineworks/dnb-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/270celHwWr4QdKmqG/builds/YSNgi0jyWDw8fOJ9P/openapi.json
