Dun & Bradstreet Companies Scraper
Pricing
from $6.00 / 1,000 company scrapeds
Dun & Bradstreet Companies Scraper
Scrape Dun & Bradstreet business directory companies — firmographics, DUNS, revenue, address, NAICS industries.
Pricing
from $6.00 / 1,000 company scrapeds
Rating
0.0
(0)
Developer
Khadin Akbar
Maintained by CommunityActor stats
0
Bookmarked
2
Total users
1
Monthly active users
5 days ago
Last modified
Categories
Share
Scrape company firmographics from the Dun & Bradstreet business directory (dnb.com, 120M+ business records) — by industry and geography, or from URLs you paste. Returns clean, structured JSON: company name, DUNS identifier, full address, sales revenue, industries with NAICS context, website, and ranking. MCP-ready for AI agents.
What you get
One record per company:
| Field | Description |
|---|---|
companyName | Primary company name |
duns | D&B profile identifier (hashed DUNS) |
profileUrl | Link to the company's D&B directory profile |
website | Company website (enriched) |
streetAddress, locality, region, regionCode, postalCode, countryName, countryCode, fullAddress | Structured address |
salesRevenue | Sales revenue as published by D&B |
primaryIndustry, industries | Industry name(s) (enriched) |
fortuneRank, fortuneRankLabel | Ranking, e.g. Fortune 1000 revenue rank (enriched) |
principalCount, contactCount | Counts of directors / contacts D&B lists (enriched) |
competitorIndustry, similarCompanies | Competitive context (enriched) |
financialYears | Reported financial years (enriched) |
scrapedAt, sourceUrl | Provenance |
When to use it
- Lead generation & sales prospecting — build company lists by industry + region with DUNS numbers.
- Market & competitor research — size an industry, pull the companies in it, see revenue and ranking.
- Data enrichment — resolve a D&B profile URL into a structured firmographic record.
- AI agents (MCP) — a clean query/URL-in, JSON-out tool for company intelligence.
Not for: deep paid D&B Hoovers data (individual contact emails, detailed financial statements). Those are behind D&B's paywall and are returned as null.
Input
Two ways to drive it — use either or both:
1. Search mode — by industry and geography:
{"industryPath": "oil_and_gas_extraction","countryIsoCode": "us","regionName": "texas","maxResults": 100,"enrichDetails": true}
2. URL mode — paste D&B directory or profile URLs (auto-detected):
{"startUrls": ["https://www.dnb.com/business-directory/company-information.software_publishers.us.california.html","https://www.dnb.com/business-directory/company-profiles.apple_inc.ec7f550b3a97b94d919d837672573959.html"],"maxResults": 50,"enrichDetails": true}
industryPath— the underscore slug exactly as it appears in a dnb.comindustry-analysis.<slug>.htmlURL (e.g.software_publishers,construction,oil_and_gas_extraction).countryIsoCode— 2-letter ISO code (defaultus).regionName— optional state/region slug (e.g.california,texas). Omit for whole-country.maxResults— 1–1000. D&B caps any single industry+region listing at 1000 companies.enrichDetails—true(default) fetches each company's full profile;falseis faster (listing data only).
Pricing
Pay-per-event:
- Actor start — $0.00005 per run.
- Company scraped — $0.006 per company returned.
A 100-company enriched run costs about $0.60. You only pay for companies actually returned.
Output example
{"companyName": "Apple Inc.","duns": "ec7f550b3a97b94d919d837672573959","profileUrl": "https://www.dnb.com/business-directory/company-profiles.apple_inc.ec7f550b3a97b94d919d837672573959.html","website": "https://www.apple.com","locality": "Cupertino","region": "California","regionCode": "CA","countryCode": "US","salesRevenue": "416,161","primaryIndustry": "Software Publishers","industries": ["Communications Equipment Manufacturing", "Computer and Peripheral Equipment Manufacturing", "Software Publishers"],"fortuneRank": 4,"fortuneRankLabel": "Fortune 1000 Revenue Rank","principalCount": 13,"contactCount": 52545,"scrapedAt": "2026-06-24T16:00:00.000Z"}
Use via API
from apify_client import ApifyClientclient = ApifyClient("<YOUR_API_TOKEN>")run = client.actor("khadinakbar/dnb-companies-scraper").call(run_input={"industryPath": "construction","countryIsoCode": "us","regionName": "texas","maxResults": 200,})for item in client.dataset(run["defaultDatasetId"]).iterate_items():print(item["companyName"], item.get("salesRevenue"))
import { ApifyClient } from 'apify-client';const client = new ApifyClient({ token: '<YOUR_API_TOKEN>' });const run = await client.actor('khadinakbar/dnb-companies-scraper').call({startUrls: ['https://www.dnb.com/business-directory/company-information.software_publishers.us.california.html'],maxResults: 100,});const { items } = await client.dataset(run.defaultDatasetId).listItems();console.log(items);
FAQ
How do I find an industry slug? Open any industry on dnb.com's business directory; the URL is …/industry-analysis.<slug>.html. Use that <slug>.
Why are some financial / contact fields empty? D&B keeps deep financial statements and individual contact details behind its paid D&B Hoovers subscription. This actor returns the public firmographic layer; gated fields come back as null.
How many companies can I get per industry? D&B caps a single industry+region listing at 1000 companies (20 pages × 50). Narrow by regionName to slice a large industry into states.
Do I need a proxy? No special setup — the actor defaults to Apify datacenter (US) and handles the rest.
Legal
This actor collects publicly available business information from the Dun & Bradstreet business directory for legitimate business research and lead generation. It does not access any login-protected or paid data. You are responsible for using the output in compliance with Dun & Bradstreet's terms of service, applicable data-protection laws (including GDPR/CCPA where relevant), and any restrictions on the use of company contact data. Not affiliated with or endorsed by Dun & Bradstreet.