@apifreaks/openapi-specs 0.4.21 → 0.4.22

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.
Files changed (37) hide show
  1. package/dist/index.cjs +391 -317
  2. package/dist/index.js +391 -317
  3. package/dist/specs/pdf/delete-pdf-page.yaml +12 -4
  4. package/dist/specs/pdf/linearize-pdf.yaml +11 -3
  5. package/dist/specs/pdf/merge-pdf.yaml +11 -3
  6. package/dist/specs/pdf/pdf-compress.yaml +12 -4
  7. package/dist/specs/pdf/pdf-decrypt.yaml +13 -5
  8. package/dist/specs/pdf/pdf-encrypt.yaml +11 -3
  9. package/dist/specs/pdf/pdf-extract-pages.yaml +11 -3
  10. package/dist/specs/pdf/pdf-resource-upload-binary.yaml +1 -1
  11. package/dist/specs/pdf/pdf-resource-upload.yaml +3 -3
  12. package/dist/specs/pdf/pdf-restrict.yaml +13 -5
  13. package/dist/specs/pdf/pdf-to-image.yaml +130 -0
  14. package/dist/specs/pdf/pdf-unrestrict.yaml +13 -5
  15. package/dist/specs/pdf/rotate-pdf-pages.yaml +11 -3
  16. package/dist/specs/pdf/split-pdf.yaml +11 -3
  17. package/dist/specs/screenshot/bulk-screenshot.yaml +11 -10
  18. package/dist/specs/screenshot/website-screenshot.yaml +11 -10
  19. package/dist/specs/whois/whois-ip-lookup.yaml +0 -243
  20. package/package.json +1 -1
  21. package/specs/pdf/delete-pdf-page.json +14 -4
  22. package/specs/pdf/linearize-pdf.json +13 -3
  23. package/specs/pdf/merge-pdf.json +13 -3
  24. package/specs/pdf/pdf-compress.json +14 -4
  25. package/specs/pdf/pdf-decrypt.json +16 -6
  26. package/specs/pdf/pdf-encrypt.json +13 -3
  27. package/specs/pdf/pdf-extract-pages.json +13 -3
  28. package/specs/pdf/pdf-resource-upload-binary.json +1 -1
  29. package/specs/pdf/pdf-resource-upload.json +4 -4
  30. package/specs/pdf/pdf-restrict.json +16 -6
  31. package/specs/pdf/pdf-to-image.json +185 -0
  32. package/specs/pdf/pdf-unrestrict.json +16 -6
  33. package/specs/pdf/rotate-pdf-pages.json +13 -3
  34. package/specs/pdf/split-pdf.json +13 -3
  35. package/specs/screenshot/bulk-screenshot.json +10 -10
  36. package/specs/screenshot/website-screenshot.json +10 -10
  37. package/specs/whois/whois-ip-lookup.json +3 -229
@@ -181,19 +181,29 @@
181
181
  }
182
182
  },
183
183
  "415": {
184
- "description": "Unsupported Media Type — File type not supported",
184
+ "description": "Unsupported Media Type — The uploaded file type, or the file type associated with the provided file_id, is not supported for this operation",
185
185
  "content": {
186
186
  "application/json": {
187
187
  "examples": {
188
188
  "UnsupportedFileType": {
189
- "summary": "Uploaded file is not a supported type",
189
+ "summary": "Unsupported file type (file uploaded in the request)",
190
190
  "value": {
191
- "timestamp": "2026-07-27T10:53:19.733Z",
191
+ "timestamp": "2026-11-20T11:29:57.308Z",
192
192
  "path": "/v1.0/pdf/extract-pages",
193
193
  "status": 415,
194
194
  "error": "Unsupported File Type",
195
195
  "message": "The provided file type is not supported. Refer to the documentation for valid file types."
196
196
  }
197
+ },
198
+ "UnsupportedFileTypeForId": {
199
+ "summary": "Unsupported file type for the provided file ID",
200
+ "value": {
201
+ "timestamp": "2026-11-20T11:29:27.200Z",
202
+ "path": "/v1.0/pdf/extract-pages",
203
+ "status": 415,
204
+ "error": "Unsupported File Type",
205
+ "message": "The file type associated with the provided file ID is not supported for this operation. Please refer to the documentation for the list of allowed file types."
206
+ }
197
207
  }
198
208
  },
199
209
  "schema": {
@@ -127,7 +127,7 @@
127
127
  "UnsupportedFileType": {
128
128
  "summary": "Unsupported file type",
129
129
  "value": {
130
- "timestamp": "2026-07-27T10:48:15.449Z",
130
+ "timestamp": "2026-11-20T11:30:10.529Z",
131
131
  "path": "/v1.0/pdf/upload-binary",
132
132
  "status": 415,
133
133
  "error": "Unsupported File Type",
@@ -130,20 +130,20 @@
130
130
  "description": "Unsupported Media Type — File type not supported",
131
131
  "content": {
132
132
  "application/json": {
133
- "schema": {
134
- "$ref": "#/components/schemas/ErrorResponse"
135
- },
136
133
  "examples": {
137
134
  "unsupportedFileType": {
138
135
  "summary": "Unsupported file type",
139
136
  "value": {
140
- "timestamp": "2026-07-27T10:47:37.481Z",
137
+ "timestamp": "2026-11-20T11:28:22.868Z",
141
138
  "path": "/v1.0/pdf/upload",
142
139
  "status": 415,
143
140
  "error": "Unsupported File Type",
144
141
  "message": "The provided file type is not supported. Refer to the documentation for valid file types."
145
142
  }
146
143
  }
144
+ },
145
+ "schema": {
146
+ "$ref": "#/components/schemas/ErrorResponse"
147
147
  }
148
148
  }
149
149
  },
@@ -229,23 +229,33 @@
229
229
  }
230
230
  },
231
231
  "415": {
232
- "description": "Unsupported Media Type — File type not supported",
232
+ "description": "Unsupported Media Type — The uploaded file type, or the file type associated with the provided file_id, is not supported for this operation",
233
233
  "content": {
234
234
  "application/json": {
235
- "schema": {
236
- "$ref": "#/components/schemas/ErrorResponse"
237
- },
238
235
  "examples": {
239
236
  "UnsupportedFileType": {
240
- "summary": "Uploaded file is not a supported type",
237
+ "summary": "Unsupported file type (file uploaded in the request)",
241
238
  "value": {
242
- "timestamp": "2026-07-27T10:57:25.374Z",
239
+ "timestamp": "2026-11-20T11:30:01.367Z",
243
240
  "path": "/v1.0/pdf/restrict-pdf",
244
241
  "status": 415,
245
242
  "error": "Unsupported File Type",
246
243
  "message": "The provided file type is not supported. Refer to the documentation for valid file types."
247
244
  }
245
+ },
246
+ "UnsupportedFileTypeForId": {
247
+ "summary": "Unsupported file type for the provided file ID",
248
+ "value": {
249
+ "timestamp": "2026-11-20T11:29:30.158Z",
250
+ "path": "/v1.0/pdf/restrict-pdf",
251
+ "status": 415,
252
+ "error": "Unsupported File Type",
253
+ "message": "The file type associated with the provided file ID is not supported for this operation. Please refer to the documentation for the list of allowed file types."
254
+ }
248
255
  }
256
+ },
257
+ "schema": {
258
+ "$ref": "#/components/schemas/ErrorResponse"
249
259
  }
250
260
  }
251
261
  },
@@ -228,6 +228,43 @@
228
228
  "$ref": "#/components/headers/X-AF-Credits-Cost"
229
229
  }
230
230
  }
231
+ },
232
+ "415": {
233
+ "description": "Unsupported Media Type — The uploaded file type, or the file type associated with the provided file_id, is not supported for this operation",
234
+ "content": {
235
+ "application/json": {
236
+ "examples": {
237
+ "UnsupportedFileType": {
238
+ "summary": "Unsupported file type (file uploaded in the request)",
239
+ "value": {
240
+ "timestamp": "2026-11-20T11:30:03.767Z",
241
+ "path": "/v1.0/pdf/png",
242
+ "status": 415,
243
+ "error": "Unsupported File Type",
244
+ "message": "The provided file type is not supported. Refer to the documentation for valid file types."
245
+ }
246
+ },
247
+ "UnsupportedFileTypeForId": {
248
+ "summary": "Unsupported file type for the provided file ID",
249
+ "value": {
250
+ "timestamp": "2026-11-20T11:29:36.193Z",
251
+ "path": "/v1.0/pdf/png",
252
+ "status": 415,
253
+ "error": "Unsupported File Type",
254
+ "message": "The file type associated with the provided file ID is not supported for this operation. Please refer to the documentation for the list of allowed file types."
255
+ }
256
+ }
257
+ },
258
+ "schema": {
259
+ "$ref": "#/components/schemas/ErrorResponse"
260
+ }
261
+ }
262
+ },
263
+ "headers": {
264
+ "X-AF-Credits-Cost": {
265
+ "$ref": "#/components/headers/X-AF-Credits-Cost"
266
+ }
267
+ }
231
268
  }
232
269
  },
233
270
  "operationId": "pdfToImage"
@@ -463,6 +500,43 @@
463
500
  "$ref": "#/components/headers/X-AF-Credits-Cost"
464
501
  }
