Company data API: How to get Dun & Bradstreet data without the enterprise contract Apify, a web scraping platform, offers an alternative to Dun & Bradstreet's enterprise-only Direct+ API by using its Dun & Bradstreet Scraper Actor to extract public company data from D&B profile pages, with pricing that can cost up to a few thousand dollars per month for the official API. The scraper retrieves fields such as company name, website, key principal, address, industry, employees, revenue, and competitors, and can be used in AI applications and workflows. Dun & Bradstreet is widely considered a gold standard for firmographic information, but its official company data API Direct+ is primarily designed for enterprise customers. This guide shows you how to retrieve publicly available company data with or without code and use it in AI applications and workflows. You’ll learn how to build an affordable D&B API with Apify. Dun & Bradstreet API: The official route to company data D&B Direct+ https://www.dnb.com/en-us/products/dnb-direct-plus.html is Dun & Bradstreet’s official API solution. It provides access to 2,500+ attributes and proprietary analytics from 600M+ companies worldwide. Use cases include enriching prospect records, maintaining supplier data, and identifying business risks and opportunities. The main challenge with D&B Direct+ is that access, pricing, data packages, rate limits, and quotas depend on commercial agreements with Dun & Bradstreet. There’s no standard plan you can sign up for online. Enterprise customers need to go through a sales and onboarding process. Pricing is bespoke, and API access can cost up to a few thousand dollars per month. For developers, startups, and SMBs, these requirements can make D&B data difficult to access for smaller projects and experimentation. Company data API without an enterprise contract You don’t need a D&B Direct+ contract to access Dun & Bradstreet data. You can extract public company information from D&B profile pages using web scraping https://blog.apify.com/what-is-web-scraping/ . However, building a reliable scraping operation and wrapping it in an API isn’t easy. You must deal with anti-scraping protections https://docs.apify.com/academy/anti-scraping such as CAPTCHAs and browser fingerprinting. Plus, Dun & Bradstreet triggers a Cloudflare verification for most requests that don't come from a US IP address. Building a D&B scraping-based API also involves scaling, backend development, and DevOps challenges. Apify https://apify.com/ handles that infrastructure for you. An Apify Actor handles the scraping and exposes the extracted data through the Apify API. This lets you build a custom company data API as an alternative to the costly D&B API Direct+ . What company data can you retrieve via web scraping? D&B company pages expose useful firmographic and business information: Dun & Bradstreet company data fields you can gather through web scraping include: | Data field | Description | |---|---| | Company name | Official company name listed on the profile | | Website | Company website URL | | Key principal | Primary executive or decision-maker listed | | Principal names | Names of listed company principals | | Principal titles | Job titles of listed principals | | Address | Company's listed business address | | City, region, country | Location details for the company | | Industry | Primary industry classification | | Industry sector | Broader industry sector | | Employees | Modeled employee count, when available | | Revenue | Modelled revenue, when available | | Year started | Year the company started operations | | Year incorporated | Company incorporation year | | Competitors | Competitors identified by D&B | | Corporate family | Related companies and corporate relationships | Note : Web scraping can only extract information available on the company page. Some fields may be limited or gated, and the available data can vary from one company profile to another. How to get Dun & Bradstreet data with Apify Apify is the largest marketplace of tools for AI, with thousands of ready-made Actors https://apify.com/store for web extraction and business automation. An Actor for this use case is Dun & Bradstreet Scraper https://apify.com/epctex/dnb-scraper , which lets you access publicly available D&B company and article data. It accepts company profile URLs or keywords to search for companies on the Dun & Bradstreet website. The Actor scrapes the selected pages and returns each company as a structured object, with fields such as company name, website, location, industry, key principal, and competitors. Like any other Actor, it can be called via Apify API https://docs.apify.com/api/v2 to access its scraped dataset in JSON. This means Dun & Bradstreet Scraper can act as a company data API or business data API, without the enterprise requirements of the official D&B API. The Actor can also act as a source of data for AI. That’s possible thanks to Apify AI integrations https://docs.apify.com/integrations/ai , whether through MCP or official plugins for LangChain, LlamaIndex, Dify, and other AI frameworks. How to retrieve D&B data with no code using Apify Learn how to use Dun & Bradstreet Scraper to retrieve D&B data in a no-code workflow. Step 1: Open the Dun & Bradstreet Scraper Start by creating an Apify account https://console.apify.com/sign-up if you haven’t already. Otherwise, log in https://console.apify.com/sign-in . In Apify Console, open Apify Store and search for “dun & bradstreet scraper”: Select Dun & Bradstreet Scraper https://console.apify.com/actors/WeOty7LW7tLRrD2UD/input to reach the Actor's page: You’ll see a visual form where you can configure the Actor's input to run it from Apify Console, without writing any code. Note : Dun & Bradstreet Scraper includes a 3-day trial https://apify.com/epctex/dnb-scraper/pricing , so you can test it for free. After the trial, it costs $25 per month. This fee is deducted from the prepaid usage included with your Apify plan https://apify.com/pricing . If that exceeds your plan's prepaid usage, the extra amount will be charged as overage. Step 2: Configure and run the Actor Suppose you want to scrape three Dun & Bradstreet companies: NVIDIA, Alibaba, and Mistral. Open the D&B Business Directory page https://www.dnb.com/business-directory.html in your browser and search for each company. Then, copy their company page URLs: https://www.dnb.com/business-directory/company-profiles.nvidia corporation.05d1c7d8cadd126cda3ae62daffa10c8.html https://www.dnb.com/business-directory/company-profiles.alibaba china technology co ltd.e3529c2476c569b9912000545d3314d6.html https://www.dnb.com/business-directory/company-profiles.mistral ai.339836acd76560caab2b4a841b3fa05e.html Paste the URLs into the Start URLs input: Blank out Maximum number of items to set its default behavior, which is retrieving all data for every URL you provide. Leave all other fields at their values. Once you’ve configured the Actor’s input, click Start in the top-right corner: Rent the Actor by accepting the free trial terms. Click Save & Start to launch the run, then wait for the Dun & Bradstreet data to appear. Step 3: Explore the results After the run ends, you’ll get a resulting dataset like this: The output table for Dun & Bradstreet Scraper shows only a quick summary of the scraped data. To access all D&B data, select All fields : In the All fields table, you can see all scraped data. For structured fields e.g., Company Snapshot, Competitors, and Industry , click them to view their contents. Alternatively, switch to the JSON view: This gives you a clear view of all the Dun & Bradstreet data retrieved by the Actor. Step 4: Export the dataset On the Actor’s run page, click Export in the top-right corner: The Export dataset modal will appear, allowing you to export the dataset in JSON, XLS, CSV, or other formats https://docs.apify.com/platform/storage/dataset . For example, select Excel and press Download . A dataset dnb-scraper