![Dun and Bradstreet (DNB) Scraper avatar](https://images.apifyusercontent.com/D5Zi0Cy5ZZyj-E3f1dDKssxvfBkGgLNWb-JF10mey_0/rs:fill:250:250/aHR0cHM6Ly9hcGlmeS1pbWFnZS11cGxvYWRzLXByb2QuczMuYW1hem9uYXdzLmNvbS9mWGJsenM2UUxNRHVtcGRJOS9naFF1ZGQ4WUUzQzRUMzg2Mi1TY3JlZW5zaG90XzIwMjMtMDYtMjZfYXRfMy4wNi4wMl9QTS5wbmc.webp)
Dun and Bradstreet (DNB) Scraper
Try for free
1 day trial then $25.00/month - No credit card required now
View all Actors![Dun and Bradstreet (DNB) Scraper](https://images.apifyusercontent.com/D5Zi0Cy5ZZyj-E3f1dDKssxvfBkGgLNWb-JF10mey_0/rs:fill:250:250/aHR0cHM6Ly9hcGlmeS1pbWFnZS11cGxvYWRzLXByb2QuczMuYW1hem9uYXdzLmNvbS9mWGJsenM2UUxNRHVtcGRJOS9naFF1ZGQ4WUUzQzRUMzg2Mi1TY3JlZW5zaG90XzIwMjMtMDYtMjZfYXRfMy4wNi4wMl9QTS5wbmc.webp)
![Dun and Bradstreet (DNB) Scraper](https://images.apifyusercontent.com/D5Zi0Cy5ZZyj-E3f1dDKssxvfBkGgLNWb-JF10mey_0/rs:fill:250:250/aHR0cHM6Ly9hcGlmeS1pbWFnZS11cGxvYWRzLXByb2QuczMuYW1hem9uYXdzLmNvbS9mWGJsenM2UUxNRHVtcGRJOS9naFF1ZGQ4WUUzQzRUMzg2Mi1TY3JlZW5zaG90XzIwMjMtMDYtMjZfYXRfMy4wNi4wMl9QTS5wbmc.webp)
Dun and Bradstreet (DNB) Scraper
curious_coder/dun-and-bradstreet-dnb-com-scraper
Try for free
1 day trial then $25.00/month - No credit card required now
Scrape companies and contacts details from DnB database based on industry, job title, employee count, entity types etc.
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 "action": "scrapeSearch",
8 "searchTerm": "marketing",
9 "searchType": "company",
10 "startPage": 1,
11 "proxy": {
12 "useApifyProxy": true,
13 "apifyProxyGroups": [
14 "RESIDENTIAL"
15 ],
16 "apifyProxyCountry": "US"
17 }
18}
19EOF
20
21# Run the Actor using an HTTP API
22# See the full API reference at https://docs.apify.com/api/v2
23curl "https://api.apify.com/v2/acts/curious_coder~dun-and-bradstreet-dnb-com-scraper/runs?token=$API_TOKEN" \
24 -X POST \
25 -d @input.json \
26 -H 'Content-Type: application/json'
Developer
Maintained by Community
Actor metrics
- 16 monthly users
- 2 stars
- 16.7% runs succeeded
- 0.51 hours response time
- Created in Jun 2023
- Modified 3 months ago