Dun & Bradstreet Company Search Scraper avatar

Dun & Bradstreet Company Search Scraper

Pricing

$4.00 / 1,000 results

Go to Apify Store
Dun & Bradstreet Company Search Scraper

Dun & Bradstreet Company Search Scraper

Search the Dun & Bradstreet Business Directory by company name, keyword or industry — returns matching companies with name, D&B id, HQ location, industry and the profile URL. $5.00 / 1,000 companies.

Pricing

$4.00 / 1,000 results

Rating

0.0

(0)

Developer

Danny

Danny

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

3 days ago

Last modified

Share

Search the Dun & Bradstreet Business Directory by company name, keyword, or industry and get back a clean, paginated list of matching companies — each with its name, D&B directory id, HQ location, industry, trade style, and the D&B company-profile URL.

Pair it with the Dun & Bradstreet Company Profile Scraper to turn any result into a full firmographic record (9-digit DUNS, revenue, executives, and more).

Pricing: $5.00 per 1,000 companies (pay per result — you are only charged for companies actually returned).


What you get

For each matching company:

FieldDescription
nameCompany name
dnb_idThe D&B directory id (used in the profile URL)
industryPrimary industry
trade_style"Doing business as" name
street_address, city, region, postal_code, countryHQ location
locationOne-line formatted location
location_typee.g. Parent, Headquarters, Single Location
urlThe D&B company-profile page URL

Input

FieldTypeRequiredDescription
querystringA company name, keyword, or industry (e.g. "software publishers").
max_resultsintegerHow many companies to return (1–100, default 20).
countrystringISO-2 country to scope the search to (default US).
{
"query": "software publishers",
"max_results": 20,
"country": "US"
}

Example output (one item)

{
"name": "Microsoft Corporation",
"dnb_id": "11cc3fba5624e87df547d444810e77f8",
"industry": "Software Publishers",
"trade_style": "Microsoft",
"street_address": "1 Microsoft Way",
"city": "Redmond",
"region": "Washington",
"postal_code": "98052-8300",
"country": "United States",
"location": "Redmond, WA, United States",
"location_type": "Parent",
"url": "https://www.dnb.com/business-directory/company-profiles.microsoft_corporation.11cc3fba5624e87df547d444810e77f8.html"
}

Run it from code

Python

from apify_client import ApifyClient
client = ApifyClient("<YOUR_APIFY_TOKEN>")
run = client.actor("<YOUR_USERNAME>/dnb-company-search-scraper").call(run_input={
"query": "logistics",
"max_results": 40,
"country": "US",
})
for item in client.dataset(run["defaultDatasetId"]).iterate_items():
print(item["name"], item["industry"], item["url"])

Node.js

import { ApifyClient } from 'apify-client';
const client = new ApifyClient({ token: '<YOUR_APIFY_TOKEN>' });
const run = await client.actor('<YOUR_USERNAME>/dnb-company-search-scraper').call({
query: 'logistics',
max_results: 40,
});
const { items } = await client.dataset(run.defaultDatasetId).listItems();
console.log(items);

FAQ

How do I get full details (DUNS, revenue, executives) for a result? Feed its url (or name) into the Dun & Bradstreet Company Profile Scraper.

Can I search by industry? Yes — pass an industry name or keyword like "pharmaceuticals" or "construction".

How many companies can I get per search? Up to 100 (paged ~25 at a time).

How am I billed? Per company returned. A search with no matches costs nothing.

Where does the data come from? The public Dun & Bradstreet Business Directory (dnb.com/business-directory).