OrbTop

D&B Company Scraper - Business Directory Data

LEAD GENERATIONBUSINESSOTHER

Dun and Bradstreet Company Directory Scraper

Scrape company firmographic data from the Dun and Bradstreet business directory, the public-facing index of D&B's 234M+ company profiles. Returns company name, DUNS number, address, phone, website, industry classification, NAICS/SIC codes, revenue range, employee count, founding year, parent company, and key executives — searchable by company name, location, NAICS/SIC code, or direct profile URL.


D&B Company Scraper Features

  • Extracts 20+ firmographic fields per company record
  • Searches by company name, location filter, NAICS/SIC industry code, or direct profile URLs
  • Defaults to sitemap-driven discovery — samples D&B's business-directory sitemap index for broad coverage
  • Returns DUNS numbers, parent company relationships, and pipe-delimited executive lists with titles
  • Handles Cloudflare's managed JS challenge automatically with residential proxy and browser rendering
  • Pay-per-event pricing tied to records returned, not pages crawled

Who Uses D&B Company Data?

  • B2B sales teams — build prospecting lists by NAICS code, region, or revenue band, then push them into a CRM
  • Compliance and risk analysts — verify vendor identity and corporate hierarchy via DUNS numbers and parent-company links
  • Market researchers — quantify company counts by industry, geography, or revenue tier
  • M&A and corporate development teams — screen acquisition targets by industry and size band before opening a data room
  • Lead generation agencies — enrich existing contact lists with firmographics and verified addresses

How D&B Company Scraper Works

  1. You pick a mode — a search term, NAICS/SIC code, location filter, a list of D&B profile URLs, or nothing at all for sitemap-driven discovery.
  2. The scraper resolves the input to a queue of company profile URLs on dnb.com.
  3. Each profile loads in a real browser, the Cloudflare challenge resolves itself, and the firmographic fields are pulled from JSON-LD, meta tags, and the hydrated DOM.
  4. Records are emitted with a normalized schema, capped at your maxItems limit.

Input

Search by company name:

{
  "searchTerm": "Acme Corporation",
  "maxItems": 25
}

Filter by NAICS industry code and location:

{
  "industryCode": "541511",
  "location": "California",
  "maxItems": 100
}

Direct profile URLs for targeted extraction:

{
  "companyUrls": [
    "https://www.dnb.com/business-directory/company-profiles.acme_corp.123456.html",
    "https://www.dnb.com/business-directory/company-profiles.another_co.789012.html"
  ]
}

Sitemap discovery (default — no filters):

{
  "maxItems": 50
}
Field Type Default Description
maxItems integer 10 Maximum number of company records to return
searchTerm string "" Company name, industry, or keyword to search the D&B directory
location string "" Filter by location (city, state, or country)
industryCode string "" NAICS or SIC industry code (e.g. 541511 for Custom Computer Programming)
companyUrls array Direct D&B company profile URLs. Overrides search/sitemap mode when provided.
proxyConfiguration object RESIDENTIAL Proxy settings. Residential is the default — D&B uses Cloudflare.

D&B Company Scraper Output Fields

{
  "company_name": "Acme Corporation",
  "duns_number": "123456789",
  "address": "1234 Industrial Pkwy",
  "city": "San Jose",
  "state": "California",
  "zip_code": "95134",
  "country": "United States",
  "phone": "+1 408-555-0142",
  "website": "https://www.acme-corp.example.com",
  "industry": "Custom Computer Programming Services",
  "naics_code": "541511",
  "sic_code": "7371",
  "revenue_range": "$50M - $100M",
  "employee_count_range": "200 - 500",
  "founded_year": 2008,
  "company_type": "Private",
  "parent_company": "Acme Holdings Inc.",
  "executives": "Jane Smith (CEO) | John Doe (CFO) | Maria Garcia (CTO)",
  "description": "Acme Corporation provides custom software development and systems integration services for mid-market financial institutions...",
  "dnb_profile_url": "https://www.dnb.com/business-directory/company-profiles.acme_corp.123456.html"
}
Field Type Description
company_name string Legal company name as listed on D&B
duns_number string Dun and Bradstreet's 9-digit DUNS identifier
address string Street address
city string City
state string State or region
zip_code string ZIP or postal code
country string Country
phone string Primary phone number
website string Company website URL
industry string Human-readable industry description
naics_code string NAICS industry classification code
sic_code string SIC industry classification code
revenue_range string Revenue band (e.g. "$10M - $50M")
employee_count_range string Employee headcount band (e.g. "100 - 250")
founded_year number Year the company was founded
company_type string Legal structure (Private, Public, Subsidiary, etc.)
parent_company string Parent company name when listed
executives string Key executives as Name (Title) pairs, pipe-delimited
description string Company description from the D&B profile
dnb_profile_url string Direct URL to the D&B company profile

FAQ

How do I scrape company data from Dun and Bradstreet?

D&B Company Scraper runs from the Apify console — pick a search term, a NAICS code, a list of profile URLs, or leave everything blank for sitemap-driven discovery. The scraper handles search resolution, Cloudflare challenges, and field extraction. You get one record per company.

Does D&B Company Scraper need proxies?

Yes — residential proxies are wired in by default. D&B sits behind Cloudflare with a managed JS challenge, and datacenter IPs get blocked. The residential proxy and real-browser rendering are bundled, so you don't have to configure them.

Can I look up companies by NAICS or SIC code?

D&B Company Scraper accepts NAICS or SIC codes via the industryCode field. Pass 541511 for Custom Computer Programming, 622110 for general hospitals, or whichever classification you care about. The scraper filters the directory to that code.

Can I scrape specific companies by URL?

Yes. Drop D&B profile URLs into companyUrls and the scraper goes straight to those pages, skipping search and sitemap discovery. Useful when you have a vendor list and want firmographic enrichment for exactly that list.

How fresh is the data?

D&B Company Scraper hits the live business directory on every run, so each record reflects whatever D&B is publishing at the moment. D&B updates its public profiles continuously based on filings, registrations, and verified vendor updates.

How much does it cost to run?

D&B Company Scraper is pay-per-event. You're charged per company record returned. Sitemap discovery, search resolution, and Cloudflare handling are all included — no separate page fees.


Need More Features?

Need custom fields, filters, or a different target site? File an issue or get in touch.

Why Use D&B Company Scraper?

  • Four input modes, one actor — Search term, NAICS/SIC code, direct URLs, or sitemap discovery. Pick the one that matches your workflow instead of stitching three scrapers together.
  • Cloudflare handled — Residential proxy and browser rendering bundled in, so the actor returns records instead of "Just a moment" challenge pages.
  • DUNS numbers and parent-company hierarchy — Returned as first-class fields, not buried in unstructured profile text. Useful when you're verifying entities for compliance or rolling up subsidiaries.