Dun & Bradstreet Business Directory Scraper avatar
Dun & Bradstreet Business Directory Scraper
Try for free

No credit card required

View all Actors
Dun & Bradstreet Business Directory Scraper

Dun & Bradstreet Business Directory Scraper

mscraper/dun-bradstreet-business-directory-scraper
Try for free

No credit card required

Extract company information such as name, sales revenue, address, and URL from the DNB directory. Get an overview of the number of companies that can be scraped.

The code examples below show how to run the Actor and get its results. To run the code, you need to have an Apify account. Replace <YOUR_API_TOKEN> in the code with your API token, which you can find under Settings > Integrations in Apify Console. Learn more

Node.js

Python

curl

1# Set API token
2API_TOKEN=<YOUR_API_TOKEN>
3
4# Prepare Actor input
5cat > input.json <<'EOF'
6{
7  "listingUrls": [
8    {
9      "url": "https://www.dnb.com/business-directory/company-information.manufacturing.eg.html"
10    }
11  ],
12  "maxPagesPerListing": 1,
13  "overviewCountryName": "",
14  "proxy": {
15    "useApifyProxy": true,
16    "apifyProxyCountry": "CA",
17    "apifyProxyGroups": [
18      "RESIDENTIAL"
19    ]
20  }
21}
22EOF
23
24# Run the Actor using an HTTP API
25# See the full API reference at https://docs.apify.com/api/v2
26curl "https://api.apify.com/v2/acts/mscraper~dun-bradstreet-business-directory-scraper/runs?token=$API_TOKEN" \
27  -X POST \
28  -d @input.json \
29  -H 'Content-Type: application/json'
Developer
Maintained by Community
Actor metrics
  • 17 monthly users
  • 97.6% runs succeeded
  • 29 days response time
  • Created in Jul 2023
  • Modified 5 months ago