465
502
  }
503
+ },
504
+ "415": {
505
+ "description": "Unsupported Media Type — The uploaded file type, or the file type associated with the provided file_id, is not supported for this operation",
506
+ "content": {
507
+ "application/json": {
508
+ "examples": {
509
+ "UnsupportedFileType": {
510
+ "summary": "Unsupported file type (file uploaded in the request)",
511
+ "value": {
512
+ "timestamp": "2026-11-20T11:30:05.678Z",
513
+ "path": "/v1.0/pdf/jpg",
514
+ "status": 415,
515
+ "error": "Unsupported File Type",
516
+ "message": "The provided file type is not supported. Refer to the documentation for valid file types."
517
+ }
518
+ },
519
+ "UnsupportedFileTypeForId": {
520
+ "summary": "Unsupported file type for the provided file ID",
521
+ "value": {
522
+ "timestamp": "2026-11-20T11:29:32.646Z",
523
+ "path": "/v1.0/pdf/jpg",
524
+ "status": 415,
525
+ "error": "Unsupported File Type",
526
+ "message": "The file type associated with the provided file ID is not supported for this operation. Please refer to the documentation for the list of allowed file types."
527
+ }
528
+ }
529
+ },
530
+ "schema": {
531
+ "$ref": "#/components/schemas/ErrorResponse"
532
+ }
533
+ }
534
+ },
535
+ "headers": {
536
+ "X-AF-Credits-Cost": {
537
+ "$ref": "#/components/headers/X-AF-Credits-Cost"
538
+ }
539
+ }
466
540
  }
467
541
  }
468
542
  }
@@ -678,6 +752,43 @@
678
752
  "$ref": "#/components/headers/X-AF-Credits-Cost"
679
753
  }
680
754
  }
755
+ },
756
+ "415": {
757
+ "description": "Unsupported Media Type — The uploaded file type, or the file type associated with the provided file_id, is not supported for this operation",
758
+ "content": {
759
+ "application/json": {
760
+ "examples": {
761
+ "UnsupportedFileType": {
762
+ "summary": "Unsupported file type (file uploaded in the request)",
763
+ "value": {
764
+ "timestamp": "2026-11-20T11:30:06.388Z",
765
+ "path": "/v1.0/pdf/tif",
766
+ "status": 415,
767
+ "error": "Unsupported File Type",
768
+ "message": "The provided file type is not supported. Refer to the documentation for valid file types."
769
+ }
770
+ },
771
+ "UnsupportedFileTypeForId": {
772
+ "summary": "Unsupported file type for the provided file ID",
773
+ "value": {
774
+ "timestamp": "2026-11-20T11:29:36.193Z",
775
+ "path": "/v1.0/pdf/tif",
776
+ "status": 415,
777
+ "error": "Unsupported File Type",
778
+ "message": "The file type associated with the provided file ID is not supported for this operation. Please refer to the documentation for the list of allowed file types."
779
+ }
780
+ }
781
+ },
782
+ "schema": {
783
+ "$ref": "#/components/schemas/ErrorResponse"
784
+ }
785
+ }
786
+ },
787
+ "headers": {
788
+ "X-AF-Credits-Cost": {
789
+ "$ref": "#/components/headers/X-AF-Credits-Cost"
790
+ }
791
+ }
681
792
  }
682
793
  }
683
794
  }
@@ -893,6 +1004,43 @@
893
1004
  "$ref": "#/components/headers/X-AF-Credits-Cost"
894
1005
  }
895
1006
  }
1007
+ },
1008
+ "415": {
1009
+ "description": "Unsupported Media Type — The uploaded file type, or the file type associated with the provided file_id, is not supported for this operation",
1010
+ "content": {
1011
+ "application/json": {
1012
+ "examples": {
1013
+ "UnsupportedFileType": {
1014
+ "summary": "Unsupported file type (file uploaded in the request)",
1015
+ "value": {
1016
+ "timestamp": "2026-11-20T11:30:07.356Z",
1017
+ "path": "/v1.0/pdf/bmp",
1018
+ "status": 415,
1019
+ "error": "Unsupported File Type",
1020
+ "message": "The provided file type is not supported. Refer to the documentation for valid file types."
1021
+ }
1022
+ },
1023
+ "UnsupportedFileTypeForId": {
1024
+ "summary": "Unsupported file type for the provided file ID",
1025
+ "value": {
1026
+ "timestamp": "2026-11-20T11:29:36.193Z",
1027
+ "path": "/v1.0/pdf/bmp",
1028
+ "status": 415,
1029
+ "error": "Unsupported File Type",
1030
+ "message": "The file type associated with the provided file ID is not supported for this operation. Please refer to the documentation for the list of allowed file types."
1031
+ }
1032
+ }
1033
+ },
1034
+ "schema": {
1035
+ "$ref": "#/components/schemas/ErrorResponse"
1036
+ }
1037
+ }
1038
+ },
1039
+ "headers": {
1040
+ "X-AF-Credits-Cost": {
1041
+ "$ref": "#/components/headers/X-AF-Credits-Cost"
1042
+ }
1043
+ }
896
1044
  }
897
1045
  }
898
1046
  }
@@ -1108,6 +1256,43 @@
1108
1256
  "$ref": "#/components/headers/X-AF-Credits-Cost"
1109
1257
  }
1110
1258
  }
