@apifreaks/openapi-specs 0.4.19 → 0.4.20

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -3,7 +3,7 @@
3
3
  "info": {
4
4
  "title": "Website Screenshot API - Full-Page Captures, Scrolling Video & PDF Output",
5
5
  "version": "1.0.0",
6
- "description": "Capture full-page screenshots and videos of websites with advanced options like device simulation, custom code injection, cookie banner blocking, and scrollable content recording. Supports multiple output formats including PNG, JPEG, WebP, PDF, MP4, GIF, and WebM. Returns a screenshot URL, timestamps, format metadata, and all echoed parameters. Returns a 400 error for an invalid or missing url, and a 408 error if the capture exceeds the configured timeout.",
6
+ "description": "Capture full-page screenshots and videos of websites with advanced options like device simulation, custom code injection, cookie banner blocking, and scrollable content recording. Supports multiple output formats including PNG, JPEG, WebP, PDF, MP4, GIF, and WebM. Returns a screenshot URL, timestamps, format metadata, and all echoed parameters. Returns a 400 error for an invalid or missing url, and a 408 error if the capture exceeds the configured timeout. Also supports stealth mode, GPU rendering, classic and premium proxies with country selection, timezone emulation, text captcha solving, and PDF options for paper size, orientation, page range, media type and backgrounds. A simple screenshot costs 50 credits. Options add credits on top: scrolling or video +20, classic proxy +20, premium proxy +200 (used instead of a classic proxy), GPU rendering +20, captcha solver +20. Stealth, timezone and the other options add no credits.",
7
7
  "contact": {
8
8
  "name": "APIFreaks Support",
9
9
  "url": "https://apifreaks.com/contact",
@@ -24,6 +24,26 @@
24
24
  "description": "Capture full-page screenshots and videos of websites with advanced options like device simulation, custom code injection, cookie banner blocking, and scrollable content recording.\nSupports multiple output formats including JSON, image, GIF, MP4, and WebM.\n",
25
25
  "operationId": "websiteScreenshot",
26
26
  "parameters": [
27
+ {
28
+ "name": "url",
29
+ "in": "query",
30
+ "required": true,
31
+ "schema": {
32
+ "type": "string"
33
+ },
34
+ "description": "URL of the website to be rendered as a screenshot or other format."
35
+ },
36
+ {
37
+ "name": "output",
38
+ "in": "query",
39
+ "required": false,
40
+ "schema": {
41
+ "type": "string",
42
+ "enum": ["json", "image"],
43
+ "default": "json"
44
+ },
45
+ "description": "Set the output format. `json` returns metadata with a hosted file URL. `image` streams the raw file bytes directly."
46
+ },
27
47
  {
28
48
  "name": "format",
29
49
  "in": "query",
@@ -33,207 +53,264 @@
33
53
  "enum": ["json"],
34
54
  "default": "json"
35
55
  },
36
- "description": "Response format: 'json'."
56
+ "description": "Response format: json (default)."
37
57
  },
38
58
  {
39
- "name": "output",
59
+ "name": "file_type",
40
60
  "in": "query",
41
61
  "required": false,
42
62
  "schema": {
43
63
  "type": "string",
44
- "enum": ["json", "image"]
64
+ "enum": [
65
+ "PNG",
66
+ "JPEG",
67
+ "WEBP",
68
+ "PDF",
69
+ "MP4",
70
+ "GIF",
71
+ "WEBM",
72
+ "mp4",
73
+ "gif",
74
+ "webm"
75
+ ],
76
+ "default": "PNG"
77
+ },
78
+ "description": "Output format. PNG (lossless, transparency), JPEG (compressed, smaller size), WebP (modern, efficient), PDF (document). For scrolling captures: MP4, GIF, WebM. Scrolling capture formats: WEBM (web-optimized), MP4 (widely compatible, default), GIF (short loops)."
79
+ },
80
+ {
81
+ "name": "image_quality",
82
+ "in": "query",
83
+ "required": false,
84
+ "schema": {
85
+ "type": "integer",
86
+ "default": 80
45
87
  },
46
- "description": "Output format for screenshot results"
88
+ "description": "Compression level for JPEG output (0-100). Lower = smaller file, higher = better quality. Only applies to JPEG."
47
89
  },
48
90
  {
49
- "name": "file_type",
91
+ "name": "omit_background",
92
+ "in": "query",
93
+ "required": false,
94
+ "schema": {
95
+ "type": "boolean",
96
+ "default": false
97
+ },
98
+ "description": "Replaces simple white/plain backgrounds with transparency for a cut-out effect. Only works with PNG output."
99
+ },
100
+ {
101
+ "name": "pdf_options[format]",
50
102
  "in": "query",
51
103
  "required": false,
52
104
  "schema": {
53
105
  "type": "string",
54
- "enum": ["PNG", "JPEG", "WEBP", "PDF", "mp4", "gif", "webm"]
106
+ "enum": [
107
+ "A0",
108
+ "A1",
109
+ "A2",
110
+ "A3",
111
+ "A4",
112
+ "A5",
113
+ "A6",
114
+ "Letter",
115
+ "Legal",
116
+ "Tabloid",
117
+ "Ledger"
118
+ ]
55
119
  },
56
- "description": "File type for screenshot output"
120
+ "description": "Paper size of the PDF. Applies when file_type is PDF. Without it, width and height are used if set, otherwise the page renders as one long page: A0, A1, A2, A3, A4, A5, A6, Letter, Legal, Tabloid, or Ledger."
57
121
  },
58
122
  {
59
- "name": "url",
123
+ "name": "pdf_options[landscape]",
60
124
  "in": "query",
61
- "required": true,
125
+ "required": false,
62
126
  "schema": {
63
- "type": "string"
127
+ "type": "boolean",
128
+ "default": false
64
129
  },
65
- "description": "URLs to capture screenshots of"
130
+ "description": "Renders the PDF in landscape orientation, swapping the width and height of the paper size. Applies when file_type is PDF."
66
131
  },
67
132
  {
68
- "name": "width",
133
+ "name": "pdf_options[page_range]",
69
134
  "in": "query",
70
135
  "required": false,
71
136
  "schema": {
72
- "type": "integer"
137
+ "type": "string"
73
138
  },
74
- "description": "Browser viewport width in pixels"
139
+ "description": "Pages to keep in the PDF, as start-end, for example 1-3 or 5-5. Pages are rendered first and then trimmed. Has no effect on a single-page PDF. Applies when file_type is PDF."
75
140
  },
76
141
  {
77
- "name": "height",
142
+ "name": "pdf_options[media]",
78
143
  "in": "query",
79
144
  "required": false,
80
145
  "schema": {
81
- "type": "integer"
146
+ "type": "string",
147
+ "enum": ["print", "screen"]
82
148
  },
83
- "description": "Browser viewport height in pixels"
149
+ "description": "CSS media type used to render the PDF: print or screen."
84
150
  },
85
151
  {
86
- "name": "full_page",
152
+ "name": "pdf_options[print_background]",
87
153
  "in": "query",
88
154
  "required": false,
89
155
  "schema": {
90
- "type": "boolean"
156
+ "type": "boolean",
157
+ "default": false
91
158
  },
92
- "description": "Capture a full-page screenshot"
159
+ "description": "Includes background colors and images in the PDF. Applies when file_type is PDF."
93
160
  },
94
161
  {
95
- "name": "fresh",
162
+ "name": "result_file_name",
96
163
  "in": "query",
97
164
  "required": false,
98
165
  "schema": {
99
- "type": "boolean"
166
+ "type": "string"
100
167
  },
101
- "description": "Bypass cache and take a fresh screenshot"
168
+ "description": "Custom name for the output file. Helps with organized storage and retrieval. Note: non-unique names may overwrite existing files."
102
169
  },
103
170
  {
104
- "name": "no_cookie_banners",
171
+ "name": "ttl",
105
172
  "in": "query",
106
173
  "required": false,
107
174
  "schema": {
108
- "type": "boolean"
175
+ "type": "integer",
176
+ "default": 2592000
109
177
  },
110
- "description": "Remove cookie banners from the screenshot"
178
+ "description": "Time in seconds the render stays cached before auto-invalidation. Use higher values for static pages, lower for dynamic content. Default: 2592000 (30 days)."
111
179
  },
112
180
  {
113
- "name": "enable_caching",
181
+ "name": "fresh",
114
182
  "in": "query",
115
183
  "required": false,
116
184
  "schema": {
117
- "type": "boolean"
185
+ "type": "boolean",
186
+ "default": true
118
187
  },
119
- "description": "Enable caching for repeated requests"
188
+ "description": "If `true`, bypasses cache and captures a fresh render. If `false`, returns cached version when available."
120
189
  },
121
190
  {
122
- "name": "block_ads",
191
+ "name": "enable_caching",
123
192
  "in": "query",
124
193
  "required": false,
125
194
  "schema": {
126
- "type": "boolean"
195
+ "type": "boolean",
196
+ "default": false
127
197
  },
128
- "description": "Block advertisements on the page"
198
+ "description": "Stores the render in cache for reuse on subsequent identical requests."
129
199
  },
130
200
  {
131
- "name": "block_chat_widgets",
201
+ "name": "destroy_screenshot",
132
202
  "in": "query",
133
203
  "required": false,
134
204
  "schema": {
135
- "type": "boolean"
205
+ "type": "boolean",
206
+ "default": false
136
207
  },
137
- "description": "Block chat widget scripts from loading"
208
+ "description": "If `true`, screenshot/PDF is not stored on server and must be downloaded immediately."
138
209
  },
139
210
  {
140
- "name": "extract_text",
211
+ "name": "fail_on_error",
141
212
  "in": "query",
142
213
  "required": false,
143
214
  "schema": {
144
- "type": "boolean"
215
+ "type": "boolean",
216
+ "default": false
145
217
  },
146
- "description": "Extract visible text from the page"
218
+ "description": "If `true`, returns an error when the target page responds with 4xx or 5xx status."
147
219
  },
148
220
  {
149
- "name": "extract_html",
221
+ "name": "width",
150
222
  "in": "query",
151
223
  "required": false,
152
224
  "schema": {
153
- "type": "boolean"
225
+ "type": "integer",
226
+ "default": 1680
154
227
  },
155
- "description": "Extract HTML content of the page"
228
+ "description": "Viewport width in pixels. Simulates device screen sizes. Max: 7680."
156
229
  },
157
230
  {
158
- "name": "destroy_screenshot",
231
+ "name": "height",
159
232
  "in": "query",
160
233
  "required": false,
161
234
  "schema": {
162
- "type": "boolean"
235
+ "type": "integer",
236
+ "default": 867
163
237
  },
164
- "description": "Auto-destroy screenshot after fetch"
238
+ "description": "Viewport height in pixels. Controls how much vertical area is visible. Max: 4320."
165
239
  },
166
240
  {
167
- "name": "lazy_load",
241
+ "name": "full_page",
168
242
  "in": "query",
169
243
  "required": false,
170
244
  "schema": {
171
- "type": "boolean"
245
+ "type": "boolean",
246
+ "default": false
172
247
  },
173
- "description": "Enable lazy-loading content before screenshot"
248
+ "description": "Captures the entire webpage from top to bottom, including scrollable content outside the viewport. Ideal for long-form pages."
174
249
  },
175
250
  {
176
- "name": "retina",
251
+ "name": "thumbnail_width",
177
252
  "in": "query",
178
253
  "required": false,
179
254
  "schema": {
180
- "type": "boolean"
255
+ "type": "integer"
181
256
  },
182
- "description": "Capture screenshot in high-DPI (Retina) mode"
257
+ "description": "Specifies the width of the thumbnail in pixels. Default value is 0 (meaning no specific value is set, and the screenshot is returned at its original resolution)."
183
258
  },
184
259
  {
185
- "name": "dark_mode",
260
+ "name": "retina",
186
261
  "in": "query",
187
262
  "required": false,
188
263
  "schema": {
189
- "type": "boolean"
264
+ "type": "boolean",
265
+ "default": false
190
266
  },
191
- "description": "Render page in dark mode"
267
+ "description": "Captures at 2x resolution for sharper, high-DPI output. Increases file size."
192
268
  },
193
269
  {
194
- "name": "block_tracking",
270
+ "name": "clip[x]",
195
271
  "in": "query",
196
272
  "required": false,
197
273
  "schema": {
198
- "type": "boolean"
274
+ "type": "integer"
199
275
  },
200
- "description": "Block common user-tracking scripts"
276
+ "description": "X coordinate (in pixels) for the top-left corner of the clip area. Default: null."
201
277
  },
202
278
  {
203
- "name": "enable_incognito",
279
+ "name": "clip[y]",
204
280
  "in": "query",
205
281
  "required": false,
206
282
  "schema": {
207
- "type": "boolean"
283
+ "type": "integer"
208
284
  },
209
- "description": "Enable private/incognito mode for browser session"
285
+ "description": "Y coordinate (in pixels) for the top-left corner of the clip area. Default: null."
210
286
  },
211
287
  {
212
- "name": "omit_background",
288
+ "name": "clip[width]",
213
289
  "in": "query",
214
290
  "required": false,
215
291
  "schema": {
216
- "type": "boolean"
292
+ "type": "integer"
217
293
  },
218
- "description": "Omit background color (transparent background)"
294
+ "description": "Width of the clip area in pixels. Default: null."
219
295
  },
220
296
  {
221
- "name": "thumbnail_width",
297
+ "name": "clip[height]",
222
298
  "in": "query",
223
299
  "required": false,
224
300
  "schema": {
225
301
  "type": "integer"
226
302
  },
227
- "description": "Thumbnail width in pixels"
303
+ "description": "Height of the clip area in pixels. Default: null."
228
304
  },
229
305
  {
230
306
  "name": "adjust_top",
231
307
  "in": "query",
232
308
  "required": false,
233
309
  "schema": {
234
- "type": "integer"
310
+ "type": "integer",
311
+ "default": 0
235
312
  },
236
- "description": "Adjust top in pixels"
313
+ "description": "Initial vertical scroll position in pixels before capture. Use to position mid-page content in viewport. Not supported for PDF."
237
314
  },
238
315
  {
239
316
  "name": "wait_for_event",
@@ -241,90 +318,109 @@
241
318
  "required": false,
242
319
  "schema": {
243
320
  "type": "string",
244
- "enum": ["load", "domcontentloaded", "networkidle"]
321
+ "enum": ["load", "domcontentloaded", "networkidle"],
322
+ "default": "load"
245
323
  },
246
- "description": "Wait for a specific load event before capturing the screenshot."
324
+ "description": "Controls when rendering starts based on page load lifecycle. `load` (all resources), `domcontentloaded` (HTML parsed), `networkidle` (no network activity for 500ms)."
247
325
  },
248
326
  {
249
- "name": "grayscale",
327
+ "name": "delay",
250
328
  "in": "query",
251
329
  "required": false,
252
330
  "schema": {
253
- "type": "integer"
331
+ "type": "integer",
332
+ "default": 0
254
333
  },
255
- "description": "Range:0 to 100 for grayscale filter"
334
+ "description": "Wait period in milliseconds before capture. Allows animations, API responses, and dynamic elements to finish rendering."
256
335
  },
257
336
  {
258
- "name": "delay",
337
+ "name": "lazy_load",
259
338
  "in": "query",
260
339
  "required": false,
261
340
  "schema": {
262
- "type": "integer"
341
+ "type": "boolean",
342
+ "default": false
263
343
  },
264
- "description": "How many milliseconds to wait before taking the screenshot"
344
+ "description": "Automatically scrolls the page to trigger lazy-loaded images and components. Ensures complete content capture."
345
+ },
346
+ {
347
+ "name": "scroll_delay",
348
+ "in": "query",
349
+ "required": false,
350
+ "schema": {
351
+ "type": "integer",
352
+ "default": 500
353
+ },
354
+ "description": "Delay in milliseconds between scroll steps when `lazy_load` is enabled. Use higher values for heavy pages."
265
355
  },
266
356
  {
267
357
  "name": "timeout",
268
358
  "in": "query",
269
359
  "required": false,
270
360
  "schema": {
271
- "type": "integer"
361
+ "type": "integer",
362
+ "default": 100000
272
363
  },
273
- "description": "Maximum timeout in milliseconds. Defalut is `10,000`"
364
+ "description": "Maximum wait in milliseconds for page load before aborting. Adjust for slow/heavy pages. Default: 100000 (100s)."
274
365
  },
275
366
  {
276
- "name": "ttl",
367
+ "name": "selector",
277
368
  "in": "query",
278
369
  "required": false,
279
370
  "schema": {
280
- "type": "integer"
371
+ "type": "string"
281
372
  },
282
- "description": "Number of seconds the screenshot should be cached"
373
+ "description": "CSS selector to capture a specific element. Only that element is rendered. Falls back to full page if not found. Default: empty."
283
374
  },
284
375
  {
285
- "name": "clip[x]",
376
+ "name": "scroll_to_element",
286
377
  "in": "query",
287
378
  "required": false,
288
379
  "schema": {
289
- "type": "integer"
380
+ "type": "string"
290
381
  },
291
- "description": "X position of the clipping rectangle in pixels"
382
+ "description": "Scrolls the page to bring the specified CSS selector into view before capture. Ideal for below-the-fold content. Default: empty."
292
383
  },
293
384
  {
294
- "name": "clip[y]",
385
+ "name": "selector_to_click",
295
386
  "in": "query",
296
387
  "required": false,
297
388
  "schema": {
298
- "type": "integer"
389
+ "type": "string"
299
390
  },
300
- "description": "Y position of the clipping rectangle in pixels"
391
+ "description": "CSS selector for an element to click before capturing the screenshot. Useful for opening dropdowns, modals, or triggering content."
301
392
  },
302
393
  {
303
- "name": "clip[width]",
394
+ "name": "click_recursion",
304
395
  "in": "query",
305
396
  "required": false,
306
397
  "schema": {
307
- "type": "integer"
398
+ "type": "integer",
399
+ "default": 1
308
400
  },
309
- "description": "Width of the clipping rectangle in pixels"
401
+ "description": "Number of times to click the selector (when set via `selector_to_click`)."
310
402
  },
311
403
  {
312
- "name": "clip[height]",
404
+ "name": "blur_selector",
313
405
  "in": "query",
314
406
  "required": false,
407
+ "style": "form",
408
+ "explode": false,
315
409
  "schema": {
316
- "type": "integer"
410
+ "type": "string"
317
411
  },
318
- "description": "Height of the clipping rectangle in pixels"
412
+ "description": "CSS selectors to blur before capture. Masks sensitive data like emails, payments, or personal info. Multiple selectors supported. Default: empty."
319
413
  },
320
414
  {
321
- "name": "css_url",
415
+ "name": "remove_selector",
322
416
  "in": "query",
323
417
  "required": false,
418
+ "style": "form",
419
+ "explode": false,
324
420
  "schema": {
325
421
  "type": "string"
326
422
  },
327
- "description": "URL to CSS file"
423
+ "description": "CSS selectors to remove before capture. Deletes matched elements from DOM. Ideal for cleaning ads, popups, sidebars. Multiple selectors supported. Default: empty."
328
424
  },
329
425
  {
330
426
  "name": "css",
@@ -333,16 +429,16 @@
333
429
  "schema": {
334
430
  "type": "string"
335
431
  },
336
- "description": "Your custom CSS code"
432
+ "description": "Allows injecting custom CSS code into the page before rendering. Pass the CSS code directly as a string."
337
433
  },
338
434
  {
339
- "name": "js_url",
435
+ "name": "css_url",
340
436
  "in": "query",
341
437
  "required": false,
342
438
  "schema": {
343
439
  "type": "string"
344
440
  },
345
- "description": "URL to JS file"
441
+ "description": "Allows loading external CSS into the page. Provide a URL pointing to the CSS file."
346
442
  },
347
443
  {
348
444
  "name": "js",
@@ -351,106 +447,278 @@
351
447
  "schema": {
352
448
  "type": "string"
353
449
  },
354
- "description": "Your JS code"
450
+ "description": "Allows injecting custom JavaScript code into the page before rendering. Pass the JavaScript code directly as a string."
451
+ },
452
+ {
453
+ "name": "js_url",
454
+ "in": "query",
455
+ "required": false,
456
+ "schema": {
457
+ "type": "string"
458
+ },
459
+ "description": "Allows loading external JavaScript into the page. Provide a URL pointing to the script file."
460
+ },
461
+ {
462
+ "name": "custom_html",
463
+ "in": "query",
464
+ "required": false,
465
+ "schema": {
466
+ "type": "string"
467
+ },
468
+ "description": "Custom HTML to render instead of loading a URL. Overrides the url option. Use for capturing specific HTML structures or dynamic content."
469
+ },
470
+ {
471
+ "name": "markdown",
472
+ "in": "query",
473
+ "required": false,
474
+ "schema": {
475
+ "type": "string"
476
+ },
477
+ "description": "Markdown to render instead of loading a URL. Works like custom_html, so you can capture a README or notes without hosting a page."
478
+ },
479
+ {
480
+ "name": "user_agent",
481
+ "in": "query",
482
+ "required": false,
483
+ "schema": {
484
+ "type": "string"
485
+ },
486
+ "description": "Custom User-Agent string sent in the request headers."
487
+ },
488
+ {
489
+ "name": "accept_languages",
490
+ "in": "query",
491
+ "required": false,
492
+ "schema": {
493
+ "type": "string",
494
+ "default": "en-US,en;q=0.8"
495
+ },
496
+ "description": "Sets the accepted languages for the HTTP request. This is sent as the Accept-Language header."
497
+ },
498
+ {
499
+ "name": "dark_mode",
500
+ "in": "query",
501
+ "required": false,
502
+ "schema": {
503
+ "type": "boolean",
504
+ "default": false
505
+ },
506
+ "description": "When set to `true`, websites that support prefers-color-scheme: dark will render in dark mode."
507
+ },
508
+ {
509
+ "name": "grayscale",
510
+ "in": "query",
511
+ "required": false,
512
+ "schema": {
513
+ "type": "integer",
514
+ "default": 0
515
+ },
516
+ "description": "Applies a grayscale filter to the screenshot. Requires a value from 0 (no effect) to 100 (fully grayscale)."
517
+ },
518
+ {
519
+ "name": "enable_incognito",
520
+ "in": "query",
521
+ "required": false,
522
+ "schema": {
523
+ "type": "boolean",
524
+ "default": false
525
+ },
526
+ "description": "Enables private/incognito browsing. Each render starts with a clean slate - no cookies, cache, or session data persisted."
527
+ },
528
+ {
529
+ "name": "headers",
530
+ "in": "query",
531
+ "required": false,
532
+ "schema": {
533
+ "type": "string"
534
+ },
535
+ "description": "Custom HTTP headers to include as key=value pairs. Use a semicolon to separate multiple headers (e.g., `key1=value1;key2=value2`)."
536
+ },
537
+ {
538
+ "name": "cookies",
539
+ "in": "query",
540
+ "required": false,
541
+ "schema": {
542
+ "type": "string"
543
+ },
544
+ "description": "Cookies to include in the request before rendering. Supports single or multiple cookies. Example: `cookie=value; otherCookie=otherValue;`."
545
+ },
546
+ {
547
+ "name": "longitude",
548
+ "in": "query",
549
+ "required": false,
550
+ "schema": {
551
+ "type": "number"
552
+ },
553
+ "description": "Specify longitude for the browser Geolocation API. Provide a numeric value. Default: null (not set)."
554
+ },
555
+ {
556
+ "name": "latitude",
557
+ "in": "query",
558
+ "required": false,
559
+ "schema": {
560
+ "type": "number"
561
+ },
562
+ "description": "Specify latitude for the browser Geolocation API. Provide a numeric value. Default: null (not set)."
563
+ },
564
+ {
565
+ "name": "timezone",
566
+ "in": "query",
567
+ "required": false,
568
+ "schema": {
569
+ "type": "string"
570
+ },
571
+ "description": "IANA timezone the browser uses while rendering, such as Asia/Karachi or Europe/London. Useful for clocks and localized dates."
572
+ },
573
+ {
574
+ "name": "block_ads",
575
+ "in": "query",
576
+ "required": false,
577
+ "schema": {
578
+ "type": "boolean",
579
+ "default": false
580
+ },
581
+ "description": "Blocks requests to known ad networks for cleaner, distraction-free screenshots."
582
+ },
583
+ {
584
+ "name": "block_chat_widgets",
585
+ "in": "query",
586
+ "required": false,
587
+ "schema": {
588
+ "type": "boolean",
589
+ "default": false
590
+ },
591
+ "description": "Blocks live chat popups, support bubbles, and messaging interfaces."
592
+ },
593
+ {
594
+ "name": "block_tracking",
595
+ "in": "query",
596
+ "required": false,
597
+ "schema": {
598
+ "type": "boolean",
599
+ "default": false
600
+ },
601
+ "description": "Blocks tracking scripts and analytics services for cleaner, privacy-oriented renders."
602
+ },
603
+ {
604
+ "name": "no_cookie_banners",
605
+ "in": "query",
606
+ "required": false,
607
+ "schema": {
608
+ "type": "boolean",
609
+ "default": false
610
+ },
611
+ "description": "Hides or blocks cookie consent banners and popups before capture."
355
612
  },
356
613
  {
357
614
  "name": "block_js",
358
615
  "in": "query",
359
616
  "required": false,
360
617
  "schema": {
361
- "type": "boolean"
618
+ "type": "boolean",
619
+ "default": false
362
620
  },
363
- "description": "Block Scripts"
621
+ "description": "Disables all JavaScript execution. Renders a static version of the page. Speeds up capture but may break dynamic content."
364
622
  },
365
623
  {
366
624
  "name": "block_stylesheets",
367
625
  "in": "query",
368
626
  "required": false,
369
627
  "schema": {
370
- "type": "boolean"
628
+ "type": "boolean",
629
+ "default": false
371
630
  },
372
- "description": "Block Stylesheets"
631
+ "description": "Blocks all stylesheets - page renders as raw HTML without visual formatting."
373
632
  },
374
633
  {
375
634
  "name": "block_images",
376
635
  "in": "query",
377
636
  "required": false,
378
637
  "schema": {
379
- "type": "boolean"
638
+ "type": "boolean",
639
+ "default": false
380
640
  },
381
- "description": "Block Images"
641
+ "description": "Blocks all image resources (jpg, png, gif, webp, svg, etc.) for faster rendering."
382
642
  },
383
643
  {
384
644
  "name": "block_media",
385
645
  "in": "query",
386
646
  "required": false,
387
647
  "schema": {
388
- "type": "boolean"
648
+ "type": "boolean",
649
+ "default": false
389
650
  },
390
- "description": "Block Media"
651
+ "description": "Blocks audio and video resources (mp3, mp4, webm, etc.) from loading."
391
652
  },
392
653
  {
393
654
  "name": "block_font",
394
655
  "in": "query",
395
656
  "required": false,
396
657
  "schema": {
397
- "type": "boolean"
658
+ "type": "boolean",
659
+ "default": false
398
660
  },
399
- "description": "Block Fonts"
661
+ "description": "Blocks external font files - page falls back to system defaults. Supported: woff, woff2, ttf, otf, eot."
400
662
  },
401
663
  {
402
664
  "name": "block_text_track",
403
665
  "in": "query",
404
666
  "required": false,
405
667
  "schema": {
406
- "type": "boolean"
668
+ "type": "boolean",
669
+ "default": false
407
670
  },
408
- "description": "Block Text Tracks"
671
+ "description": "Blocks subtitles and caption overlays from loading."
409
672
  },
410
673
  {
411
674
  "name": "block_xhr",
412
675
  "in": "query",
413
676
  "required": false,
414
677
  "schema": {
415
- "type": "boolean"
678
+ "type": "boolean",
679
+ "default": false
416
680
  },
417
- "description": "Block XHR Requests"
681
+ "description": "Blocks all XMLHttpRequest (AJAX) calls - prevents dynamic API-driven content."
418
682
  },
419
683
  {
420
684
  "name": "block_fetch",
421
685
  "in": "query",
422
686
  "required": false,
423
687
  "schema": {
424
- "type": "boolean"
688
+ "type": "boolean",
689
+ "default": false
425
690
  },
426
- "description": "Block Fetch Requests"
691
+ "description": "Blocks all Fetch API requests - stops async data loading."
427
692
  },
428
693
  {
429
694
  "name": "block_event_source",
430
695
  "in": "query",
431
696
  "required": false,
432
697
  "schema": {
433
- "type": "boolean"
698
+ "type": "boolean",
699
+ "default": false
434
700
  },
435
- "description": "Block Event Source"
701
+ "description": "Blocks EventSource (SSE) connections - prevents real-time data streams."
436
702
  },
437
703
  {
438
704
  "name": "block_web_socket",
439
705
  "in": "query",
440
706
  "required": false,
441
707
  "schema": {
442
- "type": "boolean"
708
+ "type": "boolean",
709
+ "default": false
443
710
  },
444
- "description": "Block Web Sockets"
711
+ "description": "Blocks WebSocket connections - prevents real-time bidirectional communication."
445
712
  },
446
713
  {
447
714
  "name": "block_manifest",
448
715
  "in": "query",
449
716
  "required": false,
450
717
  "schema": {
451
- "type": "boolean"
718
+ "type": "boolean",
719
+ "default": false
452
720
  },
453
- "description": "Block Manifest"
721
+ "description": "Blocks manifest files (.json, .webmanifest) - disables PWA-related functionality."
454
722
  },
455
723
  {
456
724
  "name": "block_specific_requests",
@@ -459,259 +727,266 @@
459
727
  "schema": {
460
728
  "type": "string"
461
729
  },
462
- "description": "Comma- or newline-separated list of specific requests to block. Each line and comma are treated as separate requests for processing. Example: https://example.com, https://example.js"
463
- },
464
- {
465
- "name": "blur_selector",
466
- "in": "query",
467
- "required": false,
468
- "style": "form",
469
- "explode": false,
470
- "schema": {
471
- "type": "string"
472
- },
473
- "description": "Comma-separated list of indexed CSS selectors to blur. Format: index:<selector>, e.g., 0:.banner,1:#ads."
730
+ "description": "Fine-grained blocking of specific URLs or patterns. Separate multiple rules by comma, space, or newline. Default: empty."
474
731
  },
475
732
  {
476
- "name": "remove_selector",
733
+ "name": "extract_text",
477
734
  "in": "query",
478
735
  "required": false,
479
- "style": "form",
480
- "explode": false,
481
736
  "schema": {
482
- "type": "string"
737
+ "type": "boolean",
738
+ "default": false
483
739
  },
484
- "description": "Comma-separated list of indexed CSS selectors to remove. Format: index:<selector>, e.g., 0:.banner,1:#ads."
740
+ "description": "Strips all HTML and returns visible text as a .txt file. Ideal for text analysis, indexing, or AI pipelines. Only with output=json."
485
741
  },
486
742
  {
487
- "name": "result_file_name",
743
+ "name": "extract_html",
488
744
  "in": "query",
489
745
  "required": false,
490
746
  "schema": {
491
- "type": "string"
747
+ "type": "boolean",
748
+ "default": false
492
749
  },
493
- "description": "Specify a meaningful and unique file name to easily identify the screenshot result. Avoid using spaces or special characters; use hyphens or underscores to separate words."
750
+ "description": "Returns rendered HTML as a .html file (includes JS-executed DOM). Only available with output=json."
494
751
  },
495
752
  {
496
- "name": "scrolling_screenshot",
753
+ "name": "extract_markdown",
497
754
  "in": "query",
498
755
  "required": false,
499
756
  "schema": {
500
- "type": "boolean"
757
+ "type": "boolean",
758
+ "default": false
501
759
  },
502
- "description": "**`Scrolling Screenshot`**: Capture a long scrolling screenshot. When true, disable `fullPage` and `freshScreenshot`."
760
+ "description": "Extracts rendered page content as a structured .md (Markdown) file. Preserves headings, lists, links. Only with output=json."
503
761
  },
504
762
  {
505
- "name": "scroll_speed",
763
+ "name": "get_image_urls",
506
764
  "in": "query",
507
765
  "required": false,
508
766
  "schema": {
509
- "type": "string",
510
- "enum": ["normal", "fast", "slow"]
767
+ "type": "boolean",
768
+ "default": false
511
769
  },
512
- "description": "Speed of scrolling during the screenshot."
770
+ "description": "Extracts all image URLs from the rendered DOM and returns them in structured format. Only with output=json."
513
771
  },
514
772
  {
515
- "name": "scroll_back",
773
+ "name": "stealth",
516
774
  "in": "query",
517
775
  "required": false,
518
776
  "schema": {
519
- "type": "boolean"
777
+ "type": "boolean",
778
+ "default": false
520
779
  },
521
- "description": "If true, the scroll will reverse back to the top after reaching the bottom."
780
+ "description": "Makes the browser look like a regular visitor for pages that block automated traffic. No extra credits."
522
781
  },
523
782
  {
524
- "name": "start_immediately",
783
+ "name": "gpu",
525
784
  "in": "query",
526
785
  "required": false,
527
786
  "schema": {
528
- "type": "boolean"
787
+ "type": "boolean",
788
+ "default": false
529
789
  },
530
- "description": "If true, the scrolling capture will start immediately upon page load."
790
+ "description": "Renders the page with a GPU, including WebGL and canvas content. Adds 20 credits per request."
531
791
  },
532
792
  {
533
- "name": "multiple_scrolling",
793
+ "name": "proxy",
534
794
  "in": "query",
535
795
  "required": false,
536
796
  "schema": {
537
- "type": "boolean"
797
+ "type": "string"
538
798
  },
539
- "description": "If true, multiple scrolling screenshots will be taken at different viewport sizes."
799
+ "description": "Allows defining a proxy for the connection. Provide a JSON string with keys: server (include port number), username, and password."
540
800
  },
541
801
  {
542
- "name": "sizes",
802
+ "name": "classic_proxy",
543
803
  "in": "query",
544
804
  "required": false,
545
- "style": "form",
546
- "explode": false,
547
805
  "schema": {
548
- "type": "string"
806
+ "type": "boolean",
807
+ "default": false
549
808
  },
550
- "description": "Comma-separated list of viewport sizes in format index:XXw:YYh. Example: sizes=0:120w:300h,1:240w:500h"
809
+ "description": "Loads the page through a datacenter proxy. Adds 20 credits per request. Ignored when premium_proxy is true or a custom proxy is set."
551
810
  },
552
811
  {
553
- "name": "duration",
812
+ "name": "premium_proxy",
554
813
  "in": "query",
555
814
  "required": false,
556
815
  "schema": {
557
- "type": "number",
558
- "minimum": 0,
559
- "maximum": 60
816
+ "type": "boolean",
817
+ "default": false
560
818
  },
561
- "description": "Duration in seconds for the scrolling capture. Acceptable range is 0 to 60 seconds."
819
+ "description": "Loads the page through a residential proxy. Adds 200 credits per request. Used instead of classic_proxy."
562
820
  },
563
821
  {
564
- "name": "fail_on_error",
822
+ "name": "country",
565
823
  "in": "query",
566
824
  "required": false,
567
825
  "schema": {
568
- "type": "boolean"
826
+ "type": "string"
569
827
  },
570
- "description": "If true, returns an error when the target page responds with 4xx or 5xx status."
828
+ "description": "Two-letter country code, such as US or DE, for the exit address of classic_proxy or premium_proxy. Ignored when you send your own proxy. Any two-letter code is sent, including one that is not listed. Classic proxy countries: BG, GE, DE, HN, MD, UA, GB, US. Premium proxy countries: AF, AL, DZ, AO, AG, AR, AM, AW, AU, AT, AZ, BS, BH, BD, BB, BY, BE, BZ, BJ, BT, BO, BQ, BA, BW, BR, BN, BG, BF, BI, CV, KH, CM, CA, KY, CF, TD, CL, CN, CO, KM, CG, CR, CI, HR, CU, CW, CY, CZ, CD, DK, DJ, DM, DO, EC, EG, SV, GQ, EE, SZ, ET, FO, FJ, FI, FR, GF, PF, GA, GM, GE, DE, GH, GI, GR, GL, GD, GP, GU, GT, GG, GN, GW, GY, HT, HN, HK, HU, IS, IN, ID, IR, IQ, IE, IL, IT, JM, JP, JE, JO, KZ, KE, XK, KW, KG, LA, LV, LB, LS, LR, LY, LT, MO, MG, MW, MY, MV, ML, MT, MQ, MR, MU, YT, MX, MD, MN, ME, MA, MZ, MM, NA, NP, NL, NC, NZ, NI, NE, NG, MK, NO, OM, PK, PS, PA, PG, PY, PE, PH, PL, PT, PR, QA, RE, RO, RU, RW, KN, LC, VC, WS, SA, SN, RS, SC, SL, SG, SK, SI, SB, SO, ZA, KR, SS, ES, LK, SD, SR, SE, CH, SY, TW, TJ, TZ, TH, TL, TG, TO, TT, TN, TR, TM, UG, UA, AE, GB, US, UY, UZ, VE, VN, YE, ZM, ZW."
571
829
  },
572
830
  {
573
- "name": "longitude",
831
+ "name": "solve_captcha",
574
832
  "in": "query",
575
833
  "required": false,
576
834
  "schema": {
577
- "type": "number"
835
+ "type": "boolean",
836
+ "default": false
578
837
  },
579
- "description": "Specify longitude for the browser Geolocation API."
838
+ "description": "Solves a captcha made of text drawn in a picture, then takes the screenshot. Requires captcha_image and captcha_input. Adds 20 credits per request."
580
839
  },
581
840
  {
582
- "name": "latitude",
841
+ "name": "captcha_image",
583
842
  "in": "query",
584
843
  "required": false,
585
844
  "schema": {
586
- "type": "number"
845
+ "type": "string"
587
846
  },
588
- "description": "Specify latitude for the browser Geolocation API."
847
+ "description": "CSS selector of the captcha picture. Required when solve_captcha is true."
589
848
  },
590
849
  {
591
- "name": "proxy",
850
+ "name": "captcha_input",
592
851
  "in": "query",
593
852
  "required": false,
594
853
  "schema": {
595
854
  "type": "string"
596
855
  },
597
- "description": "Allows defining a proxy for the connection. Provide a JSON string with keys: server (include port number), username, and password."
856
+ "description": "CSS selector of the box the answer is typed into. Required when solve_captcha is true."
598
857
  },
599
858
  {
600
- "name": "headers",
859
+ "name": "captcha_submit",
601
860
  "in": "query",
602
861
  "required": false,
603
862
  "schema": {
604
863
  "type": "string"
605
864
  },
606
- "description": "Custom HTTP headers to include as key=value pairs. Use a semicolon to separate multiple headers (e.g., key1=value1;key2=value2)."
865
+ "description": "CSS selector of the button to click after the answer is typed."
607
866
  },
608
867
  {
609
- "name": "cookies",
868
+ "name": "captcha_error",
610
869
  "in": "query",
611
870
  "required": false,
612
871
  "schema": {
613
872
  "type": "string"
614
873
  },
615
- "description": "Cookies to include in the request before rendering. Supports single or multiple cookies. Example: cookie=value; otherCookie=otherValue;"
874
+ "description": "CSS selector of the message shown for a wrong answer. While it is visible, the solver tries again."
616
875
  },
617
876
  {
618
- "name": "scroll_to_element",
877
+ "name": "captcha_refresh",
619
878
  "in": "query",
620
879
  "required": false,
621
880
  "schema": {
622
881
  "type": "string"
623
882
  },
624
- "description": "Scrolls the page to bring the specified CSS selector into view before capture."
883
+ "description": "CSS selector of the control that loads a new captcha picture before the next try."
625
884
  },
626
885
  {
627
- "name": "selector",
886
+ "name": "captcha_retries",
628
887
  "in": "query",
629
888
  "required": false,
630
889
  "schema": {
631
- "type": "string"
890
+ "type": "integer",
891
+ "minimum": 1,
892
+ "maximum": 5,
893
+ "default": 3
632
894
  },
633
- "description": "CSS selector to capture a specific element. Only that element is rendered."
895
+ "description": "Number of guesses the solver makes, from 1 to 5."
634
896
  },
635
897
  {
636
- "name": "selector_to_click",
898
+ "name": "ocr_model",
637
899
  "in": "query",
638
900
  "required": false,
639
901
  "schema": {
640
- "type": "string"
902
+ "type": "string",
903
+ "enum": ["mini-ocr-v1", "ocr-v1"],
904
+ "default": "mini-ocr-v1"
641
905
  },
642
- "description": "CSS selector for an element to click before capturing the screenshot."
906
+ "description": "Recognition model used by the captcha solver: mini-ocr-v1 (default) or ocr-v1."
643
907
  },
644
908
  {
645
- "name": "click_recursion",
909
+ "name": "scrolling_screenshot",
646
910
  "in": "query",
647
911
  "required": false,
648
912
  "schema": {
649
- "type": "integer"
913
+ "type": "boolean",
914
+ "default": false
650
915
  },
651
- "description": "Number of times to click the selector (when set via selector_to_click). Default: 1."
916
+ "description": "Enables scrolling screenshot mode to capture a video (webm, gif, mp4) of the webpage."
652
917
  },
653
918
  {
654
- "name": "user_agent",
919
+ "name": "video",
655
920
  "in": "query",
656
921
  "required": false,
657
922
  "schema": {
658
- "type": "string"
923
+ "type": "boolean",
924
+ "default": false
659
925
  },
660
- "description": "Custom User-Agent string sent in the request headers."
926
+ "description": "Records visible viewport only for a specified duration. Use with `duration` parameter. Ideal for dashboards and animations."
661
927
  },
662
928
  {
663
- "name": "accept_languages",
929
+ "name": "scroll_speed",
664
930
  "in": "query",
665
931
  "required": false,
666
932
  "schema": {
667
- "type": "string"
933
+ "type": "string",
934
+ "enum": ["normal", "fast", "slow"],
935
+ "default": "normal"
668
936
  },
669
- "description": "Sets the accepted languages for the HTTP request. Sent as the Accept-Language header."
937
+ "description": "Scrolling speed: fast, normal (default), or slow. Affects render time and output pacing."
670
938
  },
671
939
  {
672
- "name": "scroll_delay",
940
+ "name": "scroll_back",
673
941
  "in": "query",
674
942
  "required": false,
675
943
  "schema": {
676
- "type": "integer"
944
+ "type": "boolean",
945
+ "default": false
677
946
  },
678
- "description": "Delay in milliseconds between scroll steps when lazy_load is enabled."
947
+ "description": "If `true`, scrolls to bottom then back to top, creating a seamless loop."
679
948
  },
680
949
  {
681
- "name": "custom_html",
950
+ "name": "start_immediately",
682
951
  "in": "query",
683
952
  "required": false,
684
953
  "schema": {
685
- "type": "string"
954
+ "type": "boolean",
955
+ "default": false
686
956
  },
687
- "description": "Custom HTML to render instead of loading a URL. Overrides the url option."
957
+ "description": "Starts recording immediately without waiting for full page load."
688
958
  },
689
959
  {
690
- "name": "image_quality",
960
+ "name": "multiple_scrolling",
691
961
  "in": "query",
692
962
  "required": false,
693
963
  "schema": {
694
- "type": "integer"
964
+ "type": "boolean",
965
+ "default": false
695
966
  },
696
- "description": "Compression level for JPEG output (0–100). Lower = smaller file, higher = better quality. Only applies to JPEG."
967
+ "description": "Captures multiple scrolling screenshots at different viewport sizes in one request. Requires the `sizes` parameter."
697
968
  },
698
969
  {
699
- "name": "extract_markdown",
970
+ "name": "sizes",
700
971
  "in": "query",
701
972
  "required": false,
973
+ "style": "form",
974
+ "explode": false,
702
975
  "schema": {
703
- "type": "boolean"
976
+ "type": "string"
704
977
  },
705
- "description": "Extracts rendered page content as a structured .md (Markdown) file."
978
+ "description": "Comma-separated list of screen sizes in the format index:WIDTHw:HEIGHTh, for example 0:1280w:720h,1:390w:844h. Required when `multiple_scrolling` is `true`."
706
979
  },
707
980
  {
708
- "name": "get_image_urls",
981
+ "name": "duration",
709
982
  "in": "query",
710
983
  "required": false,
711
984
  "schema": {
712
- "type": "boolean"
985
+ "type": "integer",
986
+ "minimum": 0,
987
+ "maximum": 60
713
988
  },
714
- "description": "Extracts all image URLs from the rendered DOM and returns them in structured format."
989
+ "description": "Duration of scrolling action in seconds (0-60). Higher = longer video. Default: null (full page scroll)."
715
990
  }
716
991
  ],
717
992
  "responses": {
@@ -951,6 +1226,16 @@
951
1226
  "message": "The request was aborted before it completed, for example due to a timeout or cancellation.",
952
1227
  "path": "/v3/screenshot"
953
1228
  }
1229
+ },
1230
+ "errAddressUnreachable": {
1231
+ "summary": "Target address unreachable",
1232
+ "value": {
1233
+ "timestamp": "2026-07-27T10:19:12.500Z",
1234
+ "status": 400,
1235
+ "error": "ERR_ADDRESS_UNREACHABLE",
1236
+ "message": "Target address is unreachable. Please check the URL or network connectivity.",
1237
+ "path": "/v3/screenshot"
1238
+ }
954
1239
  }
