Bing Search Scraper
No credit card required
Bing Search Scraper
No credit card required
Scrape search results from Bing.com. You can get the total number of results, organic results, paid results, people also ask, related queries and more.
Do you want to learn more about this Actor?
Get a demoYou can access the Bing Search 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": "0.0",
5 "x-build-id": "62labxZdTQZgzYWjR"
6 },
7 "servers": [
8 {
9 "url": "https://api.apify.com/v2"
10 }
11 ],
12 "paths": {
13 "/acts/tri_angle~bing-search-scraper/run-sync-get-dataset-items": {
14 "post": {
15 "operationId": "run-sync-get-dataset-items-tri_angle-bing-search-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/tri_angle~bing-search-scraper/runs": {
50 "post": {
51 "operationId": "runs-sync-tri_angle-bing-search-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/tri_angle~bing-search-scraper/run-sync": {
93 "post": {
94 "operationId": "run-sync-tri_angle-bing-search-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 "queries"
135 ],
136 "properties": {
137 "queries": {
138 "title": "Search term(s)",
139 "pattern": "[^\\s]+",
140 "type": "string",
141 "description": "Use regular search words or enter Bing Search URLs. You can also apply [Bing Advanced Operators](https://support.microsoft.com/en-gb/topic/advanced-search-options-b92e25f1-0085-4271-bdf9-14aaea720930), such as <code>fishing site:fishing.contoso.com</code>."
142 },
143 "resultsPerPage": {
144 "title": "Results per page",
145 "minimum": 1,
146 "maximum": 50,
147 "type": "integer",
148 "description": "",
149 "default": 10
150 },
151 "maxPagesPerQuery": {
152 "title": "Max pages per search",
153 "minimum": 1,
154 "type": "integer",
155 "description": "",
156 "default": 1
157 },
158 "outputPageWithNoResults": {
159 "title": "Output Page with No Results",
160 "type": "boolean",
161 "description": "If checked, pages with no results are going to be included in the output before exiting. Ensures at least one output item is returned, even if no results are found on the first page.",
162 "default": false
163 },
164 "marketCode": {
165 "title": "Market",
166 "enum": [
167 "",
168 "es-AR",
169 "en-AU",
170 "de-AT",
171 "nl-BE",
172 "fr-BE",
173 "pt-BR",
174 "en-CA",
175 "fr-CA",
176 "es-CL",
177 "da-DK",
178 "fi-FI",
179 "fr-FR",
180 "de-DE",
181 "zh-HK",
182 "en-IN",
183 "en-ID",
184 "it-IT",
185 "ja-JP",
186 "ko-KR",
187 "en-MY",
188 "es-MX",
189 "nl-NL",
190 "en-NZ",
191 "no-NO",
192 "zh-CN",
193 "pl-PL",
194 "en-PH",
195 "ru-RU",
196 "en-ZA",
197 "es-ES",
198 "sv-SE",
199 "fr-CH",
200 "de-CH",
201 "zh-TW",
202 "tr-TR",
203 "en-GB",
204 "en-US",
205 "es-US"
206 ],
207 "type": "string",
208 "description": "The market where the results come from, which is passed to Bing Search as the <code>mkt</code> URL query parameter.",
209 "default": ""
210 },
211 "languageCode": {
212 "title": "Language",
213 "enum": [
214 "",
215 "ar",
216 "eu",
217 "bn",
218 "bg",
219 "ca",
220 "zh-hans",
221 "zh-hant",
222 "hr",
223 "cs",
224 "da",
225 "nl",
226 "en",
227 "en-gb",
228 "et",
229 "fi",
230 "fr",
231 "gl",
232 "de",
233 "gu",
234 "he",
235 "hi",
236 "hu",
237 "is",
238 "it",
239 "jp",
240 "kn",
241 "ko",
242 "lv",
243 "lt",
244 "ms",
245 "ml",
246 "mr",
247 "nb",
248 "pl",
249 "pt-br",
250 "pt-pt",
251 "pa",
252 "ro",
253 "ru",
254 "sr",
255 "sk",
256 "sl",
257 "es",
258 "sv",
259 "ta",
260 "te",
261 "th",
262 "tr",
263 "uk",
264 "vi"
265 ],
266 "type": "string",
267 "description": "Language for the search results, which is passed to Bing Search as the <code>setLang</code> URL query parameter.",
268 "default": ""
269 },
270 "maxConcurrency": {
271 "title": "Max concurrency",
272 "minimum": 1,
273 "maximum": 50,
274 "type": "integer",
275 "description": "The maximum number of search results pages the crawler will load in parallel.",
276 "default": 10
277 },
278 "useResidentialProxies": {
279 "title": "Use Residential Proxies",
280 "type": "boolean",
281 "description": "If checked the Actor will use the RESIDENTIAL proxy group instead of Datacenter proxies, with the country matching the market's country.",
282 "default": false
283 },
284 "saveHtml": {
285 "title": "Save HTML to dataset",
286 "type": "boolean",
287 "description": "If checked the HTML of the Bing Search results pages will be stored to the default dataset, under the <code>html</code> property. This is useful if you need to process the HTML, but it makes the dataset large.",
288 "default": false
289 },
290 "saveHtmlToKeyValueStore": {
291 "title": "Save HTML to key-value store",
292 "type": "boolean",
293 "description": "If checked the HTML of the Bing Search results pages will be stored to the default key-value store and links to the files stored to the dataset under the <code>htmlSnapshotUrl</code> property. This is useful for debugging since you can easily view the pages in the browser. However, the use of this feature may slow down the Actor.",
294 "default": false
295 }
296 }
297 },
298 "runsResponseSchema": {
299 "type": "object",
300 "properties": {
301 "data": {
302 "type": "object",
303 "properties": {
304 "id": {
305 "type": "string"
306 },
307 "actId": {
308 "type": "string"
309 },
310 "userId": {
311 "type": "string"
312 },
313 "startedAt": {
314 "type": "string",
315 "format": "date-time",
316 "example": "2025-01-08T00:00:00.000Z"
317 },
318 "finishedAt": {
319 "type": "string",
320 "format": "date-time",
321 "example": "2025-01-08T00:00:00.000Z"
322 },
323 "status": {
324 "type": "string",
325 "example": "READY"
326 },
327 "meta": {
328 "type": "object",
329 "properties": {
330 "origin": {
331 "type": "string",
332 "example": "API"
333 },
334 "userAgent": {
335 "type": "string"
336 }
337 }
338 },
339 "stats": {
340 "type": "object",
341 "properties": {
342 "inputBodyLen": {
343 "type": "integer",
344 "example": 2000
345 },
346 "rebootCount": {
347 "type": "integer",
348 "example": 0
349 },
350 "restartCount": {
351 "type": "integer",
352 "example": 0
353 },
354 "resurrectCount": {
355 "type": "integer",
356 "example": 0
357 },
358 "computeUnits": {
359 "type": "integer",
360 "example": 0
361 }
362 }
363 },
364 "options": {
365 "type": "object",
366 "properties": {
367 "build": {
368 "type": "string",
369 "example": "latest"
370 },
371 "timeoutSecs": {
372 "type": "integer",
373 "example": 300
374 },
375 "memoryMbytes": {
376 "type": "integer",
377 "example": 1024
378 },
379 "diskMbytes": {
380 "type": "integer",
381 "example": 2048
382 }
383 }
384 },
385 "buildId": {
386 "type": "string"
387 },
388 "defaultKeyValueStoreId": {
389 "type": "string"
390 },
391 "defaultDatasetId": {
392 "type": "string"
393 },
394 "defaultRequestQueueId": {
395 "type": "string"
396 },
397 "buildNumber": {
398 "type": "string",
399 "example": "1.0.0"
400 },
401 "containerUrl": {
402 "type": "string"
403 },
404 "usage": {
405 "type": "object",
406 "properties": {
407 "ACTOR_COMPUTE_UNITS": {
408 "type": "integer",
409 "example": 0
410 },
411 "DATASET_READS": {
412 "type": "integer",
413 "example": 0
414 },
415 "DATASET_WRITES": {
416 "type": "integer",
417 "example": 0
418 },
419 "KEY_VALUE_STORE_READS": {
420 "type": "integer",
421 "example": 0
422 },
423 "KEY_VALUE_STORE_WRITES": {
424 "type": "integer",
425 "example": 1
426 },
427 "KEY_VALUE_STORE_LISTS": {
428 "type": "integer",
429 "example": 0
430 },
431 "REQUEST_QUEUE_READS": {
432 "type": "integer",
433 "example": 0
434 },
435 "REQUEST_QUEUE_WRITES": {
436 "type": "integer",
437 "example": 0
438 },
439 "DATA_TRANSFER_INTERNAL_GBYTES": {
440 "type": "integer",
441 "example": 0
442 },
443 "DATA_TRANSFER_EXTERNAL_GBYTES": {
444 "type": "integer",
445 "example": 0
446 },
447 "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
448 "type": "integer",
449 "example": 0
450 },
451 "PROXY_SERPS": {
452 "type": "integer",
453 "example": 0
454 }
455 }
456 },
457 "usageTotalUsd": {
458 "type": "number",
459 "example": 0.00005
460 },
461 "usageUsd": {
462 "type": "object",
463 "properties": {
464 "ACTOR_COMPUTE_UNITS": {
465 "type": "integer",
466 "example": 0
467 },
468 "DATASET_READS": {
469 "type": "integer",
470 "example": 0
471 },
472 "DATASET_WRITES": {
473 "type": "integer",
474 "example": 0
475 },
476 "KEY_VALUE_STORE_READS": {
477 "type": "integer",
478 "example": 0
479 },
480 "KEY_VALUE_STORE_WRITES": {
481 "type": "number",
482 "example": 0.00005
483 },
484 "KEY_VALUE_STORE_LISTS": {
485 "type": "integer",
486 "example": 0
487 },
488 "REQUEST_QUEUE_READS": {
489 "type": "integer",
490 "example": 0
491 },
492 "REQUEST_QUEUE_WRITES": {
493 "type": "integer",
494 "example": 0
495 },
496 "DATA_TRANSFER_INTERNAL_GBYTES": {
497 "type": "integer",
498 "example": 0
499 },
500 "DATA_TRANSFER_EXTERNAL_GBYTES": {
501 "type": "integer",
502 "example": 0
503 },
504 "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
505 "type": "integer",
506 "example": 0
507 },
508 "PROXY_SERPS": {
509 "type": "integer",
510 "example": 0
511 }
512 }
513 }
514 }
515 }
516 }
517 }
518 }
519 }
520}
Bing Search 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 Bing Search 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: