@apifreaks/openapi-specs 0.1.0
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.
- package/LICENSE +21 -0
- package/README.md +156 -0
- package/dist/index.cjs +44663 -0
- package/dist/index.d.cts +30 -0
- package/dist/index.d.ts +30 -0
- package/dist/index.js +44631 -0
- package/package.json +81 -0
- package/specs/commodity/commodity-fluctuation.json +301 -0
- package/specs/commodity/commodity-prices.json +317 -0
- package/specs/commodity/commodity-symbols.json +215 -0
- package/specs/commodity/commodity-time-series.json +329 -0
- package/specs/commodity/historical-commodity-prices.json +273 -0
- package/specs/currency/currency-converter.json +261 -0
- package/specs/currency/currency-fluctuation.json +282 -0
- package/specs/currency/currency-historical-data-limit.json +158 -0
- package/specs/currency/currency-rate.json +229 -0
- package/specs/currency/currency-supported.json +234 -0
- package/specs/currency/currency-symbols.json +161 -0
- package/specs/currency/currency-time-series.json +325 -0
- package/specs/currency/geolocalized-currency-conversion.json +287 -0
- package/specs/currency/historical-currency-converter.json +269 -0
- package/specs/currency/historical-currency-rate.json +246 -0
- package/specs/dns/bulk-dns-lookup.json +624 -0
- package/specs/dns/dns-history-lookup.json +579 -0
- package/specs/dns/dns-lookup.json +466 -0
- package/specs/dns/reverse-dns-lookup.json +414 -0
- package/specs/domain/bulk-domain-checker.json +284 -0
- package/specs/domain/domain-search-with-suggestions.json +280 -0
- package/specs/domain/domain-search.json +206 -0
- package/specs/domain/subdomain-lookup.json +343 -0
- package/specs/email-validation/bulk-email-validation.json +534 -0
- package/specs/email-validation/email-checker.json +586 -0
- package/specs/financial/bulk-vat-rates-country.json +341 -0
- package/specs/financial/financial-apis-supported-countries.json +204 -0
- package/specs/financial/iban-validation.json +328 -0
- package/specs/financial/swift-code-finder.json +192 -0
- package/specs/financial/swift-code-lookup.json +220 -0
- package/specs/financial/vat-number-validation.json +283 -0
- package/specs/financial/vat-rates-by-ip.json +275 -0
- package/specs/financial/vat-rates-country.json +288 -0
- package/specs/general/usage-credits.json +218 -0
- package/specs/geocoding/forward-geocoding.json +402 -0
- package/specs/geocoding/reverse-geocoding.json +326 -0
- package/specs/geodb/administrative-units-details.json +250 -0
- package/specs/geodb/administrative-units-levels.json +198 -0
- package/specs/geodb/administrative-units.json +237 -0
- package/specs/geodb/cities.json +288 -0
- package/specs/geodb/countries-details.json +274 -0
- package/specs/geodb/countries.json +276 -0
- package/specs/geodb/flags-supported.json +166 -0
- package/specs/geodb/flags.json +227 -0
- package/specs/geodb/regions.json +109 -0
- package/specs/geodb/subregions.json +217 -0
- package/specs/ip-intelligence/bulk-ip-lookup.json +1162 -0
- package/specs/ip-intelligence/bulk-ip-threat-intelligence.json +417 -0
- package/specs/ip-intelligence/ip-locator.json +941 -0
- package/specs/ip-intelligence/ip-threat-intelligence.json +316 -0
- package/specs/other/astronomy-data.json +803 -0
- package/specs/pdf/delete-pdf-page.json +286 -0
- package/specs/pdf/linearize-pdf.json +277 -0
- package/specs/pdf/merge-pdf.json +285 -0
- package/specs/pdf/pdf-compress.json +304 -0
- package/specs/pdf/pdf-decrypt.json +297 -0
- package/specs/pdf/pdf-encrypt.json +314 -0
- package/specs/pdf/pdf-extract-pages.json +295 -0
- package/specs/pdf/pdf-file-status.json +208 -0
- package/specs/pdf/pdf-file.json +190 -0
- package/specs/pdf/pdf-files.json +126 -0
- package/specs/pdf/pdf-resource-download.json +168 -0
- package/specs/pdf/pdf-resource-upload-binary.json +218 -0
- package/specs/pdf/pdf-resource-upload.json +248 -0
- package/specs/pdf/pdf-restrict.json +343 -0
- package/specs/pdf/pdf-split-pages.json +281 -0
- package/specs/pdf/pdf-task-status.json +252 -0
- package/specs/pdf/pdf-to-image.json +1219 -0
- package/specs/pdf/pdf-unrestrict.json +324 -0
- package/specs/pdf/rotate-pdf-pages.json +305 -0
- package/specs/phone-validation/bulk-phone-number-validation.json +518 -0
- package/specs/phone-validation/phone-number-validation.json +456 -0
- package/specs/scraper/web-scraper.json +674 -0
- package/specs/screenshot/bulk-screenshot.json +949 -0
- package/specs/screenshot/website-screenshot.json +1147 -0
- package/specs/ssl/ssl-certificate-chain-lookup.json +756 -0
- package/specs/ssl/ssl-certificate-lookup.json +634 -0
- package/specs/timezone/timezone-converter.json +362 -0
- package/specs/timezone/timezone-lookup.json +910 -0
- package/specs/user-agent/bulk-user-agent-parser.json +441 -0
- package/specs/user-agent/user-agent-parser.json +346 -0
- package/specs/weather/air-quality.json +779 -0
- package/specs/weather/bulk-live-weather.json +834 -0
- package/specs/weather/flood-forecast.json +693 -0
- package/specs/weather/historical-weather.json +1019 -0
- package/specs/weather/live-weather.json +789 -0
- package/specs/weather/marine-weather.json +940 -0
- package/specs/weather/time-series-weather.json +1056 -0
- package/specs/weather/weather-forecast.json +1202 -0
- package/specs/whois/asn-lookup.json +729 -0
- package/specs/whois/bulk-whois-lookup.json +698 -0
- package/specs/whois/domain-whois-history-lookup.json +500 -0
- package/specs/whois/reverse-whois.json +625 -0
- package/specs/whois/whois-domain-lookup.json +533 -0
- package/specs/whois/whois-ip-lookup.json +1110 -0
- package/specs/zip-code/bulk-zip-code-lookup.json +318 -0
- package/specs/zip-code/zip-code-api.json +299 -0
- package/specs/zip-code/zip-code-distance-match.json +311 -0
- package/specs/zip-code/zip-code-distance.json +307 -0
- package/specs/zip-code/zip-codes-by-city.json +279 -0
- package/specs/zip-code/zip-codes-by-region.json +278 -0
- package/specs/zip-code/zip-codes-radius-search.json +349 -0
|
@@ -0,0 +1,1147 @@
|
|
|
1
|
+
{
|
|
2
|
+
"openapi": "3.1.1",
|
|
3
|
+
"info": {
|
|
4
|
+
"title": "Website Screenshot API - Full-Page Captures, Scrolling Video & PDF Output",
|
|
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.",
|
|
7
|
+
"contact": {
|
|
8
|
+
"name": "APIFreaks Support",
|
|
9
|
+
"url": "https://apifreaks.com/contact",
|
|
10
|
+
"email": "support@apifreaks.com"
|
|
11
|
+
}
|
|
12
|
+
},
|
|
13
|
+
"servers": [
|
|
14
|
+
{
|
|
15
|
+
"url": "https://api.apifreaks.com/v1.0",
|
|
16
|
+
"description": "Website Screenshot API Server"
|
|
17
|
+
}
|
|
18
|
+
],
|
|
19
|
+
"paths": {
|
|
20
|
+
"/screenshot": {
|
|
21
|
+
"get": {
|
|
22
|
+
"tags": ["Screenshot APIs"],
|
|
23
|
+
"summary": "Build screenshots the way real users see the web — not just what fits on the screen.",
|
|
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
|
+
"operationId": "websiteScreenshot",
|
|
26
|
+
"parameters": [
|
|
27
|
+
{
|
|
28
|
+
"name": "format",
|
|
29
|
+
"in": "query",
|
|
30
|
+
"required": false,
|
|
31
|
+
"schema": {
|
|
32
|
+
"type": "string",
|
|
33
|
+
"enum": ["json"],
|
|
34
|
+
"default": "json"
|
|
35
|
+
},
|
|
36
|
+
"description": "Response format: 'json'."
|
|
37
|
+
},
|
|
38
|
+
{
|
|
39
|
+
"name": "output",
|
|
40
|
+
"in": "query",
|
|
41
|
+
"required": false,
|
|
42
|
+
"schema": {
|
|
43
|
+
"type": "string",
|
|
44
|
+
"enum": ["json", "image"]
|
|
45
|
+
},
|
|
46
|
+
"description": "Output format for screenshot results"
|
|
47
|
+
},
|
|
48
|
+
{
|
|
49
|
+
"name": "file_type",
|
|
50
|
+
"in": "query",
|
|
51
|
+
"required": false,
|
|
52
|
+
"schema": {
|
|
53
|
+
"type": "string",
|
|
54
|
+
"enum": ["PNG", "JPEG", "WEBP", "PDF", "mp4", "gif", "webm"]
|
|
55
|
+
},
|
|
56
|
+
"description": "File type for screenshot output"
|
|
57
|
+
},
|
|
58
|
+
{
|
|
59
|
+
"name": "url",
|
|
60
|
+
"in": "query",
|
|
61
|
+
"required": true,
|
|
62
|
+
"schema": {
|
|
63
|
+
"type": "string"
|
|
64
|
+
},
|
|
65
|
+
"description": "URLs to capture screenshots of"
|
|
66
|
+
},
|
|
67
|
+
{
|
|
68
|
+
"name": "width",
|
|
69
|
+
"in": "query",
|
|
70
|
+
"required": false,
|
|
71
|
+
"schema": {
|
|
72
|
+
"type": "integer"
|
|
73
|
+
},
|
|
74
|
+
"description": "Browser viewport width in pixels"
|
|
75
|
+
},
|
|
76
|
+
{
|
|
77
|
+
"name": "height",
|
|
78
|
+
"in": "query",
|
|
79
|
+
"required": false,
|
|
80
|
+
"schema": {
|
|
81
|
+
"type": "integer"
|
|
82
|
+
},
|
|
83
|
+
"description": "Browser viewport height in pixels"
|
|
84
|
+
},
|
|
85
|
+
{
|
|
86
|
+
"name": "full_page",
|
|
87
|
+
"in": "query",
|
|
88
|
+
"required": false,
|
|
89
|
+
"schema": {
|
|
90
|
+
"type": "boolean"
|
|
91
|
+
},
|
|
92
|
+
"description": "Capture a full-page screenshot"
|
|
93
|
+
},
|
|
94
|
+
{
|
|
95
|
+
"name": "fresh",
|
|
96
|
+
"in": "query",
|
|
97
|
+
"required": false,
|
|
98
|
+
"schema": {
|
|
99
|
+
"type": "boolean"
|
|
100
|
+
},
|
|
101
|
+
"description": "Bypass cache and take a fresh screenshot"
|
|
102
|
+
},
|
|
103
|
+
{
|
|
104
|
+
"name": "no_cookie_banners",
|
|
105
|
+
"in": "query",
|
|
106
|
+
"required": false,
|
|
107
|
+
"schema": {
|
|
108
|
+
"type": "boolean"
|
|
109
|
+
},
|
|
110
|
+
"description": "Remove cookie banners from the screenshot"
|
|
111
|
+
},
|
|
112
|
+
{
|
|
113
|
+
"name": "enable_caching",
|
|
114
|
+
"in": "query",
|
|
115
|
+
"required": false,
|
|
116
|
+
"schema": {
|
|
117
|
+
"type": "boolean"
|
|
118
|
+
},
|
|
119
|
+
"description": "Enable caching for repeated requests"
|
|
120
|
+
},
|
|
121
|
+
{
|
|
122
|
+
"name": "block_ads",
|
|
123
|
+
"in": "query",
|
|
124
|
+
"required": false,
|
|
125
|
+
"schema": {
|
|
126
|
+
"type": "boolean"
|
|
127
|
+
},
|
|
128
|
+
"description": "Block advertisements on the page"
|
|
129
|
+
},
|
|
130
|
+
{
|
|
131
|
+
"name": "block_chat_widgets",
|
|
132
|
+
"in": "query",
|
|
133
|
+
"required": false,
|
|
134
|
+
"schema": {
|
|
135
|
+
"type": "boolean"
|
|
136
|
+
},
|
|
137
|
+
"description": "Block chat widget scripts from loading"
|
|
138
|
+
},
|
|
139
|
+
{
|
|
140
|
+
"name": "extract_text",
|
|
141
|
+
"in": "query",
|
|
142
|
+
"required": false,
|
|
143
|
+
"schema": {
|
|
144
|
+
"type": "boolean"
|
|
145
|
+
},
|
|
146
|
+
"description": "Extract visible text from the page"
|
|
147
|
+
},
|
|
148
|
+
{
|
|
149
|
+
"name": "extract_html",
|
|
150
|
+
"in": "query",
|
|
151
|
+
"required": false,
|
|
152
|
+
"schema": {
|
|
153
|
+
"type": "boolean"
|
|
154
|
+
},
|
|
155
|
+
"description": "Extract HTML content of the page"
|
|
156
|
+
},
|
|
157
|
+
{
|
|
158
|
+
"name": "destroy_screenshot",
|
|
159
|
+
"in": "query",
|
|
160
|
+
"required": false,
|
|
161
|
+
"schema": {
|
|
162
|
+
"type": "boolean"
|
|
163
|
+
},
|
|
164
|
+
"description": "Auto-destroy screenshot after fetch"
|
|
165
|
+
},
|
|
166
|
+
{
|
|
167
|
+
"name": "lazy_load",
|
|
168
|
+
"in": "query",
|
|
169
|
+
"required": false,
|
|
170
|
+
"schema": {
|
|
171
|
+
"type": "boolean"
|
|
172
|
+
},
|
|
173
|
+
"description": "Enable lazy-loading content before screenshot"
|
|
174
|
+
},
|
|
175
|
+
{
|
|
176
|
+
"name": "retina",
|
|
177
|
+
"in": "query",
|
|
178
|
+
"required": false,
|
|
179
|
+
"schema": {
|
|
180
|
+
"type": "boolean"
|
|
181
|
+
},
|
|
182
|
+
"description": "Capture screenshot in high-DPI (Retina) mode"
|
|
183
|
+
},
|
|
184
|
+
{
|
|
185
|
+
"name": "dark_mode",
|
|
186
|
+
"in": "query",
|
|
187
|
+
"required": false,
|
|
188
|
+
"schema": {
|
|
189
|
+
"type": "boolean"
|
|
190
|
+
},
|
|
191
|
+
"description": "Render page in dark mode"
|
|
192
|
+
},
|
|
193
|
+
{
|
|
194
|
+
"name": "block_tracking",
|
|
195
|
+
"in": "query",
|
|
196
|
+
"required": false,
|
|
197
|
+
"schema": {
|
|
198
|
+
"type": "boolean"
|
|
199
|
+
},
|
|
200
|
+
"description": "Block common user-tracking scripts"
|
|
201
|
+
},
|
|
202
|
+
{
|
|
203
|
+
"name": "enable_incognito",
|
|
204
|
+
"in": "query",
|
|
205
|
+
"required": false,
|
|
206
|
+
"schema": {
|
|
207
|
+
"type": "boolean"
|
|
208
|
+
},
|
|
209
|
+
"description": "Enable private/incognito mode for browser session"
|
|
210
|
+
},
|
|
211
|
+
{
|
|
212
|
+
"name": "omit_background",
|
|
213
|
+
"in": "query",
|
|
214
|
+
"required": false,
|
|
215
|
+
"schema": {
|
|
216
|
+
"type": "boolean"
|
|
217
|
+
},
|
|
218
|
+
"description": "Omit background color (transparent background)"
|
|
219
|
+
},
|
|
220
|
+
{
|
|
221
|
+
"name": "thumbnail_width",
|
|
222
|
+
"in": "query",
|
|
223
|
+
"required": false,
|
|
224
|
+
"schema": {
|
|
225
|
+
"type": "integer"
|
|
226
|
+
},
|
|
227
|
+
"description": "Thumbnail width in pixels"
|
|
228
|
+
},
|
|
229
|
+
{
|
|
230
|
+
"name": "adjust_top",
|
|
231
|
+
"in": "query",
|
|
232
|
+
"required": false,
|
|
233
|
+
"schema": {
|
|
234
|
+
"type": "integer"
|
|
235
|
+
},
|
|
236
|
+
"description": "Adjust top in pixels"
|
|
237
|
+
},
|
|
238
|
+
{
|
|
239
|
+
"name": "wait_for_event",
|
|
240
|
+
"in": "query",
|
|
241
|
+
"required": false,
|
|
242
|
+
"schema": {
|
|
243
|
+
"type": "string",
|
|
244
|
+
"enum": ["load", "domcontentloaded", "networkidle"]
|
|
245
|
+
},
|
|
246
|
+
"description": "Wait for a specific load event before capturing the screenshot."
|
|
247
|
+
},
|
|
248
|
+
{
|
|
249
|
+
"name": "grayscale",
|
|
250
|
+
"in": "query",
|
|
251
|
+
"required": false,
|
|
252
|
+
"schema": {
|
|
253
|
+
"type": "integer"
|
|
254
|
+
},
|
|
255
|
+
"description": "Range:0 to 100 for grayscale filter"
|
|
256
|
+
},
|
|
257
|
+
{
|
|
258
|
+
"name": "delay",
|
|
259
|
+
"in": "query",
|
|
260
|
+
"required": false,
|
|
261
|
+
"schema": {
|
|
262
|
+
"type": "integer"
|
|
263
|
+
},
|
|
264
|
+
"description": "How many milliseconds to wait before taking the screenshot"
|
|
265
|
+
},
|
|
266
|
+
{
|
|
267
|
+
"name": "timeout",
|
|
268
|
+
"in": "query",
|
|
269
|
+
"required": false,
|
|
270
|
+
"schema": {
|
|
271
|
+
"type": "integer"
|
|
272
|
+
},
|
|
273
|
+
"description": "Maximum timeout in milliseconds. Defalut is `10,000`"
|
|
274
|
+
},
|
|
275
|
+
{
|
|
276
|
+
"name": "ttl",
|
|
277
|
+
"in": "query",
|
|
278
|
+
"required": false,
|
|
279
|
+
"schema": {
|
|
280
|
+
"type": "integer"
|
|
281
|
+
},
|
|
282
|
+
"description": "Number of seconds the screenshot should be cached"
|
|
283
|
+
},
|
|
284
|
+
{
|
|
285
|
+
"name": "clip[x]",
|
|
286
|
+
"in": "query",
|
|
287
|
+
"required": false,
|
|
288
|
+
"schema": {
|
|
289
|
+
"type": "integer"
|
|
290
|
+
},
|
|
291
|
+
"description": "X position of the clipping rectangle in pixels"
|
|
292
|
+
},
|
|
293
|
+
{
|
|
294
|
+
"name": "clip[y]",
|
|
295
|
+
"in": "query",
|
|
296
|
+
"required": false,
|
|
297
|
+
"schema": {
|
|
298
|
+
"type": "integer"
|
|
299
|
+
},
|
|
300
|
+
"description": "Y position of the clipping rectangle in pixels"
|
|
301
|
+
},
|
|
302
|
+
{
|
|
303
|
+
"name": "clip[width]",
|
|
304
|
+
"in": "query",
|
|
305
|
+
"required": false,
|
|
306
|
+
"schema": {
|
|
307
|
+
"type": "integer"
|
|
308
|
+
},
|
|
309
|
+
"description": "Width of the clipping rectangle in pixels"
|
|
310
|
+
},
|
|
311
|
+
{
|
|
312
|
+
"name": "clip[height]",
|
|
313
|
+
"in": "query",
|
|
314
|
+
"required": false,
|
|
315
|
+
"schema": {
|
|
316
|
+
"type": "integer"
|
|
317
|
+
},
|
|
318
|
+
"description": "Height of the clipping rectangle in pixels"
|
|
319
|
+
},
|
|
320
|
+
{
|
|
321
|
+
"name": "css_url",
|
|
322
|
+
"in": "query",
|
|
323
|
+
"required": false,
|
|
324
|
+
"schema": {
|
|
325
|
+
"type": "string"
|
|
326
|
+
},
|
|
327
|
+
"description": "URL to CSS file"
|
|
328
|
+
},
|
|
329
|
+
{
|
|
330
|
+
"name": "css",
|
|
331
|
+
"in": "query",
|
|
332
|
+
"required": false,
|
|
333
|
+
"schema": {
|
|
334
|
+
"type": "string"
|
|
335
|
+
},
|
|
336
|
+
"description": "Your custom CSS code"
|
|
337
|
+
},
|
|
338
|
+
{
|
|
339
|
+
"name": "js_url",
|
|
340
|
+
"in": "query",
|
|
341
|
+
"required": false,
|
|
342
|
+
"schema": {
|
|
343
|
+
"type": "string"
|
|
344
|
+
},
|
|
345
|
+
"description": "URL to JS file"
|
|
346
|
+
},
|
|
347
|
+
{
|
|
348
|
+
"name": "js",
|
|
349
|
+
"in": "query",
|
|
350
|
+
"required": false,
|
|
351
|
+
"schema": {
|
|
352
|
+
"type": "string"
|
|
353
|
+
},
|
|
354
|
+
"description": "Your JS code"
|
|
355
|
+
},
|
|
356
|
+
{
|
|
357
|
+
"name": "block_js",
|
|
358
|
+
"in": "query",
|
|
359
|
+
"required": false,
|
|
360
|
+
"schema": {
|
|
361
|
+
"type": "boolean"
|
|
362
|
+
},
|
|
363
|
+
"description": "Block Scripts"
|
|
364
|
+
},
|
|
365
|
+
{
|
|
366
|
+
"name": "block_stylesheets",
|
|
367
|
+
"in": "query",
|
|
368
|
+
"required": false,
|
|
369
|
+
"schema": {
|
|
370
|
+
"type": "boolean"
|
|
371
|
+
},
|
|
372
|
+
"description": "Block Stylesheets"
|
|
373
|
+
},
|
|
374
|
+
{
|
|
375
|
+
"name": "block_images",
|
|
376
|
+
"in": "query",
|
|
377
|
+
"required": false,
|
|
378
|
+
"schema": {
|
|
379
|
+
"type": "boolean"
|
|
380
|
+
},
|
|
381
|
+
"description": "Block Images"
|
|
382
|
+
},
|
|
383
|
+
{
|
|
384
|
+
"name": "block_media",
|
|
385
|
+
"in": "query",
|
|
386
|
+
"required": false,
|
|
387
|
+
"schema": {
|
|
388
|
+
"type": "boolean"
|
|
389
|
+
},
|
|
390
|
+
"description": "Block Media"
|
|
391
|
+
},
|
|
392
|
+
{
|
|
393
|
+
"name": "block_font",
|
|
394
|
+
"in": "query",
|
|
395
|
+
"required": false,
|
|
396
|
+
"schema": {
|
|
397
|
+
"type": "boolean"
|
|
398
|
+
},
|
|
399
|
+
"description": "Block Fonts"
|
|
400
|
+
},
|
|
401
|
+
{
|
|
402
|
+
"name": "block_text_track",
|
|
403
|
+
"in": "query",
|
|
404
|
+
"required": false,
|
|
405
|
+
"schema": {
|
|
406
|
+
"type": "boolean"
|
|
407
|
+
},
|
|
408
|
+
"description": "Block Text Tracks"
|
|
409
|
+
},
|
|
410
|
+
{
|
|
411
|
+
"name": "block_xhr",
|
|
412
|
+
"in": "query",
|
|
413
|
+
"required": false,
|
|
414
|
+
"schema": {
|
|
415
|
+
"type": "boolean"
|
|
416
|
+
},
|
|
417
|
+
"description": "Block XHR Requests"
|
|
418
|
+
},
|
|
419
|
+
{
|
|
420
|
+
"name": "block_fetch",
|
|
421
|
+
"in": "query",
|
|
422
|
+
"required": false,
|
|
423
|
+
"schema": {
|
|
424
|
+
"type": "boolean"
|
|
425
|
+
},
|
|
426
|
+
"description": "Block Fetch Requests"
|
|
427
|
+
},
|
|
428
|
+
{
|
|
429
|
+
"name": "block_event_source",
|
|
430
|
+
"in": "query",
|
|
431
|
+
"required": false,
|
|
432
|
+
"schema": {
|
|
433
|
+
"type": "boolean"
|
|
434
|
+
},
|
|
435
|
+
"description": "Block Event Source"
|
|
436
|
+
},
|
|
437
|
+
{
|
|
438
|
+
"name": "block_web_socket",
|
|
439
|
+
"in": "query",
|
|
440
|
+
"required": false,
|
|
441
|
+
"schema": {
|
|
442
|
+
"type": "boolean"
|
|
443
|
+
},
|
|
444
|
+
"description": "Block Web Sockets"
|
|
445
|
+
},
|
|
446
|
+
{
|
|
447
|
+
"name": "block_manifest",
|
|
448
|
+
"in": "query",
|
|
449
|
+
"required": false,
|
|
450
|
+
"schema": {
|
|
451
|
+
"type": "boolean"
|
|
452
|
+
},
|
|
453
|
+
"description": "Block Manifest"
|
|
454
|
+
},
|
|
455
|
+
{
|
|
456
|
+
"name": "block_specific_requests",
|
|
457
|
+
"in": "query",
|
|
458
|
+
"required": false,
|
|
459
|
+
"schema": {
|
|
460
|
+
"type": "string"
|
|
461
|
+
},
|
|
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."
|
|
474
|
+
},
|
|
475
|
+
{
|
|
476
|
+
"name": "remove_selector",
|
|
477
|
+
"in": "query",
|
|
478
|
+
"required": false,
|
|
479
|
+
"style": "form",
|
|
480
|
+
"explode": false,
|
|
481
|
+
"schema": {
|
|
482
|
+
"type": "string"
|
|
483
|
+
},
|
|
484
|
+
"description": "Comma-separated list of indexed CSS selectors to remove. Format: index:<selector>, e.g., 0:.banner,1:#ads."
|
|
485
|
+
},
|
|
486
|
+
{
|
|
487
|
+
"name": "result_file_name",
|
|
488
|
+
"in": "query",
|
|
489
|
+
"required": false,
|
|
490
|
+
"schema": {
|
|
491
|
+
"type": "string"
|
|
492
|
+
},
|
|
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."
|
|
494
|
+
},
|
|
495
|
+
{
|
|
496
|
+
"name": "scrolling_screenshot",
|
|
497
|
+
"in": "query",
|
|
498
|
+
"required": false,
|
|
499
|
+
"schema": {
|
|
500
|
+
"type": "boolean"
|
|
501
|
+
},
|
|
502
|
+
"description": "**`Scrolling Screenshot`**: Capture a long scrolling screenshot. When true, disable `fullPage` and `freshScreenshot`."
|
|
503
|
+
},
|
|
504
|
+
{
|
|
505
|
+
"name": "scroll_speed",
|
|
506
|
+
"in": "query",
|
|
507
|
+
"required": false,
|
|
508
|
+
"schema": {
|
|
509
|
+
"type": "string",
|
|
510
|
+
"enum": ["normal", "fast", "slow"]
|
|
511
|
+
},
|
|
512
|
+
"description": "Speed of scrolling during the screenshot."
|
|
513
|
+
},
|
|
514
|
+
{
|
|
515
|
+
"name": "scroll_back",
|
|
516
|
+
"in": "query",
|
|
517
|
+
"required": false,
|
|
518
|
+
"schema": {
|
|
519
|
+
"type": "boolean"
|
|
520
|
+
},
|
|
521
|
+
"description": "If true, the scroll will reverse back to the top after reaching the bottom."
|
|
522
|
+
},
|
|
523
|
+
{
|
|
524
|
+
"name": "start_immediately",
|
|
525
|
+
"in": "query",
|
|
526
|
+
"required": false,
|
|
527
|
+
"schema": {
|
|
528
|
+
"type": "boolean"
|
|
529
|
+
},
|
|
530
|
+
"description": "If true, the scrolling capture will start immediately upon page load."
|
|
531
|
+
},
|
|
532
|
+
{
|
|
533
|
+
"name": "multiple_scrolling",
|
|
534
|
+
"in": "query",
|
|
535
|
+
"required": false,
|
|
536
|
+
"schema": {
|
|
537
|
+
"type": "boolean"
|
|
538
|
+
},
|
|
539
|
+
"description": "If true, multiple scrolling screenshots will be taken at different viewport sizes."
|
|
540
|
+
},
|
|
541
|
+
{
|
|
542
|
+
"name": "sizes",
|
|
543
|
+
"in": "query",
|
|
544
|
+
"required": false,
|
|
545
|
+
"style": "form",
|
|
546
|
+
"explode": false,
|
|
547
|
+
"schema": {
|
|
548
|
+
"type": "string"
|
|
549
|
+
},
|
|
550
|
+
"description": "Comma-separated list of viewport sizes in format index:XXw:YYh. Example: sizes=0:120w:300h,1:240w:500h"
|
|
551
|
+
},
|
|
552
|
+
{
|
|
553
|
+
"name": "duration",
|
|
554
|
+
"in": "query",
|
|
555
|
+
"required": false,
|
|
556
|
+
"schema": {
|
|
557
|
+
"type": "number",
|
|
558
|
+
"minimum": 0,
|
|
559
|
+
"maximum": 60
|
|
560
|
+
},
|
|
561
|
+
"description": "Duration in seconds for the scrolling capture. Acceptable range is 0 to 60 seconds."
|
|
562
|
+
},
|
|
563
|
+
{
|
|
564
|
+
"name": "fail_on_error",
|
|
565
|
+
"in": "query",
|
|
566
|
+
"required": false,
|
|
567
|
+
"schema": {
|
|
568
|
+
"type": "boolean"
|
|
569
|
+
},
|
|
570
|
+
"description": "If true, returns an error when the target page responds with 4xx or 5xx status."
|
|
571
|
+
},
|
|
572
|
+
{
|
|
573
|
+
"name": "longitude",
|
|
574
|
+
"in": "query",
|
|
575
|
+
"required": false,
|
|
576
|
+
"schema": {
|
|
577
|
+
"type": "number"
|
|
578
|
+
},
|
|
579
|
+
"description": "Specify longitude for the browser Geolocation API."
|
|
580
|
+
},
|
|
581
|
+
{
|
|
582
|
+
"name": "latitude",
|
|
583
|
+
"in": "query",
|
|
584
|
+
"required": false,
|
|
585
|
+
"schema": {
|
|
586
|
+
"type": "number"
|
|
587
|
+
},
|
|
588
|
+
"description": "Specify latitude for the browser Geolocation API."
|
|
589
|
+
},
|
|
590
|
+
{
|
|
591
|
+
"name": "proxy",
|
|
592
|
+
"in": "query",
|
|
593
|
+
"required": false,
|
|
594
|
+
"schema": {
|
|
595
|
+
"type": "string"
|
|
596
|
+
},
|
|
597
|
+
"description": "Allows defining a proxy for the connection. Provide a JSON string with keys: server (include port number), username, and password."
|
|
598
|
+
},
|
|
599
|
+
{
|
|
600
|
+
"name": "headers",
|
|
601
|
+
"in": "query",
|
|
602
|
+
"required": false,
|
|
603
|
+
"schema": {
|
|
604
|
+
"type": "string"
|
|
605
|
+
},
|
|
606
|
+
"description": "Custom HTTP headers to include as key=value pairs. Use a semicolon to separate multiple headers (e.g., key1=value1;key2=value2)."
|
|
607
|
+
},
|
|
608
|
+
{
|
|
609
|
+
"name": "cookies",
|
|
610
|
+
"in": "query",
|
|
611
|
+
"required": false,
|
|
612
|
+
"schema": {
|
|
613
|
+
"type": "string"
|
|
614
|
+
},
|
|
615
|
+
"description": "Cookies to include in the request before rendering. Supports single or multiple cookies. Example: cookie=value; otherCookie=otherValue;"
|
|
616
|
+
},
|
|
617
|
+
{
|
|
618
|
+
"name": "scroll_to_element",
|
|
619
|
+
"in": "query",
|
|
620
|
+
"required": false,
|
|
621
|
+
"schema": {
|
|
622
|
+
"type": "string"
|
|
623
|
+
},
|
|
624
|
+
"description": "Scrolls the page to bring the specified CSS selector into view before capture."
|
|
625
|
+
},
|
|
626
|
+
{
|
|
627
|
+
"name": "selector",
|
|
628
|
+
"in": "query",
|
|
629
|
+
"required": false,
|
|
630
|
+
"schema": {
|
|
631
|
+
"type": "string"
|
|
632
|
+
},
|
|
633
|
+
"description": "CSS selector to capture a specific element. Only that element is rendered."
|
|
634
|
+
},
|
|
635
|
+
{
|
|
636
|
+
"name": "selector_to_click",
|
|
637
|
+
"in": "query",
|
|
638
|
+
"required": false,
|
|
639
|
+
"schema": {
|
|
640
|
+
"type": "string"
|
|
641
|
+
},
|
|
642
|
+
"description": "CSS selector for an element to click before capturing the screenshot."
|
|
643
|
+
},
|
|
644
|
+
{
|
|
645
|
+
"name": "click_recursion",
|
|
646
|
+
"in": "query",
|
|
647
|
+
"required": false,
|
|
648
|
+
"schema": {
|
|
649
|
+
"type": "integer"
|
|
650
|
+
},
|
|
651
|
+
"description": "Number of times to click the selector (when set via selector_to_click). Default: 1."
|
|
652
|
+
},
|
|
653
|
+
{
|
|
654
|
+
"name": "user_agent",
|
|
655
|
+
"in": "query",
|
|
656
|
+
"required": false,
|
|
657
|
+
"schema": {
|
|
658
|
+
"type": "string"
|
|
659
|
+
},
|
|
660
|
+
"description": "Custom User-Agent string sent in the request headers."
|
|
661
|
+
},
|
|
662
|
+
{
|
|
663
|
+
"name": "accept_languages",
|
|
664
|
+
"in": "query",
|
|
665
|
+
"required": false,
|
|
666
|
+
"schema": {
|
|
667
|
+
"type": "string"
|
|
668
|
+
},
|
|
669
|
+
"description": "Sets the accepted languages for the HTTP request. Sent as the Accept-Language header."
|
|
670
|
+
},
|
|
671
|
+
{
|
|
672
|
+
"name": "scroll_delay",
|
|
673
|
+
"in": "query",
|
|
674
|
+
"required": false,
|
|
675
|
+
"schema": {
|
|
676
|
+
"type": "integer"
|
|
677
|
+
},
|
|
678
|
+
"description": "Delay in milliseconds between scroll steps when lazy_load is enabled."
|
|
679
|
+
},
|
|
680
|
+
{
|
|
681
|
+
"name": "custom_html",
|
|
682
|
+
"in": "query",
|
|
683
|
+
"required": false,
|
|
684
|
+
"schema": {
|
|
685
|
+
"type": "string"
|
|
686
|
+
},
|
|
687
|
+
"description": "Custom HTML to render instead of loading a URL. Overrides the url option."
|
|
688
|
+
},
|
|
689
|
+
{
|
|
690
|
+
"name": "image_quality",
|
|
691
|
+
"in": "query",
|
|
692
|
+
"required": false,
|
|
693
|
+
"schema": {
|
|
694
|
+
"type": "integer"
|
|
695
|
+
},
|
|
696
|
+
"description": "Compression level for JPEG output (0–100). Lower = smaller file, higher = better quality. Only applies to JPEG."
|
|
697
|
+
},
|
|
698
|
+
{
|
|
699
|
+
"name": "extract_markdown",
|
|
700
|
+
"in": "query",
|
|
701
|
+
"required": false,
|
|
702
|
+
"schema": {
|
|
703
|
+
"type": "boolean"
|
|
704
|
+
},
|
|
705
|
+
"description": "Extracts rendered page content as a structured .md (Markdown) file."
|
|
706
|
+
},
|
|
707
|
+
{
|
|
708
|
+
"name": "get_image_urls",
|
|
709
|
+
"in": "query",
|
|
710
|
+
"required": false,
|
|
711
|
+
"schema": {
|
|
712
|
+
"type": "boolean"
|
|
713
|
+
},
|
|
714
|
+
"description": "Extracts all image URLs from the rendered DOM and returns them in structured format."
|
|
715
|
+
}
|
|
716
|
+
],
|
|
717
|
+
"responses": {
|
|
718
|
+
"200": {
|
|
719
|
+
"description": "Successful PDF response",
|
|
720
|
+
"content": {
|
|
721
|
+
"application/pdf": {
|
|
722
|
+
"schema": {
|
|
723
|
+
"type": "string",
|
|
724
|
+
"format": "binary"
|
|
725
|
+
}
|
|
726
|
+
},
|
|
727
|
+
"application/json": {
|
|
728
|
+
"schema": {
|
|
729
|
+
"$ref": "#/components/schemas/ScreenshotResponse"
|
|
730
|
+
},
|
|
731
|
+
"examples": {
|
|
732
|
+
"success": {
|
|
733
|
+
"summary": "Successful response",
|
|
734
|
+
"value": {
|
|
735
|
+
"screenshot": "https://s3.eu-central-2.wasabisys.com/w.storage.apifreaks.com/example_com_e56fe7e60d8d.png",
|
|
736
|
+
"url": "https://example.com",
|
|
737
|
+
"created_at": "2026-07-27T10:19:08.668Z",
|
|
738
|
+
"format": "json",
|
|
739
|
+
"ttl": "2026-08-26T10:19:05.486Z"
|
|
740
|
+
}
|
|
741
|
+
}
|
|
742
|
+
}
|
|
743
|
+
}
|
|
744
|
+
}
|
|
745
|
+
},
|
|
746
|
+
"400": {
|
|
747
|
+
"description": "Bad Request — Invalid or missing parameters",
|
|
748
|
+
"content": {
|
|
749
|
+
"application/json": {
|
|
750
|
+
"examples": {
|
|
751
|
+
"InvalidUrl": {
|
|
752
|
+
"summary": "Invalid URL",
|
|
753
|
+
"value": {
|
|
754
|
+
"timestamp": "2026-07-27T10:19:11.354Z",
|
|
755
|
+
"status": 400,
|
|
756
|
+
"error": "invalid_url",
|
|
757
|
+
"message": "Your URL is incorrect",
|
|
758
|
+
"path": "/v3/screenshot"
|
|
759
|
+
}
|
|
760
|
+
},
|
|
761
|
+
"missingUrl": {
|
|
762
|
+
"summary": "Missing required url parameter",
|
|
763
|
+
"value": {
|
|
764
|
+
"error": "Invalid Param Exception",
|
|
765
|
+
"message": "please pass correct parameters",
|
|
766
|
+
"path": "/v1.0/screenshot",
|
|
767
|
+
"status": 400,
|
|
768
|
+
"timestamp": "2026-07-27T10:19:11.922Z"
|
|
769
|
+
}
|
|
770
|
+
}
|
|
771
|
+
},
|
|
772
|
+
"schema": {
|
|
773
|
+
"$ref": "#/components/schemas/ErrorResponse"
|
|
774
|
+
}
|
|
775
|
+
}
|
|
776
|
+
}
|
|
777
|
+
},
|
|
778
|
+
"408": {
|
|
779
|
+
"description": "Request Timeout — Screenshot capture exceeded the configured timeout",
|
|
780
|
+
"content": {
|
|
781
|
+
"application/json": {
|
|
782
|
+
"examples": {
|
|
783
|
+
"RequestTimeout": {
|
|
784
|
+
"summary": "Request timed out",
|
|
785
|
+
"value": {
|
|
786
|
+
"timestamp": "2026-07-27T10:19:25.676Z",
|
|
787
|
+
"status": 408,
|
|
788
|
+
"error": "timeout_error",
|
|
789
|
+
"message": "The request took too long to complete. Please try again later.",
|
|
790
|
+
"path": "/v3/screenshot"
|
|
791
|
+
}
|
|
792
|
+
}
|
|
793
|
+
},
|
|
794
|
+
"schema": {
|
|
795
|
+
"$ref": "#/components/schemas/ErrorResponse"
|
|
796
|
+
}
|
|
797
|
+
}
|
|
798
|
+
}
|
|
799
|
+
}
|
|
800
|
+
}
|
|
801
|
+
}
|
|
802
|
+
}
|
|
803
|
+
},
|
|
804
|
+
"components": {
|
|
805
|
+
"securitySchemes": {
|
|
806
|
+
"ApiKeyAuthHeader": {
|
|
807
|
+
"type": "apiKey",
|
|
808
|
+
"in": "header",
|
|
809
|
+
"name": "X-apiKey",
|
|
810
|
+
"description": "Pass your API key via the X-apiKey request header."
|
|
811
|
+
},
|
|
812
|
+
"ApiKeyAuthQuery": {
|
|
813
|
+
"type": "apiKey",
|
|
814
|
+
"in": "query",
|
|
815
|
+
"name": "apiKey",
|
|
816
|
+
"description": "Pass your API key via the apiKey query parameter."
|
|
817
|
+
}
|
|
818
|
+
},
|
|
819
|
+
"schemas": {
|
|
820
|
+
"ScreenshotResponse": {
|
|
821
|
+
"type": "object",
|
|
822
|
+
"description": "Website screenshot response containing the screenshot URL and metadata.",
|
|
823
|
+
"required": ["screenshot", "url", "created_at", "format", "ttl"],
|
|
824
|
+
"properties": {
|
|
825
|
+
"screenshot": {
|
|
826
|
+
"type": "string",
|
|
827
|
+
"format": "uri",
|
|
828
|
+
"description": "URL of the captured screenshot image file."
|
|
829
|
+
},
|
|
830
|
+
"url": {
|
|
831
|
+
"type": "string",
|
|
832
|
+
"format": "uri",
|
|
833
|
+
"description": "The original URL that was captured."
|
|
834
|
+
},
|
|
835
|
+
"created_at": {
|
|
836
|
+
"type": "string",
|
|
837
|
+
"format": "date-time",
|
|
838
|
+
"description": "Timestamp when the screenshot was created (ISO 8601 format)."
|
|
839
|
+
},
|
|
840
|
+
"format": {
|
|
841
|
+
"type": "string",
|
|
842
|
+
"description": "Response format type."
|
|
843
|
+
},
|
|
844
|
+
"ttl": {
|
|
845
|
+
"type": "string",
|
|
846
|
+
"description": "Time until the screenshot expires (ISO 8601 format)."
|
|
847
|
+
},
|
|
848
|
+
"file_type": {
|
|
849
|
+
"type": "string",
|
|
850
|
+
"description": "The file type of the output (e.g., PNG, JPEG)."
|
|
851
|
+
},
|
|
852
|
+
"width": {
|
|
853
|
+
"type": "integer",
|
|
854
|
+
"description": "Viewport width used for capture in pixels."
|
|
855
|
+
},
|
|
856
|
+
"height": {
|
|
857
|
+
"type": "integer",
|
|
858
|
+
"description": "Viewport height used for capture in pixels."
|
|
859
|
+
},
|
|
860
|
+
"fresh": {
|
|
861
|
+
"type": "boolean",
|
|
862
|
+
"description": "Whether a fresh render was performed."
|
|
863
|
+
},
|
|
864
|
+
"full_page": {
|
|
865
|
+
"type": "boolean",
|
|
866
|
+
"description": "Whether full page capture was used."
|
|
867
|
+
},
|
|
868
|
+
"lazy_load": {
|
|
869
|
+
"type": "boolean",
|
|
870
|
+
"description": "Whether lazy loading was triggered."
|
|
871
|
+
},
|
|
872
|
+
"retina": {
|
|
873
|
+
"type": "boolean",
|
|
874
|
+
"description": "Whether retina capture was used."
|
|
875
|
+
},
|
|
876
|
+
"dark_mode": {
|
|
877
|
+
"type": "boolean",
|
|
878
|
+
"description": "Whether dark mode was enabled."
|
|
879
|
+
},
|
|
880
|
+
"enable_caching": {
|
|
881
|
+
"type": "boolean",
|
|
882
|
+
"description": "Whether caching was enabled."
|
|
883
|
+
},
|
|
884
|
+
"omit_background": {
|
|
885
|
+
"type": "boolean",
|
|
886
|
+
"description": "Whether background was removed."
|
|
887
|
+
},
|
|
888
|
+
"destroy_screenshot": {
|
|
889
|
+
"type": "boolean",
|
|
890
|
+
"description": "Whether the screenshot was destroyed after generation."
|
|
891
|
+
},
|
|
892
|
+
"fail_on_error": {
|
|
893
|
+
"type": "boolean",
|
|
894
|
+
"description": "Whether the request failed on error."
|
|
895
|
+
},
|
|
896
|
+
"block_ads": {
|
|
897
|
+
"type": "boolean",
|
|
898
|
+
"description": "Whether ads were blocked."
|
|
899
|
+
},
|
|
900
|
+
"no_cookie_banners": {
|
|
901
|
+
"type": "boolean",
|
|
902
|
+
"description": "Whether cookie banners were blocked."
|
|
903
|
+
},
|
|
904
|
+
"block_chat_widgets": {
|
|
905
|
+
"type": "boolean",
|
|
906
|
+
"description": "Whether chat widgets were blocked."
|
|
907
|
+
},
|
|
908
|
+
"block_tracking": {
|
|
909
|
+
"type": "boolean",
|
|
910
|
+
"description": "Whether tracking scripts were blocked."
|
|
911
|
+
},
|
|
912
|
+
"block_js": {
|
|
913
|
+
"type": "boolean",
|
|
914
|
+
"description": "Whether JavaScript was blocked."
|
|
915
|
+
},
|
|
916
|
+
"block_stylesheets": {
|
|
917
|
+
"type": "boolean",
|
|
918
|
+
"description": "Whether stylesheets were blocked."
|
|
919
|
+
},
|
|
920
|
+
"block_images": {
|
|
921
|
+
"type": "boolean",
|
|
922
|
+
"description": "Whether images were blocked."
|
|
923
|
+
},
|
|
924
|
+
"block_media": {
|
|
925
|
+
"type": "boolean",
|
|
926
|
+
"description": "Whether media files were blocked."
|
|
927
|
+
},
|
|
928
|
+
"block_font": {
|
|
929
|
+
"type": "boolean",
|
|
930
|
+
"description": "Whether fonts were blocked."
|
|
931
|
+
},
|
|
932
|
+
"block_xhr": {
|
|
933
|
+
"type": "boolean",
|
|
934
|
+
"description": "Whether XHR requests were blocked."
|
|
935
|
+
},
|
|
936
|
+
"block_fetch": {
|
|
937
|
+
"type": "boolean",
|
|
938
|
+
"description": "Whether Fetch API requests were blocked."
|
|
939
|
+
},
|
|
940
|
+
"block_web_socket": {
|
|
941
|
+
"type": "boolean",
|
|
942
|
+
"description": "Whether WebSocket connections were blocked."
|
|
943
|
+
},
|
|
944
|
+
"block_manifest": {
|
|
945
|
+
"type": "boolean",
|
|
946
|
+
"description": "Whether manifest files were blocked."
|
|
947
|
+
},
|
|
948
|
+
"extract_text": {
|
|
949
|
+
"type": "boolean",
|
|
950
|
+
"description": "Whether text content was extracted."
|
|
951
|
+
},
|
|
952
|
+
"extract_html": {
|
|
953
|
+
"type": "boolean",
|
|
954
|
+
"description": "Whether HTML content was extracted."
|
|
955
|
+
},
|
|
956
|
+
"extract_markdown": {
|
|
957
|
+
"type": "boolean",
|
|
958
|
+
"description": "Whether markdown extraction was enabled."
|
|
959
|
+
},
|
|
960
|
+
"get_image_urls": {
|
|
961
|
+
"type": "boolean",
|
|
962
|
+
"description": "Whether image URL extraction was enabled."
|
|
963
|
+
},
|
|
964
|
+
"longitude": {
|
|
965
|
+
"type": "number",
|
|
966
|
+
"format": "float",
|
|
967
|
+
"description": "The longitude value used for geolocation."
|
|
968
|
+
},
|
|
969
|
+
"latitude": {
|
|
970
|
+
"type": "number",
|
|
971
|
+
"format": "float",
|
|
972
|
+
"description": "The latitude value used for geolocation."
|
|
973
|
+
},
|
|
974
|
+
"proxy": {
|
|
975
|
+
"type": "string",
|
|
976
|
+
"description": "The proxy configuration used for the request."
|
|
977
|
+
},
|
|
978
|
+
"headers": {
|
|
979
|
+
"type": "string",
|
|
980
|
+
"description": "The custom headers that were included in the request."
|
|
981
|
+
},
|
|
982
|
+
"cookies": {
|
|
983
|
+
"type": "string",
|
|
984
|
+
"description": "The cookies that were included in the request."
|
|
985
|
+
},
|
|
986
|
+
"scroll_to_element": {
|
|
987
|
+
"type": "string",
|
|
988
|
+
"description": "The element that was scrolled to before rendering."
|
|
989
|
+
},
|
|
990
|
+
"selector": {
|
|
991
|
+
"type": "string",
|
|
992
|
+
"description": "The element that was selected for rendering."
|
|
993
|
+
},
|
|
994
|
+
"selector_to_click": {
|
|
995
|
+
"type": "string",
|
|
996
|
+
"description": "The CSS selector that was clicked before capture."
|
|
997
|
+
},
|
|
998
|
+
"click_recursion": {
|
|
999
|
+
"type": "integer",
|
|
1000
|
+
"description": "The number of times the selector was clicked."
|
|
1001
|
+
},
|
|
1002
|
+
"blur_selector": {
|
|
1003
|
+
"type": "string",
|
|
1004
|
+
"description": "The elements that were blurred in the output."
|
|
1005
|
+
},
|
|
1006
|
+
"remove_selector": {
|
|
1007
|
+
"type": "string",
|
|
1008
|
+
"description": "The elements that were removed from the output."
|
|
1009
|
+
},
|
|
1010
|
+
"css": {
|
|
1011
|
+
"type": "string",
|
|
1012
|
+
"description": "The custom CSS that was injected into the page."
|
|
1013
|
+
},
|
|
1014
|
+
"css_url": {
|
|
1015
|
+
"type": "string",
|
|
1016
|
+
"format": "uri",
|
|
1017
|
+
"description": "The external CSS URL that was loaded."
|
|
1018
|
+
},
|
|
1019
|
+
"js": {
|
|
1020
|
+
"type": "string",
|
|
1021
|
+
"description": "The custom JavaScript that was injected."
|
|
1022
|
+
},
|
|
1023
|
+
"js_url": {
|
|
1024
|
+
"type": "string",
|
|
1025
|
+
"format": "uri",
|
|
1026
|
+
"description": "The external JavaScript URL that was loaded."
|
|
1027
|
+
},
|
|
1028
|
+
"user_agent": {
|
|
1029
|
+
"type": "string",
|
|
1030
|
+
"description": "The User-Agent string that was used."
|
|
1031
|
+
},
|
|
1032
|
+
"accept_languages": {
|
|
1033
|
+
"type": "string",
|
|
1034
|
+
"description": "The Accept-Language header that was used."
|
|
1035
|
+
},
|
|
1036
|
+
"delay": {
|
|
1037
|
+
"type": "integer",
|
|
1038
|
+
"description": "The delay duration that was applied in milliseconds."
|
|
1039
|
+
},
|
|
1040
|
+
"thumbnail_width": {
|
|
1041
|
+
"type": "integer",
|
|
1042
|
+
"description": "The thumbnail width that was used in pixels."
|
|
1043
|
+
},
|
|
1044
|
+
"output": {
|
|
1045
|
+
"type": "string",
|
|
1046
|
+
"description": "The output type that was used."
|
|
1047
|
+
},
|
|
1048
|
+
"image_quality": {
|
|
1049
|
+
"type": "integer",
|
|
1050
|
+
"description": "The image quality level that was applied."
|
|
1051
|
+
},
|
|
1052
|
+
"timeout": {
|
|
1053
|
+
"type": "integer",
|
|
1054
|
+
"description": "The actual timeout duration that was applied in milliseconds."
|
|
1055
|
+
},
|
|
1056
|
+
"adjust_top": {
|
|
1057
|
+
"type": "integer",
|
|
1058
|
+
"description": "The vertical position that was scrolled to in pixels."
|
|
1059
|
+
},
|
|
1060
|
+
"wait_for_event": {
|
|
1061
|
+
"type": "string",
|
|
1062
|
+
"description": "The event that triggered the rendering to start."
|
|
1063
|
+
},
|
|
1064
|
+
"grayscale": {
|
|
1065
|
+
"type": "integer",
|
|
1066
|
+
"description": "The grayscale level that was applied (0-100)."
|
|
1067
|
+
},
|
|
1068
|
+
"scrolling_screenshot": {
|
|
1069
|
+
"type": "boolean",
|
|
1070
|
+
"description": "Whether scrolling screenshot mode was enabled."
|
|
1071
|
+
},
|
|
1072
|
+
"multiple_scrolling": {
|
|
1073
|
+
"type": "boolean",
|
|
1074
|
+
"description": "Whether multiple scrolling captures were performed."
|
|
1075
|
+
},
|
|
1076
|
+
"sizes": {
|
|
1077
|
+
"type": "array",
|
|
1078
|
+
"items": {
|
|
1079
|
+
"type": "string"
|
|
1080
|
+
},
|
|
1081
|
+
"description": "The dimensions used for each capture."
|
|
1082
|
+
},
|
|
1083
|
+
"scroll_speed": {
|
|
1084
|
+
"type": "string",
|
|
1085
|
+
"description": "Scrolling speed that was used."
|
|
1086
|
+
},
|
|
1087
|
+
"scroll_back": {
|
|
1088
|
+
"type": "boolean",
|
|
1089
|
+
"description": "Whether scroll back was enabled."
|
|
1090
|
+
},
|
|
1091
|
+
"start_immediately": {
|
|
1092
|
+
"type": "boolean",
|
|
1093
|
+
"description": "Whether recording started immediately."
|
|
1094
|
+
},
|
|
1095
|
+
"duration": {
|
|
1096
|
+
"type": "integer",
|
|
1097
|
+
"description": "Duration of scrolling capture in seconds."
|
|
1098
|
+
},
|
|
1099
|
+
"result_file_name": {
|
|
1100
|
+
"type": "string",
|
|
1101
|
+
"description": "The final filename used for the output file."
|
|
1102
|
+
},
|
|
1103
|
+
"enable_incognito": {
|
|
1104
|
+
"type": "boolean",
|
|
1105
|
+
"description": "Whether incognito mode was enabled."
|
|
1106
|
+
}
|
|
1107
|
+
}
|
|
1108
|
+
},
|
|
1109
|
+
"ErrorResponse": {
|
|
1110
|
+
"type": "object",
|
|
1111
|
+
"description": "Standard error envelope returned by the API on failed requests.",
|
|
1112
|
+
"required": ["message"],
|
|
1113
|
+
"properties": {
|
|
1114
|
+
"error": {
|
|
1115
|
+
"type": "string",
|
|
1116
|
+
"description": "Short error category or exception type."
|
|
1117
|
+
},
|
|
1118
|
+
"message": {
|
|
1119
|
+
"type": "string",
|
|
1120
|
+
"description": "Human-readable error message describing the failure."
|
|
1121
|
+
},
|
|
1122
|
+
"path": {
|
|
1123
|
+
"type": "string",
|
|
1124
|
+
"description": "API endpoint path that produced the error."
|
|
1125
|
+
},
|
|
1126
|
+
"status": {
|
|
1127
|
+
"type": "integer",
|
|
1128
|
+
"description": "HTTP status code returned with the error."
|
|
1129
|
+
},
|
|
1130
|
+
"timestamp": {
|
|
1131
|
+
"type": "string",
|
|
1132
|
+
"format": "date-time",
|
|
1133
|
+
"description": "Timestamp when the error occurred (ISO 8601)."
|
|
1134
|
+
}
|
|
1135
|
+
}
|
|
1136
|
+
}
|
|
1137
|
+
}
|
|
1138
|
+
},
|
|
1139
|
+
"security": [
|
|
1140
|
+
{
|
|
1141
|
+
"ApiKeyAuthHeader": []
|
|
1142
|
+
},
|
|
1143
|
+
{
|
|
1144
|
+
"ApiKeyAuthQuery": []
|
|
1145
|
+
}
|
|
1146
|
+
]
|
|
1147
|
+
}
|