955
1240
  },
956
1241
  "schema": {
@@ -1215,119 +1500,119 @@
1215
1500
  },
1216
1501
  "file_type": {
1217
1502
  "type": "string",
1218
- "description": "The file type of the output (e.g., PNG, JPEG)."
1503
+ "description": "The file type of the output."
1219
1504
  },
1220
1505
  "width": {
1221
1506
  "type": "integer",
1222
- "description": "Viewport width used for capture in pixels."
1507
+ "description": "The viewport width that was used in pixels."
1223
1508
  },
1224
1509
  "height": {
1225
1510
  "type": "integer",
1226
- "description": "Viewport height used for capture in pixels."
1511
+ "description": "The viewport height that was used in pixels."
1227
1512
  },
1228
1513
  "fresh": {
1229
1514
  "type": "boolean",
1230
- "description": "Whether a fresh render was performed."
1515
+ "description": "Whether a fresh render was performed (`true`/`false`)."
1231
1516
  },
1232
1517
  "full_page": {
1233
1518
  "type": "boolean",
1234
- "description": "Whether full page capture was used."
1519
+ "description": "Whether full page capture was used (`true`/`false`)."
1235
1520
  },
1236
1521
  "lazy_load": {
1237
1522
  "type": "boolean",
1238
- "description": "Whether lazy loading was triggered."
1523
+ "description": "Whether lazy loading was triggered (`true`/`false`)."
1239
1524
  },
1240
1525
  "retina": {
1241
1526
  "type": "boolean",
1242
- "description": "Whether retina capture was used."
1527
+ "description": "Whether retina capture was used (`true`/`false`)."
1243
1528
  },
1244
1529
  "dark_mode": {
1245
1530
  "type": "boolean",
1246
- "description": "Whether dark mode was enabled."
1531
+ "description": "Whether dark mode was enabled (`true`/`false`)."
1247
1532
  },
1248
1533
  "enable_caching": {
1249
1534
  "type": "boolean",
1250
- "description": "Whether caching was enabled."
1535
+ "description": "Whether caching was enabled (`true`/`false`)."
1251
1536
  },
1252
1537
  "omit_background": {
1253
1538
  "type": "boolean",
1254
- "description": "Whether background was removed."
1539
+ "description": "Whether background was removed (`true`/`false`)."
1255
1540
  },
1256
1541
  "destroy_screenshot": {
1257
1542
  "type": "boolean",
1258
- "description": "Whether the screenshot was destroyed after generation."
1543
+ "description": "Whether the screenshot was destroyed after generation (`true`/`false`)."
1259
1544
  },
1260
1545
  "fail_on_error": {
1261
1546
  "type": "boolean",
1262
- "description": "Whether the request failed on error."
1547
+ "description": "Whether the request failed on error (`true`/`false`)."
1263
1548
  },
1264
1549
  "block_ads": {
1265
1550
  "type": "boolean",
1266
- "description": "Whether ads were blocked."
1551
+ "description": "Whether ads were blocked (`true`/`false`)."
1267
1552
  },
1268
1553
  "no_cookie_banners": {
1269
1554
  "type": "boolean",
1270
- "description": "Whether cookie banners were blocked."
1555
+ "description": "Whether cookie banners were blocked (`true`/`false`)."
1271
1556
  },
1272
1557
  "block_chat_widgets": {
1273
1558
  "type": "boolean",
1274
- "description": "Whether chat widgets were blocked."
1559
+ "description": "Whether chat widgets were blocked (`true`/`false`)."
1275
1560
  },
1276
1561
  "block_tracking": {
1277
1562
  "type": "boolean",
1278
- "description": "Whether tracking scripts were blocked."
1563
+ "description": "Whether tracking scripts were blocked (`true`/`false`)."
1279
1564
  },
1280
1565
  "block_js": {
1281
1566
  "type": "boolean",
1282
- "description": "Whether JavaScript was blocked."
1567
+ "description": "Whether JavaScript was blocked (`true`/`false`)."
1283
1568
  },
1284
1569
  "block_stylesheets": {
1285
1570
  "type": "boolean",
1286
- "description": "Whether stylesheets were blocked."
1571
+ "description": "Whether stylesheets were blocked (`true`/`false`)."
1287
1572
  },
