@apifreaks/openapi-specs 0.4.20 → 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 (63) hide show
  1. package/dist/index.cjs +4410 -530
  2. package/dist/index.js +4410 -530
  3. package/dist/specs/commodity/historical-commodity-prices.yaml +30 -11
  4. package/dist/specs/dns/bulk-dns-lookup.yaml +214 -33
  5. package/dist/specs/dns/dns-lookup.yaml +9 -1
  6. package/dist/specs/financial/bulk-vat-rates-country.yaml +22 -4
  7. package/dist/specs/geography/flags-supported.yaml +18 -10
  8. package/dist/specs/pdf/delete-pdf-page.yaml +12 -4
  9. package/dist/specs/pdf/linearize-pdf.yaml +11 -3
  10. package/dist/specs/pdf/merge-pdf.yaml +11 -3
  11. package/dist/specs/pdf/pdf-compress.yaml +12 -4
  12. package/dist/specs/pdf/pdf-decrypt.yaml +13 -5
  13. package/dist/specs/pdf/pdf-encrypt.yaml +11 -3
  14. package/dist/specs/pdf/pdf-extract-pages.yaml +11 -3
  15. package/dist/specs/pdf/pdf-resource-upload-binary.yaml +1 -1
  16. package/dist/specs/pdf/pdf-resource-upload.yaml +3 -3
  17. package/dist/specs/pdf/pdf-restrict.yaml +13 -5
  18. package/dist/specs/pdf/pdf-to-image.yaml +130 -0
  19. package/dist/specs/pdf/pdf-unrestrict.yaml +13 -5
  20. package/dist/specs/pdf/rotate-pdf-pages.yaml +11 -3
  21. package/dist/specs/pdf/split-pdf.yaml +11 -3
  22. package/dist/specs/screenshot/bulk-screenshot.yaml +11 -10
  23. package/dist/specs/screenshot/website-screenshot.yaml +11 -10
  24. package/dist/specs/timezone/timezone-converter.yaml +36 -8
  25. package/dist/specs/timezone/timezone-lookup.yaml +36 -10
  26. package/dist/specs/weather/time-series-weather.yaml +6 -7
  27. package/dist/specs/whois/asn-lookup.yaml +676 -37
  28. package/dist/specs/whois/bulk-whois-lookup.yaml +480 -2
  29. package/dist/specs/whois/domain-whois-history-lookup.yaml +222 -2
  30. package/dist/specs/whois/reverse-whois.yaml +316 -8
  31. package/dist/specs/whois/whois-domain-lookup.yaml +482 -11
  32. package/dist/specs/whois/whois-ip-lookup.yaml +306 -255
  33. package/package.json +1 -1
  34. package/specs/commodity/historical-commodity-prices.json +37 -11
  35. package/specs/dns/bulk-dns-lookup.json +274 -29
  36. package/specs/dns/dns-lookup.json +13 -2
  37. package/specs/financial/bulk-vat-rates-country.json +33 -4
  38. package/specs/geography/flags-supported.json +20 -13
  39. package/specs/pdf/delete-pdf-page.json +14 -4
  40. package/specs/pdf/linearize-pdf.json +13 -3
  41. package/specs/pdf/merge-pdf.json +13 -3
  42. package/specs/pdf/pdf-compress.json +14 -4
  43. package/specs/pdf/pdf-decrypt.json +16 -6
  44. package/specs/pdf/pdf-encrypt.json +13 -3
  45. package/specs/pdf/pdf-extract-pages.json +13 -3
  46. package/specs/pdf/pdf-resource-upload-binary.json +1 -1
  47. package/specs/pdf/pdf-resource-upload.json +4 -4
  48. package/specs/pdf/pdf-restrict.json +16 -6
  49. package/specs/pdf/pdf-to-image.json +185 -0
  50. package/specs/pdf/pdf-unrestrict.json +16 -6
  51. package/specs/pdf/rotate-pdf-pages.json +13 -3
  52. package/specs/pdf/split-pdf.json +13 -3
  53. package/specs/screenshot/bulk-screenshot.json +10 -10
  54. package/specs/screenshot/website-screenshot.json +10 -10
  55. package/specs/timezone/timezone-converter.json +48 -8
  56. package/specs/timezone/timezone-lookup.json +53 -10
  57. package/specs/weather/time-series-weather.json +7 -7
  58. package/specs/whois/asn-lookup.json +878 -54
  59. package/specs/whois/bulk-whois-lookup.json +612 -2
  60. package/specs/whois/domain-whois-history-lookup.json +307 -2
  61. package/specs/whois/reverse-whois.json +453 -9
  62. package/specs/whois/whois-domain-lookup.json +632 -11
  63. package/specs/whois/whois-ip-lookup.json +427 -241
@@ -119,18 +119,26 @@ paths:
119
119
  X-AF-Credits-Cost:
120
120
  $ref: '#/components/headers/X-AF-Credits-Cost'
121
121
  '415':
122
- description: Unsupported Media Type — File type not supported
122
+ description: Unsupported Media Type — The uploaded file type, or the file type associated with the provided file_id, is not supported for this operation
123
123
  content:
124
124
  application/json:
125
125
  examples:
126
126
  UnsupportedFileType:
127
- summary: Unsupported file type
127
+ summary: Unsupported file type (file uploaded in the request)
128
128
  value:
129
- timestamp: '2026-07-27T10:49:42.554Z'
129
+ timestamp: '2026-11-20T11:28:17.071Z'
130
130
  path: /v1.0/pdf/merge-pdf
131
131
  status: 415
132
132
  error: Unsupported File Type
133
133
  message: The provided file type is not supported. Refer to the documentation for valid file types.
134
+ UnsupportedFileTypeForId:
135
+ summary: Unsupported file type for the provided file ID
136
+ value:
137
+ timestamp: '2026-11-20T11:29:03.015Z'
138
+ path: /v1.0/pdf/merge-pdf
139
+ status: 415
140
+ error: Unsupported File Type
141
+ 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.
134
142
  schema:
135
143
  $ref: '#/components/schemas/ErrorResponse'
136
144
  headers:
@@ -136,18 +136,26 @@ paths:
136
136
  X-AF-Credits-Cost:
137
137
  $ref: '#/components/headers/X-AF-Credits-Cost'
138
138
  '415':
139
- description: Unsupported Media Type — File type not supported
139
+ description: Unsupported Media Type — The uploaded file type, or the file type associated with the provided file_id, is not supported for this operation
140
140
  content:
141
141
  application/json:
142
142
  examples:
143
- InvalidPDF:
144
- summary: Uploaded file is not a supported type
143
+ UnsupportedFileType:
144
+ summary: Unsupported file type (file uploaded in the request)
145
145
  value:
146
- timestamp: '2026-07-27T10:50:18.409Z'
146
+ timestamp: '2026-11-20T11:29:59.465Z'
147
147
  path: /v1.0/pdf/compress
148
148
  status: 415
149
149
  error: Unsupported File Type
150
150
  message: The provided file type is not supported. Refer to the documentation for valid file types.
151
+ UnsupportedFileTypeForId:
152
+ summary: Unsupported file type for the provided file ID
153
+ value:
154
+ timestamp: '2026-11-20T11:29:27.971Z'
155
+ path: /v1.0/pdf/compress
156
+ status: 415
157
+ error: Unsupported File Type
158
+ 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.
151
159
  schema:
152
160
  $ref: '#/components/schemas/ErrorResponse'
153
161
  headers:
@@ -129,20 +129,28 @@ paths:
129
129
  X-AF-Credits-Cost:
130
130
  $ref: '#/components/headers/X-AF-Credits-Cost'
131
131
  '415':
132
- description: Unsupported Media Type — File type not supported
132
+ description: Unsupported Media Type — The uploaded file type, or the file type associated with the provided file_id, is not supported for this operation
133
133
  content:
134
134
  application/json:
135
- schema:
136
- $ref: '#/components/schemas/ErrorResponse'
137
135
  examples:
138
136
  UnsupportedFileType:
139
- summary: Uploaded file is not a supported type
137
+ summary: Unsupported file type (file uploaded in the request)
140
138
  value:
141
- timestamp: '2026-07-27T10:56:50.780Z'
139
+ timestamp: '2026-11-20T11:30:00.027Z'
142
140
  path: /v1.0/pdf/decrypt-pdf
143
141
  status: 415
144
142
  error: Unsupported File Type
145
143
  message: The provided file type is not supported. Refer to the documentation for valid file types.
144
+ UnsupportedFileTypeForId:
145
+ summary: Unsupported file type for the provided file ID
146
+ value:
147
+ timestamp: '2026-11-20T11:29:28.798Z'
148
+ path: /v1.0/pdf/decrypt-pdf
149
+ status: 415
150
+ error: Unsupported File Type
151
+ 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.
152
+ schema:
153
+ $ref: '#/components/schemas/ErrorResponse'
146
154
  headers:
147
155
  X-AF-Credits-Cost:
148
156
  $ref: '#/components/headers/X-AF-Credits-Cost'
@@ -141,18 +141,26 @@ paths:
141
141
  X-AF-Credits-Cost:
142
142
  $ref: '#/components/headers/X-AF-Credits-Cost'
143
143
  '415':
144
- description: Unsupported Media Type — File type not supported
144
+ description: Unsupported Media Type — The uploaded file type, or the file type associated with the provided file_id, is not supported for this operation
145
145
  content:
146
146
  application/json:
147
147
  examples:
148
148
  UnsupportedFileType:
149
- summary: Uploaded file is not a supported type
149
+ summary: Unsupported file type (file uploaded in the request)
150
150
  value:
151
- timestamp: '2026-07-27T10:55:38.634Z'
151
+ timestamp: '2026-11-20T11:30:00.790Z'
152
152
  path: /v1.0/pdf/encrypt-pdf
153
153
  status: 415
154
154
  error: Unsupported File Type
155
155
  message: The provided file type is not supported. Refer to the documentation for valid file types.
156
+ UnsupportedFileTypeForId:
157
+ summary: Unsupported file type for the provided file ID
158
+ value:
159
+ timestamp: '2026-11-20T11:29:29.425Z'
160
+ path: /v1.0/pdf/encrypt-pdf
161
+ status: 415
162
+ error: Unsupported File Type
163
+ 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.
156
164
  schema:
157
165
  $ref: '#/components/schemas/ErrorResponse'
158
166
  headers:
@@ -127,18 +127,26 @@ paths:
127
127
  X-AF-Credits-Cost:
128
128
  $ref: '#/components/headers/X-AF-Credits-Cost'
129
129
  '415':
130
- description: Unsupported Media Type — File type not supported
130
+ description: Unsupported Media Type — The uploaded file type, or the file type associated with the provided file_id, is not supported for this operation
131
131
  content:
132
132
  application/json:
133
133
  examples:
134
134
  UnsupportedFileType:
135
- summary: Uploaded file is not a supported type
135
+ summary: Unsupported file type (file uploaded in the request)
136
136
  value:
137
- timestamp: '2026-07-27T10:53:19.733Z'
137
+ timestamp: '2026-11-20T11:29:57.308Z'
138
138
  path: /v1.0/pdf/extract-pages
139
139
  status: 415
140
140
  error: Unsupported File Type
141
141
  message: The provided file type is not supported. Refer to the documentation for valid file types.
142
+ UnsupportedFileTypeForId:
143
+ summary: Unsupported file type for the provided file ID
144
+ value:
145
+ timestamp: '2026-11-20T11:29:27.200Z'
146
+ path: /v1.0/pdf/extract-pages
147
+ status: 415
148
+ error: Unsupported File Type
149
+ 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.
142
150
  schema:
143
151
  $ref: '#/components/schemas/ErrorResponse'
144
152
  headers:
@@ -97,7 +97,7 @@ paths:
97
97
  UnsupportedFileType:
98
98
  summary: Unsupported file type
99
99
  value:
100
- timestamp: '2026-07-27T10:48:15.449Z'
100
+ timestamp: '2026-11-20T11:30:10.529Z'
101
101
  path: /v1.0/pdf/upload-binary
102
102
  status: 415
103
103
  error: Unsupported File Type
@@ -88,17 +88,17 @@ paths:
88
88
  description: Unsupported Media Type — File type not supported
89
89
  content:
90
90
  application/json:
91
- schema:
92
- $ref: '#/components/schemas/ErrorResponse'
93
91
  examples:
94
92
  unsupportedFileType:
95
93
  summary: Unsupported file type
96
94
  value:
97
- timestamp: '2026-07-27T10:47:37.481Z'
95
+ timestamp: '2026-11-20T11:28:22.868Z'
98
96
  path: /v1.0/pdf/upload
99
97
  status: 415
100
98
  error: Unsupported File Type
101
99
  message: The provided file type is not supported. Refer to the documentation for valid file types.
100
+ schema:
101
+ $ref: '#/components/schemas/ErrorResponse'
102
102
  headers:
103
103
  X-AF-Credits-Cost:
104
104
  $ref: '#/components/headers/X-AF-Credits-Cost'
@@ -174,20 +174,28 @@ paths:
174
174
  X-AF-Credits-Cost:
175
175
  $ref: '#/components/headers/X-AF-Credits-Cost'
176
176
  '415':
177
- description: Unsupported Media Type — File type not supported
177
+ description: Unsupported Media Type — The uploaded file type, or the file type associated with the provided file_id, is not supported for this operation
178
178
  content:
179
179
  application/json:
180
- schema:
181
- $ref: '#/components/schemas/ErrorResponse'
182
180
  examples:
183
181
  UnsupportedFileType:
184
- summary: Uploaded file is not a supported type
182
+ summary: Unsupported file type (file uploaded in the request)
185
183
  value:
186
- timestamp: '2026-07-27T10:57:25.374Z'
184
+ timestamp: '2026-11-20T11:30:01.367Z'
187
185
  path: /v1.0/pdf/restrict-pdf
188
186
  status: 415
189
187
  error: Unsupported File Type
190
188
  message: The provided file type is not supported. Refer to the documentation for valid file types.
189
+ UnsupportedFileTypeForId:
190
+ summary: Unsupported file type for the provided file ID
191
+ value:
192
+ timestamp: '2026-11-20T11:29:30.158Z'
193
+ path: /v1.0/pdf/restrict-pdf
194
+ status: 415
195
+ error: Unsupported File Type
196
+ 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.
197
+ schema:
198
+ $ref: '#/components/schemas/ErrorResponse'
191
199
  headers:
192
200
  X-AF-Credits-Cost:
193
201
  $ref: '#/components/headers/X-AF-Credits-Cost'
@@ -169,6 +169,32 @@ paths:
169
169
  headers:
170
170
  X-AF-Credits-Cost:
171
171
  $ref: '#/components/headers/X-AF-Credits-Cost'
172
+ '415':
173
+ description: Unsupported Media Type — The uploaded file type, or the file type associated with the provided file_id, is not supported for this operation
174
+ content:
175
+ application/json:
176
+ examples:
177
+ UnsupportedFileType:
178
+ summary: Unsupported file type (file uploaded in the request)
179
+ value:
180
+ timestamp: '2026-11-20T11:30:03.767Z'
181
+ path: /v1.0/pdf/png
182
+ status: 415
183
+ error: Unsupported File Type
184
+ message: The provided file type is not supported. Refer to the documentation for valid file types.
185
+ UnsupportedFileTypeForId:
186
+ summary: Unsupported file type for the provided file ID
187
+ value:
188
+ timestamp: '2026-11-20T11:29:36.193Z'
189
+ path: /v1.0/pdf/png
190
+ status: 415
191
+ error: Unsupported File Type
192
+ 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.
193
+ schema:
194
+ $ref: '#/components/schemas/ErrorResponse'
195
+ headers:
196
+ X-AF-Credits-Cost:
197
+ $ref: '#/components/headers/X-AF-Credits-Cost'
172
198
  operationId: pdfToImage
