![Dun & Bradstreet Business Directory Scraper avatar](https://images.apifyusercontent.com/fwKyadDp9rZaXIbPYCup4rl6YFLujSqoIhfaiUQ3NAg/rs:fill:250:250/aHR0cHM6Ly9hcGlmeS1pbWFnZS11cGxvYWRzLXByb2QuczMuYW1hem9uYXdzLmNvbS9NcjBBMUJIbzBkMmRoZ04xZC9yUFozWjRyM05NemtEYWNEbS1acnp1dF9la3JhbnVfMjAyMy0wNy0yNV9vXzIxLjU3LjM5LnBuZw.webp)
Dun & Bradstreet Business Directory Scraper
Try for free
2 hours trial then $15.00/month - No credit card required now
View all Actors![Dun & Bradstreet Business Directory Scraper](https://images.apifyusercontent.com/fwKyadDp9rZaXIbPYCup4rl6YFLujSqoIhfaiUQ3NAg/rs:fill:250:250/aHR0cHM6Ly9hcGlmeS1pbWFnZS11cGxvYWRzLXByb2QuczMuYW1hem9uYXdzLmNvbS9NcjBBMUJIbzBkMmRoZ04xZC9yUFozWjRyM05NemtEYWNEbS1acnp1dF9la3JhbnVfMjAyMy0wNy0yNV9vXzIxLjU3LjM5LnBuZw.webp)
![Dun & Bradstreet Business Directory Scraper](https://images.apifyusercontent.com/fwKyadDp9rZaXIbPYCup4rl6YFLujSqoIhfaiUQ3NAg/rs:fill:250:250/aHR0cHM6Ly9hcGlmeS1pbWFnZS11cGxvYWRzLXByb2QuczMuYW1hem9uYXdzLmNvbS9NcjBBMUJIbzBkMmRoZ04xZC9yUFozWjRyM05NemtEYWNEbS1acnp1dF9la3JhbnVfMjAyMy0wNy0yNV9vXzIxLjU3LjM5LnBuZw.webp)
Dun & Bradstreet Business Directory Scraper
mscraper/dun-bradstreet-business-directory-scraper
Try for free
2 hours trial then $15.00/month - No credit card required now
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
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
- 7 monthly users
- 3 stars
- 100.0% runs succeeded
- Created in Jul 2023
- Modified 1 day ago
Categories