1288
1573
  "block_images": {
1289
1574
  "type": "boolean",
1290
- "description": "Whether images were blocked."
1575
+ "description": "Whether images were blocked (`true`/`false`)."
1291
1576
  },
1292
1577
  "block_media": {
1293
1578
  "type": "boolean",
1294
- "description": "Whether media files were blocked."
1579
+ "description": "Whether media files were blocked (`true`/`false`)."
1295
1580
  },
1296
1581
  "block_font": {
1297
1582
  "type": "boolean",
1298
- "description": "Whether fonts were blocked."
1583
+ "description": "Whether fonts were blocked (`true`/`false`)."
1299
1584
  },
1300
1585
  "block_xhr": {
1301
1586
  "type": "boolean",
1302
- "description": "Whether XHR requests were blocked."
1587
+ "description": "Whether XHR requests were blocked (`true`/`false`)."
1303
1588
  },
1304
1589
  "block_fetch": {
1305
1590
  "type": "boolean",
1306
- "description": "Whether Fetch API requests were blocked."
1591
+ "description": "Whether Fetch API requests were blocked (`true`/`false`)."
1307
1592
  },
1308
1593
  "block_web_socket": {
1309
1594
  "type": "boolean",
1310
- "description": "Whether WebSocket connections were blocked."
1595
+ "description": "Whether WebSocket connections were blocked (`true`/`false`)."
1311
1596
  },
1312
1597
  "block_manifest": {
1313
1598
  "type": "boolean",
1314
- "description": "Whether manifest files were blocked."
1599
+ "description": "Whether manifest files were blocked (`true`/`false`)."
1315
1600
  },
1316
1601
  "extract_text": {
1317
1602
  "type": "boolean",
1318
- "description": "Whether text content was extracted."
1603
+ "description": "Whether text content was extracted (`true`/`false`)."
1319
1604
  },
1320
1605
  "extract_html": {
1321
1606
  "type": "boolean",
1322
- "description": "Whether HTML content was extracted."
1607
+ "description": "Whether HTML content was extracted (`true`/`false`)."
1323
1608
  },
1324
1609
  "extract_markdown": {
1325
1610
  "type": "boolean",
1326
- "description": "Whether markdown extraction was enabled."
1611
+ "description": "Whether markdown extraction was enabled (`true`/`false`)."
1327
1612
  },
1328
1613
  "get_image_urls": {
1329
1614
  "type": "boolean",
1330
- "description": "Whether image URL extraction was enabled."
1615
+ "description": "Whether image URL extraction was enabled (`true`/`false`)."
1331
1616
  },
1332
1617
  "longitude": {
1333
1618
  "type": "number",
@@ -1361,7 +1646,7 @@
1361
1646
  },
1362
1647
  "selector_to_click": {
1363
1648
  "type": "string",
1364
- "description": "The CSS selector that was clicked before capture."
1649
+ "description": "The CSS selector of the element that was clicked before capture."
1365
1650
  },
1366
1651
  "click_recursion": {
1367
1652
  "type": "integer",
@@ -1435,18 +1720,18 @@
1435
1720
  },
1436
1721
  "scrolling_screenshot": {
1437
1722
  "type": "boolean",
1438
- "description": "Whether scrolling screenshot mode was enabled."
1723
+ "description": "Whether scrolling screenshot mode was enabled (`true`/`false`)."
1439
1724
  },
1440
1725
  "multiple_scrolling": {
1441
1726
  "type": "boolean",
1442
- "description": "Whether multiple scrolling captures were performed."
1727
+ "description": "Whether multiple scrolling captures were performed (`true`/`false`)."
1443
1728
  },
1444
1729
  "sizes": {
1445
1730
  "type": "array",
1446
1731
  "items": {
1447
1732
  "type": "string"
1448
1733
  },
1449
- "description": "The dimensions used for each capture."
1734
+ "description": "The dimensions used for each capture in the array."
1450
1735
  },
1451
1736
  "scroll_speed": {
1452
1737
  "type": "string",
@@ -1470,7 +1755,59 @@
1470
1755
  },