173
199
  /pdf/jpg:
174
200
  post:
@@ -339,6 +365,32 @@ paths:
339
365
  headers:
340
366
  X-AF-Credits-Cost:
341
367
  $ref: '#/components/headers/X-AF-Credits-Cost'
368
+ '415':
369
+ description: Unsupported Media Type — The uploaded file type, or the file type associated with the provided file_id, is not supported for this operation
370
+ content:
371
+ application/json:
372
+ examples:
373
+ UnsupportedFileType:
374
+ summary: Unsupported file type (file uploaded in the request)
375
+ value:
376
+ timestamp: '2026-11-20T11:30:05.678Z'
377
+ path: /v1.0/pdf/jpg
378
+ status: 415
379
+ error: Unsupported File Type
380
+ message: The provided file type is not supported. Refer to the documentation for valid file types.
381
+ UnsupportedFileTypeForId:
382
+ summary: Unsupported file type for the provided file ID
383
+ value:
384
+ timestamp: '2026-11-20T11:29:32.646Z'
385
+ path: /v1.0/pdf/jpg
386
+ status: 415
387
+ error: Unsupported File Type
388
+ 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.
389
+ schema:
390
+ $ref: '#/components/schemas/ErrorResponse'
391
+ headers:
392
+ X-AF-Credits-Cost:
393
+ $ref: '#/components/headers/X-AF-Credits-Cost'
342
394
  /pdf/tif:
343
395
  post:
344
396
  tags:
@@ -496,6 +548,32 @@ paths:
496
548
  headers:
497
549
  X-AF-Credits-Cost:
498
550
  $ref: '#/components/headers/X-AF-Credits-Cost'
551
+ '415':
552
+ description: Unsupported Media Type — The uploaded file type, or the file type associated with the provided file_id, is not supported for this operation
553
+ content:
554
+ application/json:
555
+ examples:
556
+ UnsupportedFileType:
557
+ summary: Unsupported file type (file uploaded in the request)
558
+ value:
559
+ timestamp: '2026-11-20T11:30:06.388Z'
560
+ path: /v1.0/pdf/tif
561
+ status: 415
562
+ error: Unsupported File Type
563
+ message: The provided file type is not supported. Refer to the documentation for valid file types.
564
+ UnsupportedFileTypeForId:
565
+ summary: Unsupported file type for the provided file ID
566
+ value:
567
+ timestamp: '2026-11-20T11:29:36.193Z'
568
+ path: /v1.0/pdf/tif
569
+ status: 415
570
+ error: Unsupported File Type
571
+ 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.
572
+ schema:
573
+ $ref: '#/components/schemas/ErrorResponse'
574
+ headers:
575
+ X-AF-Credits-Cost:
576
+ $ref: '#/components/headers/X-AF-Credits-Cost'
499
577
  /pdf/bmp:
500
578
  post:
501
579
  tags:
@@ -653,6 +731,32 @@ paths:
653
731
  headers:
654
732
  X-AF-Credits-Cost:
655
733
  $ref: '#/components/headers/X-AF-Credits-Cost'
734
+ '415':
735
+ description: Unsupported Media Type — The uploaded file type, or the file type associated with the provided file_id, is not supported for this operation
736
+ content:
737
+ application/json:
738
+ examples:
739
+ UnsupportedFileType:
740
+ summary: Unsupported file type (file uploaded in the request)
741
+ value:
742
+ timestamp: '2026-11-20T11:30:07.356Z'
743
+ path: /v1.0/pdf/bmp
744
+ status: 415
745
+ error: Unsupported File Type
746
+ message: The provided file type is not supported. Refer to the documentation for valid file types.
747
+ UnsupportedFileTypeForId:
748
+ summary: Unsupported file type for the provided file ID
749
+ value:
750
+ timestamp: '2026-11-20T11:29:36.193Z'
751
+ path: /v1.0/pdf/bmp
752
+ status: 415
753
+ error: Unsupported File Type
754
+ 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.
755
+ schema:
756
+ $ref: '#/components/schemas/ErrorResponse'
757
+ headers:
758
+ X-AF-Credits-Cost:
759
+ $ref: '#/components/headers/X-AF-Credits-Cost'
656
760
  /pdf/gif:
657
761
  post:
658
762
  tags:
@@ -811,6 +915,32 @@ paths:
811
915
  headers:
812
916
  X-AF-Credits-Cost:
813
917
  $ref: '#/components/headers/X-AF-Credits-Cost'
918
+ '415':
919
+ description: Unsupported Media Type — The uploaded file type, or the file type associated with the provided file_id, is not supported for this operation
920
+ content:
921
+ application/json:
922
+ examples:
923
+ UnsupportedFileType:
924
+ summary: Unsupported file type (file uploaded in the request)
925
+ value:
926
+ timestamp: '2026-11-20T11:30:10.008Z'
927
+ path: /v1.0/pdf/gif
928
+ status: 415
929
+ error: Unsupported File Type
930
+ message: The provided file type is not supported. Refer to the documentation for valid file types.
931
+ UnsupportedFileTypeForId:
932
+ summary: Unsupported file type for the provided file ID
933
+ value:
934
+ timestamp: '2026-11-20T11:29:36.193Z'
935
+ path: /v1.0/pdf/gif
936
+ status: 415
937
+ error: Unsupported File Type
938
+ 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.
939
+ schema:
940
+ $ref: '#/components/schemas/ErrorResponse'
941
+ headers:
942
+ X-AF-Credits-Cost:
943
+ $ref: '#/components/headers/X-AF-Credits-Cost'
814
944
  components:
815
945
  securitySchemes:
816
946
  ApiKeyAuthHeader:
@@ -149,20 +149,28 @@ paths:
149
149
  X-AF-Credits-Cost:
150
150
  $ref: '#/components/headers/X-AF-Credits-Cost'
151
151
  '415':
152
- description: Unsupported Media Type — File type not supported
152
+ description: Unsupported Media Type — The uploaded file type, or the file type associated with the provided file_id, is not supported for this operation
153
153
  content:
154
154
  application/json:
155
- schema:
156
- $ref: '#/components/schemas/ErrorResponse'
157
155
  examples:
158
156
  UnsupportedFileType:
159
- summary: Uploaded file is not a supported type
157
+ summary: Unsupported file type (file uploaded in the request)
160
158
  value:
161
- timestamp: '2026-07-27T10:59:24.507Z'
159
+ timestamp: '2026-11-20T11:30:02.110Z'
162
160
  path: /v1.0/pdf/unrestrict-pdf
163
161
  status: 415
164
162
  error: Unsupported File Type
165
163
  message: The provided file type is not supported. Refer to the documentation for valid file types.
164
+ UnsupportedFileTypeForId:
165
+ summary: Unsupported file type for the provided file ID
166
+ value:
167
+ timestamp: '2026-11-20T11:29:30.986Z'
168
+ path: /v1.0/pdf/unrestrict-pdf
169
+ status: 415
170
+ error: Unsupported File Type
171
+ 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.
172
+ schema:
173
+ $ref: '#/components/schemas/ErrorResponse'
166
174
  headers:
167
175
  X-AF-Credits-Cost:
168
176
  $ref: '#/components/headers/X-AF-Credits-Cost'
@@ -135,18 +135,26 @@ paths:
135
135
  X-AF-Credits-Cost:
136
136
  $ref: '#/components/headers/X-AF-Credits-Cost'
137
137
  '415':
138
- description: Unsupported Media Type — File type not supported
138
+ description: Unsupported Media Type — The uploaded file type, or the file type associated with the provided file_id, is not supported for this operation
139
139
  content:
140
140
  application/json:
141
141
  examples:
142
142
  UnsupportedFileType:
143
- summary: Uploaded file is not a supported type
143
+ summary: Unsupported file type (file uploaded in the request)
144
144
  value:
145
- timestamp: '2026-07-27T10:54:38.800Z'
145
+ timestamp: '2026-11-20T11:29:55.932Z'
146
146
  path: /v1.0/pdf/rotate
147
147
  status: 415
148
148
  error: Unsupported File Type
149
149
  message: The provided file type is not supported. Refer to the documentation for valid file types.
150
+ UnsupportedFileTypeForId:
151
+ summary: Unsupported file type for the provided file ID
152
+ value:
153
+ timestamp: '2026-11-20T11:29:24.762Z'
154
+ path: /v1.0/pdf/rotate
155
+ status: 415
156
+ error: Unsupported File Type
157
+ 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.
150
158
  schema:
151
159
  $ref: '#/components/schemas/ErrorResponse'
152
160
  headers:
@@ -136,18 +136,26 @@ paths:
136
136
  X-AF-Credits-Cost:
137
137
  $ref: '#/components/headers/X-AF-Credits-Cost'
138
138
  '415':
139
- description: Unsupported Media Type — File type not supported
139
+ description: Unsupported Media Type — The uploaded file type, or the file type associated with the provided file_id, is not supported for this operation
140
140
  content:
141
141
  application/json:
142
142
  examples:
143
143
  UnsupportedFileType:
144
- summary: Uploaded file is not a supported type
144
+ summary: Unsupported file type (file uploaded in the request)
145
145
  value:
146
- timestamp: '2026-07-27T10:54:01.347Z'
146
+ timestamp: '2026-11-20T11:29:55.376Z'
147
147
  path: /v1.0/pdf/split-pdf
148
148
  status: 415
149
149
  error: Unsupported File Type
150
150
  message: The provided file type is not supported. Refer to the documentation for valid file types.
151
+ UnsupportedFileTypeForId:
152
+ summary: Unsupported file type for the provided file ID
153
+ value:
154
+ timestamp: '2026-11-20T11:29:24.156Z'
155
+ path: /v1.0/pdf/split-pdf
156
+ status: 415
157
+ error: Unsupported File Type
158
+ 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.
151
159
  schema:
152
160
  $ref: '#/components/schemas/ErrorResponse'
153
161
  headers:
@@ -847,12 +847,13 @@ components:
847
847
  enum:
848
848
  - load
849
849
  - domcontentloaded
850
- - networkidle
851
- description: Controls when rendering starts based on page load lifecycle. `load` (all resources), `domcontentloaded` (HTML parsed), `networkidle` (no network activity for 500ms).
850
+ - networkidle0
851
+ - networkidle2
852
+ 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.
852
853
  default: load
853
854
  delay:
854
855
  type: integer
855
- description: Wait period in milliseconds before capture. Allows animations, API responses, and dynamic elements to finish rendering.
856
+ 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.
856
857
  default: 0
857
858
  lazy_load:
858
859
  type: boolean
@@ -860,7 +861,7 @@ components:
860
861
  default: false
861
862
  scroll_delay:
862
863
  type: integer
863
- description: Delay in milliseconds between scroll steps when `lazy_load` is enabled. Use higher values for heavy pages.
864
+ 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.
864
865
  default: 500
865
866
  timeout:
866
867
  type: integer
@@ -1001,7 +1002,7 @@ components:
1001
1002
  default: false
1002
1003
  block_specific_requests:
1003
1004
  type: string
1004
- description: 'Fine-grained blocking of specific URLs or patterns. Separate multiple rules by comma, space, or newline. Default: empty.'
1005
+ 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.'
1005
1006
  extract_text:
1006
1007
  type: boolean
1007
1008
  description: Strips all HTML and returns visible text as a .txt file. Ideal for text analysis, indexing, or AI pipelines. Only with output=json.
@@ -1042,20 +1043,20 @@ components:
1042
1043
  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.'
1043
1044
  solve_captcha:
1044
1045
  type: boolean
1045
- 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.
1046
+ 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.
1046
1047
  default: false
1047
1048
  captcha_image:
1048
1049
  type: string
1049
- description: CSS selector of the captcha picture. Required when solve_captcha is true.
1050
+ 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.
1050
1051
  captcha_input:
1051
1052
  type: string
1052
1053
  description: CSS selector of the box the answer is typed into. Required when solve_captcha is true.
1053
1054
  captcha_submit:
1054
1055
  type: string
1055
- description: CSS selector of the button to click after the answer is typed.
1056
+ 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.
1056
1057
  captcha_error:
1057
1058
  type: string
1058
- description: CSS selector of the message shown for a wrong answer. While it is visible, the solver tries again.
1059
+ 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.
1059
1060
  captcha_refresh:
1060
1061
  type: string
1061
1062
  description: CSS selector of the control that loads a new captcha picture before the next try.
@@ -1064,7 +1065,7 @@ components:
1064
1065
  minimum: 1
1065
1066
  maximum: 5
1066
1067
  default: 3
1067
- description: Number of guesses the solver makes, from 1 to 5.
1068
+ description: Number of guesses the solver makes, from 1 to 5. When every guess is rejected, the request fails.
1068
1069
  ocr_model:
1069
1070
  type: string
1070
1071
  enum:
@@ -239,16 +239,17 @@ paths:
239
239
  enum:
240
240
  - load
241
241
  - domcontentloaded
242
- - networkidle
242
+ - networkidle0
243
+ - networkidle2
243
244
  default: load
244
- description: Controls when rendering starts based on page load lifecycle. `load` (all resources), `domcontentloaded` (HTML parsed), `networkidle` (no network activity for 500ms).
245
+ 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.
245
246
  - name: delay
246
247
  in: query
247
248
  required: false
248
249
  schema:
249
250
  type: integer
250
251
  default: 0
251
- description: Wait period in milliseconds before capture. Allows animations, API responses, and dynamic elements to finish rendering.
252
+ 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.
252
253
  - name: lazy_load
253
254
  in: query
254
255
  required: false
@@ -262,7 +263,7 @@ paths:
262
263
  schema:
263
264
  type: integer
264
265
  default: 500
265
- description: Delay in milliseconds between scroll steps when `lazy_load` is enabled. Use higher values for heavy pages.
266
+ 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.
266
267
  - name: timeout
267
268
  in: query
268
269
  required: false
@@ -521,7 +522,7 @@ paths:
521
522
  required: false
522
523
  schema:
523
524
  type: string
524
- description: 'Fine-grained blocking of specific URLs or patterns. Separate multiple rules by comma, space, or newline. Default: empty.'
525
+ 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.'
525
526
  - name: extract_text
526
527
  in: query
527
528
  required: false
@@ -596,13 +597,13 @@ paths:
596
597
  schema:
597
598
  type: boolean
598
599
  default: false
599
- 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.
600
+ 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.
600
601
  - name: captcha_image
601
602
  in: query
602
603
  required: false
603
604
  schema:
604
605
  type: string
605
- description: CSS selector of the captcha picture. Required when solve_captcha is true.
606
+ 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.
606
607
  - name: captcha_input
607
608
  in: query
608
609
  required: false
@@ -614,13 +615,13 @@ paths:
614
615
  required: false
615
616
  schema:
616
617
  type: string
617
- description: CSS selector of the button to click after the answer is typed.
618
+ 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.
618
619
  - name: captcha_error
619
620
  in: query
620
621
  required: false
621
622
  schema:
622
623
  type: string
623
- description: CSS selector of the message shown for a wrong answer. While it is visible, the solver tries again.
624
+ 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.
624
625
  - name: captcha_refresh
625
626
  in: query
626
627
  required: false
@@ -635,7 +636,7 @@ paths:
635
636
  minimum: 1
636
637
  maximum: 5
637
638
  default: 3
638
- description: Number of guesses the solver makes, from 1 to 5.
639
+ description: Number of guesses the solver makes, from 1 to 5. When every guess is rejected, the request fails.
639
640
  - name: ocr_model
640
641
  in: query
641
642
  required: false