1259
+ },
1260
+ "415": {
1261
+ "description": "Unsupported Media Type — The uploaded file type, or the file type associated with the provided file_id, is not supported for this operation",
1262
+ "content": {
1263
+ "application/json": {
1264
+ "examples": {
1265
+ "UnsupportedFileType": {
1266
+ "summary": "Unsupported file type (file uploaded in the request)",
1267
+ "value": {
1268
+ "timestamp": "2026-11-20T11:30:10.008Z",
1269
+ "path": "/v1.0/pdf/gif",
1270
+ "status": 415,
1271
+ "error": "Unsupported File Type",
1272
+ "message": "The provided file type is not supported. Refer to the documentation for valid file types."
1273
+ }
1274
+ },
1275
+ "UnsupportedFileTypeForId": {
1276
+ "summary": "Unsupported file type for the provided file ID",
1277
+ "value": {
1278
+ "timestamp": "2026-11-20T11:29:36.193Z",
1279
+ "path": "/v1.0/pdf/gif",
1280
+ "status": 415,
1281
+ "error": "Unsupported File Type",
1282
+ "message": "The file type associated with the provided file ID is not supported for this operation. Please refer to the documentation for the list of allowed file types."
1283
+ }
1284
+ }
1285
+ },
1286
+ "schema": {
1287
+ "$ref": "#/components/schemas/ErrorResponse"
1288
+ }
1289
+ }
1290
+ },
1291
+ "headers": {
1292
+ "X-AF-Credits-Cost": {
1293
+ "$ref": "#/components/headers/X-AF-Credits-Cost"
1294
+ }
1295
+ }
1111
1296
  }
1112
1297
  }
1113
1298
  }
@@ -210,23 +210,33 @@
210
210
  }
211
211
  },
212
212
  "415": {
213
- "description": "Unsupported Media Type — File type not supported",
213
+ "description": "Unsupported Media Type — The uploaded file type, or the file type associated with the provided file_id, is not supported for this operation",
214
214
  "content": {
215
215
  "application/json": {
216
- "schema": {
217
- "$ref": "#/components/schemas/ErrorResponse"
218
- },
219
216
  "examples": {
220
217
  "UnsupportedFileType": {
221
- "summary": "Uploaded file is not a supported type",
218
+ "summary": "Unsupported file type (file uploaded in the request)",
222
219
  "value": {
223
- "timestamp": "2026-07-27T10:59:24.507Z",
220
+ "timestamp": "2026-11-20T11:30:02.110Z",
224
221
  "path": "/v1.0/pdf/unrestrict-pdf",
225
222
  "status": 415,
226
223
  "error": "Unsupported File Type",
227
224
  "message": "The provided file type is not supported. Refer to the documentation for valid file types."
228
225
  }
226
+ },
227
+ "UnsupportedFileTypeForId": {
228
+ "summary": "Unsupported file type for the provided file ID",
229
+ "value": {
230
+ "timestamp": "2026-11-20T11:29:30.986Z",
231
+ "path": "/v1.0/pdf/unrestrict-pdf",
232
+ "status": 415,
233
+ "error": "Unsupported File Type",
234
+ "message": "The file type associated with the provided file ID is not supported for this operation. Please refer to the documentation for the list of allowed file types."
235
+ }
229
236
  }
237
+ },
238
+ "schema": {
239
+ "$ref": "#/components/schemas/ErrorResponse"
230
240
  }
231
241
  }
232
242
  },
@@ -191,19 +191,29 @@
191
191
  }
192
192
  },