1471
1756
  "enable_incognito": {
1472
1757
  "type": "boolean",
1473
- "description": "Whether incognito mode was enabled."
1758
+ "description": "Whether incognito mode was enabled (`true`/`false`)."
1759
+ },
1760
+ "extracted_html": {
1761
+ "type": "string",
1762
+ "description": "URL of the extracted HTML from the webpage.",
1763
+ "format": "uri"
1764
+ },
1765
+ "extracted_text": {
1766
+ "type": "string",
1767
+ "description": "URL of the extracted plain text from the webpage.",
1768
+ "format": "uri"
1769
+ },
1770
+ "custom_html": {
1771
+ "type": "string",
1772
+ "description": "The custom HTML content that was rendered."
1773
+ },
1774
+ "block_text_track": {
1775
+ "type": "boolean",
1776
+ "description": "Whether text tracks were blocked (`true`/`false`)."
1777
+ },
1778
+ "block_event_source": {
1779
+ "type": "boolean",
1780
+ "description": "Whether EventSource connections were blocked (`true`/`false`)."
1781
+ },
1782
+ "block_specific_requests": {
1783
+ "type": "string",
1784
+ "description": "The specific requests that were blocked."
1785
+ },
1786
+ "clip": {
1787
+ "type": "object",
1788
+ "description": "The dimensions of the clipped area that was captured.",
1789
+ "properties": {
1790
+ "x": {
1791
+ "type": "integer"
1792
+ },
1793
+ "y": {
1794
+ "type": "integer"
1795
+ },
1796
+ "width": {
1797
+ "type": "integer"
1798
+ },
1799
+ "height": {
1800
+ "type": "integer"
1801
+ }
1802
+ }
1803
+ },
1804
+ "scroll_delay": {
1805
+ "type": "integer",
1806
+ "description": "The delay between scroll steps that was applied in milliseconds."
1807
+ },
1808
+ "video": {
1809
+ "type": "boolean",
1810
+ "description": "Whether viewport recording mode was enabled (`true`/`false`)."
1474
1811
  }
1475
1812
  }
1476
1813
  },