Dun and Bradstreet (DNB) Scraper avatar

Dun and Bradstreet (DNB) Scraper

Try for free

1 day trial then $25.00/month - No credit card required now

Go to Store
Dun and Bradstreet (DNB) Scraper

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.

You can access the Dun and Bradstreet (DNB) Scraper programmatically from your own applications by using the Apify API. You can choose the language preference from below. To use the Apify API, you’ll need an Apify account and your API token, found in Integrations settings in Apify Console.

1{
2  "openapi": "3.0.1",
3  "info": {
4    "version": "1.0",
5    "x-build-id": "ofpULCyaLQ24aiIWU"
6  },
7  "servers": [
8    {
9      "url": "https://api.apify.com/v2"
10    }
11  ],
12  "paths": {
13    "/acts/curious_coder~dun-and-bradstreet-dnb-com-scraper/run-sync-get-dataset-items": {
14      "post": {
15        "operationId": "run-sync-get-dataset-items-curious_coder-dun-and-bradstreet-dnb-com-scraper",
16        "x-openai-isConsequential": false,
17        "summary": "Executes an Actor, waits for its completion, and returns Actor's dataset items in response.",
18        "tags": [
19          "Run Actor"
20        ],
21        "requestBody": {
22          "required": true,
23          "content": {
24            "application/json": {
25              "schema": {
26                "$ref": "#/components/schemas/inputSchema"
27              }
28            }
29          }
30        },
31        "parameters": [
32          {
33            "name": "token",
34            "in": "query",
35            "required": true,
36            "schema": {
37              "type": "string"
38            },
39            "description": "Enter your Apify token here"
40          }
41        ],
42        "responses": {
43          "200": {
44            "description": "OK"
45          }
46        }
47      }
48    },
49    "/acts/curious_coder~dun-and-bradstreet-dnb-com-scraper/runs": {
50      "post": {
51        "operationId": "runs-sync-curious_coder-dun-and-bradstreet-dnb-com-scraper",
52        "x-openai-isConsequential": false,
53        "summary": "Executes an Actor and returns information about the initiated run in response.",
54        "tags": [
55          "Run Actor"
56        ],
57        "requestBody": {
58          "required": true,
59          "content": {
60            "application/json": {
61              "schema": {
62                "$ref": "#/components/schemas/inputSchema"
63              }
64            }
65          }
66        },
67        "parameters": [
68          {
69            "name": "token",
70            "in": "query",
71            "required": true,
72            "schema": {
73              "type": "string"
74            },
75            "description": "Enter your Apify token here"
76          }
77        ],
78        "responses": {
79          "200": {
80            "description": "OK",
81            "content": {
82              "application/json": {
83                "schema": {
84                  "$ref": "#/components/schemas/runsResponseSchema"
85                }
86              }
87            }
88          }
89        }
90      }
91    },
92    "/acts/curious_coder~dun-and-bradstreet-dnb-com-scraper/run-sync": {
93      "post": {
94        "operationId": "run-sync-curious_coder-dun-and-bradstreet-dnb-com-scraper",
95        "x-openai-isConsequential": false,
96        "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.",
97        "tags": [
98          "Run Actor"
99        ],
100        "requestBody": {
101          "required": true,
102          "content": {
103            "application/json": {
104              "schema": {
105                "$ref": "#/components/schemas/inputSchema"
106              }
107            }
108          }
109        },
110        "parameters": [
111          {
112            "name": "token",
113            "in": "query",
114            "required": true,
115            "schema": {
116              "type": "string"
117            },
118            "description": "Enter your Apify token here"
119          }
120        ],
121        "responses": {
122          "200": {
123            "description": "OK"
124          }
125        }
126      }
127    }
128  },
129  "components": {
130    "schemas": {
131      "inputSchema": {
132        "type": "object",
133        "required": [
134          "searchTerm",
135          "searchType",
136          "startPage",
137          "proxy"
138        ],
139        "properties": {
140          "action": {
141            "title": "⛏️ Select action to perform",
142            "enum": [
143              "scrapeSearch",
144              "scrapeUrls"
145            ],
146            "type": "string",
147            "description": "Actor will decide what kind of data it needs to scrape and from where it should scrape it based on selected action",
148            "default": "scrapeSearch"
149          },
150          "searchTerm": {
151            "title": "Search term",
152            "type": "string",
153            "description": "Search term to use for scraping"
154          },
155          "searchType": {
156            "title": "Search type",
157            "enum": [
158              "contact",
159              "company"
160            ],
161            "type": "string",
162            "description": "Search for companies or contacts",
163            "default": "company"
164          },
165          "countryCode": {
166            "title": "Company search: Country",
167            "enum": [
168              "us",
169              "ca",
170              "gb",
171              "af",
172              "ax",
173              "al",
174              "dz",
175              "as",
176              "ad",
177              "ao",
178              "ai",
179              "aq",
180              "ag",
181              "ar",
182              "am",
183              "aw",
184              "au",
185              "at",
186              "az",
187              "bs",
188              "bh",
189              "bd",
190              "bb",
191              "by",
192              "be",
193              "bz",
194              "bj",
195              "bm",
196              "bt",
197              "bo",
198              "bq",
199              "ba",
200              "bw",
201              "bv",
202              "br",
203              "io",
204              "bn",
205              "bg",
206              "bf",
207              "bi",
208              "kh",
209              "cm",
210              "cv",
211              "ky",
212              "cf",
213              "td",
214              "cl",
215              "cn",
216              "tw",
217              "hk",
218              "cx",
219              "cc",
220              "co",
221              "km",
222              "cg",
223              "cd",
224              "ck",
225              "cr",
226              "ci",
227              "hr",
228              "cu",
229              "cw",
230              "cy",
231              "cz",
232              "dk",
233              "dj",
234              "dm",
235              "do",
236              "ec",
237              "eg",
238              "sv",
239              "gq",
240              "er",
241              "ee",
242              "et",
243              "fk",
244              "fo",
245              "fj",
246              "fi",
247              "fr",
248              "gf",
249              "pf",
250              "tf",
251              "ga",
252              "gm",
253              "ge",
254              "de",
255              "gh",
256              "gi",
257              "gr",
258              "gl",
259              "gd",
260              "gp",
261              "gu",
262              "gt",
263              "gn",
264              "gw",
265              "gy",
266              "ht",
267              "hm",
268              "hn",
269              "hu",
270              "is",
271              "in",
272              "id",
273              "ir",
274              "iq",
275              "ie",
276              "il",
277              "it",
278              "jm",
279              "jp",
280              "jo",
281              "kz",
282              "ke",
283              "ki",
284              "kp",
285              "kr",
286              "xk",
287              "kw",
288              "kg",
289              "la",
290              "lv",
291              "lb",
292              "ls",
293              "lr",
294              "ly",
295              "li",
296              "lt",
297              "lu",
298              "mo",
299              "mk",
300              "mg",
301              "mw",
302              "my",
303              "mv",
304              "ml",
305              "mt",
306              "mh",
307              "mq",
308              "mr",
309              "mu",
310              "yt",
311              "mx",
312              "fm",
313              "md",
314              "mc",
315              "mn",
316              "me",
317              "ms",
318              "ma",
319              "mz",
320              "mm",
321              "mp",
322              "na",
323              "nr",
324              "np",
325              "nl",
326              "nc",
327              "nz",
328              "ni",
329              "ne",
330              "ng",
331              "nu",
332              "nf",
333              "no",
334              "om",
335              "pk",
336              "pw",
337              "ps",
338              "pa",
339              "pg",
340              "py",
341              "pe",
342              "ph",
343              "pn",
344              "pl",
345              "pt",
346              "pr",
347              "qa",
348              "re",
349              "ro",
350              "rw",
351              "kn",
352              "lc",
353              "sx",
354              "ws",
355              "sm",
356              "st",
357              "sa",
358              "sn",
359              "rs",
360              "sc",
361              "sl",
362              "sg",
363              "sk",
364              "si",
365              "sb",
366              "so",
367              "za",
368              "ss",
369              "es",
370              "lk",
371              "sh",
372              "pm",
373              "vc",
374              "sd",
375              "sr",
376              "sj",
377              "sz",
378              "se",
379              "ch",
380              "sy",
381              "tj",
382              "tz",
383              "th",
384              "tl",
385              "tg",
386              "tk",
387              "to",
388              "tt",
389              "tn",
390              "tr",
391              "xt",
392              "tm",
393              "tc",
394              "tv",
395              "ug",
396              "ua",
397              "ae",
398              "um",
399              "uy",
400              "uz",
401              "vu",
402              "va",
403              "ve",
404              "vn",
405              "vg",
406              "vi",
407              "wf",
408              "eh",
409              "ye",
410              "zm",
411              "zw"
412            ],
413            "type": "string",
414            "description": "Country code to use for searching companies. Applicable only when search type is Companies",
415            "default": "us"
416          },
417          "minEmployeeCount": {
418            "title": "Company search: Minimum employee count",
419            "minimum": 1,
420            "type": "integer",
421            "description": "Minimum employee count to filter companies"
422          },
423          "maxEmployeeCount": {
424            "title": "Company search: Maximum employee count",
425            "minimum": 1,
426            "type": "integer",
427            "description": "Maximum employee count, leave blank for no upper limit"
428          },
429          "entityType": {
430            "title": "Company search: Entity type",
431            "enum": [
432              "9140",
433              "9141",
434              "9159",
435              "12774",
436              "12775"
437            ],
438            "type": "string",
439            "description": "Entity type to filter companies"
440          },
441          "jobTitle": {
442            "title": "Contact search: Job title",
443            "type": "string",
444            "description": "Job title to use for searching contacts. Applicable only when search type is Contacts"
445          },
446          "deepScrape": {
447            "title": "Deep scrape each profiles in search result",
448            "type": "boolean",
449            "description": "Scraper will visit each items in the search results and extract more information",
450            "default": false
451          },
452          "startPage": {
453            "title": "Start page",
454            "minimum": 1,
455            "type": "integer",
456            "description": "Page number to start scraping",
457            "default": 1
458          },
459          "count": {
460            "title": "#️⃣ Total number of records required",
461            "type": "integer",
462            "description": "Leave this field empty if you want to scrape all items."
463          },
464          "urls": {
465            "title": "URLs",
466            "type": "array",
467            "description": "",
468            "items": {
469              "type": "string"
470            }
471          },
472          "proxy": {
473            "title": "Proxy",
474            "type": "object",
475            "description": "Proxy to use for scraping"
476          }
477        }
478      },
479      "runsResponseSchema": {
480        "type": "object",
481        "properties": {
482          "data": {
483            "type": "object",
484            "properties": {
485              "id": {
486                "type": "string"
487              },
488              "actId": {
489                "type": "string"
490              },
491              "userId": {
492                "type": "string"
493              },
494              "startedAt": {
495                "type": "string",
496                "format": "date-time",
497                "example": "2025-01-08T00:00:00.000Z"
498              },
499              "finishedAt": {
500                "type": "string",
501                "format": "date-time",
502                "example": "2025-01-08T00:00:00.000Z"
503              },
504              "status": {
505                "type": "string",
506                "example": "READY"
507              },
508              "meta": {
509                "type": "object",
510                "properties": {
511                  "origin": {
512                    "type": "string",
513                    "example": "API"
514                  },
515                  "userAgent": {
516                    "type": "string"
517                  }
518                }
519              },
520              "stats": {
521                "type": "object",
522                "properties": {
523                  "inputBodyLen": {
524                    "type": "integer",
525                    "example": 2000
526                  },
527                  "rebootCount": {
528                    "type": "integer",
529                    "example": 0
530                  },
531                  "restartCount": {
532                    "type": "integer",
533                    "example": 0
534                  },
535                  "resurrectCount": {
536                    "type": "integer",
537                    "example": 0
538                  },
539                  "computeUnits": {
540                    "type": "integer",
541                    "example": 0
542                  }
543                }
544              },
545              "options": {
546                "type": "object",
547                "properties": {
548                  "build": {
549                    "type": "string",
550                    "example": "latest"
551                  },
552                  "timeoutSecs": {
553                    "type": "integer",
554                    "example": 300
555                  },
556                  "memoryMbytes": {
557                    "type": "integer",
558                    "example": 1024
559                  },
560                  "diskMbytes": {
561                    "type": "integer",
562                    "example": 2048
563                  }
564                }
565              },
566              "buildId": {
567                "type": "string"
568              },
569              "defaultKeyValueStoreId": {
570                "type": "string"
571              },
572              "defaultDatasetId": {
573                "type": "string"
574              },
575              "defaultRequestQueueId": {
576                "type": "string"
577              },
578              "buildNumber": {
579                "type": "string",
580                "example": "1.0.0"
581              },
582              "containerUrl": {
583                "type": "string"
584              },
585              "usage": {
586                "type": "object",
587                "properties": {
588                  "ACTOR_COMPUTE_UNITS": {
589                    "type": "integer",
590                    "example": 0
591                  },
592                  "DATASET_READS": {
593                    "type": "integer",
594                    "example": 0
595                  },
596                  "DATASET_WRITES": {
597                    "type": "integer",
598                    "example": 0
599                  },
600                  "KEY_VALUE_STORE_READS": {
601                    "type": "integer",
602                    "example": 0
603                  },
604                  "KEY_VALUE_STORE_WRITES": {
605                    "type": "integer",
606                    "example": 1
607                  },
608                  "KEY_VALUE_STORE_LISTS": {
609                    "type": "integer",
610                    "example": 0
611                  },
612                  "REQUEST_QUEUE_READS": {
613                    "type": "integer",
614                    "example": 0
615                  },
616                  "REQUEST_QUEUE_WRITES": {
617                    "type": "integer",
618                    "example": 0
619                  },
620                  "DATA_TRANSFER_INTERNAL_GBYTES": {
621                    "type": "integer",
622                    "example": 0
623                  },
624                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
625                    "type": "integer",
626                    "example": 0
627                  },
628                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
629                    "type": "integer",
630                    "example": 0
631                  },
632                  "PROXY_SERPS": {
633                    "type": "integer",
634                    "example": 0
635                  }
636                }
637              },
638              "usageTotalUsd": {
639                "type": "number",
640                "example": 0.00005
641              },
642              "usageUsd": {
643                "type": "object",
644                "properties": {
645                  "ACTOR_COMPUTE_UNITS": {
646                    "type": "integer",
647                    "example": 0
648                  },
649                  "DATASET_READS": {
650                    "type": "integer",
651                    "example": 0
652                  },
653                  "DATASET_WRITES": {
654                    "type": "integer",
655                    "example": 0
656                  },
657                  "KEY_VALUE_STORE_READS": {
658                    "type": "integer",
659                    "example": 0
660                  },
661                  "KEY_VALUE_STORE_WRITES": {
662                    "type": "number",
663                    "example": 0.00005
664                  },
665                  "KEY_VALUE_STORE_LISTS": {
666                    "type": "integer",
667                    "example": 0
668                  },
669                  "REQUEST_QUEUE_READS": {
670                    "type": "integer",
671                    "example": 0
672                  },
673                  "REQUEST_QUEUE_WRITES": {
674                    "type": "integer",
675                    "example": 0
676                  },
677                  "DATA_TRANSFER_INTERNAL_GBYTES": {
678                    "type": "integer",
679                    "example": 0
680                  },
681                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
682                    "type": "integer",
683                    "example": 0
684                  },
685                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
686                    "type": "integer",
687                    "example": 0
688                  },
689                  "PROXY_SERPS": {
690                    "type": "integer",
691                    "example": 0
692                  }
693                }
694              }
695            }
696          }
697        }
698      }
699    }
700  }
701}

Dun and Bradstreet (DNB) Scraper OpenAPI definition

OpenAPI is a standard for designing and describing RESTful APIs, allowing developers to define API structure, endpoints, and data formats in a machine-readable way. It simplifies API development, integration, and documentation.

OpenAPI is effective when used with AI agents and GPTs by standardizing how these systems interact with various APIs, for reliable integrations and efficient communication.

By defining machine-readable API specifications, OpenAPI allows AI models like GPTs to understand and use varied data sources, improving accuracy. This accelerates development, reduces errors, and provides context-aware responses, making OpenAPI a core component for AI applications.

You can download the OpenAPI definitions for Dun and Bradstreet (DNB) Scraper from the options below:

If you’d like to learn more about how OpenAPI powers GPTs, read our blog post.

You can also check out our other API clients:

Developer
Maintained by Community

Actor Metrics

  • 13 monthly users

  • 4 bookmarks

  • 53% runs succeeded

  • Created in Jun 2023

  • Modified 5 days ago

Categories