193
193
  "415": {
194
- "description": "Unsupported Media Type — File type not supported",
194
+ "description": "Unsupported Media Type — The uploaded file type, or the file type associated with the provided file_id, is not supported for this operation",
195
195
  "content": {
196
196
  "application/json": {
197
197
  "examples": {
198
198
  "UnsupportedFileType": {
199
- "summary": "Uploaded file is not a supported type",
199
+ "summary": "Unsupported file type (file uploaded in the request)",
200
200
  "value": {
201
- "timestamp": "2026-07-27T10:54:38.800Z",
201
+ "timestamp": "2026-11-20T11:29:55.932Z",
202
202
  "path": "/v1.0/pdf/rotate",
203
203
  "status": 415,
204
204
  "error": "Unsupported File Type",
205
205
  "message": "The provided file type is not supported. Refer to the documentation for valid file types."
206
206
  }
207
+ },
208
+ "UnsupportedFileTypeForId": {
209
+ "summary": "Unsupported file type for the provided file ID",
210
+ "value": {
211
+ "timestamp": "2026-11-20T11:29:24.762Z",
212
+ "path": "/v1.0/pdf/rotate",
213
+ "status": 415,
214
+ "error": "Unsupported File Type",
215
+ "message": "The file type associated with the provided file ID is not supported for this operation. Please refer to the documentation for the list of allowed file types."
216
+ }
207
217
  }
208
218
  },
209
219
  "schema": {
@@ -167,19 +167,29 @@
167
167
  }
168
168
  },
169
169
  "415": {
170
- "description": "Unsupported Media Type — File type not supported",
170
+ "description": "Unsupported Media Type — The uploaded file type, or the file type associated with the provided file_id, is not supported for this operation",
171
171
  "content": {
172
172
  "application/json": {
173
173
  "examples": {
174
174
  "UnsupportedFileType": {
175
- "summary": "Uploaded file is not a supported type",
175
+ "summary": "Unsupported file type (file uploaded in the request)",
176
176
  "value": {
177
- "timestamp": "2026-07-27T10:54:01.347Z",
177
+ "timestamp": "2026-11-20T11:29:55.376Z",
178
178
  "path": "/v1.0/pdf/split-pdf",
179
179
  "status": 415,
180
180
  "error": "Unsupported File Type",
181
181
  "message": "The provided file type is not supported. Refer to the documentation for valid file types."
182
182
  }
183
+ },
184
+ "UnsupportedFileTypeForId": {
185
+ "summary": "Unsupported file type for the provided file ID",
186
+ "value": {
187
+ "timestamp": "2026-11-20T11:29:24.156Z",
188
+ "path": "/v1.0/pdf/split-pdf",
189
+ "status": 415,
190
+ "error": "Unsupported File Type",
191
+ "message": "The file type associated with the provided file ID is not supported for this operation. Please refer to the documentation for the list of allowed file types."
192
+ }
183
193
  }
184
194
  },
185
195
  "schema": {
@@ -1128,13 +1128,13 @@
1128
1128
  },
1129
1129
  "wait_for_event": {
1130
1130
  "type": "string",
1131
- "enum": ["load", "domcontentloaded", "networkidle"],
1132
- "description": "Controls when rendering starts based on page load lifecycle. `load` (all resources), `domcontentloaded` (HTML parsed), `networkidle` (no network activity for 500ms).",
1131
+ "enum": ["load", "domcontentloaded", "networkidle0", "networkidle2"],
1132
+ "description": "Controls when rendering starts based on the page load lifecycle. `load` waits for all resources, `domcontentloaded` waits for the HTML to be parsed, `networkidle0` waits until there are no network requests for 500ms, and `networkidle2` waits until no more than 2 requests are active for 500ms. Use `networkidle2` when a page keeps one or two long-running requests open, such as a polling call, that stop `networkidle0` from completing. Write the value in lowercase, exactly as listed.",
1133
1133
  "default": "load"
1134
1134
  },
1135
1135
  "delay": {
1136
1136
  "type": "integer",
1137
- "description": "Wait period in milliseconds before capture. Allows animations, API responses, and dynamic elements to finish rendering.",
1137
+ "description": "Wait period in milliseconds before capture. Allows animations, API responses, and dynamic elements to finish rendering. A value above 30000 is cut to 30 seconds and the request still succeeds.",
1138
1138
  "default": 0
1139
1139
  },
1140
1140
  "lazy_load": {
@@ -1144,7 +1144,7 @@
1144
1144
  },
1145
1145
  "scroll_delay": {
1146
1146
  "type": "integer",
1147
- "description": "Delay in milliseconds between scroll steps when `lazy_load` is enabled. Use higher values for heavy pages.",
1147
+ "description": "Delay in milliseconds between scroll steps when `lazy_load` is enabled. Use higher values for heavy pages. On a long page, a very high value can push the total time past `timeout` and fail the request.",
1148
1148
  "default": 500
1149
1149
  },
1150
1150
  "timeout": {
@@ -1324,7 +1324,7 @@
1324
1324
  },
1325
1325
  "block_specific_requests": {
1326
1326
  "type": "string",
1327
- "description": "Fine-grained blocking of specific URLs or patterns. Separate multiple rules by comma, space, or newline. Default: empty."
1327
+ "description": "Blocks specific requests. Separate rules by comma, space, or newline. A rule without `*` must match the full request URL exactly, including the scheme and path; a bare domain or partial path does not match. A rule with `*` is a wildcard: each `*` matches any run of characters, including dots and slashes, the whole URL must match, and matching is not case-sensitive. Use wildcards for URLs that change on every load, such as a random subdomain or port, for example `https://*.example.com:*/*`. Default: empty."
1328
1328
  },
1329
1329
  "extract_text": {
1330
1330
  "type": "boolean",
@@ -1376,12 +1376,12 @@
1376
1376
  },
1377
1377
  "solve_captcha": {
1378
1378
  "type": "boolean",
1379
- "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.",
1379
+ "description": "Solves a captcha made of text drawn in a picture, then takes the screenshot. Requires captcha_image and captcha_input. It reads text inside a picture only; checkbox challenges and challenges that ask you to select pictures are not supported. Adds 20 credits per request.",
1380
1380
  "default": false
1381
1381
  },
1382
1382
  "captcha_image": {
1383
1383
  "type": "string",
1384
- "description": "CSS selector of the captcha picture. Required when solve_captcha is true."
1384
+ "description": "CSS selector of the captcha picture, for example `#captcha-img`. Required when solve_captcha is true. The solver waits up to 30 seconds for it to appear."
1385
1385
  },
1386
1386
  "captcha_input": {
1387
1387
  "type": "string",
@@ -1389,11 +1389,11 @@
1389
1389
  },
1390
1390
  "captcha_submit": {
1391
1391
  "type": "string",
1392
- "description": "CSS selector of the button to click after the answer is typed."
1392
+ "description": "CSS selector of the button to click after the answer is typed. Without it the answer is typed but no button is pressed, which works only when the page checks the answer as you type."
1393
1393
  },
1394
1394
  "captcha_error": {
1395
1395
  "type": "string",
1396
- "description": "CSS selector of the message shown for a wrong answer. While it is visible, the solver tries again."
1396
+ "description": "CSS selector of the message shown for a wrong answer. While it is visible, the solver tries again. Without it the solver cannot tell that a guess was wrong and makes one try."
1397
1397
  },
1398
1398
  "captcha_refresh": {
1399
1399
  "type": "string",
@@ -1404,7 +1404,7 @@
1404
1404
  "minimum": 1,
1405
1405
  "maximum": 5,
1406
1406
  "default": 3,
1407
- "description": "Number of guesses the solver makes, from 1 to 5."
1407
+ "description": "Number of guesses the solver makes, from 1 to 5. When every guess is rejected, the request fails."
1408
1408
  },
1409
1409
  "ocr_model": {
1410
1410
  "type": "string",
@@ -318,10 +318,10 @@
318
318
  "required": false,
319
319
  "schema": {
320
320
  "type": "string",
321
- "enum": ["load", "domcontentloaded", "networkidle"],
321
+ "enum": ["load", "domcontentloaded", "networkidle0", "networkidle2"],
322
322
  "default": "load"
323
323
  },
324
- "description": "Controls when rendering starts based on page load lifecycle. `load` (all resources), `domcontentloaded` (HTML parsed), `networkidle` (no network activity for 500ms)."
324
+ "description": "Controls when rendering starts based on the page load lifecycle. `load` waits for all resources, `domcontentloaded` waits for the HTML to be parsed, `networkidle0` waits until there are no network requests for 500ms, and `networkidle2` waits until no more than 2 requests are active for 500ms. Use `networkidle2` when a page keeps one or two long-running requests open, such as a polling call, that stop `networkidle0` from completing. Write the value in lowercase, exactly as listed."
325
325
  },
326
326
  {
327
327
  "name": "delay",
@@ -331,7 +331,7 @@
331
331
  "type": "integer",
332
332
  "default": 0
333
333
  },
334
- "description": "Wait period in milliseconds before capture. Allows animations, API responses, and dynamic elements to finish rendering."
334
+ "description": "Wait period in milliseconds before capture. Allows animations, API responses, and dynamic elements to finish rendering. A value above 30000 is cut to 30 seconds and the request still succeeds."
335
335
  },
336
336
  {
337
337
  "name": "lazy_load",
@@ -351,7 +351,7 @@
351
351
  "type": "integer",
352
352
  "default": 500
353
353
  },
354
- "description": "Delay in milliseconds between scroll steps when `lazy_load` is enabled. Use higher values for heavy pages."
354
+ "description": "Delay in milliseconds between scroll steps when `lazy_load` is enabled. Use higher values for heavy pages. On a long page, a very high value can push the total time past `timeout` and fail the request."
355
355
  },
356
356
  {
357
357
  "name": "timeout",
@@ -727,7 +727,7 @@
727
727
  "schema": {
728
728
  "type": "string"
729
729
  },
730
- "description": "Fine-grained blocking of specific URLs or patterns. Separate multiple rules by comma, space, or newline. Default: empty."
730
+ "description": "Blocks specific requests. Separate rules by comma, space, or newline. A rule without `*` must match the full request URL exactly, including the scheme and path; a bare domain or partial path does not match. A rule with `*` is a wildcard: each `*` matches any run of characters, including dots and slashes, the whole URL must match, and matching is not case-sensitive. Use wildcards for URLs that change on every load, such as a random subdomain or port, for example `https://*.example.com:*/*`. Default: empty."
731
731
  },
732
732
  {
733
733
  "name": "extract_text",
@@ -835,7 +835,7 @@
835
835
  "type": "boolean",
836
836
  "default": false
837
837
  },
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."
838
+ "description": "Solves a captcha made of text drawn in a picture, then takes the screenshot. Requires captcha_image and captcha_input. It reads text inside a picture only; checkbox challenges and challenges that ask you to select pictures are not supported. Adds 20 credits per request."
839
839
  },
840
840
  {
841
841
  "name": "captcha_image",
@@ -844,7 +844,7 @@
844
844
  "schema": {
845
845
  "type": "string"
846
846
  },
847
- "description": "CSS selector of the captcha picture. Required when solve_captcha is true."
847
+ "description": "CSS selector of the captcha picture, for example `#captcha-img`. Required when solve_captcha is true. The solver waits up to 30 seconds for it to appear."
848
848
  },
849
849
  {
850
850
  "name": "captcha_input",
@@ -862,7 +862,7 @@
862
862
  "schema": {
863
863
  "type": "string"
864
864
  },
865
- "description": "CSS selector of the button to click after the answer is typed."
865
+ "description": "CSS selector of the button to click after the answer is typed. Without it the answer is typed but no button is pressed, which works only when the page checks the answer as you type."
866
866
  },
867
867
  {
868
868
  "name": "captcha_error",
@@ -871,7 +871,7 @@
871
871
  "schema": {
872
872
  "type": "string"
873
873
  },
874
- "description": "CSS selector of the message shown for a wrong answer. While it is visible, the solver tries again."
874
+ "description": "CSS selector of the message shown for a wrong answer. While it is visible, the solver tries again. Without it the solver cannot tell that a guess was wrong and makes one try."
875
875
  },
876
876
  {
877
877
  "name": "captcha_refresh",
@@ -892,7 +892,7 @@
892
892
  "maximum": 5,
893
893
  "default": 3
894
894
  },
895
- "description": "Number of guesses the solver makes, from 1 to 5."
895
+ "description": "Number of guesses the solver makes, from 1 to 5. When every guess is rejected, the request fails."
896
896
  },
897
897
  {
898
898
  "name": "ocr_model",