@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
package/dist/index.cjs CHANGED
@@ -22782,19 +22782,29 @@ var delete_pdf_page_default = {
22782
22782
  }
22783
22783
  },
22784
22784
  "415": {
22785
- description: "Unsupported Media Type \u2014 File type not supported",
22785
+ description: "Unsupported Media Type \u2014 The uploaded file type, or the file type associated with the provided file_id, is not supported for this operation",
22786
22786
  content: {
22787
22787
  "application/json": {
22788
22788
  examples: {
22789
- InvalidPDF: {
22790
- summary: "Uploaded file is not a supported type",
22789
+ UnsupportedFileType: {
22790
+ summary: "Unsupported file type (file uploaded in the request)",
22791
22791
  value: {
22792
- timestamp: "2026-07-27T10:52:14.649Z",
22792
+ timestamp: "2026-11-20T11:29:56.771Z",
22793
22793
  path: "/v1.0/pdf/remove-pages",
22794
22794
  status: 415,
22795
22795
  error: "Unsupported File Type",
22796
22796
  message: "The provided file type is not supported. Refer to the documentation for valid file types."
22797
22797
  }
22798
+ },
22799
+ UnsupportedFileTypeForId: {
22800
+ summary: "Unsupported file type for the provided file ID",
22801
+ value: {
22802
+ timestamp: "2026-11-20T11:29:26.229Z",
22803
+ path: "/v1.0/pdf/remove-pages",
22804
+ status: 415,
22805
+ error: "Unsupported File Type",
22806
+ 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."
22807
+ }
22798
22808
  }
22799
22809
  },
22800
22810
  schema: {
@@ -23073,19 +23083,29 @@ var linearize_pdf_default = {
23073
23083
  }
23074
23084
  },
23075
23085
  "415": {
23076
- description: "Unsupported Media Type \u2014 File type not supported",
23086
+ description: "Unsupported Media Type \u2014 The uploaded file type, or the file type associated with the provided file_id, is not supported for this operation",
23077
23087
  content: {
23078
23088
  "application/json": {
23079
23089
  examples: {
23080
23090
  UnsupportedFileType: {
23081
- summary: "Uploaded file is not a supported type",
23091
+ summary: "Unsupported file type (file uploaded in the request)",
23082
23092
  value: {
23083
- timestamp: "2026-07-27T10:55:08.869Z",
23093
+ timestamp: "2026-11-20T11:29:53.968Z",
23084
23094
  path: "/v1.0/pdf/linearize",
23085
23095
  status: 415,
23086
23096
  error: "Unsupported File Type",
23087
23097
  message: "The provided file type is not supported. Refer to the documentation for valid file types."
23088
23098
  }
23099
+ },
23100
+ UnsupportedFileTypeForId: {
23101
+ summary: "Unsupported file type for the provided file ID",
23102
+ value: {
23103
+ timestamp: "2026-11-20T11:29:20.963Z",
23104
+ path: "/v1.0/pdf/linearize",
23105
+ status: 415,
23106
+ error: "Unsupported File Type",
23107
+ 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."
23108
+ }
23089
23109
  }
23090
23110
  },
23091
23111
  schema: {
@@ -23369,19 +23389,29 @@ var merge_pdf_default = {
23369
23389
  }
23370
23390
  },
23371
23391
  "415": {
23372
- description: "Unsupported Media Type \u2014 File type not supported",
23392
+ description: "Unsupported Media Type \u2014 The uploaded file type, or the file type associated with the provided file_id, is not supported for this operation",
23373
23393
  content: {
23374
23394
  "application/json": {
23375
23395
  examples: {
23376
23396
  UnsupportedFileType: {
23377
- summary: "Unsupported file type",
23397
+ summary: "Unsupported file type (file uploaded in the request)",
23378
23398
  value: {
23379
- timestamp: "2026-07-27T10:49:42.554Z",
23399
+ timestamp: "2026-11-20T11:28:17.071Z",
23380
23400
  path: "/v1.0/pdf/merge-pdf",
23381
23401
  status: 415,
23382
23402
  error: "Unsupported File Type",
23383
23403
  message: "The provided file type is not supported. Refer to the documentation for valid file types."
23384
23404
  }
23405
+ },
23406
+ UnsupportedFileTypeForId: {
23407
+ summary: "Unsupported file type for the provided file ID",
23408
+ value: {
23409
+ timestamp: "2026-11-20T11:29:03.015Z",
23410
+ path: "/v1.0/pdf/merge-pdf",
23411
+ status: 415,
23412
+ error: "Unsupported File Type",
23413
+ 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."
23414
+ }
23385
23415
  }
23386
23416
  },
23387
23417
  schema: {
@@ -23685,19 +23715,29 @@ var pdf_compress_default = {
23685
23715
  }
23686
23716
  },
23687
23717
  "415": {
23688
- description: "Unsupported Media Type \u2014 File type not supported",
23718
+ description: "Unsupported Media Type \u2014 The uploaded file type, or the file type associated with the provided file_id, is not supported for this operation",
23689
23719
  content: {
23690
23720
  "application/json": {
23691
23721
  examples: {
23692
- InvalidPDF: {
23693
- summary: "Uploaded file is not a supported type",
23722
+ UnsupportedFileType: {
23723
+ summary: "Unsupported file type (file uploaded in the request)",
23694
23724
  value: {
23695
- timestamp: "2026-07-27T10:50:18.409Z",
23725
+ timestamp: "2026-11-20T11:29:59.465Z",
23696
23726
  path: "/v1.0/pdf/compress",
23697
23727
  status: 415,
23698
23728
  error: "Unsupported File Type",
23699
23729
  message: "The provided file type is not supported. Refer to the documentation for valid file types."
23700
23730
  }
23731
+ },
23732
+ UnsupportedFileTypeForId: {
23733
+ summary: "Unsupported file type for the provided file ID",
23734
+ value: {
23735
+ timestamp: "2026-11-20T11:29:27.971Z",
23736
+ path: "/v1.0/pdf/compress",
23737
+ status: 415,
23738
+ error: "Unsupported File Type",
23739
+ 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."
23740
+ }
23701
23741
  }
23702
23742
  },
23703
23743
  schema: {
@@ -23995,23 +24035,33 @@ var pdf_decrypt_default = {
23995
24035
  }
23996
24036
  },
23997
24037
  "415": {
23998
- description: "Unsupported Media Type \u2014 File type not supported",
24038
+ description: "Unsupported Media Type \u2014 The uploaded file type, or the file type associated with the provided file_id, is not supported for this operation",
23999
24039
  content: {
24000
24040
  "application/json": {
24001
- schema: {
24002
- $ref: "#/components/schemas/ErrorResponse"
24003
- },
24004
24041
  examples: {
24005
24042
  UnsupportedFileType: {
24006
- summary: "Uploaded file is not a supported type",
24043
+ summary: "Unsupported file type (file uploaded in the request)",
24007
24044
  value: {
24008
- timestamp: "2026-07-27T10:56:50.780Z",
24045
+ timestamp: "2026-11-20T11:30:00.027Z",
24009
24046
  path: "/v1.0/pdf/decrypt-pdf",
24010
24047
  status: 415,
24011
24048
  error: "Unsupported File Type",
24012
24049
  message: "The provided file type is not supported. Refer to the documentation for valid file types."
24013
24050
  }
24051
+ },
24052
+ UnsupportedFileTypeForId: {
24053
+ summary: "Unsupported file type for the provided file ID",
24054
+ value: {
24055
+ timestamp: "2026-11-20T11:29:28.798Z",
24056
+ path: "/v1.0/pdf/decrypt-pdf",
24057
+ status: 415,
24058
+ error: "Unsupported File Type",
24059
+ 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."
24060
+ }
24014
24061
  }
24062
+ },
24063
+ schema: {
24064
+ $ref: "#/components/schemas/ErrorResponse"
24015
24065
  }
24016
24066
  }
24017
24067
  },
@@ -24323,19 +24373,29 @@ var pdf_encrypt_default = {
24323
24373
  }
24324
24374
  },
24325
24375
  "415": {
24326
- description: "Unsupported Media Type \u2014 File type not supported",
24376
+ description: "Unsupported Media Type \u2014 The uploaded file type, or the file type associated with the provided file_id, is not supported for this operation",
24327
24377
  content: {
24328
24378
  "application/json": {
24329
24379
  examples: {
24330
24380
  UnsupportedFileType: {
24331
- summary: "Uploaded file is not a supported type",
24381
+ summary: "Unsupported file type (file uploaded in the request)",
24332
24382
  value: {
24333
- timestamp: "2026-07-27T10:55:38.634Z",
24383
+ timestamp: "2026-11-20T11:30:00.790Z",
24334
24384
  path: "/v1.0/pdf/encrypt-pdf",
24335
24385
  status: 415,
24336
24386
  error: "Unsupported File Type",
24337
24387
  message: "The provided file type is not supported. Refer to the documentation for valid file types."
24338
24388
  }
24389
+ },
24390
+ UnsupportedFileTypeForId: {
24391
+ summary: "Unsupported file type for the provided file ID",
24392
+ value: {
24393
+ timestamp: "2026-11-20T11:29:29.425Z",
24394
+ path: "/v1.0/pdf/encrypt-pdf",
24395
+ status: 415,
24396
+ error: "Unsupported File Type",
24397
+ 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."
24398
+ }
24339
24399
  }
24340
24400
  },
24341
24401
  schema: {
@@ -24632,19 +24692,29 @@ var pdf_extract_pages_default = {
24632
24692
  }
24633
24693
  },
24634
24694
  "415": {
24635
- description: "Unsupported Media Type \u2014 File type not supported",
24695
+ description: "Unsupported Media Type \u2014 The uploaded file type, or the file type associated with the provided file_id, is not supported for this operation",
24636
24696
  content: {
24637
24697
  "application/json": {
24638
24698
  examples: {
24639
24699
  UnsupportedFileType: {
24640
- summary: "Uploaded file is not a supported type",
24700
+ summary: "Unsupported file type (file uploaded in the request)",
24641
24701
  value: {
24642
- timestamp: "2026-07-27T10:53:19.733Z",
24702
+ timestamp: "2026-11-20T11:29:57.308Z",
24643
24703
  path: "/v1.0/pdf/extract-pages",
24644
24704
  status: 415,
24645
24705
  error: "Unsupported File Type",
24646
24706
  message: "The provided file type is not supported. Refer to the documentation for valid file types."
24647
24707
  }
24708
+ },
24709
+ UnsupportedFileTypeForId: {
24710
+ summary: "Unsupported file type for the provided file ID",
24711
+ value: {
24712
+ timestamp: "2026-11-20T11:29:27.200Z",
24713
+ path: "/v1.0/pdf/extract-pages",
24714
+ status: 415,
24715
+ error: "Unsupported File Type",
24716
+ 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."
24717
+ }
24648
24718
  }
24649
24719
  },
24650
24720
  schema: {
@@ -26513,7 +26583,7 @@ var pdf_resource_upload_binary_default = {
26513
26583
  UnsupportedFileType: {
26514
26584
  summary: "Unsupported file type",
26515
26585
  value: {
26516
- timestamp: "2026-07-27T10:48:15.449Z",
26586
+ timestamp: "2026-11-20T11:30:10.529Z",
26517
26587
  path: "/v1.0/pdf/upload-binary",
26518
26588
  status: 415,
26519
26589
  error: "Unsupported File Type",
@@ -26749,20 +26819,20 @@ var pdf_resource_upload_default = {
26749
26819
  description: "Unsupported Media Type \u2014 File type not supported",
26750
26820
  content: {
26751
26821
  "application/json": {
26752
- schema: {
26753
- $ref: "#/components/schemas/ErrorResponse"
26754
- },
26755
26822
  examples: {
26756
26823
  unsupportedFileType: {
26757
26824
  summary: "Unsupported file type",
26758
26825
  value: {
26759
- timestamp: "2026-07-27T10:47:37.481Z",
26826
+ timestamp: "2026-11-20T11:28:22.868Z",
26760
26827
  path: "/v1.0/pdf/upload",
26761
26828
  status: 415,
26762
26829
  error: "Unsupported File Type",
26763
26830
  message: "The provided file type is not supported. Refer to the documentation for valid file types."
26764
26831
  }
26765
26832
  }
26833
+ },
26834
+ schema: {
26835
+ $ref: "#/components/schemas/ErrorResponse"
26766
26836
  }
26767
26837
  }
26768
26838
  },
@@ -27109,23 +27179,33 @@ var pdf_restrict_default = {
27109
27179
  }
27110
27180
  },
27111
27181
  "415": {
27112
- description: "Unsupported Media Type \u2014 File type not supported",
27182
+ description: "Unsupported Media Type \u2014 The uploaded file type, or the file type associated with the provided file_id, is not supported for this operation",
27113
27183
  content: {
27114
27184
  "application/json": {
27115
- schema: {
27116
- $ref: "#/components/schemas/ErrorResponse"
27117
- },
27118
27185
  examples: {
27119
27186
  UnsupportedFileType: {
27120
- summary: "Uploaded file is not a supported type",
27187
+ summary: "Unsupported file type (file uploaded in the request)",
27121
27188
  value: {
27122
- timestamp: "2026-07-27T10:57:25.374Z",
27189
+ timestamp: "2026-11-20T11:30:01.367Z",
27123
27190
  path: "/v1.0/pdf/restrict-pdf",
27124
27191
  status: 415,
27125
27192
  error: "Unsupported File Type",
27126
27193
  message: "The provided file type is not supported. Refer to the documentation for valid file types."
27127
27194
  }
27195
+ },
27196
+ UnsupportedFileTypeForId: {
27197
+ summary: "Unsupported file type for the provided file ID",
27198
+ value: {
27199
+ timestamp: "2026-11-20T11:29:30.158Z",
27200
+ path: "/v1.0/pdf/restrict-pdf",
27201
+ status: 415,
27202
+ error: "Unsupported File Type",
27203
+ 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."
27204
+ }
27128
27205
  }
27206
+ },
27207
+ schema: {
27208
+ $ref: "#/components/schemas/ErrorResponse"
27129
27209
  }
27130
27210
  }
27131
27211
  },
@@ -27742,6 +27822,43 @@ var pdf_to_image_default = {
27742
27822
  $ref: "#/components/headers/X-AF-Credits-Cost"
27743
27823
  }
27744
27824
  }
27825
+ },
27826
+ "415": {
27827
+ description: "Unsupported Media Type \u2014 The uploaded file type, or the file type associated with the provided file_id, is not supported for this operation",
27828
+ content: {
27829
+ "application/json": {
27830
+ examples: {
27831
+ UnsupportedFileType: {
27832
+ summary: "Unsupported file type (file uploaded in the request)",
27833
+ value: {
27834
+ timestamp: "2026-11-20T11:30:03.767Z",
27835
+ path: "/v1.0/pdf/png",
27836
+ status: 415,
27837
+ error: "Unsupported File Type",
27838
+ message: "The provided file type is not supported. Refer to the documentation for valid file types."
27839
+ }
27840
+ },
27841
+ UnsupportedFileTypeForId: {
27842
+ summary: "Unsupported file type for the provided file ID",
27843
+ value: {
27844
+ timestamp: "2026-11-20T11:29:36.193Z",
27845
+ path: "/v1.0/pdf/png",
27846
+ status: 415,
27847
+ error: "Unsupported File Type",
27848
+ 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."
27849
+ }
27850
+ }
27851
+ },
27852
+ schema: {
27853
+ $ref: "#/components/schemas/ErrorResponse"
27854
+ }
27855
+ }
27856
+ },
27857
+ headers: {
27858
+ "X-AF-Credits-Cost": {
27859
+ $ref: "#/components/headers/X-AF-Credits-Cost"
27860
+ }
27861
+ }
27745
27862
  }
27746
27863
  },
27747
27864
  operationId: "pdfToImage"
@@ -27977,6 +28094,43 @@ var pdf_to_image_default = {
27977
28094
  $ref: "#/components/headers/X-AF-Credits-Cost"
27978
28095
  }
27979
28096
  }
28097
+ },
28098
+ "415": {
28099
+ description: "Unsupported Media Type \u2014 The uploaded file type, or the file type associated with the provided file_id, is not supported for this operation",
28100
+ content: {
28101
+ "application/json": {
28102
+ examples: {
28103
+ UnsupportedFileType: {
28104
+ summary: "Unsupported file type (file uploaded in the request)",
28105
+ value: {
28106
+ timestamp: "2026-11-20T11:30:05.678Z",
28107
+ path: "/v1.0/pdf/jpg",
28108
+ status: 415,
28109
+ error: "Unsupported File Type",
28110
+ message: "The provided file type is not supported. Refer to the documentation for valid file types."
28111
+ }
28112
+ },
28113
+ UnsupportedFileTypeForId: {
28114
+ summary: "Unsupported file type for the provided file ID",
28115
+ value: {
28116
+ timestamp: "2026-11-20T11:29:32.646Z",
28117
+ path: "/v1.0/pdf/jpg",
28118
+ status: 415,
28119
+ error: "Unsupported File Type",
28120
+ 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."
28121
+ }
28122
+ }
28123
+ },
28124
+ schema: {
28125
+ $ref: "#/components/schemas/ErrorResponse"
28126
+ }
28127
+ }
28128
+ },
28129
+ headers: {
28130
+ "X-AF-Credits-Cost": {
28131
+ $ref: "#/components/headers/X-AF-Credits-Cost"
28132
+ }
28133
+ }
27980
28134
  }
27981
28135
  }
27982
28136
  }
@@ -28192,6 +28346,43 @@ var pdf_to_image_default = {
28192
28346
  $ref: "#/components/headers/X-AF-Credits-Cost"
28193
28347
  }
28194
28348
  }
28349
+ },
28350
+ "415": {
28351
+ description: "Unsupported Media Type \u2014 The uploaded file type, or the file type associated with the provided file_id, is not supported for this operation",
28352
+ content: {
28353
+ "application/json": {
28354
+ examples: {
28355
+ UnsupportedFileType: {
28356
+ summary: "Unsupported file type (file uploaded in the request)",
28357
+ value: {
28358
+ timestamp: "2026-11-20T11:30:06.388Z",
28359
+ path: "/v1.0/pdf/tif",
28360
+ status: 415,
28361
+ error: "Unsupported File Type",
28362
+ message: "The provided file type is not supported. Refer to the documentation for valid file types."
28363
+ }
28364
+ },
28365
+ UnsupportedFileTypeForId: {
28366
+ summary: "Unsupported file type for the provided file ID",
28367
+ value: {
28368
+ timestamp: "2026-11-20T11:29:36.193Z",
28369
+ path: "/v1.0/pdf/tif",
28370
+ status: 415,
28371
+ error: "Unsupported File Type",
28372
+ 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."
28373
+ }
28374
+ }
28375
+ },
28376
+ schema: {
28377
+ $ref: "#/components/schemas/ErrorResponse"
28378
+ }
28379
+ }
28380
+ },
28381
+ headers: {
28382
+ "X-AF-Credits-Cost": {
28383
+ $ref: "#/components/headers/X-AF-Credits-Cost"
28384
+ }
28385
+ }
28195
28386
  }
28196
28387
  }
28197
28388
  }
@@ -28407,6 +28598,43 @@ var pdf_to_image_default = {
28407
28598
  $ref: "#/components/headers/X-AF-Credits-Cost"
28408
28599
  }
28409
28600
  }
28601
+ },
28602
+ "415": {
28603
+ description: "Unsupported Media Type \u2014 The uploaded file type, or the file type associated with the provided file_id, is not supported for this operation",
28604
+ content: {
28605
+ "application/json": {
28606
+ examples: {
28607
+ UnsupportedFileType: {
28608
+ summary: "Unsupported file type (file uploaded in the request)",
28609
+ value: {
28610
+ timestamp: "2026-11-20T11:30:07.356Z",
28611
+ path: "/v1.0/pdf/bmp",
28612
+ status: 415,
28613
+ error: "Unsupported File Type",
28614
+ message: "The provided file type is not supported. Refer to the documentation for valid file types."
28615
+ }
28616
+ },
28617
+ UnsupportedFileTypeForId: {
28618
+ summary: "Unsupported file type for the provided file ID",
28619
+ value: {
28620
+ timestamp: "2026-11-20T11:29:36.193Z",
28621
+ path: "/v1.0/pdf/bmp",
28622
+ status: 415,
28623
+ error: "Unsupported File Type",
28624
+ 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."
28625
+ }
28626
+ }
28627
+ },
28628
+ schema: {
28629
+ $ref: "#/components/schemas/ErrorResponse"
28630
+ }
28631
+ }
28632
+ },
28633
+ headers: {
28634
+ "X-AF-Credits-Cost": {
28635
+ $ref: "#/components/headers/X-AF-Credits-Cost"
28636
+ }
28637
+ }
28410
28638
  }
28411
28639
  }
28412
28640
  }
@@ -28622,6 +28850,43 @@ var pdf_to_image_default = {
28622
28850
  $ref: "#/components/headers/X-AF-Credits-Cost"
28623
28851
  }
28624
28852
  }
28853
+ },
28854
+ "415": {
28855
+ description: "Unsupported Media Type \u2014 The uploaded file type, or the file type associated with the provided file_id, is not supported for this operation",
28856
+ content: {
28857
+ "application/json": {
28858
+ examples: {
28859
+ UnsupportedFileType: {
28860
+ summary: "Unsupported file type (file uploaded in the request)",
28861
+ value: {
28862
+ timestamp: "2026-11-20T11:30:10.008Z",
28863
+ path: "/v1.0/pdf/gif",
28864
+ status: 415,
28865
+ error: "Unsupported File Type",
28866
+ message: "The provided file type is not supported. Refer to the documentation for valid file types."
28867
+ }
28868
+ },
28869
+ UnsupportedFileTypeForId: {
28870
+ summary: "Unsupported file type for the provided file ID",
28871
+ value: {
28872
+ timestamp: "2026-11-20T11:29:36.193Z",
28873
+ path: "/v1.0/pdf/gif",
28874
+ status: 415,
28875
+ error: "Unsupported File Type",
28876
+ 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."
28877
+ }
28878
+ }
28879
+ },
28880
+ schema: {
28881
+ $ref: "#/components/schemas/ErrorResponse"
28882
+ }
28883
+ }
28884
+ },
28885
+ headers: {
28886
+ "X-AF-Credits-Cost": {
28887
+ $ref: "#/components/headers/X-AF-Credits-Cost"
28888
+ }
28889
+ }
28625
28890
  }
28626
28891
  }
28627
28892
  }
@@ -28934,23 +29199,33 @@ var pdf_unrestrict_default = {
28934
29199
  }
28935
29200
  },
28936
29201
  "415": {
28937
- description: "Unsupported Media Type \u2014 File type not supported",
29202
+ description: "Unsupported Media Type \u2014 The uploaded file type, or the file type associated with the provided file_id, is not supported for this operation",
28938
29203
  content: {
28939
29204
  "application/json": {
28940
- schema: {
28941
- $ref: "#/components/schemas/ErrorResponse"
28942
- },
28943
29205
  examples: {
28944
29206
  UnsupportedFileType: {
28945
- summary: "Uploaded file is not a supported type",
29207
+ summary: "Unsupported file type (file uploaded in the request)",
28946
29208
  value: {
28947
- timestamp: "2026-07-27T10:59:24.507Z",
29209
+ timestamp: "2026-11-20T11:30:02.110Z",
28948
29210
  path: "/v1.0/pdf/unrestrict-pdf",
28949
29211
  status: 415,
28950
29212
  error: "Unsupported File Type",
28951
29213
  message: "The provided file type is not supported. Refer to the documentation for valid file types."
28952
29214
  }
29215
+ },
29216
+ UnsupportedFileTypeForId: {
29217
+ summary: "Unsupported file type for the provided file ID",
29218
+ value: {
29219
+ timestamp: "2026-11-20T11:29:30.986Z",
29220
+ path: "/v1.0/pdf/unrestrict-pdf",
29221
+ status: 415,
29222
+ error: "Unsupported File Type",
29223
+ 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."
29224
+ }
28953
29225
  }
29226
+ },
29227
+ schema: {
29228
+ $ref: "#/components/schemas/ErrorResponse"
28954
29229
  }
28955
29230
  }
28956
29231
  },
@@ -29253,19 +29528,29 @@ var rotate_pdf_pages_default = {
29253
29528
  }
29254
29529
  },
29255
29530
  "415": {
29256
- description: "Unsupported Media Type \u2014 File type not supported",
29531
+ description: "Unsupported Media Type \u2014 The uploaded file type, or the file type associated with the provided file_id, is not supported for this operation",
29257
29532
  content: {
29258
29533
  "application/json": {
29259
29534
  examples: {
29260
29535
  UnsupportedFileType: {
29261
- summary: "Uploaded file is not a supported type",
29536
+ summary: "Unsupported file type (file uploaded in the request)",
29262
29537
  value: {
29263
- timestamp: "2026-07-27T10:54:38.800Z",
29538
+ timestamp: "2026-11-20T11:29:55.932Z",
29264
29539
  path: "/v1.0/pdf/rotate",
29265
29540
  status: 415,
29266
29541
  error: "Unsupported File Type",
29267
29542
  message: "The provided file type is not supported. Refer to the documentation for valid file types."
29268
29543
  }
29544
+ },
29545
+ UnsupportedFileTypeForId: {
29546
+ summary: "Unsupported file type for the provided file ID",
29547
+ value: {
29548
+ timestamp: "2026-11-20T11:29:24.762Z",
29549
+ path: "/v1.0/pdf/rotate",
29550
+ status: 415,
29551
+ error: "Unsupported File Type",
29552
+ 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."
29553
+ }
29269
29554
  }
29270
29555
  },
29271
29556
  schema: {
@@ -29548,19 +29833,29 @@ var split_pdf_default = {
29548
29833
  }
29549
29834
  },
29550
29835
  "415": {
29551
- description: "Unsupported Media Type \u2014 File type not supported",
29836
+ description: "Unsupported Media Type \u2014 The uploaded file type, or the file type associated with the provided file_id, is not supported for this operation",
29552
29837
  content: {
29553
29838
  "application/json": {
29554
29839
  examples: {
29555
29840
  UnsupportedFileType: {
29556
- summary: "Uploaded file is not a supported type",
29841
+ summary: "Unsupported file type (file uploaded in the request)",
29557
29842
  value: {
29558
- timestamp: "2026-07-27T10:54:01.347Z",
29843
+ timestamp: "2026-11-20T11:29:55.376Z",
29559
29844
  path: "/v1.0/pdf/split-pdf",
29560
29845
  status: 415,
29561
29846
  error: "Unsupported File Type",
29562
29847
  message: "The provided file type is not supported. Refer to the documentation for valid file types."
29563
29848
  }
29849
+ },
29850
+ UnsupportedFileTypeForId: {
29851
+ summary: "Unsupported file type for the provided file ID",
29852
+ value: {
29853
+ timestamp: "2026-11-20T11:29:24.156Z",
29854
+ path: "/v1.0/pdf/split-pdf",
29855
+ status: 415,
29856
+ error: "Unsupported File Type",
29857
+ 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."
29858
+ }
29564
29859
  }
29565
29860
  },
29566
29861
  schema: {
@@ -32582,13 +32877,13 @@ var bulk_screenshot_default = {
32582
32877
  },
32583
32878
  wait_for_event: {
32584
32879
  type: "string",
32585
- enum: ["load", "domcontentloaded", "networkidle"],
32586
- description: "Controls when rendering starts based on page load lifecycle. `load` (all resources), `domcontentloaded` (HTML parsed), `networkidle` (no network activity for 500ms).",
32880
+ enum: ["load", "domcontentloaded", "networkidle0", "networkidle2"],
32881
+ 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.",
32587
32882
  default: "load"
32588
32883
  },
32589
32884
  delay: {
32590
32885
  type: "integer",
32591
- description: "Wait period in milliseconds before capture. Allows animations, API responses, and dynamic elements to finish rendering.",
32886
+ 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.",
32592
32887
  default: 0
32593
32888
  },
32594
32889
  lazy_load: {
@@ -32598,7 +32893,7 @@ var bulk_screenshot_default = {
32598
32893
  },
32599
32894
  scroll_delay: {
32600
32895
  type: "integer",
32601
- description: "Delay in milliseconds between scroll steps when `lazy_load` is enabled. Use higher values for heavy pages.",
32896
+ 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.",
32602
32897
  default: 500
32603
32898
  },
32604
32899
  timeout: {
@@ -32778,7 +33073,7 @@ var bulk_screenshot_default = {
32778
33073
  },
32779
33074
  block_specific_requests: {
32780
33075
  type: "string",
32781
- description: "Fine-grained blocking of specific URLs or patterns. Separate multiple rules by comma, space, or newline. Default: empty."
33076
+ 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."
32782
33077
  },
32783
33078
  extract_text: {
32784
33079
  type: "boolean",
@@ -32830,12 +33125,12 @@ var bulk_screenshot_default = {
32830
33125
  },
32831
33126
  solve_captcha: {
32832
33127
  type: "boolean",
32833
- 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.",
33128
+ 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.",
32834
33129
  default: false
32835
33130
  },
32836
33131
  captcha_image: {
32837
33132
  type: "string",
32838
- description: "CSS selector of the captcha picture. Required when solve_captcha is true."
33133
+ 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."
32839
33134
  },
32840
33135
  captcha_input: {
32841
33136
  type: "string",
@@ -32843,11 +33138,11 @@ var bulk_screenshot_default = {
32843
33138
  },
32844
33139
  captcha_submit: {
32845
33140
  type: "string",
32846
- description: "CSS selector of the button to click after the answer is typed."
33141
+ 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."
32847
33142
  },
32848
33143
  captcha_error: {
32849
33144
  type: "string",
32850
- description: "CSS selector of the message shown for a wrong answer. While it is visible, the solver tries again."
33145
+ 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."
32851
33146
  },
32852
33147
  captcha_refresh: {
32853
33148
  type: "string",
@@ -32858,7 +33153,7 @@ var bulk_screenshot_default = {
32858
33153
  minimum: 1,
32859
33154
  maximum: 5,
32860
33155
  default: 3,
32861
- description: "Number of guesses the solver makes, from 1 to 5."
33156
+ description: "Number of guesses the solver makes, from 1 to 5. When every guess is rejected, the request fails."
32862
33157
  },
32863
33158
  ocr_model: {
32864
33159
  type: "string",
@@ -33336,10 +33631,10 @@ var website_screenshot_default = {
33336
33631
  required: false,
33337
33632
  schema: {
33338
33633
  type: "string",
33339
- enum: ["load", "domcontentloaded", "networkidle"],
33634
+ enum: ["load", "domcontentloaded", "networkidle0", "networkidle2"],
33340
33635
  default: "load"
33341
33636
  },
33342
- description: "Controls when rendering starts based on page load lifecycle. `load` (all resources), `domcontentloaded` (HTML parsed), `networkidle` (no network activity for 500ms)."
33637
+ 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."
33343
33638
  },
33344
33639
  {
33345
33640
  name: "delay",
@@ -33349,7 +33644,7 @@ var website_screenshot_default = {
33349
33644
  type: "integer",
33350
33645
  default: 0
33351
33646
  },
33352
- description: "Wait period in milliseconds before capture. Allows animations, API responses, and dynamic elements to finish rendering."
33647
+ 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."
33353
33648
  },
33354
33649
  {
33355
33650
  name: "lazy_load",
@@ -33369,7 +33664,7 @@ var website_screenshot_default = {
33369
33664
  type: "integer",
33370
33665
  default: 500
33371
33666
  },
33372
- description: "Delay in milliseconds between scroll steps when `lazy_load` is enabled. Use higher values for heavy pages."
33667
+ 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."
33373
33668
  },
33374
33669
  {
33375
33670
  name: "timeout",
@@ -33745,7 +34040,7 @@ var website_screenshot_default = {
33745
34040
  schema: {
33746
34041
  type: "string"
33747
34042
  },
33748
- description: "Fine-grained blocking of specific URLs or patterns. Separate multiple rules by comma, space, or newline. Default: empty."
34043
+ 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."
33749
34044
  },
33750
34045
  {
33751
34046
  name: "extract_text",
@@ -33853,7 +34148,7 @@ var website_screenshot_default = {
33853
34148
  type: "boolean",
33854
34149
  default: false
33855
34150
  },
33856
- 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."
34151
+ 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."
33857
34152
  },
33858
34153
  {
33859
34154
  name: "captcha_image",
@@ -33862,7 +34157,7 @@ var website_screenshot_default = {
33862
34157
  schema: {
33863
34158
  type: "string"
33864
34159
  },
33865
- description: "CSS selector of the captcha picture. Required when solve_captcha is true."
34160
+ 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."
33866
34161
  },
33867
34162
  {
33868
34163
  name: "captcha_input",
@@ -33880,7 +34175,7 @@ var website_screenshot_default = {
33880
34175
  schema: {
33881
34176
  type: "string"
33882
34177
  },
33883
- description: "CSS selector of the button to click after the answer is typed."
34178
+ 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."
33884
34179
  },
33885
34180
  {
33886
34181
  name: "captcha_error",
@@ -33889,7 +34184,7 @@ var website_screenshot_default = {
33889
34184
  schema: {
33890
34185
  type: "string"
33891
34186
  },
33892
- description: "CSS selector of the message shown for a wrong answer. While it is visible, the solver tries again."
34187
+ 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."
33893
34188
  },
33894
34189
  {
33895
34190
  name: "captcha_refresh",
@@ -33910,7 +34205,7 @@ var website_screenshot_default = {
33910
34205
  maximum: 5,
33911
34206
  default: 3
33912
34207
  },
33913
- description: "Number of guesses the solver makes, from 1 to 5."
34208
+ description: "Number of guesses the solver makes, from 1 to 5. When every guess is rejected, the request fails."
33914
34209
  },
33915
34210
  {
33916
34211
  name: "ocr_model",
@@ -54014,10 +54309,6 @@ var whois_ip_lookup_default = {
54014
54309
  whois_raw_response: {
54015
54310
  type: "string",
54016
54311
  description: "Unparsed WHOIS response from the WHOIS server."
54017
- },
54018
- r_whois_raw_response: {
54019
- type: ["string", "null"],
54020
- description: "WHOIS response from the rwhois server, if available."
54021
54312
  }
54022
54313
  }
54023
54314
  },
@@ -54067,27 +54358,6 @@ var whois_ip_lookup_default = {
54067
54358
  type: ["string", "null"],
54068
54359
  description: "URL to the geofeed (RFC 8805) for this prefix."
54069
54360
  },
54070
- latitude: {
54071
- type: ["number", "null"],
54072
- format: "float",
54073
- description: "Latitude parsed from the geoloc field."
54074
- },
54075
- longitude: {
54076
- type: ["number", "null"],
54077
- format: "float",
54078
- description: "Longitude parsed from the geoloc field."
54079
- },
54080
- city: {
54081
- type: ["string", "null"],
54082
- description: "City of allocation, primarily from LACNIC responses."
54083
- },
54084
- languages: {
54085
- type: ["array", "null"],
54086
- description: "Regional languages in countries of allocation.",
54087
- items: {
54088
- type: "string"
54089
- }
54090
- },
54091
54361
  status: {
54092
54362
  type: ["string", "null"],
54093
54363
  description: "Allocation or assignment status (e.g., 'Direct Allocation')."
@@ -54096,31 +54366,6 @@ var whois_ip_lookup_default = {
54096
54366
  type: ["string", "null"],
54097
54367
  description: "Handle (unique ID) of the organization managing this inetnum."
54098
54368
  },
54099
- sponsoring_organization: {
54100
- type: ["string", "null"],
54101
- description: "Handle of the sponsoring organization for this inetnum."
54102
- },
54103
- admin_contacts: {
54104
- type: ["array", "null"],
54105
- description: "Handles of admin persons or roles in WHOIS data.",
54106
- items: {
54107
- type: "string"
54108
- }
54109
- },
54110
- tech_contacts: {
54111
- type: ["array", "null"],
54112
- description: "Handles of technical persons or roles in WHOIS data.",
54113
- items: {
54114
- type: "string"
54115
- }
54116
- },
54117
- abuse_contacts: {
54118
- type: ["array", "null"],
54119
- description: "Handles of abuse persons or roles in WHOIS data.",
54120
- items: {
54121
- type: "string"
54122
- }
54123
- },
54124
54369
  remarks: {
54125
54370
  type: ["array", "null"],
54126
54371
  description: "Remarks from the inetnum object.",
@@ -54229,10 +54474,6 @@ var whois_ip_lookup_default = {
54229
54474
  type: ["string", "null"],
54230
54475
  description: "Parsed city from the address field."
54231
54476
  },
54232
- district: {
54233
- type: ["string", "null"],
54234
- description: "Parsed district from the address field."
54235
- },
54236
54477
  state: {
54237
54478
  type: ["string", "null"],
54238
54479
  description: "Parsed state from the address field."
@@ -54273,13 +54514,6 @@ var whois_ip_lookup_default = {
54273
54514
  type: "string"
54274
54515
  }
54275
54516
  },
54276
- organizations: {
54277
- type: ["array", "null"],
54278
- description: "Handles of organization objects linked to this IRT.",
54279
- items: {
54280
- type: "string"
54281
- }
54282
- },
54283
54517
  admin_contacts: {
54284
54518
  type: "array",
54285
54519
  description: "Handles of admin persons or roles linked to this IRT.",
@@ -54301,27 +54535,6 @@ var whois_ip_lookup_default = {
54301
54535
  type: "string"
54302
54536
  }
54303
54537
  },
54304
- signature: {
54305
- type: ["array", "null"],
54306
- description: "Cryptographic signatures for this IRT object.",
54307
- items: {
54308
- type: "string"
54309
- }
54310
- },
54311
- encryption: {
54312
- type: ["array", "null"],
54313
- description: "Encryption keys for this IRT object.",
54314
- items: {
54315
- type: "string"
54316
- }
54317
- },
54318
- auth: {
54319
- type: ["array", "null"],
54320
- description: "Authentication methods for this IRT object.",
54321
- items: {
54322
- type: "string"
54323
- }
54324
- },
54325
54538
  notify: {
54326
54539
  type: ["array", "null"],
54327
54540
  description: "Notify email addresses for this IRT object.",
@@ -54343,18 +54556,6 @@ var whois_ip_lookup_default = {
54343
54556
  type: "string"
54344
54557
  }
54345
54558
  },
54346
- mnt_ref: {
54347
- type: ["array", "null"],
54348
- description: "Referenced maintainer handles for this IRT object.",
54349
- items: {
54350
- type: "string"
54351
- }
54352
- },
54353
- date_created: {
54354
- type: ["string", "null"],
54355
- format: "date",
54356
- description: "Registration date of this IRT object (YYYY-MM-DD)."
54357
- },
54358
54559
  date_updated: {
54359
54560
  type: ["string", "null"],
54360
54561
  format: "date",
@@ -54363,30 +54564,6 @@ var whois_ip_lookup_default = {
54363
54564
  source: {
54364
54565
  type: "string",
54365
54566
  description: "WHOIS data source for this IRT object."
54366
- },
54367
- organization: {
54368
- $ref: "#/components/schemas/IpWhoisOrganization"
54369
- },
54370
- administrative_contacts: {
54371
- type: ["array", "null"],
54372
- description: "Administrative contacts linked to this IRT.",
54373
- items: {
54374
- $ref: "#/components/schemas/WhoisContactRef"
54375
- }
54376
- },
54377
- technical_contacts: {
54378
- type: ["array", "null"],
54379
- description: "Technical contacts linked to this IRT.",
54380
- items: {
54381
- $ref: "#/components/schemas/WhoisContactRef"
54382
- }
54383
- },
54384
- abuse_contacts: {
54385
- type: ["array", "null"],
54386
- description: "Abuse contacts linked to this IRT.",
54387
- items: {
54388
- $ref: "#/components/schemas/WhoisContactRef"
54389
- }
54390
54567
  }
54391
54568
  }
54392
54569
  },
@@ -54429,10 +54606,6 @@ var whois_ip_lookup_default = {
54429
54606
  type: ["string", "null"],
54430
54607
  description: "Parsed city from the address field."
54431
54608
  },
54432
- district: {
54433
- type: ["string", "null"],
54434
- description: "Parsed district from the address field."
54435
- },
54436
54609
  state: {
54437
54610
  type: ["string", "null"],
54438
54611
  description: "Parsed state from the address field."
@@ -54448,16 +54621,6 @@ var whois_ip_lookup_default = {
54448
54621
  type: "string"
54449
54622
  }
54450
54623
  },
54451
- latitude: {
54452
- type: ["number", "null"],
54453
- format: "float",
54454
- description: "Latitude parsed from the geoloc field."
54455
- },
54456
- longitude: {
54457
- type: ["number", "null"],
54458
- format: "float",
54459
- description: "Longitude parsed from the geoloc field."
54460
- },
54461
54624
  email: {
54462
54625
  type: ["array", "null"],
54463
54626
  description: "Email addresses for the organization.",
@@ -54465,13 +54628,6 @@ var whois_ip_lookup_default = {
54465
54628
  type: "string"
54466
54629
  }
54467
54630
  },
54468
- abuse_mailbox: {
54469
- type: ["array", "null"],
54470
- description: "Abuse mailbox email addresses for the organization.",
54471
- items: {
54472
- type: "string"
54473
- }
54474
- },
54475
54631
  phone: {
54476
54632
  type: ["array", "null"],
54477
54633
  description: "Phone numbers for the organization.",
@@ -54514,20 +54670,6 @@ var whois_ip_lookup_default = {
54514
54670
  type: "string"
54515
54671
  }
54516
54672
  },
54517
- notify: {
54518
- type: ["array", "null"],
54519
- description: "Notify email addresses for this organization object.",
54520
- items: {
54521
- type: "string"
54522
- }
54523
- },
54524
- ref_nfy: {
54525
- type: ["array", "null"],
54526
- description: "Reference notification email addresses for this organization object.",
54527
- items: {
54528
- type: "string"
54529
- }
54530
- },
54531
54673
  mnt_by: {
54532
54674
  type: ["array", "null"],
54533
54675
  description: "Maintainer handles for this organization object.",
@@ -54586,10 +54728,6 @@ var whois_ip_lookup_default = {
54586
54728
  type: ["string", "null"],
54587
54729
  description: "Parsed city from the address field."
54588
54730
  },
54589
- district: {
54590
- type: ["string", "null"],
54591
- description: "Parsed district from the address field."
54592
- },
54593
54731
  state: {
54594
54732
  type: ["string", "null"],
54595
54733
  description: "Parsed state from the address field."
@@ -54719,64 +54857,6 @@ var whois_ip_lookup_default = {
54719
54857
  type: ["string", "null"],
54720
54858
  description: "Country of the organization managing this route."
54721
54859
  },
54722
- pingable: {
54723
- type: ["array", "null"],
54724
- description: "Pingable IP addresses in this route.",
54725
- items: {
54726
- type: "string"
54727
- }
54728
- },
54729
- ping_hdl: {
54730
- type: ["array", "null"],
54731
- description: "Handles of pingable contacts for this route.",
54732
- items: {
54733
- type: "string"
54734
- }
54735
- },
54736
- holes: {
54737
- type: ["array", "null"],
54738
- description: "Sub-allocation holes (more specific routes) within this route.",
54739
- items: {
54740
- type: "string"
54741
- }
54742
- },
54743
- member_of: {
54744
- type: ["array", "null"],
54745
- description: "Route sets this route is a member of.",
54746
- items: {
54747
- type: "string"
54748
- }
54749
- },
54750
- inject: {
54751
- type: ["array", "null"],
54752
- description: "Injection details for this route.",
54753
- items: {
54754
- type: "string"
54755
- }
54756
- },
54757
- aggr_mtd: {
54758
- type: ["string", "null"],
54759
- description: "Aggregation method for this route."
54760
- },
54761
- aggr_bndry: {
54762
- type: ["string", "null"],
54763
- description: "Aggregation boundary for this route."
54764
- },
54765
- export_comps: {
54766
- type: ["string", "null"],
54767
- description: "Export composition for this route."
54768
- },
54769
- components: {
54770
- type: ["string", "null"],
54771
- description: "Route components."
54772
- },
54773
- organizations: {
54774
- type: ["array", "null"],
54775
- description: "Handles of organization objects related to this route.",
54776
- items: {
54777
- type: "string"
54778
- }
54779
- },
54780
54860
  remarks: {
54781
54861
  type: ["array", "null"],
54782
54862
  description: "Remarks for this route object.",
@@ -54784,20 +54864,6 @@ var whois_ip_lookup_default = {
54784
54864
  type: "string"
54785
54865
  }
54786
54866
  },
54787
- notify: {
54788
- type: ["array", "null"],
54789
- description: "Notify email addresses for this route object.",
54790
- items: {
54791
- type: "string"
54792
- }
54793
- },
54794
- mnt_lower: {
54795
- type: ["array", "null"],
54796
- description: "Lower-level maintainer handles for this route.",
54797
- items: {
54798
- type: "string"
54799
- }
54800
- },
54801
54867
  mnt_by: {
54802
54868
  type: ["array", "null"],
54803
54869
  description: "Maintainer handles for this route object.",
@@ -62830,26 +62896,26 @@ security:
62830
62896
  "bulk-ip-threat-intelligence": "openapi: 3.1.1\ninfo:\n title: Bulk IP Threat Intelligence API Reference\n version: 1.0.0\n description: Retrieve threat intelligence and security profiles for up to 50,000 IP addresses in a single request. Each entry in the response array includes a composite 0-100 threat score plus per-signal flags for VPN, proxy, residential proxy, Tor exit node, bot, spam, known-attacker, and corporate-gateway activity, along with confidence scores and provider names where available. Use the `fields` and `excludes` query parameters to control which security signals are returned, reducing payload size for bulk workflows. A bad or bogon IP in the batch returns a per-item error object instead of failing the entire request, so you can process mixed-validity inputs in one call.\n contact:\n name: APIFreaks Support\n url: https://apifreaks.com/contact\n email: support@apifreaks.com\nservers:\n - url: https://api.apifreaks.com/v1.0\n description: IP Threat Intelligence API Server\npaths:\n /ip/security:\n post:\n tags:\n - IP Geolocation APIs\n summary: Retrieve threat intelligence data for multiple IP addresses in a single request\n description: Get security profiles including threat score, VPN, proxy, Tor, bot, and spam detection for up to 50,000 IPs per request. Each item in the response array corresponds to one requested IP; invalid or bogon IPs return a per-item error object.\n operationId: bulkIpSecurityLookup\n parameters:\n - name: format\n in: query\n required: false\n description: Format of the response.\n schema:\n type: string\n enum:\n - json\n - xml\n default: json\n - name: fields\n in: query\n required: false\n description: Comma-separated list of fields to return. Supports dot notation (e.g. security.threat_score).\n schema:\n type: string\n - name: excludes\n in: query\n required: false\n description: Comma-separated list of fields to remove from the response. Supports dot notation (e.g. security.is_tor).\n schema:\n type: string\n requestBody:\n required: true\n content:\n application/json:\n schema:\n $ref: '#/components/schemas/BulkIpSecurityRequest'\n examples:\n typicalRequest:\n summary: Typical bulk threat intelligence request\n value:\n ips:\n - 8.8.8.8\n - 1.1.1.1\n - 45.33.32.156\n responses:\n '200':\n description: Successful threat intelligence response. The response array always contains one item for each input IP, preserving order; an IP that fails validation (invalid, bogon, reserved, or not found) yields an error item instead of a security result.\n content:\n application/json:\n schema:\n $ref: '#/components/schemas/BulkIpSecurityResponse'\n examples:\n typicalSuccess:\n summary: Typical successful response\n value:\n - ip: 8.8.8.8\n security:\n threat_score: 5\n is_tor: false\n is_proxy: false\n proxy_provider_names: []\n proxy_confidence_score: 0\n proxy_last_seen: ''\n is_residential_proxy: false\n is_vpn: false\n vpn_provider_names: []\n vpn_confidence_score: 0\n vpn_last_seen: ''\n is_relay: false\n relay_provider_name: ''\n is_anonymous: false\n is_known_attacker: false\n is_bot: false\n bot_confidence_score: 0\n bot_operator_name: ''\n bot_type: ''\n is_known_good_bot: false\n bot_last_seen: ''\n is_spam: false\n is_cloud_provider: true\n cloud_provider_name: Google LLC\n is_corporate_gateway: false\n corporate_gateway_type: ''\n corporate_gateway_provider_name: ''\n - ip: 1.1.1.1\n security:\n threat_score: 5\n is_tor: false\n is_proxy: false\n proxy_provider_names: []\n proxy_confidence_score: 0\n proxy_last_seen: ''\n is_residential_proxy: false\n is_vpn: false\n vpn_provider_names: []\n vpn_confidence_score: 0\n vpn_last_seen: ''\n is_relay: false\n relay_provider_name: ''\n is_anonymous: false\n is_known_attacker: false\n is_bot: false\n bot_confidence_score: 0\n bot_operator_name: ''\n bot_type: ''\n is_known_good_bot: false\n bot_last_seen: ''\n is_spam: false\n is_cloud_provider: true\n cloud_provider_name: Cloudflare, Inc.\n is_corporate_gateway: false\n corporate_gateway_type: ''\n corporate_gateway_provider_name: ''\n partialFailure:\n summary: Response with an invalid IP mixed in - that item returns an error object instead of security data\n value:\n - message: Provided IP address 'not-an-ip' is not valid\n - ip: 8.8.8.8\n security:\n threat_score: 5\n is_tor: false\n is_proxy: false\n proxy_provider_names: []\n proxy_confidence_score: 0\n proxy_last_seen: ''\n is_residential_proxy: false\n is_vpn: false\n vpn_provider_names: []\n vpn_confidence_score: 0\n vpn_last_seen: ''\n is_relay: false\n relay_provider_name: ''\n is_anonymous: false\n is_known_attacker: false\n is_bot: false\n bot_confidence_score: 0\n bot_operator_name: ''\n bot_type: ''\n is_known_good_bot: false\n bot_last_seen: ''\n is_spam: false\n is_cloud_provider: true\n cloud_provider_name: Google LLC\n is_corporate_gateway: false\n corporate_gateway_type: ''\n corporate_gateway_provider_name: ''\n bogonIp:\n summary: Bogon or reserved IP - returns an error object for that item\n value:\n - message: '''127.0.0.1'' is a bogon IP address.'\n headers:\n X-AF-Credits-Cost:\n $ref: '#/components/headers/X-AF-Credits-Cost'\n '400':\n description: Bad Request - Missing, empty, or malformed request body\n content:\n application/json:\n schema:\n $ref: '#/components/schemas/ErrorResponse'\n examples:\n invalidRequestBody:\n summary: Missing, empty, or malformed `ips` in the request body\n value:\n error: Invalid request body Exception\n message: Please provide data in required format in request body\n path: /v1.0/ip/security\n status: 400\n timestamp: '2026-07-22T14:03:26.577Z'\n headers:\n X-AF-Credits-Cost:\n $ref: '#/components/headers/X-AF-Credits-Cost'\ncomponents:\n securitySchemes:\n ApiKeyAuthHeader:\n type: apiKey\n in: header\n name: X-apiKey\n description: Pass your API key via the X-apiKey request header.\n ApiKeyAuthQuery:\n type: apiKey\n in: query\n name: apiKey\n description: Pass your API key via the apiKey query parameter.\n schemas:\n BulkIpSecurityRequest:\n type: object\n required:\n - ips\n description: Request body for bulk IP threat intelligence lookup.\n properties:\n ips:\n type: array\n description: List of 1\u201350,000 IPv4 and/or IPv6 addresses to look up for threat intelligence data.\n maxItems: 50000\n items:\n type: string\n ErrorResponse:\n type: object\n required:\n - message\n properties:\n error:\n type: string\n description: Short error category or exception type.\n message:\n type: string\n description: Human-readable error message describing the failure.\n path:\n type: string\n description: API endpoint path that produced the error.\n status:\n type: integer\n description: HTTP status code returned with the error.\n timestamp:\n type: string\n format: date-time\n description: Timestamp when the error occurred (ISO 8601).\n BulkIpSecurityItemError:\n type: object\n description: Per-item error, returned in place of a security result when an individual IP is invalid, bogon/reserved, or not found in the database.\n required:\n - message\n properties:\n message:\n type: string\n description: Human-readable reason this IP could not be resolved.\n BulkIpSecurityResultItem:\n type: object\n description: Threat intelligence result for one successfully resolved IP address.\n required:\n - ip\n - security\n properties:\n ip:\n type: string\n description: The IP address used for the lookup (IPv4 or IPv6).\n security:\n $ref: '#/components/schemas/Security'\n BulkIpSecurityResponse:\n type: array\n description: Array of per-IP results, one entry per requested IP, in the same order as the request. Each entry is either a security result or, if that IP could not be resolved, an error object.\n items:\n oneOf:\n - $ref: '#/components/schemas/BulkIpSecurityResultItem'\n - $ref: '#/components/schemas/BulkIpSecurityItemError'\n Security:\n type: object\n description: Threat intelligence and security information for the IP.\n required:\n - threat_score\n - is_tor\n - is_proxy\n - proxy_confidence_score\n - is_residential_proxy\n - is_vpn\n - vpn_confidence_score\n - is_relay\n - is_anonymous\n - is_known_attacker\n - is_bot\n - bot_confidence_score\n - is_known_good_bot\n - is_spam\n - is_cloud_provider\n - is_corporate_gateway\n properties:\n threat_score:\n type: number\n description: Overall threat score for the IP address. Ranges from 0 to 100. 100 indicates the highest risk.\n is_tor:\n type: boolean\n description: Indicates whether the IP is a Tor exit node.\n is_proxy:\n type: boolean\n description: Indicates whether the IP is associated with a proxy network.\n proxy_provider_names:\n type: array\n description: List of detected proxy provider names, when available.\n items:\n type: string\n proxy_confidence_score:\n type: number\n description: Confidence score (0-100) for proxy detection, when flag is true. Defaults to 0.\n proxy_last_seen:\n type: string\n description: Last seen date (YYYY-MM-DD) for proxy activity, when available.\n is_residential_proxy:\n type: boolean\n description: Indicates whether the IP is associated with a residential proxy network.\n is_vpn:\n type: boolean\n description: Indicates whether the IP is associated with a VPN network.\n vpn_provider_names:\n type: array\n description: List of detected VPN provider names, when available.\n items:\n type: string\n vpn_confidence_score:\n type: number\n description: Confidence score (0-100) for VPN detection, when flag is true. Defaults to 0.\n vpn_last_seen:\n type: string\n description: Last seen date (YYYY-MM-DD) for VPN activity, when available.\n is_relay:\n type: boolean\n description: Indicates whether the IP is associated with a relay network.\n relay_provider_name:\n type: string\n description: Relay provider name, when available.\n is_anonymous:\n type: boolean\n description: Indicates whether the IP is anonymous. True if VPN, proxy, Tor, or relay is detected.\n is_known_attacker:\n type: boolean\n description: Indicates whether the IP is flagged for known attacker behavior.\n is_bot:\n type: boolean\n description: Indicates whether the IP is associated with bot activity.\n bot_confidence_score:\n type: number\n description: Confidence score (0-100) that the IP is used for bot activity. Set only when is_bot is true; otherwise 0.\n bot_operator_name:\n type: string\n description: Organization that runs the bot, when known. Usually present only for declared bots such as search engine crawlers.\n bot_type:\n type: string\n description: 'Kind of automated activity detected, when known. Declared bots (is_known_good_bot true): search_engine, ai_crawler, ai_assistant, seo_crawler, site_monitor, link_preview, feed_fetcher, archiver, ad_verification, scanner. Undeclared bots (is_known_good_bot false): scanner, scraper, exploit, credential_stuffing, brute_force, worm. New values can be added over time, so treat it as a plain string.'\n is_known_good_bot:\n type: boolean\n description: Indicates whether the bot is a declared bot with a verifiable operator, such as a search engine crawler, uptime monitor, or security scanner.\n bot_last_seen:\n type: string\n description: Date (YYYY-MM-DD) the bot activity was last observed, when available.\n is_spam:\n type: boolean\n description: Indicates whether the IP is associated with spam activity.\n is_cloud_provider:\n type: boolean\n description: Indicates whether the IP belongs to a cloud or hosting provider.\n cloud_provider_name:\n type: string\n description: Name of the cloud or hosting provider, if the IP address belongs to one.\n is_corporate_gateway:\n type: boolean\n description: Indicates whether the IP is an outbound address of a corporate security gateway (SWG, SSE, or SASE), meaning traffic from a company network is routed through it.\n corporate_gateway_type:\n type: string\n description: 'Kind of corporate gateway, when known. Known values: secure_web_gateway, browser_isolation.'\n corporate_gateway_provider_name:\n type: string\n description: Name of the company that operates the gateway, such as Zscaler, when known.\n headers:\n X-AF-Credits-Cost:\n description: Specifies the number of credits consumed by the current request.\n schema:\n type: integer\nsecurity:\n - ApiKeyAuthHeader: []\n - ApiKeyAuthQuery: []\n",
62831
62897
  "ip-locator": "openapi: 3.1.1\ninfo:\n title: IP Geolocation API - City, Country, Coordinates & ISP Data\n version: 1.0.0\n description: Retrieve real-time geolocation and network intelligence for a single IPv4 or IPv6 address or hostname. Returns location (continent, country, region, city, coordinates, timezone), network (ASN, ISP/company, route), and currency data by default. Pass `include=security,hostname,liveHostname,hostnameFallbackLive,user_agent,abuse,dma_code,geo_accuracy` (or `include=*`) to add threat-intelligence scoring, reverse DNS resolution, parsed User-Agent details, abuse contact info, DMA code, or geolocation accuracy metadata as additional response blocks. Reserved, bogon, or unrecognized IP addresses return a `423` or `404` error instead of partial location data.\n contact:\n name: APIFreaks Support\n url: https://apifreaks.com/contact\n email: support@apifreaks.com\nservers:\n - url: https://api.apifreaks.com/v2.0\n description: IP Locator API Server\npaths:\n /geolocation/lookup:\n get:\n tags:\n - IP Geolocation APIs\n summary: Retrieve real-time and accurate IP geolocation and threat intelligence information for an IPv4 or IPv6 address\n description: Get detailed IP geolocation data for an IP address including country, city, timezone, currency, and optional threat intelligence and user-agent information.\n operationId: ipLookup\n parameters:\n - name: format\n in: query\n required: false\n description: Format of the response.\n schema:\n type: string\n enum:\n - json\n - xml\n default: json\n - name: ip\n in: query\n required: false\n description: IPv4, IPv6, or hostname for geolocation lookup.\n schema:\n type: string\n - name: lang\n in: query\n required: false\n description: 'Response language for location fields. Default: en.'\n schema:\n type: string\n enum:\n - en\n - de\n - ru\n - ja\n - fr\n - cn\n - es\n - cs\n - it\n - ko\n - fa\n - pt\n default: en\n - name: fields\n in: query\n required: false\n description: Comma-separated list of fields to include in response. For example, `location` includes all location fields, `location.city` is a specific field.\n schema:\n type: string\n - name: excludes\n in: query\n required: false\n description: Comma-separated list of fields to exclude from response.\n schema:\n type: string\n - name: include\n in: query\n required: false\n description: 'Comma-separated list of additional data modules to include. Possible values: security (threat intelligence), hostname (IP-Hostname lookup), liveHostname (live hostname lookup), hostnameFallbackLive (hostname with live fallback), user_agent (parse User-Agent header), abuse (abuse contact info), dma_code (DMA code), geo_accuracy (accuracy_radius, confidence, locality), * (all modules).'\n schema:\n type: string\n responses:\n '200':\n description: Successful geolocation response\n content:\n application/json:\n schema:\n $ref: '#/components/schemas/IpLookupResponse'\n examples:\n typicalSuccess:\n summary: Typical successful response\n value:\n ip: 8.8.8.8\n location:\n continent_code: NA\n continent_name: North America\n country_code2: US\n country_code3: USA\n country_name: United States\n country_name_official: United States of America\n country_capital: Washington, D.C.\n state_prov: California\n state_code: US-CA\n district: Santa Clara\n city: Mountain View\n zipcode: 94043-1351\n latitude: '37.42240'\n longitude: '-122.08421'\n is_eu: false\n country_flag: https://ipgeolocation.io/static/flags/us_64.png\n geoname_id: '6301403'\n country_emoji: \u{1F1FA}\u{1F1F8}\n country_metadata:\n calling_code: '+1'\n tld: .us\n languages:\n - en-US\n - es-US\n - haw\n - fr\n network:\n connection_type: ''\n route: 8.8.8.0/24\n is_anycast: true\n is_cdn: false\n cdn_provider_name: ''\n currency:\n code: USD\n name: US Dollar\n symbol: $\n asn:\n as_number: AS15169\n organization: Google LLC\n country: US\n type: BUSINESS\n domain: google.com\n date_allocated: '2000-03-30'\n rir: ARIN\n company:\n name: Google LLC\n type: HOSTING\n domain: google.com\n time_zone:\n name: America/Los_Angeles\n offset: -8\n offset_with_dst: -7\n current_time: 2026-07-08 03:03:31.835-0700\n current_time_unix: 1783505011.835\n current_tz_abbreviation: PDT\n current_tz_full_name: Pacific Daylight Time\n standard_tz_abbreviation: PST\n standard_tz_full_name: Pacific Standard Time\n is_dst: true\n dst_savings: 1\n dst_exists: true\n dst_tz_abbreviation: PDT\n dst_tz_full_name: Pacific Daylight Time\n dst_start:\n utc_time: 2026-03-08 TIME 10:00\n duration: +1.00H\n gap: true\n date_time_after: 2026-03-08 TIME 03:00\n date_time_before: 2026-03-08 TIME 02:00\n overlap: false\n dst_end:\n utc_time: 2026-11-01 TIME 09:00\n duration: -1.00H\n gap: false\n date_time_after: 2026-11-01 TIME 01:00\n date_time_before: 2026-11-01 TIME 02:00\n overlap: true\n headers:\n X-AF-Credits-Cost:\n $ref: '#/components/headers/X-AF-Credits-Cost'\n '400':\n description: Bad Request \u2014 Invalid or missing parameters\n content:\n application/json:\n schema:\n $ref: '#/components/schemas/ErrorResponse'\n examples:\n badRequest:\n summary: Missing or invalid parameters\n value:\n message: The request was unacceptable. Typically due to missing or invalid parameters.\n headers:\n X-AF-Credits-Cost:\n $ref: '#/components/headers/X-AF-Credits-Cost'\n '404':\n description: Not Found \u2014 IP address not in database\n content:\n application/json:\n schema:\n $ref: '#/components/schemas/ErrorResponse'\n examples:\n notFound:\n summary: IP address not in database\n value:\n message: Provided IP address '255.255.255.255' doesn't exist in our database.\n headers:\n X-AF-Credits-Cost:\n $ref: '#/components/headers/X-AF-Credits-Cost'\n '423':\n description: Locked \u2014 Bogon or reserved IP address\n content:\n application/json:\n schema:\n $ref: '#/components/schemas/ErrorResponse'\n examples:\n locked:\n summary: Bogon or reserved IP address\n value:\n message: '''127.0.0.1'' is a bogon (Internet Assigned Numbers Authority) IP address.'\n headers:\n X-AF-Credits-Cost:\n $ref: '#/components/headers/X-AF-Credits-Cost'\ncomponents:\n securitySchemes:\n ApiKeyAuthHeader:\n type: apiKey\n in: header\n name: X-apiKey\n description: Pass your API key via the X-apiKey request header.\n ApiKeyAuthQuery:\n type: apiKey\n in: query\n name: apiKey\n description: Pass your API key via the apiKey query parameter.\n schemas:\n IpLookupResponse:\n type: object\n required:\n - ip\n properties:\n ip:\n type: string\n description: The IP address used for the lookup (IPv4 or IPv6).\n domain:\n type: string\n description: The input domain, returned only for domain-based lookups.\n hostname:\n type: string\n description: Reverse DNS hostname (PTR) for the input IP; returns the input IP if not resolvable.\n location:\n $ref: '#/components/schemas/Location'\n country_metadata:\n $ref: '#/components/schemas/CountryMetadata'\n network:\n $ref: '#/components/schemas/Network'\n asn:\n $ref: '#/components/schemas/Asn'\n company:\n $ref: '#/components/schemas/Company'\n currency:\n $ref: '#/components/schemas/Currency'\n security:\n $ref: '#/components/schemas/Security'\n abuse:\n $ref: '#/components/schemas/Abuse'\n time_zone:\n $ref: '#/components/schemas/TimeZone'\n user_agent:\n $ref: '#/components/schemas/UserAgent'\n Location:\n type: object\n description: Geographic location information for the IP.\n required:\n - continent_code\n - continent_name\n - country_code2\n - country_code3\n - country_name\n - country_name_official\n - country_capital\n - latitude\n - longitude\n - is_eu\n - country_flag\n properties:\n continent_code:\n type: string\n description: 2-letter code of the continent.\n continent_name:\n type: string\n description: Name of the continent.\n country_code2:\n type: string\n description: Country code (ISO 3166-1 alpha-2) of the country.\n country_code3:\n type: string\n description: Country code (ISO 3166-1 alpha-3) of the country.\n country_name:\n type: string\n description: Name of the country.\n country_name_official:\n type: string\n description: Official name (ISO 3166) of the country.\n country_capital:\n type: string\n description: Name of the country's capital.\n state_prov:\n type: string\n description: Name of the state/province/region.\n state_code:\n type: string\n description: Code of the state/province/region.\n district:\n type: string\n description: Name of the district or county.\n city:\n type: string\n description: Name of the city.\n locality:\n type: string\n description: A more specific area in city or it can be same as city.\n accuracy_radius:\n type: string\n description: Circular radius in Km, where the IP address location can be found.\n confidence:\n type: string\n description: Confidence level of the location match (e.g., low, medium, high).\n dma_code:\n type:\n - string\n - 'null'\n description: Designated Market Area (DMA) code used in the United States for media marketing.\n zipcode:\n type: string\n description: ZIP/Postal code of the place.\n latitude:\n type: string\n description: Latitude of the place.\n longitude:\n type: string\n description: Longitude of the place.\n is_eu:\n type: boolean\n description: Is the country belong to European Union?\n country_flag:\n type: string\n format: uri\n description: URL to get the country flag.\n geoname_id:\n type: string\n description: Geoname ID of the place from geonames.org.\n country_emoji:\n type: string\n description: Emoji of the Country flag.\n CountryMetadata:\n type: object\n description: Country-specific metadata.\n required:\n - calling_code\n - tld\n - languages\n properties:\n calling_code:\n type: string\n description: Calling code/Dialing code of the country.\n tld:\n type: string\n description: Top Level Domain Name (TLD) of the country, which is also called ccTLD.\n languages:\n type: array\n items:\n type: string\n description: List of the languages' codes, spoken in the country.\n Network:\n type: object\n description: Network information for the IP.\n properties:\n connection_type:\n type: string\n description: Network access type classification (e.g., DSL, Cable, Mobile, 5G) when available.\n route:\n type: string\n description: Network prefix in CIDR notation that contains the IP.\n is_anycast:\n type: boolean\n description: true if the IP is anycast (same IP announced from multiple locations).\n is_cdn:\n type: boolean\n description: true if the IP belongs to a content delivery network (CDN) or a cloud provider's network.\n cdn_provider_name:\n type: string\n description: CDN provider name (e.g. Cloudflare) when is_cdn is true; empty otherwise.\n Asn:\n type: object\n description: Autonomous System details for the IP.\n properties:\n as_number:\n type: string\n description: ASN identifier in AS<number> format associated with the IP's network.\n organization:\n type: string\n description: ASN operator name.\n country:\n type: string\n description: ASN registration country as ISO 3166-1 alpha-2.\n type:\n type: string\n description: ASN category (ISP, HOSTING, BUSINESS, etc.).\n domain:\n type: string\n description: ASN operator domain name.\n date_allocated:\n type: string\n description: ASN allocation date in YYYY-MM-DD format.\n rir:\n type: string\n description: Regional Internet Registry that allocated the ASN.\n Company:\n type: object\n description: Company or ISP information mapped to the IP address.\n properties:\n name:\n type: string\n description: Company name mapped to the IP.\n type:\n type: string\n description: Company category (ISP, HOSTING, BUSINESS, etc.).\n domain:\n type: string\n description: Company domain name.\n Currency:\n type: object\n description: Currency information for the IP's country.\n properties:\n code:\n type: string\n description: Currency code (ISO 4217).\n name:\n type: string\n description: Currency name (ISO 4217).\n symbol:\n type: string\n description: Currency symbol.\n Security:\n type: object\n description: Threat intelligence and security information for the IP.\n required:\n - threat_score\n - is_tor\n - is_proxy\n - proxy_confidence_score\n - is_residential_proxy\n - is_vpn\n - vpn_confidence_score\n - is_relay\n - is_anonymous\n - is_known_attacker\n - is_bot\n - bot_confidence_score\n - is_known_good_bot\n - is_spam\n - is_cloud_provider\n - is_corporate_gateway\n properties:\n threat_score:\n type: number\n description: Aggregate risk score from 0 to 100.\n is_tor:\n type: boolean\n description: true if the IP matches a Tor exit node.\n is_proxy:\n type: boolean\n description: true if the IP is associated with a proxy service.\n proxy_provider_names:\n type: array\n items:\n type: string\n description: Detected proxy provider names.\n proxy_confidence_score:\n type: number\n description: Proxy detection confidence from 0 to 100.\n proxy_last_seen:\n type: string\n description: Last observed proxy activity date in YYYY-MM-DD.\n is_residential_proxy:\n type: boolean\n description: true if the IP is linked to a residential proxy network.\n is_vpn:\n type: boolean\n description: true if the IP is associated with a VPN service.\n vpn_provider_names:\n type: array\n items:\n type: string\n description: Detected VPN provider names.\n vpn_confidence_score:\n type: number\n description: VPN detection confidence from 0 to 100.\n vpn_last_seen:\n type: string\n description: Last observed VPN activity date in YYYY-MM-DD.\n is_relay:\n type: boolean\n description: true if the IP is associated with a relay network.\n relay_provider_name:\n type: string\n description: Relay provider name.\n is_anonymous:\n type: boolean\n description: true if any anonymity signal is present.\n is_known_attacker:\n type: boolean\n description: true if the IP is flagged for known attacker behavior.\n is_bot:\n type: boolean\n description: true if the IP is associated with bot activity.\n bot_confidence_score:\n type: number\n description: Bot detection confidence from 0 to 100. 0 unless is_bot is true.\n bot_operator_name:\n type: string\n description: Organization running the bot, when known (mostly declared bots).\n bot_type:\n type: string\n description: 'Kind of bot activity, when known. Declared bots (is_known_good_bot true): search_engine, ai_crawler, ai_assistant, seo_crawler, site_monitor, link_preview, feed_fetcher, archiver, ad_verification, scanner. Undeclared bots (is_known_good_bot false): scanner, scraper, exploit, credential_stuffing, brute_force, worm. New values can be added over time, so treat it as a plain string.'\n is_known_good_bot:\n type: boolean\n description: true if the bot is a declared bot with a verifiable operator (e.g. a search engine crawler or uptime monitor).\n bot_last_seen:\n type: string\n description: Last observed bot activity date in YYYY-MM-DD, when available.\n is_spam:\n type: boolean\n description: true if the IP is associated with spam activity.\n is_cloud_provider:\n type: boolean\n description: true if the IP belongs to a cloud or hosting provider range.\n cloud_provider_name:\n type: string\n description: Cloud or hosting provider name.\n is_corporate_gateway:\n type: boolean\n description: true if the IP is an outbound address of a corporate security gateway (SWG, SSE, or SASE).\n corporate_gateway_type:\n type: string\n description: 'Kind of corporate gateway, when known. Known values: secure_web_gateway, browser_isolation.'\n corporate_gateway_provider_name:\n type: string\n description: Corporate gateway provider name, when known.\n Abuse:\n type: object\n description: Abuse contact information for the IP.\n properties:\n route:\n type: string\n description: Abuse-handling IP range in CIDR notation.\n country:\n type: string\n description: ISO 3166-1 alpha-2 country code of the abuse contact.\n name:\n type: string\n description: Display name for the abuse contact.\n organization:\n type: string\n description: Organization name for the abuse contact.\n kind:\n type: string\n description: 'Contact type: group or individual.'\n address:\n type: string\n description: Registered address of the organization owning the IP.\n emails:\n type: array\n items:\n type: string\n description: Abuse contact email addresses.\n phone_numbers:\n type: array\n items:\n type: string\n description: Abuse contact phone numbers.\n DstTransition:\n type: object\n description: DST transition details (used for both the DST start and DST end transitions).\n properties:\n utc_time:\n type: string\n description: DST transition moment in UTC.\n duration:\n type: string\n description: Clock change at the DST transition, in hours.\n gap:\n type: boolean\n description: true if local time jumps forward (some times do not exist).\n date_time_after:\n type: string\n description: Local date/time immediately after the DST transition.\n date_time_before:\n type: string\n description: Local date/time immediately before the DST transition.\n overlap:\n type: boolean\n description: true if local times repeat around the DST transition.\n TimeZone:\n type: object\n description: Time zone information for the IP's location.\n required:\n - name\n - offset\n - offset_with_dst\n - current_time\n - current_time_unix\n - is_dst\n - dst_savings\n - dst_exists\n properties:\n name:\n type: string\n description: Time zone in IANA TZDB format.\n offset:\n type: number\n format: float\n description: Standard time UTC offset in hours.\n offset_with_dst:\n type: number\n format: float\n description: Current effective UTC offset in hours, including DST.\n current_time:\n type: string\n description: Local date/time in YYYY-MM-DD HH:mm:ss.SSS\xB1ZZZZ format.\n current_time_unix:\n type: number\n format: float\n description: Local time as Unix epoch seconds.\n current_tz_abbreviation:\n type: string\n description: Current time zone abbreviation.\n current_tz_full_name:\n type: string\n description: Current time zone full name.\n standard_tz_abbreviation:\n type: string\n description: Standard (non-DST) abbreviation.\n standard_tz_full_name:\n type: string\n description: Standard (non-DST) full name.\n is_dst:\n type: boolean\n description: true if DST is active.\n dst_savings:\n type: number\n format: float\n description: DST shift amount in hours.\n dst_exists:\n type: boolean\n description: true if the time zone observes DST.\n dst_tz_abbreviation:\n type: string\n description: DST abbreviation when DST is active.\n dst_tz_full_name:\n type: string\n description: DST full name when DST is active.\n dst_start:\n $ref: '#/components/schemas/DstTransition'\n dst_end:\n $ref: '#/components/schemas/DstTransition'\n Device:\n type: object\n description: Device details.\n properties:\n name:\n type: string\n description: Detected device label.\n type:\n type: string\n description: Device category (Desktop, Mobile, Tablet, Bot).\n brand:\n type: string\n description: Device vendor/brand.\n cpu:\n type: string\n description: CPU / architecture string.\n Engine:\n type: object\n description: Rendering engine details.\n properties:\n name:\n type: string\n description: Rendering engine name.\n type:\n type: string\n description: Engine category.\n version:\n type: string\n description: Full engine version string.\n version_major:\n type: string\n description: Major engine version.\n OperatingSystem:\n type: object\n description: Operating system details.\n properties:\n name:\n type: string\n description: Operating system name.\n type:\n type: string\n description: OS category (Desktop, Mobile, Server).\n version:\n type: string\n description: OS version string.\n version_major:\n type: string\n description: Major OS version.\n build:\n type: string\n description: OS build identifier.\n UserAgent:\n type: object\n description: Parsed User-Agent details from the request.\n properties:\n user_agent_string:\n type: string\n description: Raw User-Agent string used for parsing.\n name:\n type: string\n description: Detected user agent product name.\n type:\n type: string\n description: User agent category (e.g., Browser, Mobile App, Bot).\n version:\n type: string\n description: Full product version string.\n version_major:\n type: string\n description: Major version extracted from version.\n device:\n $ref: '#/components/schemas/Device'\n engine:\n $ref: '#/components/schemas/Engine'\n operating_system:\n $ref: '#/components/schemas/OperatingSystem'\n ErrorResponse:\n type: object\n description: Standard error envelope returned by the API on failed requests.\n required:\n - message\n properties:\n error:\n type: string\n description: Short error category or exception type.\n message:\n type: string\n description: Human-readable error message describing the failure.\n path:\n type: string\n description: API endpoint path that produced the error.\n status:\n type: integer\n description: HTTP status code returned with the error.\n timestamp:\n type: string\n format: date-time\n description: Timestamp when the error occurred (ISO 8601).\n headers:\n X-AF-Credits-Cost:\n description: Specifies the number of credits consumed by the current request.\n schema:\n type: integer\nsecurity:\n - ApiKeyAuthHeader: []\n - ApiKeyAuthQuery: []\n",
62832
62898
  "ip-threat-intelligence": "openapi: 3.1.1\ninfo:\n title: IP Threat Intelligence API - VPN, Proxy & Tor Detection with Threat Scoring\n version: 1.0.0\n description: Retrieve real-time threat intelligence and security signals for a single IPv4 or IPv6 address. Returns an aggregate `threat_score` (0-100) plus detection flags and provider names for VPNs, proxies (including residential proxies), Tor exit nodes, relays, known attackers, bots (with bot type and whether it is a declared, known-good bot), spam sources, cloud-provider ranges, and corporate security gateways. Use `fields`/`excludes` with dot notation (e.g. `security.threat_score`) to trim the response to only the modules you need. If `ip` is omitted, the API returns threat data for the public IP of the requesting client. Bogon and reserved IP addresses return a `423` error, and malformed IP input returns a `400` error, instead of partial data.\n contact:\n name: APIFreaks Support\n url: https://apifreaks.com/contact\n email: support@apifreaks.com\nservers:\n - url: https://api.apifreaks.com/v1.0\n description: IP Threat Intelligence API Server\npaths:\n /ip/security:\n get:\n tags:\n - IP Geolocation APIs\n summary: Retrieve real-time threat intelligence and security signals for an IPv4 or IPv6 address\n description: Get a threat score along with VPN, proxy, Tor, relay, bot, spam, known-attacker, and cloud-provider detection flags for an IP address.\n operationId: ipSecurityLookup\n parameters:\n - name: format\n in: query\n required: false\n description: Format of the response.\n schema:\n type: string\n enum:\n - json\n - xml\n default: json\n - name: ip\n in: query\n required: false\n description: IPv4 or IPv6 address to check for threat intelligence and security signals. If omitted, the public IP of the requesting client is used.\n schema:\n type: string\n - name: fields\n in: query\n required: false\n description: Comma-separated list of fields to return. Supports dot notation (e.g. `security.threat_score`).\n schema:\n type: string\n - name: excludes\n in: query\n required: false\n description: Comma-separated list of fields to remove from the response. Supports dot notation (e.g. `security.is_tor`). The `ip` field is always included and cannot be excluded.\n schema:\n type: string\n responses:\n '200':\n description: Successful threat intelligence response\n content:\n application/json:\n schema:\n $ref: '#/components/schemas/IpSecurityResponse'\n examples:\n typicalSuccess:\n summary: Typical successful response\n value:\n ip: 8.8.8.8\n security:\n threat_score: 5\n is_tor: false\n is_proxy: false\n proxy_provider_names: []\n proxy_confidence_score: 0\n proxy_last_seen: ''\n is_residential_proxy: false\n is_vpn: false\n vpn_provider_names: []\n vpn_confidence_score: 0\n vpn_last_seen: ''\n is_relay: false\n relay_provider_name: ''\n is_anonymous: false\n is_known_attacker: false\n is_bot: false\n bot_confidence_score: 0\n bot_operator_name: ''\n bot_type: ''\n is_known_good_bot: false\n bot_last_seen: ''\n is_spam: false\n is_cloud_provider: true\n cloud_provider_name: Google LLC\n is_corporate_gateway: false\n corporate_gateway_type: ''\n corporate_gateway_provider_name: ''\n headers:\n X-AF-Credits-Cost:\n $ref: '#/components/headers/X-AF-Credits-Cost'\n '400':\n description: Bad Request \u2014 Invalid or missing IP address\n content:\n application/json:\n schema:\n $ref: '#/components/schemas/ErrorResponse'\n examples:\n invalidIp:\n summary: Malformed IP address\n value:\n message: Provided IP address 'invalid' is not valid\n headers:\n X-AF-Credits-Cost:\n $ref: '#/components/headers/X-AF-Credits-Cost'\n '423':\n description: Locked \u2014 Bogon or reserved IP address\n content:\n application/json:\n schema:\n $ref: '#/components/schemas/ErrorResponse'\n examples:\n locked:\n summary: Bogon or reserved IP address\n value:\n message: '''10.0.0.1'' is a bogon IP address.'\n headers:\n X-AF-Credits-Cost:\n $ref: '#/components/headers/X-AF-Credits-Cost'\ncomponents:\n securitySchemes:\n ApiKeyAuthHeader:\n type: apiKey\n in: header\n name: X-apiKey\n description: Pass your API key via the X-apiKey request header.\n ApiKeyAuthQuery:\n type: apiKey\n in: query\n name: apiKey\n description: Pass your API key via the apiKey query parameter.\n schemas:\n ErrorResponse:\n type: object\n required:\n - message\n properties:\n error:\n type: string\n description: Short error category or exception type.\n message:\n type: string\n description: Human-readable error message describing the failure.\n path:\n type: string\n description: API endpoint path that produced the error.\n status:\n type: integer\n description: HTTP status code returned with the error.\n timestamp:\n type: string\n format: date-time\n description: Timestamp when the error occurred (ISO 8601).\n IpSecurityResponse:\n type: object\n description: Threat intelligence result for an IP address.\n required:\n - ip\n properties:\n ip:\n type: string\n description: The IP address used for the lookup (IPv4 or IPv6).\n security:\n $ref: '#/components/schemas/Security'\n Security:\n type: object\n description: Threat intelligence and security information for the IP.\n required:\n - threat_score\n - is_tor\n - is_proxy\n - proxy_confidence_score\n - is_residential_proxy\n - is_vpn\n - vpn_confidence_score\n - is_relay\n - is_anonymous\n - is_known_attacker\n - is_bot\n - bot_confidence_score\n - is_known_good_bot\n - is_spam\n - is_cloud_provider\n - is_corporate_gateway\n properties:\n threat_score:\n type: number\n description: Aggregate risk score from 0 to 100.\n is_tor:\n type: boolean\n description: true if the IP matches a Tor exit node.\n is_proxy:\n type: boolean\n description: true if the IP is associated with a proxy service.\n proxy_provider_names:\n type: array\n items:\n type: string\n description: Detected proxy provider names.\n proxy_confidence_score:\n type: number\n description: Proxy detection confidence from 0 to 100.\n proxy_last_seen:\n type: string\n description: Last observed proxy activity date in YYYY-MM-DD.\n is_residential_proxy:\n type: boolean\n description: true if the IP is linked to a residential proxy network.\n is_vpn:\n type: boolean\n description: true if the IP is associated with a VPN service.\n vpn_provider_names:\n type: array\n items:\n type: string\n description: Detected VPN provider names.\n vpn_confidence_score:\n type: number\n description: VPN detection confidence from 0 to 100.\n vpn_last_seen:\n type: string\n description: Last observed VPN activity date in YYYY-MM-DD.\n is_relay:\n type: boolean\n description: true if the IP is associated with a relay network.\n relay_provider_name:\n type: string\n description: Relay provider name.\n is_anonymous:\n type: boolean\n description: true if any anonymity signal is present.\n is_known_attacker:\n type: boolean\n description: true if the IP is flagged for known attacker behavior.\n is_bot:\n type: boolean\n description: true if the IP is associated with bot activity.\n bot_confidence_score:\n type: number\n description: Bot detection confidence from 0 to 100. 0 unless is_bot is true.\n bot_operator_name:\n type: string\n description: Organization running the bot, when known (mostly declared bots).\n bot_type:\n type: string\n description: 'Kind of bot activity, when known. Declared bots (is_known_good_bot true): search_engine, ai_crawler, ai_assistant, seo_crawler, site_monitor, link_preview, feed_fetcher, archiver, ad_verification, scanner. Undeclared bots (is_known_good_bot false): scanner, scraper, exploit, credential_stuffing, brute_force, worm. New values can be added over time, so treat it as a plain string.'\n is_known_good_bot:\n type: boolean\n description: true if the bot is a declared bot with a verifiable operator (e.g. a search engine crawler or uptime monitor).\n bot_last_seen:\n type: string\n description: Last observed bot activity date in YYYY-MM-DD, when available.\n is_spam:\n type: boolean\n description: true if the IP is associated with spam activity.\n is_cloud_provider:\n type: boolean\n description: true if the IP belongs to a cloud or hosting provider range.\n cloud_provider_name:\n type: string\n description: Cloud or hosting provider name.\n is_corporate_gateway:\n type: boolean\n description: true if the IP is an outbound address of a corporate security gateway (SWG, SSE, or SASE).\n corporate_gateway_type:\n type: string\n description: 'Kind of corporate gateway, when known. Known values: secure_web_gateway, browser_isolation.'\n corporate_gateway_provider_name:\n type: string\n description: Corporate gateway provider name, when known.\n headers:\n X-AF-Credits-Cost:\n description: Specifies the number of credits consumed by the current request.\n schema:\n type: integer\nsecurity:\n - ApiKeyAuthHeader: []\n - ApiKeyAuthQuery: []\n",
62833
- "delete-pdf-page": "openapi: 3.1.1\ninfo:\n title: PDF Remove Pages API - Delete PDF Pages and Clean Up Documents Instantly\n version: 1.0.0\n description: Remove specific pages from a PDF file. Specify page numbers to delete. Returns a task ID for tracking the deletion progress.\n contact:\n name: APIFreaks Support\n url: https://apifreaks.com/contact\n email: support@apifreaks.com\nservers:\n - url: https://api.apifreaks.com/v1.0\n description: PDF Remove Pages API Server\npaths:\n /pdf/remove-pages:\n post:\n tags:\n - PDF Operations APIs\n summary: Delete specific pages from a PDF\n description: This API removes a selection or range of pages from a PDF file.\n parameters:\n - name: format\n in: query\n required: false\n schema:\n type: string\n enum:\n - json\n - xml\n default: json\n description: Specifies the desired format for the API response. Choose 'json' for a JSON object or 'xml' for an XML structure.\n - name: file_id\n in: query\n required: false\n schema:\n type: string\n description: The unique identifier of a PDF file already uploaded to the API Freaks server. Use this as an alternative to uploading a new file directly.\n - name: destroy\n in: query\n required: false\n schema:\n type: boolean\n description: If set to `true`, the input file(s) will be permanently deleted from the server immediately after the output PDF is generated.\n - name: output\n in: query\n required: false\n schema:\n type: string\n description: The desired name for the output PDF file after pages have been removed. If not provided, a default name will be assigned.\n - name: pages\n in: query\n required: true\n schema:\n type: string\n description: 'Specifies which pages to remove from the PDF. Accepts individual page numbers (e.g., ''1,7'') and/or ascending page ranges (e.g., ''3-5''). Use commas to separate entries and hyphens for ranges. Reverse ranges (e.g., ''5-3'') are not allowed. Alternatively, you may provide only one of the following keywords: ''even'' (removes all even-numbered pages), ''odd'' (removes all odd-numbered pages), or ''last'' (removes only the last page). The keyword ''all'' is not supported for this operation. Examples: ''1,3-5'', ''even''. Mixing special keywords with specific pages/ranges is not allowed. Malformed values or page numbers exceeding the document''s page count are not rejected on this call \u2014 the resulting task fails asynchronously (check task status).'\n - name: webhook_url\n in: query\n required: false\n schema:\n type: string\n description: The URL to which the webhook notification will be sent after the task is completed.\n - name: webhook_failure_notification\n in: query\n required: false\n schema:\n type: boolean\n description: If true, a notification will also be sent by email in case the webhook request fails all the retries. The email notification will be sent to the requesting user or their organization\u2019s admin if part of one.\n - name: X-Webhook-Authorization\n in: header\n required: false\n schema:\n type: string\n description: 'Optional custom header for webhook requests. Format: `Key:Value` (e.g., `Authorization:Bearer token123`). This will be sent as an HTTP header in the webhook call.'\n requestBody:\n description: Multipart form-data body carrying the PDF file to remove pages from. Alternatively, reference an already-uploaded file via the file_id query parameter instead of uploading here.\n required: false\n content:\n multipart/form-data:\n schema:\n $ref: '#/components/schemas/PdfFileUploadRequest'\n responses:\n '200':\n description: Remove task created successfully. Malformed or out-of-range page specifications are not rejected synchronously \u2014 the task is created, then fails asynchronously; poll the task status endpoint and check for status \"failed\" with an error/message pair.\n content:\n application/json:\n schema:\n $ref: '#/components/schemas/PDFResponse'\n examples:\n success:\n summary: Task created\n value:\n taskId: 04a06cd5-158d-4191-a45b-6f58249c599d\n inputIds:\n - 7a9e4b12-f3c8-4d56-b7e1-8c2f9d0a3e6f\n headers:\n X-AF-Credits-Cost:\n $ref: '#/components/headers/X-AF-Credits-Cost'\n '400':\n description: Bad Request \u2014 Missing/invalid parameters or file ID\n content:\n application/json:\n examples:\n MissingPages:\n summary: Missing required pages parameter\n value:\n error: Invalid Param Exception\n message: please pass correct parameters\n path: /v1.0/pdf/remove-pages\n status: 400\n timestamp: '2026-07-27T10:52:11.692Z'\n InvalidID:\n summary: file_id is malformed or does not exist\n value:\n timestamp: '2026-07-27T10:52:14.049Z'\n path: /v1.0/pdf/remove-pages\n status: 400\n error: Invalid File ID Provided\n message: Please provide a valid file ID\n schema:\n $ref: '#/components/schemas/ErrorResponse'\n headers:\n X-AF-Credits-Cost:\n $ref: '#/components/headers/X-AF-Credits-Cost'\n '415':\n description: Unsupported Media Type \u2014 File type not supported\n content:\n application/json:\n examples:\n InvalidPDF:\n summary: Uploaded file is not a supported type\n value:\n timestamp: '2026-07-27T10:52:14.649Z'\n path: /v1.0/pdf/remove-pages\n status: 415\n error: Unsupported File Type\n message: The provided file type is not supported. Refer to the documentation for valid file types.\n schema:\n $ref: '#/components/schemas/ErrorResponse'\n headers:\n X-AF-Credits-Cost:\n $ref: '#/components/headers/X-AF-Credits-Cost'\n operationId: deletePdfPage\ncomponents:\n securitySchemes:\n ApiKeyAuthHeader:\n type: apiKey\n in: header\n name: X-apiKey\n description: Pass your API key via the X-apiKey request header.\n ApiKeyAuthQuery:\n type: apiKey\n in: query\n name: apiKey\n description: Pass your API key via the apiKey query parameter.\n schemas:\n PDFResponse:\n type: object\n description: Response containing the task ID and input file IDs for a PDF processing task.\n required:\n - taskId\n properties:\n taskId:\n type: string\n description: Task ID of the requested task, used to check the task status.\n inputIds:\n type: array\n items:\n type: string\n description: File IDs for the input files provided for the task. Not returned when destroy parameter is true.\n PdfFileUploadRequest:\n type: object\n description: Multipart form-data request body containing the PDF file to process.\n required: []\n properties:\n file:\n type: string\n format: binary\n description: Raw PDF file bytes sent as a multipart/form-data field named 'file'. Omit this field entirely and pass file_id in the query string instead to use an already-uploaded file.\n ErrorResponse:\n type: object\n description: Standard error envelope returned by the API on failed requests.\n required:\n - message\n properties:\n error:\n type: string\n description: Short error category or exception type.\n message:\n type: string\n description: Human-readable error message describing the failure.\n path:\n type: string\n description: API endpoint path that produced the error.\n status:\n type: integer\n description: HTTP status code returned with the error.\n timestamp:\n type: string\n format: date-time\n description: Timestamp when the error occurred (ISO 8601).\n headers:\n X-AF-Credits-Cost:\n description: Specifies the number of credits consumed by the current request.\n schema:\n type: integer\nsecurity:\n - ApiKeyAuthHeader: []\n - ApiKeyAuthQuery: []\n",
62834
- "linearize-pdf": "openapi: 3.1.1\ninfo:\n title: PDF Linearize API - Optimize PDFs for Fast Web Viewing\n version: 1.0.0\n description: Linearize (web-optimize) a PDF file for faster viewing in web browsers. Optimized PDFs load page-by-page without downloading the entire file.\n contact:\n name: APIFreaks Support\n url: https://apifreaks.com/contact\n email: support@apifreaks.com\nservers:\n - url: https://api.apifreaks.com/v1.0\n description: Linearize PDF API Server\npaths:\n /pdf/linearize:\n post:\n tags:\n - PDF Operations APIs\n summary: Linearize a PDF\n description: API endpoint that linearizes any given PDF, restructuring it for faster loading and page-by-page viewing in web browsers.\n parameters:\n - name: format\n in: query\n required: false\n schema:\n type: string\n enum:\n - json\n - xml\n default: json\n description: Specifies the desired format for the API response. Choose 'json' for a JSON object or 'xml' for an XML structure.\n - name: file_id\n in: query\n required: false\n schema:\n type: string\n description: The unique ID of a PDF file already uploaded to the API Freaks server. Use this as an alternative to uploading a new file directly.\n - name: destroy\n in: query\n required: false\n schema:\n type: boolean\n description: If set to `true`, the input file(s) will be permanently deleted from the server immediately after the output PDF is generated.\n - name: output\n in: query\n required: false\n schema:\n type: string\n description: The desired name for the output PDF file after pages have been extracted. If not provided, a default name will be assigned.\n - name: webhook_url\n in: query\n required: false\n schema:\n type: string\n description: The URL to which the webhook notification will be sent after the task is completed.\n - name: webhook_failure_notification\n in: query\n required: false\n schema:\n type: boolean\n description: If true, a notification will also be sent by email in case the webhook request fails all the retries. The email notification will be sent to the requesting user or their organization\u2019s admin if part of one.\n - name: X-Webhook-Authorization\n in: header\n required: false\n schema:\n type: string\n description: 'Optional custom header for webhook requests. Format: `Key:Value` (e.g., `Authorization:Bearer token123`). This will be sent as an HTTP header in the webhook call.'\n requestBody:\n description: Multipart form-data body carrying the PDF file to linearize. Alternatively, reference an already-uploaded file via the file_id query parameter instead of uploading here.\n required: false\n content:\n multipart/form-data:\n schema:\n $ref: '#/components/schemas/PdfFileUploadRequest'\n responses:\n '200':\n description: Linearize task created successfully\n content:\n application/json:\n schema:\n $ref: '#/components/schemas/PDFResponse'\n examples:\n success:\n summary: Task created\n value:\n taskId: 8750f9bb-4cb9-45fd-80a6-e1adf6556618\n inputIds:\n - 5f214118-f848-41f8-809d-8c6058b4b74a\n headers:\n X-AF-Credits-Cost:\n $ref: '#/components/headers/X-AF-Credits-Cost'\n '400':\n description: Bad Request \u2014 Missing/invalid file or file ID\n content:\n application/json:\n examples:\n MissingFileOrID:\n summary: Neither a file nor a file ID was provided\n value:\n timestamp: '2026-07-27T10:55:07.695Z'\n path: /v1.0/pdf/linearize\n status: 400\n message: Please provide either a file or a file ID.\n error: Missing File or ID\n InvalidID:\n summary: file_id is malformed or does not exist\n value:\n error: Invalid File ID Provided\n message: Please provide a valid file ID\n path: /v1.0/pdf/linearize\n status: 400\n timestamp: '2026-07-27T10:55:08.238Z'\n schema:\n $ref: '#/components/schemas/ErrorResponse'\n headers:\n X-AF-Credits-Cost:\n $ref: '#/components/headers/X-AF-Credits-Cost'\n '415':\n description: Unsupported Media Type \u2014 File type not supported\n content:\n application/json:\n examples:\n UnsupportedFileType:\n summary: Uploaded file is not a supported type\n value:\n timestamp: '2026-07-27T10:55:08.869Z'\n path: /v1.0/pdf/linearize\n status: 415\n error: Unsupported File Type\n message: The provided file type is not supported. Refer to the documentation for valid file types.\n schema:\n $ref: '#/components/schemas/ErrorResponse'\n headers:\n X-AF-Credits-Cost:\n $ref: '#/components/headers/X-AF-Credits-Cost'\n operationId: linearizePdf\ncomponents:\n securitySchemes:\n ApiKeyAuthHeader:\n type: apiKey\n in: header\n name: X-apiKey\n description: Pass your API key via the X-apiKey request header.\n ApiKeyAuthQuery:\n type: apiKey\n in: query\n name: apiKey\n description: Pass your API key via the apiKey query parameter.\n schemas:\n PDFResponse:\n type: object\n description: Response containing the task ID and input file IDs for a PDF processing task.\n required:\n - taskId\n properties:\n taskId:\n type: string\n description: Task ID of the requested task, used to check the task status.\n inputIds:\n type: array\n items:\n type: string\n description: File IDs for the input files provided for the task. Not returned when destroy parameter is true.\n PdfFileUploadRequest:\n type: object\n description: Multipart form-data request body containing the PDF file to process.\n required: []\n properties:\n file:\n type: string\n format: binary\n description: Raw PDF file bytes sent as a multipart/form-data field named 'file'. Omit this field entirely and pass file_id in the query string instead to use an already-uploaded file.\n ErrorResponse:\n type: object\n description: Standard error envelope returned by the API on failed requests.\n required:\n - message\n properties:\n error:\n type: string\n description: Short error category or exception type.\n message:\n type: string\n description: Human-readable error message describing the failure.\n path:\n type: string\n description: API endpoint path that produced the error.\n status:\n type: integer\n description: HTTP status code returned with the error.\n timestamp:\n type: string\n format: date-time\n description: Timestamp when the error occurred (ISO 8601).\n headers:\n X-AF-Credits-Cost:\n description: Specifies the number of credits consumed by the current request.\n schema:\n type: integer\nsecurity:\n - ApiKeyAuthHeader: []\n - ApiKeyAuthQuery: []\n",
62835
- "merge-pdf": "openapi: 3.1.1\ninfo:\n title: Merge PDF API - Instantly Combine PDFs at Scale\n version: 1.0.1\n description: Merge multiple PDF files into a single PDF document in the order they are provided. Accepts input files up to 1GB in size via file upload or existing file IDs. Returns a task ID for tracking the merge progress.\n contact:\n name: APIFreaks Support\n url: https://apifreaks.com/contact\n email: support@apifreaks.com\nservers:\n - url: https://api.apifreaks.com/v1.0\n description: PDF Merge API Server\npaths:\n /pdf/merge:\n post:\n tags:\n - PDF Operations APIs\n summary: Combine multiple PDF files into one\n description: This API merges multiple PDF files into a single PDF, in the order they are provided\n parameters:\n - name: format\n in: query\n required: false\n schema:\n type: string\n enum:\n - json\n - xml\n default: json\n description: Specifies the desired format for the API response. Choose 'json' for a JSON object or 'xml' for an XML structure.\n - name: file_id\n in: query\n required: false\n schema:\n type: array\n items:\n type: string\n default: ''\n default: []\n description: An array of unique file IDs referencing PDF files previously uploaded to the API Freaks server. Use this parameter to merge existing files without re-uploading them. Provide multiple IDs to merge files in the specified order.\n - name: destroy\n in: query\n required: false\n schema:\n type: boolean\n description: If set to `true`, the input file(s) will be permanently deleted from the server immediately after the output PDF is generated.\n - name: output\n in: query\n required: false\n schema:\n type: string\n description: Specifies the desired name for the resulting merged PDF file. If not provided, a default name will be assigned.\n - name: webhook_url\n in: query\n required: false\n schema:\n type: string\n description: The URL to which the webhook notification will be sent after the task is completed.\n - name: webhook_failure_notification\n in: query\n required: false\n schema:\n type: boolean\n description: If true, a notification will also be sent by email in case the webhook request fails all the retries. The email notification will be sent to the requesting user or their organization\u2019s admin if part of one.\n - name: X-Webhook-Authorization\n in: header\n required: false\n schema:\n type: string\n description: 'Optional custom header for webhook requests. Format: `Key:Value` (e.g., `Authorization:Bearer token123`). This will be sent as an HTTP header in the webhook call.'\n requestBody:\n description: Multipart form-data body carrying the PDF file(s) to merge. Alternatively, reference already-uploaded files via the file_id query parameter instead of uploading here.\n required: false\n content:\n multipart/form-data:\n schema:\n $ref: '#/components/schemas/PdfMergeUploadRequest'\n responses:\n '200':\n description: Merge task created successfully\n content:\n application/json:\n schema:\n $ref: '#/components/schemas/PDFResponse'\n examples:\n success:\n summary: Task created\n value:\n taskId: 04a06cd5-158d-4191-a45b-6f58249c599d\n inputIds:\n - 7a9e4b12-f3c8-4d56-b7e1-8c2f9d0a3e6f\n headers:\n X-AF-Credits-Cost:\n $ref: '#/components/headers/X-AF-Credits-Cost'\n '400':\n description: Bad Request\n content:\n application/json:\n examples:\n InvalidID:\n summary: Invalid file ID provided\n value:\n error: Invalid File ID Provided\n message: Please provide a valid file ID\n path: /v1.0/pdf/merge\n status: 400\n timestamp: '2026-07-27T10:49:41.973Z'\n MissingUploadOrId:\n summary: Neither a file nor a file ID was provided\n value:\n timestamp: '2026-07-27T10:49:41.432Z'\n path: /v1.0/pdf/merge-pdf\n status: 400\n error: Missing File or ID\n message: Please provide either a file or a file ID.\n schema:\n $ref: '#/components/schemas/ErrorResponse'\n headers:\n X-AF-Credits-Cost:\n $ref: '#/components/headers/X-AF-Credits-Cost'\n '415':\n description: Unsupported Media Type \u2014 File type not supported\n content:\n application/json:\n examples:\n UnsupportedFileType:\n summary: Unsupported file type\n value:\n timestamp: '2026-07-27T10:49:42.554Z'\n path: /v1.0/pdf/merge-pdf\n status: 415\n error: Unsupported File Type\n message: The provided file type is not supported. Refer to the documentation for valid file types.\n schema:\n $ref: '#/components/schemas/ErrorResponse'\n headers:\n X-AF-Credits-Cost:\n $ref: '#/components/headers/X-AF-Credits-Cost'\n operationId: mergePdf\ncomponents:\n securitySchemes:\n ApiKeyAuthHeader:\n type: apiKey\n in: header\n name: X-apiKey\n description: Pass your API key via the X-apiKey request header.\n ApiKeyAuthQuery:\n type: apiKey\n in: query\n name: apiKey\n description: Pass your API key via the apiKey query parameter.\n schemas:\n PDFResponse:\n type: object\n required:\n - taskId\n properties:\n taskId:\n type: string\n description: Task ID of the requested task, used to check the task status.\n inputIds:\n type: array\n items:\n type: string\n description: File IDs for the input files provided for the task.\n description: Response containing the task ID and input file IDs for a PDF processing task.\n PdfMergeUploadRequest:\n type: object\n description: Multipart form-data request body containing multiple PDF files to merge.\n required: []\n properties:\n file:\n type: array\n items:\n type: string\n format: binary\n description: One or more raw PDF file byte streams, each sent as a separate multipart/form-data field named 'file'. Omit this field entirely and pass one or more file_id query parameters instead to merge already-uploaded files.\n ErrorResponse:\n type: object\n description: Standard error envelope returned by the API on failed requests.\n required:\n - message\n properties:\n error:\n type: string\n description: Short error category or exception type.\n message:\n type: string\n description: Human-readable error message describing the failure.\n path:\n type: string\n description: API endpoint path that produced the error.\n status:\n type: integer\n description: HTTP status code returned with the error.\n timestamp:\n type: string\n format: date-time\n description: Timestamp when the error occurred (ISO 8601).\n headers:\n X-AF-Credits-Cost:\n description: Specifies the number of credits consumed by the current request.\n schema:\n type: integer\nsecurity:\n - ApiKeyAuthHeader: []\n - ApiKeyAuthQuery: []\n",
62836
- "pdf-compress": "openapi: 3.1.1\ninfo:\n title: PDF Compress API - Reduce PDF File Size Programmatically\n version: 1.0.0\n description: 'Compress a PDF file to reduce its file size. Supports four compression levels: low (preserves quality), balanced (optimal ratio), high (significant reduction), and extreme (maximum compression). Accepts a file upload or an existing file ID. Returns a task ID for tracking the compression progress.'\n contact:\n name: APIFreaks Support\n url: https://apifreaks.com/contact\n email: support@apifreaks.com\nservers:\n - url: https://api.apifreaks.com/v1.0\n description: PDF Compress API Server\npaths:\n /pdf/compress:\n post:\n tags:\n - PDF Operations APIs\n summary: Compress a PDF file\n description: This API compresses a given PDF file to reduce its file serize.\n parameters:\n - name: format\n in: query\n required: false\n schema:\n type: string\n enum:\n - json\n - xml\n default: json\n description: Specifies the desired format for the API response. Choose 'json' for a JSON object or 'xml' for an XML structure.\n - name: file_id\n in: query\n required: false\n schema:\n type: string\n description: The unique ID of a PDF file already uploaded to the API Freaks server. Use this as an alternative to uploading a new file.\n - name: output\n in: query\n required: false\n schema:\n type: string\n default: compressed_pdf\n description: Name of the output PDF.\n - name: compression_level\n in: query\n required: true\n schema:\n type: string\n enum:\n - low\n - balanced\n - high\n - extreme\n default: balanced\n description: Controls how aggressively the PDF is compressed. Lower levels preserve more quality, while higher levels reduce file size more.\n - name: destroy\n in: query\n required: false\n schema:\n type: boolean\n description: If set to true, the input file(s) will be deleted from the server immediately after the output is generated.\n - name: webhook_url\n in: query\n required: false\n schema:\n type: string\n description: The URL to which the webhook notification will be sent after the task is completed.\n - name: webhook_failure_notification\n in: query\n required: false\n schema:\n type: boolean\n description: If true, a notification will also be sent by email in case the webhook request fails all the retries. The email notification will be sent to the requesting user or their organization\u2019s admin if part of one.\n - name: X-Webhook-Authorization\n in: header\n required: false\n schema:\n type: string\n description: 'Optional custom header for webhook requests. Format: `Key:Value` (e.g., `Authorization:Bearer token123`). This will be sent as an HTTP header in the webhook call.'\n requestBody:\n description: Multipart form-data body carrying the PDF file to compress. Alternatively, reference an already-uploaded file via the file_id query parameter instead of uploading here.\n required: false\n content:\n multipart/form-data:\n schema:\n $ref: '#/components/schemas/PdfFileUploadRequest'\n responses:\n '200':\n description: Compression task created successfully\n content:\n application/json:\n schema:\n $ref: '#/components/schemas/PdfTaskResponse'\n examples:\n success:\n summary: Task created\n value:\n taskId: ce4b1a38-6cfc-4373-9bd7-ff186fbd8e7e\n inputIds:\n - f2ba4b50-6f8a-43ae-b42d-96937f50cd89\n headers:\n X-AF-Credits-Cost:\n $ref: '#/components/headers/X-AF-Credits-Cost'\n '400':\n description: Bad Request \u2014 Missing/invalid parameters or file ID\n content:\n application/json:\n examples:\n MissingCompressionLevel:\n summary: Missing required compression_level parameter\n value:\n error: Invalid Param Exception\n message: please pass correct parameters\n path: /v1.0/pdf/compress\n status: 400\n timestamp: '2026-07-27T10:50:09.307Z'\n MissingFileOrID:\n summary: Neither a file nor a file ID was provided\n value:\n timestamp: '2026-07-27T10:50:09.886Z'\n path: /v1.0/pdf/compress\n status: 400\n error: Missing File or ID\n message: Please provide either a file or a file ID.\n InvalidID:\n summary: file_id is malformed or does not exist\n value:\n error: Invalid File ID Provided\n message: Please provide a valid file ID\n path: /v1.0/pdf/compress\n status: 400\n timestamp: '2026-07-27T10:50:25.910Z'\n schema:\n $ref: '#/components/schemas/ErrorResponse'\n headers:\n X-AF-Credits-Cost:\n $ref: '#/components/headers/X-AF-Credits-Cost'\n '415':\n description: Unsupported Media Type \u2014 File type not supported\n content:\n application/json:\n examples:\n InvalidPDF:\n summary: Uploaded file is not a supported type\n value:\n timestamp: '2026-07-27T10:50:18.409Z'\n path: /v1.0/pdf/compress\n status: 415\n error: Unsupported File Type\n message: The provided file type is not supported. Refer to the documentation for valid file types.\n schema:\n $ref: '#/components/schemas/ErrorResponse'\n headers:\n X-AF-Credits-Cost:\n $ref: '#/components/headers/X-AF-Credits-Cost'\n operationId: compressPdf\ncomponents:\n securitySchemes:\n ApiKeyAuthHeader:\n type: apiKey\n in: header\n name: X-apiKey\n description: Pass your API key via the X-apiKey request header.\n ApiKeyAuthQuery:\n type: apiKey\n in: query\n name: apiKey\n description: Pass your API key via the apiKey query parameter.\n schemas:\n PdfTaskResponse:\n type: object\n description: Response containing the task ID and input file IDs for a PDF processing task.\n required:\n - taskId\n properties:\n taskId:\n type: string\n description: Task ID of the requested task, used to check the task status.\n inputIds:\n type: array\n items:\n type: string\n description: File IDs for the input files provided for the task. Not returned when destroy parameter is true.\n PdfFileUploadRequest:\n type: object\n description: Multipart form-data request body containing the PDF file to process.\n properties:\n file:\n type: string\n format: binary\n description: Raw PDF file bytes sent as a multipart/form-data field named 'file'. Omit this field entirely and pass file_id in the query string instead to use an already-uploaded file.\n required: []\n ErrorResponse:\n type: object\n description: Standard error envelope returned by the API on failed requests.\n required:\n - message\n properties:\n error:\n type: string\n description: Short error category or exception type.\n message:\n type: string\n description: Human-readable error message describing the failure.\n path:\n type: string\n description: API endpoint path that produced the error.\n status:\n type: integer\n description: HTTP status code returned with the error.\n timestamp:\n type: string\n format: date-time\n description: Timestamp when the error occurred (ISO 8601).\n headers:\n X-AF-Credits-Cost:\n description: Specifies the number of credits consumed by the current request.\n schema:\n type: integer\nsecurity:\n - ApiKeyAuthHeader: []\n - ApiKeyAuthQuery: []\n",
62837
- "pdf-decrypt": "openapi: 3.1.1\ninfo:\n title: PDF Decrypt API Reference\n version: 1.0.0\n description: Remove all encryption from a PDF file, including open passwords and permission restrictions. Accepts a file upload or an existing file ID with the file password. Returns a task ID for tracking the decryption progress.\n contact:\n name: APIFreaks Support\n url: https://apifreaks.com/contact\n email: support@apifreaks.com\nservers:\n - url: https://api.apifreaks.com/v1.0\n description: PDF Decrypt API Server\npaths:\n /pdf/decrypt:\n post:\n tags:\n - PDF Security APIs\n summary: Remove all encryption from a PDF\n description: This API decrypts PDF files, removing all encryption, including open passwords and permission restrictions.\n parameters:\n - name: format\n in: query\n required: false\n schema:\n type: string\n enum:\n - json\n - xml\n default: json\n description: Specifies the desired format for the API response. Choose 'json' for a JSON object or 'xml' for an XML structure.\n - name: file_id\n in: query\n required: false\n schema:\n type: string\n description: The unique ID of a PDF file already uploaded to the API Freaks server. Use this as an alternative to uploading a new file directly.\n - name: destroy\n in: query\n required: false\n schema:\n type: boolean\n description: If set to `true`, the input file(s) will be permanently deleted from the server immediately after the output PDF is generated.\n - name: output\n in: query\n required: false\n schema:\n type: string\n description: The desired name for the output decrypted PDF file. If not provided, a default name will be assigned.\n - name: file_password\n in: query\n required: true\n schema:\n type: string\n description: The password to unlock the input file if it is protected. Either the owner password or user password can be provided. The owner password takes precedence. Password Length should be between 6 and 128 characters.\n - name: webhook_url\n in: query\n required: false\n schema:\n type: string\n description: The URL to which the webhook notification will be sent after the task is completed.\n - name: webhook_failure_notification\n in: query\n required: false\n schema:\n type: boolean\n description: If true, a notification will also be sent by email in case the webhook request fails all the retries. The email notification will be sent to the requesting user or their organization\u2019s admin if part of one.\n - name: X-Webhook-Authorization\n in: header\n required: false\n schema:\n type: string\n description: 'Optional custom header for webhook requests. Format: `Key:Value` (e.g., `Authorization:Bearer token123`). This will be sent as an HTTP header in the webhook call.'\n requestBody:\n description: Multipart form-data body carrying the PDF file to decrypt. Alternatively, reference an already-uploaded file via the file_id query parameter instead of uploading here.\n required: false\n content:\n multipart/form-data:\n schema:\n $ref: '#/components/schemas/PdfFileUploadRequest'\n responses:\n '200':\n description: Decrypt task created successfully. An incorrect file_password is not rejected synchronously \u2014 the task is created, then fails asynchronously; poll the task status endpoint and check for status \"failed\" with error \"Invalid PDF Password\".\n content:\n application/json:\n schema:\n $ref: '#/components/schemas/PDFResponse'\n examples:\n success:\n summary: Task created\n value:\n taskId: f91ec747-1dc6-4be5-be4b-4d6ff66ed386\n inputIds:\n - a5f8aca9-d19a-4ee0-90e3-d15f62df1e06\n headers:\n X-AF-Credits-Cost:\n $ref: '#/components/headers/X-AF-Credits-Cost'\n '400':\n description: Bad Request \u2014 Missing/invalid parameters or file ID\n content:\n application/json:\n examples:\n MissingPassword:\n summary: Missing required file_password parameter\n value:\n error: Invalid Param Exception\n message: please pass correct parameters\n path: /v1.0/pdf/decrypt\n status: 400\n timestamp: '2026-07-27T10:56:16.863Z'\n MissingFileOrID:\n summary: Neither a file nor a file ID was provided\n value:\n timestamp: '2026-07-27T10:56:17.498Z'\n path: /v1.0/pdf/decrypt-pdf\n status: 400\n error: Missing File or ID\n message: Please provide either a file or a file ID.\n InvalidID:\n summary: file_id is malformed or does not exist\n value:\n timestamp: '2026-07-27T10:56:18.138Z'\n path: /v1.0/pdf/decrypt\n status: 400\n error: Invalid File ID Provided\n message: Please provide a valid file ID\n schema:\n $ref: '#/components/schemas/ErrorResponse'\n headers:\n X-AF-Credits-Cost:\n $ref: '#/components/headers/X-AF-Credits-Cost'\n '415':\n description: Unsupported Media Type \u2014 File type not supported\n content:\n application/json:\n schema:\n $ref: '#/components/schemas/ErrorResponse'\n examples:\n UnsupportedFileType:\n summary: Uploaded file is not a supported type\n value:\n timestamp: '2026-07-27T10:56:50.780Z'\n path: /v1.0/pdf/decrypt-pdf\n status: 415\n error: Unsupported File Type\n message: The provided file type is not supported. Refer to the documentation for valid file types.\n headers:\n X-AF-Credits-Cost:\n $ref: '#/components/headers/X-AF-Credits-Cost'\n operationId: decryptPdf\ncomponents:\n securitySchemes:\n ApiKeyAuthHeader:\n type: apiKey\n in: header\n name: X-apiKey\n description: Pass your API key via the X-apiKey request header.\n ApiKeyAuthQuery:\n type: apiKey\n in: query\n name: apiKey\n description: Pass your API key via the apiKey query parameter.\n schemas:\n PDFResponse:\n type: object\n required:\n - taskId\n - inputIds\n properties:\n taskId:\n type: string\n description: Task ID of the requested task, used to check the task status.\n inputIds:\n type: array\n items:\n type: string\n description: File IDs for the input files provided for the task. Not returned when destroy parameter is true.\n description: Response containing the task ID and input file IDs for a PDF processing task.\n PdfFileUploadRequest:\n type: object\n description: Multipart form-data request body containing the PDF file to process.\n required: []\n properties:\n file:\n type: string\n format: binary\n description: Raw PDF file bytes sent as a multipart/form-data field named 'file'. Omit this field entirely and pass file_id in the query string instead to use an already-uploaded file.\n ErrorResponse:\n type: object\n description: Standard error envelope returned by the API on failed requests.\n required:\n - message\n properties:\n error:\n type: string\n description: Short error category or exception type.\n message:\n type: string\n description: Human-readable error message describing the failure.\n path:\n type: string\n description: API endpoint path that produced the error.\n status:\n type: integer\n description: HTTP status code returned with the error.\n timestamp:\n type: string\n format: date-time\n description: Timestamp when the error occurred (ISO 8601).\n headers:\n X-AF-Credits-Cost:\n description: Specifies the number of credits consumed by the current request.\n schema:\n type: integer\nsecurity:\n - ApiKeyAuthHeader: []\n - ApiKeyAuthQuery: []\n",
62838
- "pdf-encrypt": "openapi: 3.1.1\ninfo:\n title: PDF Encrypt API Reference\n version: 1.0.0\n description: Encrypt a PDF file with password protection and permission restrictions. Supports setting owner and user passwords, printing, copying, and editing permissions.\n contact:\n name: APIFreaks Support\n url: https://apifreaks.com/contact\n email: support@apifreaks.com\nservers:\n - url: https://api.apifreaks.com/v1.0\n description: PDF Encrypt API Server\npaths:\n /pdf/encrypt:\n post:\n tags:\n - PDF Security APIs\n summary: Add password protection to a PDF\n description: This API encrypts a PDF file by setting a password required to open it.\n parameters:\n - name: format\n in: query\n required: false\n schema:\n type: string\n enum:\n - json\n - xml\n default: json\n description: Specifies the desired format for the API response. Choose 'json' for a JSON object or 'xml' for an XML structure.\n - name: file_id\n in: query\n required: false\n schema:\n type: string\n description: The unique ID of a PDF file already uploaded to the API Freaks server. Use this as an alternative to uploading a new file directly.\n - name: destroy\n in: query\n required: false\n schema:\n type: boolean\n description: If set to `true`, the input file(s) will be permanently deleted from the server immediately after the output PDF is generated.\n - name: output\n in: query\n required: false\n schema:\n type: string\n description: The desired name for the output encrypted PDF file. If not provided, a default name will be assigned.\n - name: file_password\n in: query\n required: false\n schema:\n type: string\n description: The password to unlock the input file if it is already protected. Either the owner password or user password can be provided. The owner password takes precedence. Password Length should be between 6 and 128 characters.\n - name: user_password\n in: query\n required: true\n schema:\n type: string\n description: Sets the user password required to open and view the encrypted PDF file. Password Length should be between 6 and 128 characters.\n - name: owner_password\n in: query\n required: false\n schema:\n type: string\n description: Sets the owner password for the PDF file. This password provides full access, including the ability to remove restrictions. If not provided, the `user_password` will also be used as the owner password. Password Length should be between 6 and 128 characters.\n - name: webhook_url\n in: query\n required: false\n schema:\n type: string\n description: The URL to which the webhook notification will be sent after the task is completed.\n - name: webhook_failure_notification\n in: query\n required: false\n schema:\n type: boolean\n description: If true, a notification will also be sent by email in case the webhook request fails all the retries. The email notification will be sent to the requesting user or their organization\u2019s admin if part of one.\n - name: X-Webhook-Authorization\n in: header\n required: false\n schema:\n type: string\n description: 'Optional custom header for webhook requests. Format: `Key:Value` (e.g., `Authorization:Bearer token123`). This will be sent as an HTTP header in the webhook call.'\n requestBody:\n description: Multipart form-data body carrying the PDF file to encrypt. Alternatively, reference an already-uploaded file via the file_id query parameter instead of uploading here.\n required: false\n content:\n multipart/form-data:\n schema:\n $ref: '#/components/schemas/PdfFileUploadRequest'\n responses:\n '200':\n description: PDF encrypt successfully\n content:\n application/json:\n schema:\n $ref: '#/components/schemas/PDFResponse'\n examples:\n success:\n summary: Task created\n value:\n taskId: c11f7d84-33f5-46da-a64c-e70b3704284e\n inputIds:\n - 2d11e722-85cc-4105-b345-f395d48b326e\n headers:\n X-AF-Credits-Cost:\n $ref: '#/components/headers/X-AF-Credits-Cost'\n '400':\n description: Bad Request \u2014 Missing/invalid parameters, file ID, or password\n content:\n application/json:\n examples:\n MissingPassword:\n summary: Missing required user_password parameter\n value:\n error: Invalid Param Exception\n message: please pass correct parameters\n path: /v1.0/pdf/encrypt\n status: 400\n timestamp: '2026-07-27T10:55:36.936Z'\n WeakPassword:\n summary: Password does not meet strength requirements\n value:\n timestamp: '2026-07-27T10:55:37.534Z'\n path: /v1.0/pdf/encrypt-pdf\n status: 400\n error: Weak Password Provided\n message: Please provide a strong password. Refer to the documentation for password requirements.\n InvalidID:\n summary: file_id is malformed or does not exist\n value:\n timestamp: '2026-07-27T10:55:38.063Z'\n path: /v1.0/pdf/encrypt\n status: 400\n error: Invalid File ID Provided\n message: Please provide a valid file ID\n schema:\n $ref: '#/components/schemas/ErrorResponse'\n headers:\n X-AF-Credits-Cost:\n $ref: '#/components/headers/X-AF-Credits-Cost'\n '415':\n description: Unsupported Media Type \u2014 File type not supported\n content:\n application/json:\n examples:\n UnsupportedFileType:\n summary: Uploaded file is not a supported type\n value:\n timestamp: '2026-07-27T10:55:38.634Z'\n path: /v1.0/pdf/encrypt-pdf\n status: 415\n error: Unsupported File Type\n message: The provided file type is not supported. Refer to the documentation for valid file types.\n schema:\n $ref: '#/components/schemas/ErrorResponse'\n headers:\n X-AF-Credits-Cost:\n $ref: '#/components/headers/X-AF-Credits-Cost'\n operationId: encryptPdf\ncomponents:\n securitySchemes:\n ApiKeyAuthHeader:\n type: apiKey\n in: header\n name: X-apiKey\n description: Pass your API key via the X-apiKey request header.\n ApiKeyAuthQuery:\n type: apiKey\n in: query\n name: apiKey\n description: Pass your API key via the apiKey query parameter.\n schemas:\n PDFResponse:\n type: object\n description: Response containing the task ID and input file IDs for a PDF processing task.\n required:\n - taskId\n properties:\n taskId:\n type: string\n description: Task ID of the requested task, used to check the task status.\n inputIds:\n type: array\n items:\n type: string\n description: File IDs for the input files provided for the task. Not returned when destroy parameter is true.\n PdfFileUploadRequest:\n type: object\n description: Multipart form-data request body containing the PDF file to process.\n required: []\n properties:\n file:\n type: string\n format: binary\n description: Raw PDF file bytes sent as a multipart/form-data field named 'file'. Omit this field entirely and pass file_id in the query string instead to use an already-uploaded file.\n ErrorResponse:\n type: object\n description: Standard error envelope returned by the API on failed requests.\n required:\n - message\n properties:\n error:\n type: string\n description: Short error category or exception type.\n message:\n type: string\n description: Human-readable error message describing the failure.\n path:\n type: string\n description: API endpoint path that produced the error.\n status:\n type: integer\n description: HTTP status code returned with the error.\n timestamp:\n type: string\n format: date-time\n description: Timestamp when the error occurred (ISO 8601).\n headers:\n X-AF-Credits-Cost:\n description: Specifies the number of credits consumed by the current request.\n schema:\n type: integer\nsecurity:\n - ApiKeyAuthHeader: []\n - ApiKeyAuthQuery: []\n",
62839
- "pdf-extract-pages": "openapi: 3.1.1\ninfo:\n title: PDF Extract Pages API Reference\n version: 1.0.0\n description: Extract specific pages from a PDF file. Specify page ranges or individual page numbers. Returns a task ID for tracking the extraction progress.\n contact:\n name: APIFreaks Support\n url: https://apifreaks.com/contact\n email: support@apifreaks.com\nservers:\n - url: https://api.apifreaks.com/v1.0\n description: PDF Extract Pages API Server\npaths:\n /pdf/extract-pages:\n post:\n tags:\n - PDF Operations APIs\n summary: Extract pages from a PDF\n description: This API extracts specific pages or page ranges from a PDF file and returns them as a new PDF.\n parameters:\n - name: format\n in: query\n required: false\n schema:\n type: string\n enum:\n - json\n - xml\n default: json\n description: Specifies the desired format for the API response. Choose 'json' for a JSON object or 'xml' for an XML structure.\n - name: file_id\n in: query\n required: false\n schema:\n type: string\n description: The unique ID of a PDF file already uploaded to the API Freaks server. Use this as an alternative to uploading a new file directly.\n - name: destroy\n in: query\n required: false\n schema:\n type: boolean\n description: If set to `true`, the input file(s) will be permanently deleted from the server immediately after the output PDF is generated.\n - name: output\n in: query\n required: false\n schema:\n type: string\n description: The desired name for the output PDF file after pages have been extracted. If not provided, a default name will be assigned.\n - name: pages\n in: query\n required: true\n schema:\n type: string\n description: 'Specifies which pages to extract from the PDF. You can provide individual page numbers (e.g., ''2'') and/or page ranges in any order, including descending (e.g., ''9-5'', ''16-last''). Use commas to separate entries and hyphens for ranges. You may alternatively pass only one of the special keywords: ''even'' (extracts all even-numbered pages), ''odd'' (extracts all odd-numbered pages), ''last'' (extracts only the last page), or ''all'' (extracts all pages into individual files). Examples: ''2,6-3'', ''even'', ''all''. Mixing special keywords with specific pages/ranges is not allowed. Malformed values or page numbers exceeding the document''s page count are not rejected on this call \u2014 the resulting task fails asynchronously (check task status).'\n - name: separated\n in: query\n required: false\n schema:\n type: boolean\n description: If set to `true`, each of the specified pages will be extracted and returned as a separate PDF file.\n - name: webhook_url\n in: query\n required: false\n schema:\n type: string\n description: The URL to which the webhook notification will be sent after the task is completed.\n - name: webhook_failure_notification\n in: query\n required: false\n schema:\n type: boolean\n description: If true, a notification will also be sent by email in case the webhook request fails all the retries. The email notification will be sent to the requesting user or their organization\u2019s admin if part of one.\n - name: X-Webhook-Authorization\n in: header\n required: false\n schema:\n type: string\n description: 'Optional custom header for webhook requests. Format: `Key:Value` (e.g., `Authorization:Bearer token123`). This will be sent as an HTTP header in the webhook call.'\n requestBody:\n description: Multipart form-data body carrying the PDF file to extract pages from. Alternatively, reference an already-uploaded file via the file_id query parameter instead of uploading here.\n required: false\n content:\n multipart/form-data:\n schema:\n $ref: '#/components/schemas/PdfFileUploadRequest'\n responses:\n '200':\n description: Extract task created successfully. Malformed or out-of-range page specifications are not rejected synchronously \u2014 the task is created, then fails asynchronously; poll the task status endpoint and check for status \"failed\" with an error/message pair.\n content:\n application/json:\n schema:\n $ref: '#/components/schemas/PDFResponse'\n examples:\n success:\n summary: Task created\n value:\n taskId: dabcbcf5-d4ba-4143-bc34-3a8db6c8476e\n inputIds:\n - 01a77122-c457-475d-a6f2-f88cd4ad8924\n headers:\n X-AF-Credits-Cost:\n $ref: '#/components/headers/X-AF-Credits-Cost'\n '400':\n description: Bad Request \u2014 Missing/invalid parameters or file ID\n content:\n application/json:\n examples:\n MissingPages:\n summary: Missing required pages parameter\n value:\n error: Invalid Param Exception\n message: please pass correct parameters\n path: /v1.0/pdf/extract-pages\n status: 400\n timestamp: '2026-07-27T10:53:18.573Z'\n InvalidID:\n summary: file_id is malformed or does not exist\n value:\n error: Invalid File ID Provided\n message: Please provide a valid file ID\n path: /v1.0/pdf/extract-pages\n status: 400\n timestamp: '2026-07-27T10:53:19.182Z'\n schema:\n $ref: '#/components/schemas/ErrorResponse'\n headers:\n X-AF-Credits-Cost:\n $ref: '#/components/headers/X-AF-Credits-Cost'\n '415':\n description: Unsupported Media Type \u2014 File type not supported\n content:\n application/json:\n examples:\n UnsupportedFileType:\n summary: Uploaded file is not a supported type\n value:\n timestamp: '2026-07-27T10:53:19.733Z'\n path: /v1.0/pdf/extract-pages\n status: 415\n error: Unsupported File Type\n message: The provided file type is not supported. Refer to the documentation for valid file types.\n schema:\n $ref: '#/components/schemas/ErrorResponse'\n headers:\n X-AF-Credits-Cost:\n $ref: '#/components/headers/X-AF-Credits-Cost'\n operationId: extractPdfPages\ncomponents:\n securitySchemes:\n ApiKeyAuthHeader:\n type: apiKey\n in: header\n name: X-apiKey\n description: Pass your API key via the X-apiKey request header.\n ApiKeyAuthQuery:\n type: apiKey\n in: query\n name: apiKey\n description: Pass your API key via the apiKey query parameter.\n schemas:\n PDFResponse:\n type: object\n description: Response containing the task ID and input file IDs for a PDF processing task.\n required:\n - taskId\n properties:\n taskId:\n type: string\n description: Task ID of the requested task, used to check the task status.\n inputIds:\n type: array\n items:\n type: string\n description: File IDs for the input files provided for the task. Not returned when destroy parameter is true.\n PdfFileUploadRequest:\n type: object\n description: Multipart form-data request body containing the PDF file to process.\n required: []\n properties:\n file:\n type: string\n format: binary\n description: Raw PDF file bytes sent as a multipart/form-data field named 'file'. Omit this field entirely and pass file_id in the query string instead to use an already-uploaded file.\n ErrorResponse:\n type: object\n description: Standard error envelope returned by the API on failed requests.\n required:\n - message\n properties:\n error:\n type: string\n description: Short error category or exception type.\n message:\n type: string\n description: Human-readable error message describing the failure.\n path:\n type: string\n description: API endpoint path that produced the error.\n status:\n type: integer\n description: HTTP status code returned with the error.\n timestamp:\n type: string\n format: date-time\n description: Timestamp when the error occurred (ISO 8601).\n headers:\n X-AF-Credits-Cost:\n description: Specifies the number of credits consumed by the current request.\n schema:\n type: integer\nsecurity:\n - ApiKeyAuthHeader: []\n - ApiKeyAuthQuery: []\n",
62899
+ "delete-pdf-page": "openapi: 3.1.1\ninfo:\n title: PDF Remove Pages API - Delete PDF Pages and Clean Up Documents Instantly\n version: 1.0.0\n description: Remove specific pages from a PDF file. Specify page numbers to delete. Returns a task ID for tracking the deletion progress.\n contact:\n name: APIFreaks Support\n url: https://apifreaks.com/contact\n email: support@apifreaks.com\nservers:\n - url: https://api.apifreaks.com/v1.0\n description: PDF Remove Pages API Server\npaths:\n /pdf/remove-pages:\n post:\n tags:\n - PDF Operations APIs\n summary: Delete specific pages from a PDF\n description: This API removes a selection or range of pages from a PDF file.\n parameters:\n - name: format\n in: query\n required: false\n schema:\n type: string\n enum:\n - json\n - xml\n default: json\n description: Specifies the desired format for the API response. Choose 'json' for a JSON object or 'xml' for an XML structure.\n - name: file_id\n in: query\n required: false\n schema:\n type: string\n description: The unique identifier of a PDF file already uploaded to the API Freaks server. Use this as an alternative to uploading a new file directly.\n - name: destroy\n in: query\n required: false\n schema:\n type: boolean\n description: If set to `true`, the input file(s) will be permanently deleted from the server immediately after the output PDF is generated.\n - name: output\n in: query\n required: false\n schema:\n type: string\n description: The desired name for the output PDF file after pages have been removed. If not provided, a default name will be assigned.\n - name: pages\n in: query\n required: true\n schema:\n type: string\n description: 'Specifies which pages to remove from the PDF. Accepts individual page numbers (e.g., ''1,7'') and/or ascending page ranges (e.g., ''3-5''). Use commas to separate entries and hyphens for ranges. Reverse ranges (e.g., ''5-3'') are not allowed. Alternatively, you may provide only one of the following keywords: ''even'' (removes all even-numbered pages), ''odd'' (removes all odd-numbered pages), or ''last'' (removes only the last page). The keyword ''all'' is not supported for this operation. Examples: ''1,3-5'', ''even''. Mixing special keywords with specific pages/ranges is not allowed. Malformed values or page numbers exceeding the document''s page count are not rejected on this call \u2014 the resulting task fails asynchronously (check task status).'\n - name: webhook_url\n in: query\n required: false\n schema:\n type: string\n description: The URL to which the webhook notification will be sent after the task is completed.\n - name: webhook_failure_notification\n in: query\n required: false\n schema:\n type: boolean\n description: If true, a notification will also be sent by email in case the webhook request fails all the retries. The email notification will be sent to the requesting user or their organization\u2019s admin if part of one.\n - name: X-Webhook-Authorization\n in: header\n required: false\n schema:\n type: string\n description: 'Optional custom header for webhook requests. Format: `Key:Value` (e.g., `Authorization:Bearer token123`). This will be sent as an HTTP header in the webhook call.'\n requestBody:\n description: Multipart form-data body carrying the PDF file to remove pages from. Alternatively, reference an already-uploaded file via the file_id query parameter instead of uploading here.\n required: false\n content:\n multipart/form-data:\n schema:\n $ref: '#/components/schemas/PdfFileUploadRequest'\n responses:\n '200':\n description: Remove task created successfully. Malformed or out-of-range page specifications are not rejected synchronously \u2014 the task is created, then fails asynchronously; poll the task status endpoint and check for status \"failed\" with an error/message pair.\n content:\n application/json:\n schema:\n $ref: '#/components/schemas/PDFResponse'\n examples:\n success:\n summary: Task created\n value:\n taskId: 04a06cd5-158d-4191-a45b-6f58249c599d\n inputIds:\n - 7a9e4b12-f3c8-4d56-b7e1-8c2f9d0a3e6f\n headers:\n X-AF-Credits-Cost:\n $ref: '#/components/headers/X-AF-Credits-Cost'\n '400':\n description: Bad Request \u2014 Missing/invalid parameters or file ID\n content:\n application/json:\n examples:\n MissingPages:\n summary: Missing required pages parameter\n value:\n error: Invalid Param Exception\n message: please pass correct parameters\n path: /v1.0/pdf/remove-pages\n status: 400\n timestamp: '2026-07-27T10:52:11.692Z'\n InvalidID:\n summary: file_id is malformed or does not exist\n value:\n timestamp: '2026-07-27T10:52:14.049Z'\n path: /v1.0/pdf/remove-pages\n status: 400\n error: Invalid File ID Provided\n message: Please provide a valid file ID\n schema:\n $ref: '#/components/schemas/ErrorResponse'\n headers:\n X-AF-Credits-Cost:\n $ref: '#/components/headers/X-AF-Credits-Cost'\n '415':\n description: Unsupported Media Type \u2014 The uploaded file type, or the file type associated with the provided file_id, is not supported for this operation\n content:\n application/json:\n examples:\n UnsupportedFileType:\n summary: Unsupported file type (file uploaded in the request)\n value:\n timestamp: '2026-11-20T11:29:56.771Z'\n path: /v1.0/pdf/remove-pages\n status: 415\n error: Unsupported File Type\n message: The provided file type is not supported. Refer to the documentation for valid file types.\n UnsupportedFileTypeForId:\n summary: Unsupported file type for the provided file ID\n value:\n timestamp: '2026-11-20T11:29:26.229Z'\n path: /v1.0/pdf/remove-pages\n status: 415\n error: Unsupported File Type\n 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.\n schema:\n $ref: '#/components/schemas/ErrorResponse'\n headers:\n X-AF-Credits-Cost:\n $ref: '#/components/headers/X-AF-Credits-Cost'\n operationId: deletePdfPage\ncomponents:\n securitySchemes:\n ApiKeyAuthHeader:\n type: apiKey\n in: header\n name: X-apiKey\n description: Pass your API key via the X-apiKey request header.\n ApiKeyAuthQuery:\n type: apiKey\n in: query\n name: apiKey\n description: Pass your API key via the apiKey query parameter.\n schemas:\n PDFResponse:\n type: object\n description: Response containing the task ID and input file IDs for a PDF processing task.\n required:\n - taskId\n properties:\n taskId:\n type: string\n description: Task ID of the requested task, used to check the task status.\n inputIds:\n type: array\n items:\n type: string\n description: File IDs for the input files provided for the task. Not returned when destroy parameter is true.\n PdfFileUploadRequest:\n type: object\n description: Multipart form-data request body containing the PDF file to process.\n required: []\n properties:\n file:\n type: string\n format: binary\n description: Raw PDF file bytes sent as a multipart/form-data field named 'file'. Omit this field entirely and pass file_id in the query string instead to use an already-uploaded file.\n ErrorResponse:\n type: object\n description: Standard error envelope returned by the API on failed requests.\n required:\n - message\n properties:\n error:\n type: string\n description: Short error category or exception type.\n message:\n type: string\n description: Human-readable error message describing the failure.\n path:\n type: string\n description: API endpoint path that produced the error.\n status:\n type: integer\n description: HTTP status code returned with the error.\n timestamp:\n type: string\n format: date-time\n description: Timestamp when the error occurred (ISO 8601).\n headers:\n X-AF-Credits-Cost:\n description: Specifies the number of credits consumed by the current request.\n schema:\n type: integer\nsecurity:\n - ApiKeyAuthHeader: []\n - ApiKeyAuthQuery: []\n",
62900
+ "linearize-pdf": "openapi: 3.1.1\ninfo:\n title: PDF Linearize API - Optimize PDFs for Fast Web Viewing\n version: 1.0.0\n description: Linearize (web-optimize) a PDF file for faster viewing in web browsers. Optimized PDFs load page-by-page without downloading the entire file.\n contact:\n name: APIFreaks Support\n url: https://apifreaks.com/contact\n email: support@apifreaks.com\nservers:\n - url: https://api.apifreaks.com/v1.0\n description: Linearize PDF API Server\npaths:\n /pdf/linearize:\n post:\n tags:\n - PDF Operations APIs\n summary: Linearize a PDF\n description: API endpoint that linearizes any given PDF, restructuring it for faster loading and page-by-page viewing in web browsers.\n parameters:\n - name: format\n in: query\n required: false\n schema:\n type: string\n enum:\n - json\n - xml\n default: json\n description: Specifies the desired format for the API response. Choose 'json' for a JSON object or 'xml' for an XML structure.\n - name: file_id\n in: query\n required: false\n schema:\n type: string\n description: The unique ID of a PDF file already uploaded to the API Freaks server. Use this as an alternative to uploading a new file directly.\n - name: destroy\n in: query\n required: false\n schema:\n type: boolean\n description: If set to `true`, the input file(s) will be permanently deleted from the server immediately after the output PDF is generated.\n - name: output\n in: query\n required: false\n schema:\n type: string\n description: The desired name for the output PDF file after pages have been extracted. If not provided, a default name will be assigned.\n - name: webhook_url\n in: query\n required: false\n schema:\n type: string\n description: The URL to which the webhook notification will be sent after the task is completed.\n - name: webhook_failure_notification\n in: query\n required: false\n schema:\n type: boolean\n description: If true, a notification will also be sent by email in case the webhook request fails all the retries. The email notification will be sent to the requesting user or their organization\u2019s admin if part of one.\n - name: X-Webhook-Authorization\n in: header\n required: false\n schema:\n type: string\n description: 'Optional custom header for webhook requests. Format: `Key:Value` (e.g., `Authorization:Bearer token123`). This will be sent as an HTTP header in the webhook call.'\n requestBody:\n description: Multipart form-data body carrying the PDF file to linearize. Alternatively, reference an already-uploaded file via the file_id query parameter instead of uploading here.\n required: false\n content:\n multipart/form-data:\n schema:\n $ref: '#/components/schemas/PdfFileUploadRequest'\n responses:\n '200':\n description: Linearize task created successfully\n content:\n application/json:\n schema:\n $ref: '#/components/schemas/PDFResponse'\n examples:\n success:\n summary: Task created\n value:\n taskId: 8750f9bb-4cb9-45fd-80a6-e1adf6556618\n inputIds:\n - 5f214118-f848-41f8-809d-8c6058b4b74a\n headers:\n X-AF-Credits-Cost:\n $ref: '#/components/headers/X-AF-Credits-Cost'\n '400':\n description: Bad Request \u2014 Missing/invalid file or file ID\n content:\n application/json:\n examples:\n MissingFileOrID:\n summary: Neither a file nor a file ID was provided\n value:\n timestamp: '2026-07-27T10:55:07.695Z'\n path: /v1.0/pdf/linearize\n status: 400\n message: Please provide either a file or a file ID.\n error: Missing File or ID\n InvalidID:\n summary: file_id is malformed or does not exist\n value:\n error: Invalid File ID Provided\n message: Please provide a valid file ID\n path: /v1.0/pdf/linearize\n status: 400\n timestamp: '2026-07-27T10:55:08.238Z'\n schema:\n $ref: '#/components/schemas/ErrorResponse'\n headers:\n X-AF-Credits-Cost:\n $ref: '#/components/headers/X-AF-Credits-Cost'\n '415':\n description: Unsupported Media Type \u2014 The uploaded file type, or the file type associated with the provided file_id, is not supported for this operation\n content:\n application/json:\n examples:\n UnsupportedFileType:\n summary: Unsupported file type (file uploaded in the request)\n value:\n timestamp: '2026-11-20T11:29:53.968Z'\n path: /v1.0/pdf/linearize\n status: 415\n error: Unsupported File Type\n message: The provided file type is not supported. Refer to the documentation for valid file types.\n UnsupportedFileTypeForId:\n summary: Unsupported file type for the provided file ID\n value:\n timestamp: '2026-11-20T11:29:20.963Z'\n path: /v1.0/pdf/linearize\n status: 415\n error: Unsupported File Type\n 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.\n schema:\n $ref: '#/components/schemas/ErrorResponse'\n headers:\n X-AF-Credits-Cost:\n $ref: '#/components/headers/X-AF-Credits-Cost'\n operationId: linearizePdf\ncomponents:\n securitySchemes:\n ApiKeyAuthHeader:\n type: apiKey\n in: header\n name: X-apiKey\n description: Pass your API key via the X-apiKey request header.\n ApiKeyAuthQuery:\n type: apiKey\n in: query\n name: apiKey\n description: Pass your API key via the apiKey query parameter.\n schemas:\n PDFResponse:\n type: object\n description: Response containing the task ID and input file IDs for a PDF processing task.\n required:\n - taskId\n properties:\n taskId:\n type: string\n description: Task ID of the requested task, used to check the task status.\n inputIds:\n type: array\n items:\n type: string\n description: File IDs for the input files provided for the task. Not returned when destroy parameter is true.\n PdfFileUploadRequest:\n type: object\n description: Multipart form-data request body containing the PDF file to process.\n required: []\n properties:\n file:\n type: string\n format: binary\n description: Raw PDF file bytes sent as a multipart/form-data field named 'file'. Omit this field entirely and pass file_id in the query string instead to use an already-uploaded file.\n ErrorResponse:\n type: object\n description: Standard error envelope returned by the API on failed requests.\n required:\n - message\n properties:\n error:\n type: string\n description: Short error category or exception type.\n message:\n type: string\n description: Human-readable error message describing the failure.\n path:\n type: string\n description: API endpoint path that produced the error.\n status:\n type: integer\n description: HTTP status code returned with the error.\n timestamp:\n type: string\n format: date-time\n description: Timestamp when the error occurred (ISO 8601).\n headers:\n X-AF-Credits-Cost:\n description: Specifies the number of credits consumed by the current request.\n schema:\n type: integer\nsecurity:\n - ApiKeyAuthHeader: []\n - ApiKeyAuthQuery: []\n",
62901
+ "merge-pdf": "openapi: 3.1.1\ninfo:\n title: Merge PDF API - Instantly Combine PDFs at Scale\n version: 1.0.1\n description: Merge multiple PDF files into a single PDF document in the order they are provided. Accepts input files up to 1GB in size via file upload or existing file IDs. Returns a task ID for tracking the merge progress.\n contact:\n name: APIFreaks Support\n url: https://apifreaks.com/contact\n email: support@apifreaks.com\nservers:\n - url: https://api.apifreaks.com/v1.0\n description: PDF Merge API Server\npaths:\n /pdf/merge:\n post:\n tags:\n - PDF Operations APIs\n summary: Combine multiple PDF files into one\n description: This API merges multiple PDF files into a single PDF, in the order they are provided\n parameters:\n - name: format\n in: query\n required: false\n schema:\n type: string\n enum:\n - json\n - xml\n default: json\n description: Specifies the desired format for the API response. Choose 'json' for a JSON object or 'xml' for an XML structure.\n - name: file_id\n in: query\n required: false\n schema:\n type: array\n items:\n type: string\n default: ''\n default: []\n description: An array of unique file IDs referencing PDF files previously uploaded to the API Freaks server. Use this parameter to merge existing files without re-uploading them. Provide multiple IDs to merge files in the specified order.\n - name: destroy\n in: query\n required: false\n schema:\n type: boolean\n description: If set to `true`, the input file(s) will be permanently deleted from the server immediately after the output PDF is generated.\n - name: output\n in: query\n required: false\n schema:\n type: string\n description: Specifies the desired name for the resulting merged PDF file. If not provided, a default name will be assigned.\n - name: webhook_url\n in: query\n required: false\n schema:\n type: string\n description: The URL to which the webhook notification will be sent after the task is completed.\n - name: webhook_failure_notification\n in: query\n required: false\n schema:\n type: boolean\n description: If true, a notification will also be sent by email in case the webhook request fails all the retries. The email notification will be sent to the requesting user or their organization\u2019s admin if part of one.\n - name: X-Webhook-Authorization\n in: header\n required: false\n schema:\n type: string\n description: 'Optional custom header for webhook requests. Format: `Key:Value` (e.g., `Authorization:Bearer token123`). This will be sent as an HTTP header in the webhook call.'\n requestBody:\n description: Multipart form-data body carrying the PDF file(s) to merge. Alternatively, reference already-uploaded files via the file_id query parameter instead of uploading here.\n required: false\n content:\n multipart/form-data:\n schema:\n $ref: '#/components/schemas/PdfMergeUploadRequest'\n responses:\n '200':\n description: Merge task created successfully\n content:\n application/json:\n schema:\n $ref: '#/components/schemas/PDFResponse'\n examples:\n success:\n summary: Task created\n value:\n taskId: 04a06cd5-158d-4191-a45b-6f58249c599d\n inputIds:\n - 7a9e4b12-f3c8-4d56-b7e1-8c2f9d0a3e6f\n headers:\n X-AF-Credits-Cost:\n $ref: '#/components/headers/X-AF-Credits-Cost'\n '400':\n description: Bad Request\n content:\n application/json:\n examples:\n InvalidID:\n summary: Invalid file ID provided\n value:\n error: Invalid File ID Provided\n message: Please provide a valid file ID\n path: /v1.0/pdf/merge\n status: 400\n timestamp: '2026-07-27T10:49:41.973Z'\n MissingUploadOrId:\n summary: Neither a file nor a file ID was provided\n value:\n timestamp: '2026-07-27T10:49:41.432Z'\n path: /v1.0/pdf/merge-pdf\n status: 400\n error: Missing File or ID\n message: Please provide either a file or a file ID.\n schema:\n $ref: '#/components/schemas/ErrorResponse'\n headers:\n X-AF-Credits-Cost:\n $ref: '#/components/headers/X-AF-Credits-Cost'\n '415':\n description: Unsupported Media Type \u2014 The uploaded file type, or the file type associated with the provided file_id, is not supported for this operation\n content:\n application/json:\n examples:\n UnsupportedFileType:\n summary: Unsupported file type (file uploaded in the request)\n value:\n timestamp: '2026-11-20T11:28:17.071Z'\n path: /v1.0/pdf/merge-pdf\n status: 415\n error: Unsupported File Type\n message: The provided file type is not supported. Refer to the documentation for valid file types.\n UnsupportedFileTypeForId:\n summary: Unsupported file type for the provided file ID\n value:\n timestamp: '2026-11-20T11:29:03.015Z'\n path: /v1.0/pdf/merge-pdf\n status: 415\n error: Unsupported File Type\n 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.\n schema:\n $ref: '#/components/schemas/ErrorResponse'\n headers:\n X-AF-Credits-Cost:\n $ref: '#/components/headers/X-AF-Credits-Cost'\n operationId: mergePdf\ncomponents:\n securitySchemes:\n ApiKeyAuthHeader:\n type: apiKey\n in: header\n name: X-apiKey\n description: Pass your API key via the X-apiKey request header.\n ApiKeyAuthQuery:\n type: apiKey\n in: query\n name: apiKey\n description: Pass your API key via the apiKey query parameter.\n schemas:\n PDFResponse:\n type: object\n required:\n - taskId\n properties:\n taskId:\n type: string\n description: Task ID of the requested task, used to check the task status.\n inputIds:\n type: array\n items:\n type: string\n description: File IDs for the input files provided for the task.\n description: Response containing the task ID and input file IDs for a PDF processing task.\n PdfMergeUploadRequest:\n type: object\n description: Multipart form-data request body containing multiple PDF files to merge.\n required: []\n properties:\n file:\n type: array\n items:\n type: string\n format: binary\n description: One or more raw PDF file byte streams, each sent as a separate multipart/form-data field named 'file'. Omit this field entirely and pass one or more file_id query parameters instead to merge already-uploaded files.\n ErrorResponse:\n type: object\n description: Standard error envelope returned by the API on failed requests.\n required:\n - message\n properties:\n error:\n type: string\n description: Short error category or exception type.\n message:\n type: string\n description: Human-readable error message describing the failure.\n path:\n type: string\n description: API endpoint path that produced the error.\n status:\n type: integer\n description: HTTP status code returned with the error.\n timestamp:\n type: string\n format: date-time\n description: Timestamp when the error occurred (ISO 8601).\n headers:\n X-AF-Credits-Cost:\n description: Specifies the number of credits consumed by the current request.\n schema:\n type: integer\nsecurity:\n - ApiKeyAuthHeader: []\n - ApiKeyAuthQuery: []\n",
62902
+ "pdf-compress": "openapi: 3.1.1\ninfo:\n title: PDF Compress API - Reduce PDF File Size Programmatically\n version: 1.0.0\n description: 'Compress a PDF file to reduce its file size. Supports four compression levels: low (preserves quality), balanced (optimal ratio), high (significant reduction), and extreme (maximum compression). Accepts a file upload or an existing file ID. Returns a task ID for tracking the compression progress.'\n contact:\n name: APIFreaks Support\n url: https://apifreaks.com/contact\n email: support@apifreaks.com\nservers:\n - url: https://api.apifreaks.com/v1.0\n description: PDF Compress API Server\npaths:\n /pdf/compress:\n post:\n tags:\n - PDF Operations APIs\n summary: Compress a PDF file\n description: This API compresses a given PDF file to reduce its file serize.\n parameters:\n - name: format\n in: query\n required: false\n schema:\n type: string\n enum:\n - json\n - xml\n default: json\n description: Specifies the desired format for the API response. Choose 'json' for a JSON object or 'xml' for an XML structure.\n - name: file_id\n in: query\n required: false\n schema:\n type: string\n description: The unique ID of a PDF file already uploaded to the API Freaks server. Use this as an alternative to uploading a new file.\n - name: output\n in: query\n required: false\n schema:\n type: string\n default: compressed_pdf\n description: Name of the output PDF.\n - name: compression_level\n in: query\n required: true\n schema:\n type: string\n enum:\n - low\n - balanced\n - high\n - extreme\n default: balanced\n description: Controls how aggressively the PDF is compressed. Lower levels preserve more quality, while higher levels reduce file size more.\n - name: destroy\n in: query\n required: false\n schema:\n type: boolean\n description: If set to true, the input file(s) will be deleted from the server immediately after the output is generated.\n - name: webhook_url\n in: query\n required: false\n schema:\n type: string\n description: The URL to which the webhook notification will be sent after the task is completed.\n - name: webhook_failure_notification\n in: query\n required: false\n schema:\n type: boolean\n description: If true, a notification will also be sent by email in case the webhook request fails all the retries. The email notification will be sent to the requesting user or their organization\u2019s admin if part of one.\n - name: X-Webhook-Authorization\n in: header\n required: false\n schema:\n type: string\n description: 'Optional custom header for webhook requests. Format: `Key:Value` (e.g., `Authorization:Bearer token123`). This will be sent as an HTTP header in the webhook call.'\n requestBody:\n description: Multipart form-data body carrying the PDF file to compress. Alternatively, reference an already-uploaded file via the file_id query parameter instead of uploading here.\n required: false\n content:\n multipart/form-data:\n schema:\n $ref: '#/components/schemas/PdfFileUploadRequest'\n responses:\n '200':\n description: Compression task created successfully\n content:\n application/json:\n schema:\n $ref: '#/components/schemas/PdfTaskResponse'\n examples:\n success:\n summary: Task created\n value:\n taskId: ce4b1a38-6cfc-4373-9bd7-ff186fbd8e7e\n inputIds:\n - f2ba4b50-6f8a-43ae-b42d-96937f50cd89\n headers:\n X-AF-Credits-Cost:\n $ref: '#/components/headers/X-AF-Credits-Cost'\n '400':\n description: Bad Request \u2014 Missing/invalid parameters or file ID\n content:\n application/json:\n examples:\n MissingCompressionLevel:\n summary: Missing required compression_level parameter\n value:\n error: Invalid Param Exception\n message: please pass correct parameters\n path: /v1.0/pdf/compress\n status: 400\n timestamp: '2026-07-27T10:50:09.307Z'\n MissingFileOrID:\n summary: Neither a file nor a file ID was provided\n value:\n timestamp: '2026-07-27T10:50:09.886Z'\n path: /v1.0/pdf/compress\n status: 400\n error: Missing File or ID\n message: Please provide either a file or a file ID.\n InvalidID:\n summary: file_id is malformed or does not exist\n value:\n error: Invalid File ID Provided\n message: Please provide a valid file ID\n path: /v1.0/pdf/compress\n status: 400\n timestamp: '2026-07-27T10:50:25.910Z'\n schema:\n $ref: '#/components/schemas/ErrorResponse'\n headers:\n X-AF-Credits-Cost:\n $ref: '#/components/headers/X-AF-Credits-Cost'\n '415':\n description: Unsupported Media Type \u2014 The uploaded file type, or the file type associated with the provided file_id, is not supported for this operation\n content:\n application/json:\n examples:\n UnsupportedFileType:\n summary: Unsupported file type (file uploaded in the request)\n value:\n timestamp: '2026-11-20T11:29:59.465Z'\n path: /v1.0/pdf/compress\n status: 415\n error: Unsupported File Type\n message: The provided file type is not supported. Refer to the documentation for valid file types.\n UnsupportedFileTypeForId:\n summary: Unsupported file type for the provided file ID\n value:\n timestamp: '2026-11-20T11:29:27.971Z'\n path: /v1.0/pdf/compress\n status: 415\n error: Unsupported File Type\n 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.\n schema:\n $ref: '#/components/schemas/ErrorResponse'\n headers:\n X-AF-Credits-Cost:\n $ref: '#/components/headers/X-AF-Credits-Cost'\n operationId: compressPdf\ncomponents:\n securitySchemes:\n ApiKeyAuthHeader:\n type: apiKey\n in: header\n name: X-apiKey\n description: Pass your API key via the X-apiKey request header.\n ApiKeyAuthQuery:\n type: apiKey\n in: query\n name: apiKey\n description: Pass your API key via the apiKey query parameter.\n schemas:\n PdfTaskResponse:\n type: object\n description: Response containing the task ID and input file IDs for a PDF processing task.\n required:\n - taskId\n properties:\n taskId:\n type: string\n description: Task ID of the requested task, used to check the task status.\n inputIds:\n type: array\n items:\n type: string\n description: File IDs for the input files provided for the task. Not returned when destroy parameter is true.\n PdfFileUploadRequest:\n type: object\n description: Multipart form-data request body containing the PDF file to process.\n properties:\n file:\n type: string\n format: binary\n description: Raw PDF file bytes sent as a multipart/form-data field named 'file'. Omit this field entirely and pass file_id in the query string instead to use an already-uploaded file.\n required: []\n ErrorResponse:\n type: object\n description: Standard error envelope returned by the API on failed requests.\n required:\n - message\n properties:\n error:\n type: string\n description: Short error category or exception type.\n message:\n type: string\n description: Human-readable error message describing the failure.\n path:\n type: string\n description: API endpoint path that produced the error.\n status:\n type: integer\n description: HTTP status code returned with the error.\n timestamp:\n type: string\n format: date-time\n description: Timestamp when the error occurred (ISO 8601).\n headers:\n X-AF-Credits-Cost:\n description: Specifies the number of credits consumed by the current request.\n schema:\n type: integer\nsecurity:\n - ApiKeyAuthHeader: []\n - ApiKeyAuthQuery: []\n",
62903
+ "pdf-decrypt": "openapi: 3.1.1\ninfo:\n title: PDF Decrypt API Reference\n version: 1.0.0\n description: Remove all encryption from a PDF file, including open passwords and permission restrictions. Accepts a file upload or an existing file ID with the file password. Returns a task ID for tracking the decryption progress.\n contact:\n name: APIFreaks Support\n url: https://apifreaks.com/contact\n email: support@apifreaks.com\nservers:\n - url: https://api.apifreaks.com/v1.0\n description: PDF Decrypt API Server\npaths:\n /pdf/decrypt:\n post:\n tags:\n - PDF Security APIs\n summary: Remove all encryption from a PDF\n description: This API decrypts PDF files, removing all encryption, including open passwords and permission restrictions.\n parameters:\n - name: format\n in: query\n required: false\n schema:\n type: string\n enum:\n - json\n - xml\n default: json\n description: Specifies the desired format for the API response. Choose 'json' for a JSON object or 'xml' for an XML structure.\n - name: file_id\n in: query\n required: false\n schema:\n type: string\n description: The unique ID of a PDF file already uploaded to the API Freaks server. Use this as an alternative to uploading a new file directly.\n - name: destroy\n in: query\n required: false\n schema:\n type: boolean\n description: If set to `true`, the input file(s) will be permanently deleted from the server immediately after the output PDF is generated.\n - name: output\n in: query\n required: false\n schema:\n type: string\n description: The desired name for the output decrypted PDF file. If not provided, a default name will be assigned.\n - name: file_password\n in: query\n required: true\n schema:\n type: string\n description: The password to unlock the input file if it is protected. Either the owner password or user password can be provided. The owner password takes precedence. Password Length should be between 6 and 128 characters.\n - name: webhook_url\n in: query\n required: false\n schema:\n type: string\n description: The URL to which the webhook notification will be sent after the task is completed.\n - name: webhook_failure_notification\n in: query\n required: false\n schema:\n type: boolean\n description: If true, a notification will also be sent by email in case the webhook request fails all the retries. The email notification will be sent to the requesting user or their organization\u2019s admin if part of one.\n - name: X-Webhook-Authorization\n in: header\n required: false\n schema:\n type: string\n description: 'Optional custom header for webhook requests. Format: `Key:Value` (e.g., `Authorization:Bearer token123`). This will be sent as an HTTP header in the webhook call.'\n requestBody:\n description: Multipart form-data body carrying the PDF file to decrypt. Alternatively, reference an already-uploaded file via the file_id query parameter instead of uploading here.\n required: false\n content:\n multipart/form-data:\n schema:\n $ref: '#/components/schemas/PdfFileUploadRequest'\n responses:\n '200':\n description: Decrypt task created successfully. An incorrect file_password is not rejected synchronously \u2014 the task is created, then fails asynchronously; poll the task status endpoint and check for status \"failed\" with error \"Invalid PDF Password\".\n content:\n application/json:\n schema:\n $ref: '#/components/schemas/PDFResponse'\n examples:\n success:\n summary: Task created\n value:\n taskId: f91ec747-1dc6-4be5-be4b-4d6ff66ed386\n inputIds:\n - a5f8aca9-d19a-4ee0-90e3-d15f62df1e06\n headers:\n X-AF-Credits-Cost:\n $ref: '#/components/headers/X-AF-Credits-Cost'\n '400':\n description: Bad Request \u2014 Missing/invalid parameters or file ID\n content:\n application/json:\n examples:\n MissingPassword:\n summary: Missing required file_password parameter\n value:\n error: Invalid Param Exception\n message: please pass correct parameters\n path: /v1.0/pdf/decrypt\n status: 400\n timestamp: '2026-07-27T10:56:16.863Z'\n MissingFileOrID:\n summary: Neither a file nor a file ID was provided\n value:\n timestamp: '2026-07-27T10:56:17.498Z'\n path: /v1.0/pdf/decrypt-pdf\n status: 400\n error: Missing File or ID\n message: Please provide either a file or a file ID.\n InvalidID:\n summary: file_id is malformed or does not exist\n value:\n timestamp: '2026-07-27T10:56:18.138Z'\n path: /v1.0/pdf/decrypt\n status: 400\n error: Invalid File ID Provided\n message: Please provide a valid file ID\n schema:\n $ref: '#/components/schemas/ErrorResponse'\n headers:\n X-AF-Credits-Cost:\n $ref: '#/components/headers/X-AF-Credits-Cost'\n '415':\n description: Unsupported Media Type \u2014 The uploaded file type, or the file type associated with the provided file_id, is not supported for this operation\n content:\n application/json:\n examples:\n UnsupportedFileType:\n summary: Unsupported file type (file uploaded in the request)\n value:\n timestamp: '2026-11-20T11:30:00.027Z'\n path: /v1.0/pdf/decrypt-pdf\n status: 415\n error: Unsupported File Type\n message: The provided file type is not supported. Refer to the documentation for valid file types.\n UnsupportedFileTypeForId:\n summary: Unsupported file type for the provided file ID\n value:\n timestamp: '2026-11-20T11:29:28.798Z'\n path: /v1.0/pdf/decrypt-pdf\n status: 415\n error: Unsupported File Type\n 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.\n schema:\n $ref: '#/components/schemas/ErrorResponse'\n headers:\n X-AF-Credits-Cost:\n $ref: '#/components/headers/X-AF-Credits-Cost'\n operationId: decryptPdf\ncomponents:\n securitySchemes:\n ApiKeyAuthHeader:\n type: apiKey\n in: header\n name: X-apiKey\n description: Pass your API key via the X-apiKey request header.\n ApiKeyAuthQuery:\n type: apiKey\n in: query\n name: apiKey\n description: Pass your API key via the apiKey query parameter.\n schemas:\n PDFResponse:\n type: object\n required:\n - taskId\n - inputIds\n properties:\n taskId:\n type: string\n description: Task ID of the requested task, used to check the task status.\n inputIds:\n type: array\n items:\n type: string\n description: File IDs for the input files provided for the task. Not returned when destroy parameter is true.\n description: Response containing the task ID and input file IDs for a PDF processing task.\n PdfFileUploadRequest:\n type: object\n description: Multipart form-data request body containing the PDF file to process.\n required: []\n properties:\n file:\n type: string\n format: binary\n description: Raw PDF file bytes sent as a multipart/form-data field named 'file'. Omit this field entirely and pass file_id in the query string instead to use an already-uploaded file.\n ErrorResponse:\n type: object\n description: Standard error envelope returned by the API on failed requests.\n required:\n - message\n properties:\n error:\n type: string\n description: Short error category or exception type.\n message:\n type: string\n description: Human-readable error message describing the failure.\n path:\n type: string\n description: API endpoint path that produced the error.\n status:\n type: integer\n description: HTTP status code returned with the error.\n timestamp:\n type: string\n format: date-time\n description: Timestamp when the error occurred (ISO 8601).\n headers:\n X-AF-Credits-Cost:\n description: Specifies the number of credits consumed by the current request.\n schema:\n type: integer\nsecurity:\n - ApiKeyAuthHeader: []\n - ApiKeyAuthQuery: []\n",
62904
+ "pdf-encrypt": "openapi: 3.1.1\ninfo:\n title: PDF Encrypt API Reference\n version: 1.0.0\n description: Encrypt a PDF file with password protection and permission restrictions. Supports setting owner and user passwords, printing, copying, and editing permissions.\n contact:\n name: APIFreaks Support\n url: https://apifreaks.com/contact\n email: support@apifreaks.com\nservers:\n - url: https://api.apifreaks.com/v1.0\n description: PDF Encrypt API Server\npaths:\n /pdf/encrypt:\n post:\n tags:\n - PDF Security APIs\n summary: Add password protection to a PDF\n description: This API encrypts a PDF file by setting a password required to open it.\n parameters:\n - name: format\n in: query\n required: false\n schema:\n type: string\n enum:\n - json\n - xml\n default: json\n description: Specifies the desired format for the API response. Choose 'json' for a JSON object or 'xml' for an XML structure.\n - name: file_id\n in: query\n required: false\n schema:\n type: string\n description: The unique ID of a PDF file already uploaded to the API Freaks server. Use this as an alternative to uploading a new file directly.\n - name: destroy\n in: query\n required: false\n schema:\n type: boolean\n description: If set to `true`, the input file(s) will be permanently deleted from the server immediately after the output PDF is generated.\n - name: output\n in: query\n required: false\n schema:\n type: string\n description: The desired name for the output encrypted PDF file. If not provided, a default name will be assigned.\n - name: file_password\n in: query\n required: false\n schema:\n type: string\n description: The password to unlock the input file if it is already protected. Either the owner password or user password can be provided. The owner password takes precedence. Password Length should be between 6 and 128 characters.\n - name: user_password\n in: query\n required: true\n schema:\n type: string\n description: Sets the user password required to open and view the encrypted PDF file. Password Length should be between 6 and 128 characters.\n - name: owner_password\n in: query\n required: false\n schema:\n type: string\n description: Sets the owner password for the PDF file. This password provides full access, including the ability to remove restrictions. If not provided, the `user_password` will also be used as the owner password. Password Length should be between 6 and 128 characters.\n - name: webhook_url\n in: query\n required: false\n schema:\n type: string\n description: The URL to which the webhook notification will be sent after the task is completed.\n - name: webhook_failure_notification\n in: query\n required: false\n schema:\n type: boolean\n description: If true, a notification will also be sent by email in case the webhook request fails all the retries. The email notification will be sent to the requesting user or their organization\u2019s admin if part of one.\n - name: X-Webhook-Authorization\n in: header\n required: false\n schema:\n type: string\n description: 'Optional custom header for webhook requests. Format: `Key:Value` (e.g., `Authorization:Bearer token123`). This will be sent as an HTTP header in the webhook call.'\n requestBody:\n description: Multipart form-data body carrying the PDF file to encrypt. Alternatively, reference an already-uploaded file via the file_id query parameter instead of uploading here.\n required: false\n content:\n multipart/form-data:\n schema:\n $ref: '#/components/schemas/PdfFileUploadRequest'\n responses:\n '200':\n description: PDF encrypt successfully\n content:\n application/json:\n schema:\n $ref: '#/components/schemas/PDFResponse'\n examples:\n success:\n summary: Task created\n value:\n taskId: c11f7d84-33f5-46da-a64c-e70b3704284e\n inputIds:\n - 2d11e722-85cc-4105-b345-f395d48b326e\n headers:\n X-AF-Credits-Cost:\n $ref: '#/components/headers/X-AF-Credits-Cost'\n '400':\n description: Bad Request \u2014 Missing/invalid parameters, file ID, or password\n content:\n application/json:\n examples:\n MissingPassword:\n summary: Missing required user_password parameter\n value:\n error: Invalid Param Exception\n message: please pass correct parameters\n path: /v1.0/pdf/encrypt\n status: 400\n timestamp: '2026-07-27T10:55:36.936Z'\n WeakPassword:\n summary: Password does not meet strength requirements\n value:\n timestamp: '2026-07-27T10:55:37.534Z'\n path: /v1.0/pdf/encrypt-pdf\n status: 400\n error: Weak Password Provided\n message: Please provide a strong password. Refer to the documentation for password requirements.\n InvalidID:\n summary: file_id is malformed or does not exist\n value:\n timestamp: '2026-07-27T10:55:38.063Z'\n path: /v1.0/pdf/encrypt\n status: 400\n error: Invalid File ID Provided\n message: Please provide a valid file ID\n schema:\n $ref: '#/components/schemas/ErrorResponse'\n headers:\n X-AF-Credits-Cost:\n $ref: '#/components/headers/X-AF-Credits-Cost'\n '415':\n description: Unsupported Media Type \u2014 The uploaded file type, or the file type associated with the provided file_id, is not supported for this operation\n content:\n application/json:\n examples:\n UnsupportedFileType:\n summary: Unsupported file type (file uploaded in the request)\n value:\n timestamp: '2026-11-20T11:30:00.790Z'\n path: /v1.0/pdf/encrypt-pdf\n status: 415\n error: Unsupported File Type\n message: The provided file type is not supported. Refer to the documentation for valid file types.\n UnsupportedFileTypeForId:\n summary: Unsupported file type for the provided file ID\n value:\n timestamp: '2026-11-20T11:29:29.425Z'\n path: /v1.0/pdf/encrypt-pdf\n status: 415\n error: Unsupported File Type\n 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.\n schema:\n $ref: '#/components/schemas/ErrorResponse'\n headers:\n X-AF-Credits-Cost:\n $ref: '#/components/headers/X-AF-Credits-Cost'\n operationId: encryptPdf\ncomponents:\n securitySchemes:\n ApiKeyAuthHeader:\n type: apiKey\n in: header\n name: X-apiKey\n description: Pass your API key via the X-apiKey request header.\n ApiKeyAuthQuery:\n type: apiKey\n in: query\n name: apiKey\n description: Pass your API key via the apiKey query parameter.\n schemas:\n PDFResponse:\n type: object\n description: Response containing the task ID and input file IDs for a PDF processing task.\n required:\n - taskId\n properties:\n taskId:\n type: string\n description: Task ID of the requested task, used to check the task status.\n inputIds:\n type: array\n items:\n type: string\n description: File IDs for the input files provided for the task. Not returned when destroy parameter is true.\n PdfFileUploadRequest:\n type: object\n description: Multipart form-data request body containing the PDF file to process.\n required: []\n properties:\n file:\n type: string\n format: binary\n description: Raw PDF file bytes sent as a multipart/form-data field named 'file'. Omit this field entirely and pass file_id in the query string instead to use an already-uploaded file.\n ErrorResponse:\n type: object\n description: Standard error envelope returned by the API on failed requests.\n required:\n - message\n properties:\n error:\n type: string\n description: Short error category or exception type.\n message:\n type: string\n description: Human-readable error message describing the failure.\n path:\n type: string\n description: API endpoint path that produced the error.\n status:\n type: integer\n description: HTTP status code returned with the error.\n timestamp:\n type: string\n format: date-time\n description: Timestamp when the error occurred (ISO 8601).\n headers:\n X-AF-Credits-Cost:\n description: Specifies the number of credits consumed by the current request.\n schema:\n type: integer\nsecurity:\n - ApiKeyAuthHeader: []\n - ApiKeyAuthQuery: []\n",
62905
+ "pdf-extract-pages": "openapi: 3.1.1\ninfo:\n title: PDF Extract Pages API Reference\n version: 1.0.0\n description: Extract specific pages from a PDF file. Specify page ranges or individual page numbers. Returns a task ID for tracking the extraction progress.\n contact:\n name: APIFreaks Support\n url: https://apifreaks.com/contact\n email: support@apifreaks.com\nservers:\n - url: https://api.apifreaks.com/v1.0\n description: PDF Extract Pages API Server\npaths:\n /pdf/extract-pages:\n post:\n tags:\n - PDF Operations APIs\n summary: Extract pages from a PDF\n description: This API extracts specific pages or page ranges from a PDF file and returns them as a new PDF.\n parameters:\n - name: format\n in: query\n required: false\n schema:\n type: string\n enum:\n - json\n - xml\n default: json\n description: Specifies the desired format for the API response. Choose 'json' for a JSON object or 'xml' for an XML structure.\n - name: file_id\n in: query\n required: false\n schema:\n type: string\n description: The unique ID of a PDF file already uploaded to the API Freaks server. Use this as an alternative to uploading a new file directly.\n - name: destroy\n in: query\n required: false\n schema:\n type: boolean\n description: If set to `true`, the input file(s) will be permanently deleted from the server immediately after the output PDF is generated.\n - name: output\n in: query\n required: false\n schema:\n type: string\n description: The desired name for the output PDF file after pages have been extracted. If not provided, a default name will be assigned.\n - name: pages\n in: query\n required: true\n schema:\n type: string\n description: 'Specifies which pages to extract from the PDF. You can provide individual page numbers (e.g., ''2'') and/or page ranges in any order, including descending (e.g., ''9-5'', ''16-last''). Use commas to separate entries and hyphens for ranges. You may alternatively pass only one of the special keywords: ''even'' (extracts all even-numbered pages), ''odd'' (extracts all odd-numbered pages), ''last'' (extracts only the last page), or ''all'' (extracts all pages into individual files). Examples: ''2,6-3'', ''even'', ''all''. Mixing special keywords with specific pages/ranges is not allowed. Malformed values or page numbers exceeding the document''s page count are not rejected on this call \u2014 the resulting task fails asynchronously (check task status).'\n - name: separated\n in: query\n required: false\n schema:\n type: boolean\n description: If set to `true`, each of the specified pages will be extracted and returned as a separate PDF file.\n - name: webhook_url\n in: query\n required: false\n schema:\n type: string\n description: The URL to which the webhook notification will be sent after the task is completed.\n - name: webhook_failure_notification\n in: query\n required: false\n schema:\n type: boolean\n description: If true, a notification will also be sent by email in case the webhook request fails all the retries. The email notification will be sent to the requesting user or their organization\u2019s admin if part of one.\n - name: X-Webhook-Authorization\n in: header\n required: false\n schema:\n type: string\n description: 'Optional custom header for webhook requests. Format: `Key:Value` (e.g., `Authorization:Bearer token123`). This will be sent as an HTTP header in the webhook call.'\n requestBody:\n description: Multipart form-data body carrying the PDF file to extract pages from. Alternatively, reference an already-uploaded file via the file_id query parameter instead of uploading here.\n required: false\n content:\n multipart/form-data:\n schema:\n $ref: '#/components/schemas/PdfFileUploadRequest'\n responses:\n '200':\n description: Extract task created successfully. Malformed or out-of-range page specifications are not rejected synchronously \u2014 the task is created, then fails asynchronously; poll the task status endpoint and check for status \"failed\" with an error/message pair.\n content:\n application/json:\n schema:\n $ref: '#/components/schemas/PDFResponse'\n examples:\n success:\n summary: Task created\n value:\n taskId: dabcbcf5-d4ba-4143-bc34-3a8db6c8476e\n inputIds:\n - 01a77122-c457-475d-a6f2-f88cd4ad8924\n headers:\n X-AF-Credits-Cost:\n $ref: '#/components/headers/X-AF-Credits-Cost'\n '400':\n description: Bad Request \u2014 Missing/invalid parameters or file ID\n content:\n application/json:\n examples:\n MissingPages:\n summary: Missing required pages parameter\n value:\n error: Invalid Param Exception\n message: please pass correct parameters\n path: /v1.0/pdf/extract-pages\n status: 400\n timestamp: '2026-07-27T10:53:18.573Z'\n InvalidID:\n summary: file_id is malformed or does not exist\n value:\n error: Invalid File ID Provided\n message: Please provide a valid file ID\n path: /v1.0/pdf/extract-pages\n status: 400\n timestamp: '2026-07-27T10:53:19.182Z'\n schema:\n $ref: '#/components/schemas/ErrorResponse'\n headers:\n X-AF-Credits-Cost:\n $ref: '#/components/headers/X-AF-Credits-Cost'\n '415':\n description: Unsupported Media Type \u2014 The uploaded file type, or the file type associated with the provided file_id, is not supported for this operation\n content:\n application/json:\n examples:\n UnsupportedFileType:\n summary: Unsupported file type (file uploaded in the request)\n value:\n timestamp: '2026-11-20T11:29:57.308Z'\n path: /v1.0/pdf/extract-pages\n status: 415\n error: Unsupported File Type\n message: The provided file type is not supported. Refer to the documentation for valid file types.\n UnsupportedFileTypeForId:\n summary: Unsupported file type for the provided file ID\n value:\n timestamp: '2026-11-20T11:29:27.200Z'\n path: /v1.0/pdf/extract-pages\n status: 415\n error: Unsupported File Type\n 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.\n schema:\n $ref: '#/components/schemas/ErrorResponse'\n headers:\n X-AF-Credits-Cost:\n $ref: '#/components/headers/X-AF-Credits-Cost'\n operationId: extractPdfPages\ncomponents:\n securitySchemes:\n ApiKeyAuthHeader:\n type: apiKey\n in: header\n name: X-apiKey\n description: Pass your API key via the X-apiKey request header.\n ApiKeyAuthQuery:\n type: apiKey\n in: query\n name: apiKey\n description: Pass your API key via the apiKey query parameter.\n schemas:\n PDFResponse:\n type: object\n description: Response containing the task ID and input file IDs for a PDF processing task.\n required:\n - taskId\n properties:\n taskId:\n type: string\n description: Task ID of the requested task, used to check the task status.\n inputIds:\n type: array\n items:\n type: string\n description: File IDs for the input files provided for the task. Not returned when destroy parameter is true.\n PdfFileUploadRequest:\n type: object\n description: Multipart form-data request body containing the PDF file to process.\n required: []\n properties:\n file:\n type: string\n format: binary\n description: Raw PDF file bytes sent as a multipart/form-data field named 'file'. Omit this field entirely and pass file_id in the query string instead to use an already-uploaded file.\n ErrorResponse:\n type: object\n description: Standard error envelope returned by the API on failed requests.\n required:\n - message\n properties:\n error:\n type: string\n description: Short error category or exception type.\n message:\n type: string\n description: Human-readable error message describing the failure.\n path:\n type: string\n description: API endpoint path that produced the error.\n status:\n type: integer\n description: HTTP status code returned with the error.\n timestamp:\n type: string\n format: date-time\n description: Timestamp when the error occurred (ISO 8601).\n headers:\n X-AF-Credits-Cost:\n description: Specifies the number of credits consumed by the current request.\n schema:\n type: integer\nsecurity:\n - ApiKeyAuthHeader: []\n - ApiKeyAuthQuery: []\n",
62840
62906
  "pdf-file-status": "openapi: 3.1.1\ninfo:\n title: PDF File Status API Reference\n version: 1.0.0\n description: Check the status of a PDF file using its unique file ID. Returns file metadata including name, type, creation time, and scheduled deletion time. Use this endpoint to verify file availability after upload or before processing.\n contact:\n name: APIFreaks Support\n url: https://apifreaks.com/contact\n email: support@apifreaks.com\nservers:\n - url: https://api.apifreaks.com/v1.0\n description: PDF File Status API Server\npaths:\n /pdf/file-status:\n get:\n tags:\n - Task Status and File Info APIs\n summary: Check file status\n description: This API checks the status of a PDF file using its unique file ID, providing information about its creation and potential deletion time.\n parameters:\n - name: format\n in: query\n required: false\n schema:\n type: string\n enum:\n - json\n - xml\n default: json\n description: Specifies the desired format for the API response. Choose 'json' for a JSON object or 'xml' for an XML structure.\n - name: file_id\n in: query\n description: The unique ID of the file whose status is requested.\n required: true\n schema:\n type: string\n responses:\n '200':\n description: Successful operation\n content:\n application/json:\n schema:\n $ref: '#/components/schemas/FileStatusResponse'\n examples:\n success:\n summary: File found\n value:\n fileId: b7ece7d4-1141-4143-98cb-7b4b818d6d82\n fileName: test.pdf\n fileType: pdf\n fileCreationTime: '2026-07-27T10:46:36'\n fileDeletionTime: '2026-08-26'\n headers:\n X-AF-Credits-Cost:\n $ref: '#/components/headers/X-AF-Credits-Cost'\n '400':\n description: Bad Request \u2014 Missing required file_id parameter\n content:\n application/json:\n examples:\n missingFileId:\n summary: Missing file_id parameter\n value:\n error: Invalid Param Exception\n message: please pass correct parameters\n path: /v1.0/pdf/file-status\n status: 400\n timestamp: '2026-07-27T10:46:38.333Z'\n schema:\n $ref: '#/components/schemas/ErrorResponse'\n headers:\n X-AF-Credits-Cost:\n $ref: '#/components/headers/X-AF-Credits-Cost'\n '404':\n description: File ID Not Found\n content:\n application/json:\n examples:\n error:\n summary: File ID not found\n value:\n timestamp: '2026-07-27T10:46:37.828Z'\n path: /v1.0/pdf/file-status\n status: 404\n error: File ID Not Found\n message: Please provide a valid file ID.\n schema:\n $ref: '#/components/schemas/ErrorResponse'\n headers:\n X-AF-Credits-Cost:\n $ref: '#/components/headers/X-AF-Credits-Cost'\n operationId: getFileStatus\ncomponents:\n securitySchemes:\n ApiKeyAuthHeader:\n type: apiKey\n in: header\n name: X-apiKey\n description: Pass your API key via the X-apiKey request header.\n ApiKeyAuthQuery:\n type: apiKey\n in: query\n name: apiKey\n description: Pass your API key via the apiKey query parameter.\n schemas:\n FileStatusResponse:\n type: object\n required:\n - fileId\n - fileName\n - fileType\n - fileCreationTime\n - fileDeletionTime\n properties:\n fileId:\n type: string\n description: The unique identifier of the file.\n fileName:\n type: string\n description: The name of the file.\n fileType:\n type: string\n description: The type of the file (e.g., 'pdf').\n fileCreationTime:\n type: string\n format: date-time\n description: The timestamp when the file was created.\n fileDeletionTime:\n type: string\n format: date\n description: Date on which the file is scheduled to be deleted, in UTC.\n description: File status response containing metadata about the PDF file.\n ErrorResponse:\n type: object\n description: Standard error envelope returned by the API on failed requests.\n required:\n - message\n properties:\n error:\n type: string\n description: Short error category or exception type.\n message:\n type: string\n description: Human-readable error message describing the failure.\n path:\n type: string\n description: API endpoint path that produced the error.\n status:\n type: integer\n description: HTTP status code returned with the error.\n timestamp:\n type: string\n format: date-time\n description: Timestamp when the error occurred (ISO 8601).\n headers:\n X-AF-Credits-Cost:\n description: Specifies the number of credits consumed by the current request.\n schema:\n type: integer\nsecurity:\n - ApiKeyAuthHeader: []\n - ApiKeyAuthQuery: []\n",
62841
62907
  "pdf-file": "openapi: 3.1.1\ninfo:\n title: PDF Delete File API Reference\n version: 1.0.0\n description: Delete a PDF file from the server using its unique file ID. Once deleted, the file ID cannot be used in other API calls. Returns a success indicator and confirmation message.\n contact:\n name: APIFreaks Support\n url: https://apifreaks.com/contact\n email: support@apifreaks.com\nservers:\n - url: https://api.apifreaks.com/v1.0\n description: PDF Delete File API Server\npaths:\n /pdf/file:\n delete:\n tags:\n - Task Status and File Info APIs\n summary: Delete a PDF file\n description: This API deletes a PDF file using its unique file ID.\n parameters:\n - name: format\n in: query\n required: false\n schema:\n type: string\n enum:\n - json\n - xml\n default: json\n description: Specifies the desired format for the API response. Choose 'json' for a JSON object or 'xml' for an XML structure.\n - name: file_id\n in: query\n description: The unique ID of the file to be deleted.\n required: true\n schema:\n type: string\n responses:\n '200':\n description: Successful operation\n content:\n application/json:\n schema:\n $ref: '#/components/schemas/DeleteFileResponse'\n examples:\n success:\n summary: File deleted\n value:\n fileId: abc123\n success: true\n message: File deleted successfully.\n headers:\n X-AF-Credits-Cost:\n $ref: '#/components/headers/X-AF-Credits-Cost'\n '400':\n description: Bad Request \u2014 Missing required file_id parameter\n content:\n application/json:\n examples:\n missingFileId:\n summary: Missing file_id parameter\n value:\n error: Invalid Param Exception\n message: please pass correct parameters\n path: /v1.0/pdf/file\n status: 400\n timestamp: '2026-07-27T10:45:56.656Z'\n schema:\n $ref: '#/components/schemas/ErrorResponse'\n headers:\n X-AF-Credits-Cost:\n $ref: '#/components/headers/X-AF-Credits-Cost'\n '404':\n description: File ID Not Found\n content:\n application/json:\n examples:\n error:\n summary: File ID not found or already deleted\n value:\n timestamp: '2026-07-27T10:45:55.737Z'\n path: /v1.0/pdf/file\n status: 404\n error: File ID Not Found\n message: Please provide a valid file ID.\n schema:\n $ref: '#/components/schemas/ErrorResponse'\n headers:\n X-AF-Credits-Cost:\n $ref: '#/components/headers/X-AF-Credits-Cost'\n operationId: deleteFile\ncomponents:\n securitySchemes:\n ApiKeyAuthHeader:\n type: apiKey\n in: header\n name: X-apiKey\n description: Pass your API key via the X-apiKey request header.\n ApiKeyAuthQuery:\n type: apiKey\n in: query\n name: apiKey\n description: Pass your API key via the apiKey query parameter.\n schemas:\n DeleteFileResponse:\n type: object\n required:\n - fileId\n - success\n - message\n properties:\n fileId:\n type: string\n description: The unique identifier of the file.\n success:\n type: boolean\n description: Indicates whether the file deletion request was successful.\n message:\n type: string\n description: A message indicating the result of the file deletion request.\n description: File deletion response containing the result of the delete operation.\n ErrorResponse:\n type: object\n description: Standard error envelope returned by the API on failed requests.\n required:\n - message\n properties:\n error:\n type: string\n description: Short error category or exception type.\n message:\n type: string\n description: Human-readable error message describing the failure.\n path:\n type: string\n description: API endpoint path that produced the error.\n status:\n type: integer\n description: HTTP status code returned with the error.\n timestamp:\n type: string\n format: date-time\n description: Timestamp when the error occurred (ISO 8601).\n headers:\n X-AF-Credits-Cost:\n description: Specifies the number of credits consumed by the current request.\n schema:\n type: integer\nsecurity:\n - ApiKeyAuthHeader: []\n - ApiKeyAuthQuery: []\n",
62842
62908
  "pdf-files": "openapi: 3.1.1\ninfo:\n title: PDF Files API Reference\n version: 1.0.0\n description: 'Retrieve a list of all PDF files uploaded and generated by a user. Returns an array of file objects with file ID and file name. Note: Organization members cannot access this endpoint \u2014 only the Organization Administrator can.'\n contact:\n name: APIFreaks Support\n url: https://apifreaks.com/contact\n email: support@apifreaks.com\nservers:\n - url: https://api.apifreaks.com/v1.0\n description: PDF Files API Server\npaths:\n /pdf/files:\n get:\n tags:\n - Task Status and File Info APIs\n summary: Get list of PDF files\n description: This API retrieves a list of all PDF files uploaded and generated by a specific user. Please note that if the user is part of an organization, only the Organization Administrator can access this endpoint. Organization Members cannot access this endpoint.\n parameters:\n - name: format\n in: query\n required: false\n schema:\n type: string\n enum:\n - json\n - xml\n default: json\n description: Specifies the desired format for the API response. Choose 'json' for a JSON object or 'xml' for an XML structure.\n responses:\n '200':\n description: Successful operation\n content:\n application/json:\n schema:\n $ref: '#/components/schemas/PdfFileListResponse'\n examples:\n success:\n summary: File list\n value:\n files:\n - fileId: abc123\n fileName: document.pdf\n - fileId: def456\n fileName: report.pdf\n headers:\n X-AF-Credits-Cost:\n $ref: '#/components/headers/X-AF-Credits-Cost'\n operationId: getFiles\ncomponents:\n securitySchemes:\n ApiKeyAuthHeader:\n type: apiKey\n in: header\n name: X-apiKey\n description: Pass your API key via the X-apiKey request header.\n ApiKeyAuthQuery:\n type: apiKey\n in: query\n name: apiKey\n description: Pass your API key via the apiKey query parameter.\n schemas:\n PdfFileListResponse:\n type: object\n description: PDF file list response containing an array of file objects.\n required:\n - files\n properties:\n files:\n type: array\n description: List of files available on the server.\n items:\n $ref: '#/components/schemas/PdfFileItem'\n PdfFileItem:\n type: object\n description: A single PDF file in the file list.\n properties:\n fileId:\n type: string\n description: Unique ID for the file, used to fetch or process the file.\n fileName:\n type: string\n description: Original name of the uploaded file.\n required: []\n headers:\n X-AF-Credits-Cost:\n description: Specifies the number of credits consumed by the current request.\n schema:\n type: integer\nsecurity:\n - ApiKeyAuthHeader: []\n - ApiKeyAuthQuery: []\n",
62843
62909
  "pdf-generator-bulk": "openapi: 3.1.1\ninfo:\n title: PDF Generator API - Bulk PDF Generation from CSV\n version: 1.0.0\n description: Generate one PDF per row from an uploaded CSV file against a template you designed in the APIFreaks PDF Template Builder. Each row is processed independently, and the response returns an array of results, each with its own pdf_url. Authentication is done with your APIFreaks API key passed in the X-apikey header.\n contact:\n name: APIFreaks Support\n url: https://apifreaks.com/contact\n email: support@apifreaks.com\nservers:\n - url: https://api.apifreaks.com/v1.0\n description: PDF Generator API Server\npaths:\n /pdf/template/generate/bulk:\n post:\n tags:\n - PDF Template APIs\n summary: Generate PDFs in bulk from a CSV\n description: Upload a CSV file where each row is one record. The API generates one PDF per row and returns an array of results, each with its own pdf_url. Rows are processed independently, so a failure in one row does not block the rest of the batch. The response gives a row-by-row breakdown of which PDFs succeeded and which failed.\n parameters:\n - name: template_id\n in: query\n required: true\n schema:\n type: string\n description: The template to render, from the APIFreaks PDF Template Builder. Copy it from your dashboard when you save the template.\n - name: version\n in: query\n required: false\n schema:\n type: string\n pattern: ^v\n description: Template version to render, e.g. v2. Must start with v. Omit this parameter entirely to use the latest version; the literal value 'latest' is not accepted by the API.\n requestBody:\n description: Multipart form-data body carrying the CSV file to render. Each row in the CSV is one record and produces one PDF.\n required: true\n content:\n multipart/form-data:\n schema:\n $ref: '#/components/schemas/CsvUploadRequest'\n responses:\n '200':\n description: PDFs generated successfully. The response is an array of results, one entry per CSV row, each with its own pdf_url.\n content:\n application/json:\n schema:\n type: array\n items:\n $ref: '#/components/schemas/TemplateGenerationResponse'\n examples:\n success:\n summary: Generated PDFs for two rows\n value:\n - template_id: 73691bce-1c58-4370-acc6-64b2dd14f81c\n pdf_url: https://s3.eu-central-2.wasabisys.com/w.storage.apifreaks.com/pdf_templates/73691bce-1c58-4370-acc6-64b2dd14f81c/Candidate%20Resume_20260810141245054106_1.pdf\n created_at: '2026-08-10T14:12:47.887Z'\n expiration_time: '2026-11-10T14:12:47.887Z'\n - template_id: 73691bce-1c58-4370-acc6-64b2dd14f81c\n pdf_url: https://s3.eu-central-2.wasabisys.com/w.storage.apifreaks.com/pdf_templates/73691bce-1c58-4370-acc6-64b2dd14f81c/Candidate%20Resume_20260810141245054154_2.pdf\n created_at: '2026-08-10T14:12:47.940Z'\n expiration_time: '2026-11-10T14:12:47.940Z'\n headers:\n X-AF-Credits-Cost:\n $ref: '#/components/headers/X-AF-Credits-Cost'\n '400':\n description: Bad Request \u2014 Missing parameters, a file that is not a CSV, or data larger than 10 MB.\n content:\n application/json:\n schema:\n $ref: '#/components/schemas/ErrorResponse'\n examples:\n CsvFileRequired:\n summary: Uploaded file is not a CSV\n value:\n timestamp: '2026-08-10T14:13:14.497Z'\n path: /v1.0/generate-pdf/bulk\n status: 400\n error: CSV File Required\n message: Only CSV files are supported. Please upload a valid CSV file.\n headers:\n X-AF-Credits-Cost:\n $ref: '#/components/headers/X-AF-Credits-Cost'\n '401':\n description: Unauthorized \u2014 The API key is missing or invalid.\n content:\n application/json:\n schema:\n $ref: '#/components/schemas/ErrorResponse'\n examples:\n InvalidApiKey:\n summary: Provided API key is invalid\n value:\n error: API Access Exception\n message: 'Provided API key is invalid. [For Technical Support: support@apifreaks.com]'\n path: /v1.0/pdf/template/generate/bulk\n status: 401\n timestamp: '2026-08-10T14:13:14.996Z'\n headers:\n X-AF-Credits-Cost:\n $ref: '#/components/headers/X-AF-Credits-Cost'\n '403':\n description: Forbidden \u2014 The account does not have access to this template.\n content:\n application/json:\n schema:\n $ref: '#/components/schemas/ErrorResponse'\n headers:\n X-AF-Credits-Cost:\n $ref: '#/components/headers/X-AF-Credits-Cost'\n '404':\n description: Not Found \u2014 No template matches the template_id, or the requested version does not exist.\n content:\n application/json:\n schema:\n $ref: '#/components/schemas/ErrorResponse'\n headers:\n X-AF-Credits-Cost:\n $ref: '#/components/headers/X-AF-Credits-Cost'\n '415':\n description: Unsupported Media Type \u2014 The request Content-Type is not supported for this endpoint.\n content:\n application/json:\n schema:\n $ref: '#/components/schemas/ErrorResponse'\n headers:\n X-AF-Credits-Cost:\n $ref: '#/components/headers/X-AF-Credits-Cost'\n '422':\n description: Unprocessable Entity \u2014 The request contains invalid or missing data.\n content:\n application/json:\n schema:\n $ref: '#/components/schemas/ErrorResponse'\n headers:\n X-AF-Credits-Cost:\n $ref: '#/components/headers/X-AF-Credits-Cost'\n '500':\n description: Internal Server Error \u2014 An unexpected error occurred, or the PDF could not be generated.\n content:\n application/json:\n schema:\n $ref: '#/components/schemas/ErrorResponse'\n headers:\n X-AF-Credits-Cost:\n $ref: '#/components/headers/X-AF-Credits-Cost'\n '504':\n description: Gateway Timeout \u2014 The request went past the 100 second processing limit.\n content:\n application/json:\n schema:\n $ref: '#/components/schemas/ErrorResponse'\n headers:\n X-AF-Credits-Cost:\n $ref: '#/components/headers/X-AF-Credits-Cost'\n operationId: generatePdfsFromCsv\ncomponents:\n securitySchemes:\n ApiKeyAuthHeader:\n type: apiKey\n in: header\n name: X-apiKey\n description: Pass your API key via the X-apiKey request header.\n ApiKeyAuthQuery:\n type: apiKey\n in: query\n name: apiKey\n description: Pass your API key via the apiKey query parameter.\n schemas:\n TemplateGenerationResponse:\n type: object\n description: Result of a PDF generation request, containing the hosted URL of the generated PDF.\n required:\n - template_id\n - pdf_url\n - created_at\n - expiration_time\n properties:\n template_id:\n type: string\n description: The template that was rendered.\n pdf_url:\n type: string\n description: Hosted URL of the generated PDF.\n created_at:\n type: string\n format: date-time\n description: When the PDF was generated (ISO 8601).\n expiration_time:\n type: string\n format: date-time\n description: When the hosted PDF expires (ISO 8601).\n CsvUploadRequest:\n type: object\n description: Multipart form-data request body containing the CSV file to render in bulk.\n required:\n - file\n properties:\n file:\n type: string\n format: binary\n description: A CSV file uploaded as form-data where each row is one record. One PDF is generated per row.\n ErrorResponse:\n type: object\n description: Standard error envelope returned by the API on failed requests.\n required:\n - message\n properties:\n error:\n type: string\n description: Short error category or exception type.\n message:\n type: string\n description: Human-readable error message describing the failure.\n path:\n type: string\n description: API endpoint path that produced the error.\n status:\n type: integer\n description: HTTP status code returned with the error.\n timestamp:\n type: string\n format: date-time\n description: Timestamp when the error occurred (ISO 8601).\n headers:\n X-AF-Credits-Cost:\n description: Specifies the number of credits consumed by the current request.\n schema:\n type: integer\nsecurity:\n - ApiKeyAuthHeader: []\n - ApiKeyAuthQuery: []\n",
62844
62910
  "pdf-generator": "openapi: 3.1.1\ninfo:\n title: PDF Generator API - Create PDFs from Templates\n version: 1.0.0\n description: Generate PDFs from templates you design once in the APIFreaks PDF Template Builder. Send JSON in the request body or provide a data_url, and the API renders your template into a hosted PDF document. Authentication is done with your APIFreaks API key passed in the X-apikey header.\n contact:\n name: APIFreaks Support\n url: https://apifreaks.com/contact\n email: support@apifreaks.com\nservers:\n - url: https://api.apifreaks.com/v1.0\n description: PDF Generator API Server\npaths:\n /pdf/template/generate:\n post:\n tags:\n - PDF Template APIs\n summary: Generate a PDF from a template\n description: Renders the template identified by template_id with the JSON data supplied in the request body (or fetched from data_url). Returns a hosted URL for the generated PDF. Provide either a request body or a data_url; one of the two is required. The keys of the data object are the fields you bound when you designed the template in the APIFreaks PDF Template Builder, so the exact shape is up to you. Pin the version parameter to a specific template version (e.g. version=v2) so later design changes never touch what is already live; omit it to use the latest version.\n parameters:\n - name: template_id\n in: query\n required: true\n schema:\n type: string\n description: The template to render, from the APIFreaks PDF Template Builder. Copy it from your dashboard when you save the template.\n - name: version\n in: query\n required: false\n schema:\n type: string\n pattern: ^v\n description: Template version to render, e.g. v2. Must start with v. Omit this parameter entirely to use the latest version; the literal value 'latest' is not accepted by the API.\n - name: data_url\n in: query\n required: false\n schema:\n type: string\n format: uri\n description: A URL the API fetches your JSON data from, instead of the request body. Provide this when you are not sending a request body.\n requestBody:\n description: The template's data as a JSON object. The keys are the fields you bound when you designed the template, so the exact shape is up to you. Provide the body when you are not passing a data_url; one of the two is required.\n required: false\n content:\n application/json:\n schema:\n type: object\n additionalProperties: true\n description: Free-form JSON object whose keys map to the fields bound in the template.\n examples:\n resumeTemplate:\n summary: Resume template data\n value:\n candidate_name: Ava Thompson\n candidate_title: Senior Operations Analyst\n email: ava.thompson@example.com\n phone: +1 (555) 381-2048\n city: Austin, TX\n portfolio_url: portfolio.example.com\n profile_summary: Analytical operations professional with 8+ years of experience improving reporting pipelines, streamlining process documentation, and coordinating cross-functional delivery for distributed teams across multiple time zones.\n company_name: Northwind Logistics\n job_title: Operations Analyst\n employment_period: 2021 - Present\n job_achievement_1: Led weekly KPI reporting for finance, fulfillment, and customer success stakeholders across three business units.\n job_achievement_2: Reduced manual reconciliation work by 35% through workflow redesign and documentation automation.\n job_achievement_3: Spearheaded a cross-team initiative that improved on-time delivery metrics by 18% within six months.\n skills:\n - skill: Process Improvement\n level: Advanced\n years: '7'\n - skill: Stakeholder Reporting\n level: Expert\n years: '8'\n - skill: Cross-functional Coordination\n level: Advanced\n years: '5'\n - skill: Workflow Documentation\n level: Advanced\n years: '6'\n degree: B.S. in Information Systems\n institution: University of Texas\n graduation_year: '2018'\n certification_1: Certified Business Analysis Professional (CBAP)\n certification_2: Six Sigma Green Belt\n languages: English (Native), Spanish (Professional)\n businessReport:\n summary: Business report template data\n value:\n report_title: Quarterly Business Report\n report_period: Q4 2024\n prepared_by: Marketing Team\n revenue: 125000\n growth_rate: 15\n customer_count: 520\n monthly_comparison:\n - metric: Revenue\n previous: $108,000\n current: $125,000\n change: +15.7%\n - metric: Active Customers\n previous: '480'\n current: '520'\n change: +8.3%\n responses:\n '200':\n description: PDF generated successfully. The response contains the hosted URL of the rendered PDF along with its creation and expiration times.\n content:\n application/json:\n schema:\n $ref: '#/components/schemas/TemplateGenerationResponse'\n examples:\n success:\n summary: Generated PDF\n value:\n template_id: 73691bce-1c58-4370-acc6-64b2dd14f81c\n pdf_url: https://s3.eu-central-2.wasabisys.com/w.storage.apifreaks.com/pdf_templates/73691bce-1c58-4370-acc6-64b2dd14f81c/Candidate%20Resume_20260810141214723405.pdf\n created_at: '2026-08-10T14:12:17.673Z'\n expiration_time: '2026-11-10T14:12:17.673Z'\n headers:\n X-AF-Credits-Cost:\n $ref: '#/components/headers/X-AF-Credits-Cost'\n '400':\n description: Bad Request \u2014 Missing or malformed parameters, missing data, or an unreachable data_url.\n content:\n application/json:\n schema:\n $ref: '#/components/schemas/ErrorResponse'\n examples:\n MissingTemplateId:\n summary: template_id is missing\n value:\n error: Invalid Param Exception\n message: please pass correct parameters\n path: /v1.0/pdf/template/generate\n status: 400\n timestamp: '2026-08-10T14:13:13.195Z'\n InvalidVersion:\n summary: version does not start with v\n value:\n timestamp: '2026-08-10T14:13:13.689Z'\n path: /v1.0/generate-pdf\n status: 400\n error: Invalid Template Version\n message: Please provide a valid template version starting with 'v'.\n NoData:\n summary: No data supplied to fill the template\n value:\n timestamp: '2026-08-10T14:13:14.172Z'\n path: /v1.0/generate-pdf\n status: 400\n error: Template Data Not Provided\n message: No data provided for the template. Please provide valid data to generate pdf.\n headers:\n X-AF-Credits-Cost:\n $ref: '#/components/headers/X-AF-Credits-Cost'\n '401':\n description: Unauthorized \u2014 The API key is missing or invalid.\n content:\n application/json:\n schema:\n $ref: '#/components/schemas/ErrorResponse'\n examples:\n InvalidApiKey:\n summary: Provided API key is invalid\n value:\n error: API Access Exception\n message: 'Provided API key is invalid. [For Technical Support: support@apifreaks.com]'\n path: /v1.0/pdf/template/generate\n status: 401\n timestamp: '2026-08-10T14:13:14.996Z'\n headers:\n X-AF-Credits-Cost:\n $ref: '#/components/headers/X-AF-Credits-Cost'\n '403':\n description: Forbidden \u2014 The account does not have access to this template.\n content:\n application/json:\n schema:\n $ref: '#/components/schemas/ErrorResponse'\n examples:\n AccessDenied:\n summary: No access to the template\n value:\n timestamp: '2026-08-10T14:13:15.000Z'\n path: /v1.0/generate-pdf\n status: 403\n error: Template Access Denied\n message: Your account does not have access to this template.\n headers:\n X-AF-Credits-Cost:\n $ref: '#/components/headers/X-AF-Credits-Cost'\n '404':\n description: Not Found \u2014 No template matches the template_id, or the requested version does not exist.\n content:\n application/json:\n schema:\n $ref: '#/components/schemas/ErrorResponse'\n examples:\n TemplateNotFound:\n summary: No template matches the template_id\n value:\n timestamp: '2026-08-10T14:13:14.677Z'\n path: /v1.0/generate-pdf\n status: 404\n error: Template Not Found\n message: Please provide a valid template ID.\n headers:\n X-AF-Credits-Cost:\n $ref: '#/components/headers/X-AF-Credits-Cost'\n '415':\n description: Unsupported Media Type \u2014 The request Content-Type is not supported for this endpoint.\n content:\n application/json:\n schema:\n $ref: '#/components/schemas/ErrorResponse'\n examples:\n UnsupportedMediaType:\n summary: Content-Type is not supported\n value:\n timestamp: '2026-08-10T14:13:15.500Z'\n path: /v1.0/generate-pdf\n status: 415\n error: Unsupported Media Type\n message: The request Content-Type is not supported for this endpoint.\n headers:\n X-AF-Credits-Cost:\n $ref: '#/components/headers/X-AF-Credits-Cost'\n '422':\n description: Unprocessable Entity \u2014 The request contains invalid or missing data.\n content:\n application/json:\n schema:\n $ref: '#/components/schemas/ErrorResponse'\n examples:\n InvalidData:\n summary: Invalid or missing data\n value:\n timestamp: '2026-08-10T14:13:16.100Z'\n path: /v1.0/generate-pdf\n status: 422\n error: Invalid Template Data\n message: The request contains invalid or missing data.\n headers:\n X-AF-Credits-Cost:\n $ref: '#/components/headers/X-AF-Credits-Cost'\n '500':\n description: Internal Server Error \u2014 An unexpected error occurred, or the PDF could not be generated.\n content:\n application/json:\n schema:\n $ref: '#/components/schemas/ErrorResponse'\n examples:\n GenerationFailed:\n summary: PDF could not be generated\n value:\n timestamp: '2026-08-10T14:13:16.700Z'\n path: /v1.0/generate-pdf\n status: 500\n error: PDF Generation Failed\n message: The PDF could not be generated. Try the request again.\n headers:\n X-AF-Credits-Cost:\n $ref: '#/components/headers/X-AF-Credits-Cost'\n '504':\n description: Gateway Timeout \u2014 The request went past the 100 second processing limit.\n content:\n application/json:\n schema:\n $ref: '#/components/schemas/ErrorResponse'\n examples:\n ProcessingLimit:\n summary: Request exceeded the 100 second processing limit\n value:\n timestamp: '2026-08-10T14:13:17.300Z'\n path: /v1.0/generate-pdf\n status: 504\n error: Processing Timeout\n message: The request went past the 100 second processing limit. Reduce the input size or retry.\n headers:\n X-AF-Credits-Cost:\n $ref: '#/components/headers/X-AF-Credits-Cost'\n operationId: generatePdfFromTemplate\ncomponents:\n securitySchemes:\n ApiKeyAuthHeader:\n type: apiKey\n in: header\n name: X-apiKey\n description: Pass your API key via the X-apiKey request header.\n ApiKeyAuthQuery:\n type: apiKey\n in: query\n name: apiKey\n description: Pass your API key via the apiKey query parameter.\n schemas:\n TemplateGenerationResponse:\n type: object\n description: Result of a PDF generation request, containing the hosted URL of the generated PDF.\n required:\n - template_id\n - pdf_url\n - created_at\n - expiration_time\n properties:\n template_id:\n type: string\n description: The template that was rendered.\n pdf_url:\n type: string\n description: Hosted URL of the generated PDF.\n created_at:\n type: string\n format: date-time\n description: When the PDF was generated (ISO 8601).\n expiration_time:\n type: string\n format: date-time\n description: When the hosted PDF expires (ISO 8601).\n ErrorResponse:\n type: object\n description: Standard error envelope returned by the API on failed requests.\n required:\n - message\n properties:\n error:\n type: string\n description: Short error category or exception type.\n message:\n type: string\n description: Human-readable error message describing the failure.\n path:\n type: string\n description: API endpoint path that produced the error.\n status:\n type: integer\n description: HTTP status code returned with the error.\n timestamp:\n type: string\n format: date-time\n description: Timestamp when the error occurred (ISO 8601).\n headers:\n X-AF-Credits-Cost:\n description: Specifies the number of credits consumed by the current request.\n schema:\n type: integer\nsecurity:\n - ApiKeyAuthHeader: []\n - ApiKeyAuthQuery: []\n",
62845
62911
  "pdf-resource-download": "openapi: 3.1.1\ninfo:\n title: PDF Resource Download API Reference\n version: 1.0.0\n description: Download PDF files or ZIP archives from the server using their unique resource ID. Returns the file as a binary stream for direct download. Supports PDF and ZIP output formats depending on the requested resource.\n contact:\n name: APIFreaks Support\n url: https://apifreaks.com/contact\n email: support@apifreaks.com\nservers:\n - url: https://api.apifreaks.com/v1.0\n description: PDF Resource Download API Server\npaths:\n /pdf/resource/download:\n get:\n tags:\n - PDF Upload and Download APIs\n summary: Download PDF resource\n description: This API downloads PDF files or ZIP archives from the server using their unique resource ID.\n parameters:\n - name: format\n in: query\n required: false\n schema:\n type: string\n enum:\n - json\n - xml\n default: json\n description: 'Response format: ''json'' (default) or ''xml''.'\n - name: resource_id\n in: query\n description: The unique identifier of the file or ZIP archive to download.\n required: true\n schema:\n type: string\n responses:\n '200':\n description: 'File download successful. Returns the raw file bytes with Content-Disposition: attachment, not a JSON body.'\n content:\n application/pdf:\n schema:\n type: string\n format: binary\n application/zip:\n schema:\n type: string\n format: binary\n headers:\n X-AF-Credits-Cost:\n $ref: '#/components/headers/X-AF-Credits-Cost'\n '400':\n description: Bad Request \u2014 Missing required resource_id parameter\n content:\n application/json:\n examples:\n missingResourceId:\n summary: Missing resource_id parameter\n value:\n error: Invalid Param Exception\n message: please pass correct parameters\n path: /v1.0/pdf/resource/download\n status: 400\n timestamp: '2026-07-27T10:47:12.356Z'\n schema:\n $ref: '#/components/schemas/ErrorResponse'\n headers:\n X-AF-Credits-Cost:\n $ref: '#/components/headers/X-AF-Credits-Cost'\n '404':\n description: Resource ID Not Found\n content:\n application/json:\n examples:\n error:\n summary: Resource ID not found\n value:\n timestamp: '2026-07-27T10:47:12.926Z'\n path: /v1.0/pdf/resource\n status: 404\n error: Resource ID Not Found\n message: Please provide a valid resource ID.\n schema:\n $ref: '#/components/schemas/ErrorResponse'\n headers:\n X-AF-Credits-Cost:\n $ref: '#/components/headers/X-AF-Credits-Cost'\n operationId: downloadResource\ncomponents:\n securitySchemes:\n ApiKeyAuthHeader:\n type: apiKey\n in: header\n name: X-apiKey\n description: Pass your API key via the X-apiKey request header.\n ApiKeyAuthQuery:\n type: apiKey\n in: query\n name: apiKey\n description: Pass your API key via the apiKey query parameter.\n schemas:\n ErrorResponse:\n type: object\n description: Standard error envelope returned by the API on failed requests.\n required:\n - message\n properties:\n error:\n type: string\n description: Short error category or exception type.\n message:\n type: string\n description: Human-readable error message describing the failure.\n path:\n type: string\n description: API endpoint path that produced the error.\n status:\n type: integer\n description: HTTP status code returned with the error.\n timestamp:\n type: string\n format: date-time\n description: Timestamp when the error occurred (ISO 8601).\n headers:\n X-AF-Credits-Cost:\n description: Specifies the number of credits consumed by the current request.\n schema:\n type: integer\nsecurity:\n - ApiKeyAuthHeader: []\n - ApiKeyAuthQuery: []\n",
62846
- "pdf-resource-upload-binary": "openapi: 3.1.1\ninfo:\n title: PDF Binary Resource Upload API Reference\n version: 1.0.0\n description: Upload a PDF file as raw binary data in the request body. Returns file metadata including the file ID, file name, size, and type. This endpoint accepts the raw file bytes directly instead of multipart form-data.\n contact:\n name: APIFreaks Support\n url: https://apifreaks.com/contact\n email: support@apifreaks.com\nservers:\n - url: https://api.apifreaks.com/v1.0\n description: PDF Binary Resource Upload API Server\npaths:\n /pdf/resource/upload-binary:\n post:\n tags:\n - PDF Upload and Download APIs\n summary: Upload a PDF in binary format\n description: This API uploads PDF files to the API Freaks server in binary format.\n parameters:\n - name: format\n in: query\n required: false\n schema:\n type: string\n enum:\n - json\n - xml\n default: json\n description: Specifies the desired format for the API response. Choose 'json' for a JSON object or 'xml' for an XML structure.\n - name: file_name\n in: query\n required: true\n schema:\n type: string\n description: |-\n The desired name for the uploaded PDF file. This name will be used for storage on the server.\n\n\n **NOTE**: Please ensure file_name has extension `.pdf`.\n requestBody:\n description: Raw PDF file bytes sent directly as the request body (not multipart).\n required: true\n content:\n application/octet-stream:\n schema:\n type: string\n format: binary\n description: The PDF file to be uploaded to the API Freaks server in binary format.\n responses:\n '200':\n description: PDF upload successfully\n content:\n application/json:\n schema:\n $ref: '#/components/schemas/BinaryResourceUploadResponse'\n examples:\n success:\n summary: File uploaded\n value:\n fileName: binarytest.pdf\n fileId: b0fbf78c-8fe2-49b6-ad3d-63efb4ac8e58\n headers:\n X-AF-Credits-Cost:\n $ref: '#/components/headers/X-AF-Credits-Cost'\n '400':\n description: Bad Request \u2014 Missing file_name or empty body\n content:\n application/json:\n examples:\n missingFileName:\n summary: Missing file_name query parameter\n value:\n error: Invalid Param Exception\n message: please pass correct parameters\n path: /v1.0/pdf/resource/upload-binary\n status: 400\n timestamp: '2026-07-27T10:48:14.902Z'\n emptyBody:\n summary: Empty request body\n value:\n timestamp: '2026-07-27T10:48:16.046Z'\n path: /v1.0/pdf/upload-binary\n status: 400\n error: Invalid Parameter\n message: Invalid parameter value provided for 'dataBufferFlux'.\n schema:\n $ref: '#/components/schemas/ErrorResponse'\n headers:\n X-AF-Credits-Cost:\n $ref: '#/components/headers/X-AF-Credits-Cost'\n '415':\n description: Unsupported Media Type \u2014 File extension not supported\n content:\n application/json:\n examples:\n UnsupportedFileType:\n summary: Unsupported file type\n value:\n timestamp: '2026-07-27T10:48:15.449Z'\n path: /v1.0/pdf/upload-binary\n status: 415\n error: Unsupported File Type\n message: The provided file type is not supported. Refer to the documentation for valid file types.\n schema:\n $ref: '#/components/schemas/ErrorResponse'\n headers:\n X-AF-Credits-Cost:\n $ref: '#/components/headers/X-AF-Credits-Cost'\n operationId: uploadResourceBinary\ncomponents:\n securitySchemes:\n ApiKeyAuthHeader:\n type: apiKey\n in: header\n name: X-apiKey\n description: Pass your API key via the X-apiKey request header.\n ApiKeyAuthQuery:\n type: apiKey\n in: query\n name: apiKey\n description: Pass your API key via the apiKey query parameter.\n schemas:\n BinaryResourceUploadResponse:\n type: object\n required:\n - fileName\n - fileId\n properties:\n fileName:\n type: string\n description: The name of the uploaded file.\n fileId:\n type: string\n description: The unique identifier assigned to the uploaded file.\n description: Binary resource upload response containing file metadata.\n ErrorResponse:\n type: object\n description: Standard error envelope returned by the API on failed requests.\n required:\n - message\n properties:\n error:\n type: string\n description: Short error category or exception type.\n message:\n type: string\n description: Human-readable error message describing the failure.\n path:\n type: string\n description: API endpoint path that produced the error.\n status:\n type: integer\n description: HTTP status code returned with the error.\n timestamp:\n type: string\n format: date-time\n description: Timestamp when the error occurred (ISO 8601).\n headers:\n X-AF-Credits-Cost:\n description: Specifies the number of credits consumed by the current request.\n schema:\n type: integer\nsecurity:\n - ApiKeyAuthHeader: []\n - ApiKeyAuthQuery: []\n",
62847
- "pdf-resource-upload": "openapi: 3.1.1\ninfo:\n title: PDF Resource Upload API Reference\n version: 1.0.0\n description: Upload one or more PDF files to the server using multipart form-data. Returns an array of file metadata objects, one per uploaded file, each containing a `fileName` and a `fileId` for use in subsequent PDF processing operations (merge, split, compress, status checks, download, delete). Repeat the `file` form field to upload multiple files in a single request. Unsupported file types return a `415` error instead of a partial upload.\n contact:\n name: APIFreaks Support\n url: https://apifreaks.com/contact\n email: support@apifreaks.com\nservers:\n - url: https://api.apifreaks.com/v1.0\n description: PDF Resource Upload API Server\npaths:\n /pdf/resource/upload:\n post:\n tags:\n - PDF Upload and Download APIs\n summary: Upload multiple PDFs and get file IDs\n description: This API uploads multiple PDF files to the API Freaks server and generates their unique file IDs.\n operationId: uploadResource\n parameters:\n - name: format\n in: query\n required: false\n schema:\n type: string\n enum:\n - json\n - xml\n default: json\n description: Specifies the desired format for the API response. Choose 'json' for a JSON object or 'xml' for an XML structure.\n requestBody:\n description: Multipart form-data body carrying the PDF file(s) to upload. Repeat the file field to upload multiple files in one request.\n required: true\n content:\n multipart/form-data:\n schema:\n $ref: '#/components/schemas/ResourceUploadRequest'\n examples:\n typicalUpload:\n summary: Upload a single PDF file\n value:\n file: <binary PDF file content>\n responses:\n '200':\n description: PDF upload successful\n content:\n application/json:\n schema:\n $ref: '#/components/schemas/ResourceUploadResponse'\n examples:\n typicalSuccess:\n summary: Single file uploaded\n value:\n files:\n - fileName: test.pdf\n fileId: b61a80d1-9b2d-4748-b3d1-04d747dedc8c\n multipleFiles:\n summary: Multiple files uploaded in one request\n value:\n files:\n - fileName: test.pdf\n fileId: 9922d104-25a0-432c-8c26-2be2ba14798a\n - fileName: test.pdf\n fileId: 8a6b3332-6fe0-42b0-a808-df7a36926a79\n headers:\n X-AF-Credits-Cost:\n $ref: '#/components/headers/X-AF-Credits-Cost'\n '400':\n description: Bad Request \u2014 Missing or invalid parameters\n content:\n application/json:\n schema:\n $ref: '#/components/schemas/ErrorResponse'\n examples:\n missingFile:\n summary: No file provided in the request body\n value:\n timestamp: '2026-07-27T10:42:36.770Z'\n path: /v1.0/pdf/upload\n status: 400\n error: Missing or Invalid Parameters\n message: One or more required parameters are missing or incorrect.\n headers:\n X-AF-Credits-Cost:\n $ref: '#/components/headers/X-AF-Credits-Cost'\n '415':\n description: Unsupported Media Type \u2014 File type not supported\n content:\n application/json:\n schema:\n $ref: '#/components/schemas/ErrorResponse'\n examples:\n unsupportedFileType:\n summary: Unsupported file type\n value:\n timestamp: '2026-07-27T10:47:37.481Z'\n path: /v1.0/pdf/upload\n status: 415\n error: Unsupported File Type\n message: The provided file type is not supported. Refer to the documentation for valid file types.\n headers:\n X-AF-Credits-Cost:\n $ref: '#/components/headers/X-AF-Credits-Cost'\ncomponents:\n securitySchemes:\n ApiKeyAuthHeader:\n type: apiKey\n in: header\n name: X-apiKey\n description: Pass your API key via the X-apiKey request header.\n ApiKeyAuthQuery:\n type: apiKey\n in: query\n name: apiKey\n description: Pass your API key via the apiKey query parameter.\n schemas:\n ResourceUploadResponse:\n type: object\n required:\n - files\n properties:\n files:\n type: array\n items:\n type: object\n required:\n - fileName\n - fileId\n properties:\n fileName:\n type: string\n description: Name of the uploaded file.\n fileId:\n type: string\n description: Unique ID of the uploaded file, used to reference it in processing operations.\n description: Array of uploaded file metadata objects.\n description: Resource upload response containing file metadata.\n ResourceUploadRequest:\n type: object\n description: Multipart form-data request body containing the file to upload.\n required: []\n properties:\n file:\n type: string\n format: binary\n description: Raw PDF file bytes sent as a multipart/form-data field named 'file'. Repeat this field to upload multiple files in one request.\n ErrorResponse:\n type: object\n description: Standard error envelope returned by the API on failed requests.\n required:\n - message\n properties:\n error:\n type: string\n description: Short error category or exception type.\n message:\n type: string\n description: Human-readable error message describing the failure.\n path:\n type: string\n description: API endpoint path that produced the error.\n status:\n type: integer\n description: HTTP status code returned with the error.\n timestamp:\n type: string\n format: date-time\n description: Timestamp when the error occurred (ISO 8601).\n headers:\n X-AF-Credits-Cost:\n description: Specifies the number of credits consumed by the current request.\n schema:\n type: integer\nsecurity:\n - ApiKeyAuthHeader: []\n - ApiKeyAuthQuery: []\n",
62848
- "pdf-restrict": "openapi: 3.1.1\ninfo:\n title: PDF Restrict API Reference\n version: 1.0.0\n description: Restrict a PDF file with permission controls. Set printing, copying, and editing restrictions with an owner password.\n contact:\n name: APIFreaks Support\n url: https://apifreaks.com/contact\n email: support@apifreaks.com\nservers:\n - url: https://api.apifreaks.com/v1.0\n description: PDF Restrict API Server\npaths:\n /pdf/restrict:\n post:\n tags:\n - PDF Security APIs\n summary: Apply permission restrictions on a PDF file\n description: This API applies permission restrictions on a PDF file, such as disabling printing, copying, or editing. This can include password protection to enforce restrictions.\n parameters:\n - name: format\n in: query\n required: false\n schema:\n type: string\n enum:\n - json\n - xml\n default: json\n description: Specifies the desired format for the API response. Choose 'json' for a JSON object or 'xml' for an XML structure.\n - name: file_id\n in: query\n required: false\n schema:\n type: string\n description: The unique ID of a PDF file already uploaded to the API Freaks server. Use this as an alternative to uploading a new file directly.\n - name: destroy\n in: query\n required: false\n schema:\n type: boolean\n description: If set to `true`, the input file(s) will be permanently deleted from the server immediately after the output PDF is generated.\n - name: output\n in: query\n required: false\n schema:\n type: string\n description: The desired name for the output restricted PDF file. If not provided, a default name will be assigned.\n - name: file_password\n in: query\n required: false\n schema:\n type: string\n description: The password to unlock the input file if it is already secured. Provide the owner password if available; otherwise, the user password. The owner password takes precedence. Password Length should be between 6 and 128 characters.\n - name: user_password\n in: query\n required: true\n schema:\n type: string\n description: Sets the password users will use to open the PDF. If this is not set, only the owner password will be configured, and anyone can open the PDF file with the provided restrictions enabled. Password Length should be between 6 and 128 characters.\n - name: owner_password\n in: query\n required: false\n schema:\n type: string\n description: Sets the password that allows full access to the PDF (e.g., removing restrictions). If not provided, the `user_password` (if set) will also be used as the owner password. Password Length should be between 6 and 128 characters.\n - name: restrictions\n in: query\n required: true\n schema:\n type: string\n description: |-\n A comma-separated list of restrictions to apply to the PDF. These define what the end-user is *not* allowed to do with the PDF. Available options are:\n\n\n * **print_high** \u2013 Disables high-quality printing.\n * **print_low** \u2013 Disables low-resolution printing.\n * **edit_document_assembly** \u2013 Prevents reordering or inserting pages.\n * **fill_form_fields** \u2013 Disallows filling in PDF form fields.\n * **edit_annotations** \u2013 Disables adding or modifying annotations or comments.\n * **modify_content** \u2013 Prevents modifying existing content in the PDF.\n * **copy_and_extract_content** \u2013 Disables copying text or images from the PDF.\n * **use_accessibility** \u2013 Prevents screen readers or accessibility tools from accessing content. An invalid restriction keyword returns a 400 with error \"Invalid PDF Restriction\".\n - name: webhook_url\n in: query\n required: false\n schema:\n type: string\n description: The URL to which the webhook notification will be sent after the task is completed.\n - name: webhook_failure_notification\n in: query\n required: false\n schema:\n type: boolean\n description: If true, a notification will also be sent by email in case the webhook request fails all the retries. The email notification will be sent to the requesting user or their organization\u2019s admin if part of one.\n - name: X-Webhook-Authorization\n in: header\n required: false\n schema:\n type: string\n description: 'Optional custom header for webhook requests. Format: `Key:Value` (e.g., `Authorization:Bearer token123`). This will be sent as an HTTP header in the webhook call.'\n requestBody:\n description: Multipart form-data body carrying the PDF file to restrict. Alternatively, reference an already-uploaded file via the file_id query parameter instead of uploading here.\n required: false\n content:\n multipart/form-data:\n schema:\n $ref: '#/components/schemas/PdfFileUploadRequest'\n responses:\n '200':\n description: PDF restrict successfully\n content:\n application/json:\n schema:\n $ref: '#/components/schemas/PDFResponse'\n examples:\n success:\n summary: Task created\n value:\n taskId: 42839406-7e1b-4f64-96bb-d94bb054e8d3\n inputIds:\n - 2c682ade-eccc-4ab5-9c06-d16e415cbecb\n headers:\n X-AF-Credits-Cost:\n $ref: '#/components/headers/X-AF-Credits-Cost'\n '400':\n description: Bad Request \u2014 Missing/invalid parameters, file ID, or password\n content:\n application/json:\n examples:\n MissingParams:\n summary: Missing required user_password or restrictions parameter\n value:\n error: Invalid Param Exception\n message: please pass correct parameters\n path: /v1.0/pdf/restrict\n status: 400\n timestamp: '2026-07-27T10:57:14.449Z'\n MissingFileOrID:\n summary: Neither a file nor a file ID was provided\n value:\n timestamp: '2026-07-27T10:57:25.953Z'\n path: /v1.0/pdf/restrict-pdf\n status: 400\n error: Missing File or ID\n message: Please provide either a file or a file ID.\n InvalidID:\n summary: file_id is malformed or does not exist\n value:\n timestamp: '2026-07-27T10:57:24.835Z'\n path: /v1.0/pdf/restrict\n status: 400\n error: Invalid File ID Provided\n message: Please provide a valid file ID\n WeakPassword:\n summary: Password does not meet strength requirements\n value:\n timestamp: '2026-07-27T10:57:15.634Z'\n path: /v1.0/pdf/restrict-pdf\n status: 400\n error: Weak Password Provided\n message: Please provide a strong password. Refer to the documentation for password requirements.\n InvalidRestriction:\n summary: Unrecognized restriction keyword\n value:\n timestamp: '2026-07-27T10:57:16.268Z'\n path: /v1.0/pdf/restrict-pdf\n status: 400\n error: Invalid PDF Restriction\n message: Please provide valid PDF restrictions. Refer to the documentation for valid PDF restrictions.\n schema:\n $ref: '#/components/schemas/ErrorResponse'\n headers:\n X-AF-Credits-Cost:\n $ref: '#/components/headers/X-AF-Credits-Cost'\n '415':\n description: Unsupported Media Type \u2014 File type not supported\n content:\n application/json:\n schema:\n $ref: '#/components/schemas/ErrorResponse'\n examples:\n UnsupportedFileType:\n summary: Uploaded file is not a supported type\n value:\n timestamp: '2026-07-27T10:57:25.374Z'\n path: /v1.0/pdf/restrict-pdf\n status: 415\n error: Unsupported File Type\n message: The provided file type is not supported. Refer to the documentation for valid file types.\n headers:\n X-AF-Credits-Cost:\n $ref: '#/components/headers/X-AF-Credits-Cost'\n operationId: restrictPdf\ncomponents:\n securitySchemes:\n ApiKeyAuthHeader:\n type: apiKey\n in: header\n name: X-apiKey\n description: Pass your API key via the X-apiKey request header.\n ApiKeyAuthQuery:\n type: apiKey\n in: query\n name: apiKey\n description: Pass your API key via the apiKey query parameter.\n schemas:\n PDFResponse:\n type: object\n description: Response containing the task ID and input file IDs for a PDF processing task.\n required:\n - taskId\n properties:\n taskId:\n type: string\n description: Task ID of the requested task, used to check the task status.\n inputIds:\n type: array\n items:\n type: string\n description: File IDs for the input files provided for the task. Not returned when destroy parameter is true.\n PdfFileUploadRequest:\n type: object\n description: Multipart form-data request body containing the PDF file to process.\n required: []\n properties:\n file:\n type: string\n format: binary\n description: Raw PDF file bytes sent as a multipart/form-data field named 'file'. Omit this field entirely and pass file_id in the query string instead to use an already-uploaded file.\n ErrorResponse:\n type: object\n description: Standard error envelope returned by the API on failed requests.\n required:\n - message\n properties:\n error:\n type: string\n description: Short error category or exception type.\n message:\n type: string\n description: Human-readable error message describing the failure.\n path:\n type: string\n description: API endpoint path that produced the error.\n status:\n type: integer\n description: HTTP status code returned with the error.\n timestamp:\n type: string\n format: date-time\n description: Timestamp when the error occurred (ISO 8601).\n headers:\n X-AF-Credits-Cost:\n description: Specifies the number of credits consumed by the current request.\n schema:\n type: integer\nsecurity:\n - ApiKeyAuthHeader: []\n - ApiKeyAuthQuery: []\n",
62912
+ "pdf-resource-upload-binary": "openapi: 3.1.1\ninfo:\n title: PDF Binary Resource Upload API Reference\n version: 1.0.0\n description: Upload a PDF file as raw binary data in the request body. Returns file metadata including the file ID, file name, size, and type. This endpoint accepts the raw file bytes directly instead of multipart form-data.\n contact:\n name: APIFreaks Support\n url: https://apifreaks.com/contact\n email: support@apifreaks.com\nservers:\n - url: https://api.apifreaks.com/v1.0\n description: PDF Binary Resource Upload API Server\npaths:\n /pdf/resource/upload-binary:\n post:\n tags:\n - PDF Upload and Download APIs\n summary: Upload a PDF in binary format\n description: This API uploads PDF files to the API Freaks server in binary format.\n parameters:\n - name: format\n in: query\n required: false\n schema:\n type: string\n enum:\n - json\n - xml\n default: json\n description: Specifies the desired format for the API response. Choose 'json' for a JSON object or 'xml' for an XML structure.\n - name: file_name\n in: query\n required: true\n schema:\n type: string\n description: |-\n The desired name for the uploaded PDF file. This name will be used for storage on the server.\n\n\n **NOTE**: Please ensure file_name has extension `.pdf`.\n requestBody:\n description: Raw PDF file bytes sent directly as the request body (not multipart).\n required: true\n content:\n application/octet-stream:\n schema:\n type: string\n format: binary\n description: The PDF file to be uploaded to the API Freaks server in binary format.\n responses:\n '200':\n description: PDF upload successfully\n content:\n application/json:\n schema:\n $ref: '#/components/schemas/BinaryResourceUploadResponse'\n examples:\n success:\n summary: File uploaded\n value:\n fileName: binarytest.pdf\n fileId: b0fbf78c-8fe2-49b6-ad3d-63efb4ac8e58\n headers:\n X-AF-Credits-Cost:\n $ref: '#/components/headers/X-AF-Credits-Cost'\n '400':\n description: Bad Request \u2014 Missing file_name or empty body\n content:\n application/json:\n examples:\n missingFileName:\n summary: Missing file_name query parameter\n value:\n error: Invalid Param Exception\n message: please pass correct parameters\n path: /v1.0/pdf/resource/upload-binary\n status: 400\n timestamp: '2026-07-27T10:48:14.902Z'\n emptyBody:\n summary: Empty request body\n value:\n timestamp: '2026-07-27T10:48:16.046Z'\n path: /v1.0/pdf/upload-binary\n status: 400\n error: Invalid Parameter\n message: Invalid parameter value provided for 'dataBufferFlux'.\n schema:\n $ref: '#/components/schemas/ErrorResponse'\n headers:\n X-AF-Credits-Cost:\n $ref: '#/components/headers/X-AF-Credits-Cost'\n '415':\n description: Unsupported Media Type \u2014 File extension not supported\n content:\n application/json:\n examples:\n UnsupportedFileType:\n summary: Unsupported file type\n value:\n timestamp: '2026-11-20T11:30:10.529Z'\n path: /v1.0/pdf/upload-binary\n status: 415\n error: Unsupported File Type\n message: The provided file type is not supported. Refer to the documentation for valid file types.\n schema:\n $ref: '#/components/schemas/ErrorResponse'\n headers:\n X-AF-Credits-Cost:\n $ref: '#/components/headers/X-AF-Credits-Cost'\n operationId: uploadResourceBinary\ncomponents:\n securitySchemes:\n ApiKeyAuthHeader:\n type: apiKey\n in: header\n name: X-apiKey\n description: Pass your API key via the X-apiKey request header.\n ApiKeyAuthQuery:\n type: apiKey\n in: query\n name: apiKey\n description: Pass your API key via the apiKey query parameter.\n schemas:\n BinaryResourceUploadResponse:\n type: object\n required:\n - fileName\n - fileId\n properties:\n fileName:\n type: string\n description: The name of the uploaded file.\n fileId:\n type: string\n description: The unique identifier assigned to the uploaded file.\n description: Binary resource upload response containing file metadata.\n ErrorResponse:\n type: object\n description: Standard error envelope returned by the API on failed requests.\n required:\n - message\n properties:\n error:\n type: string\n description: Short error category or exception type.\n message:\n type: string\n description: Human-readable error message describing the failure.\n path:\n type: string\n description: API endpoint path that produced the error.\n status:\n type: integer\n description: HTTP status code returned with the error.\n timestamp:\n type: string\n format: date-time\n description: Timestamp when the error occurred (ISO 8601).\n headers:\n X-AF-Credits-Cost:\n description: Specifies the number of credits consumed by the current request.\n schema:\n type: integer\nsecurity:\n - ApiKeyAuthHeader: []\n - ApiKeyAuthQuery: []\n",
62913
+ "pdf-resource-upload": "openapi: 3.1.1\ninfo:\n title: PDF Resource Upload API Reference\n version: 1.0.0\n description: Upload one or more PDF files to the server using multipart form-data. Returns an array of file metadata objects, one per uploaded file, each containing a `fileName` and a `fileId` for use in subsequent PDF processing operations (merge, split, compress, status checks, download, delete). Repeat the `file` form field to upload multiple files in a single request. Unsupported file types return a `415` error instead of a partial upload.\n contact:\n name: APIFreaks Support\n url: https://apifreaks.com/contact\n email: support@apifreaks.com\nservers:\n - url: https://api.apifreaks.com/v1.0\n description: PDF Resource Upload API Server\npaths:\n /pdf/resource/upload:\n post:\n tags:\n - PDF Upload and Download APIs\n summary: Upload multiple PDFs and get file IDs\n description: This API uploads multiple PDF files to the API Freaks server and generates their unique file IDs.\n operationId: uploadResource\n parameters:\n - name: format\n in: query\n required: false\n schema:\n type: string\n enum:\n - json\n - xml\n default: json\n description: Specifies the desired format for the API response. Choose 'json' for a JSON object or 'xml' for an XML structure.\n requestBody:\n description: Multipart form-data body carrying the PDF file(s) to upload. Repeat the file field to upload multiple files in one request.\n required: true\n content:\n multipart/form-data:\n schema:\n $ref: '#/components/schemas/ResourceUploadRequest'\n examples:\n typicalUpload:\n summary: Upload a single PDF file\n value:\n file: <binary PDF file content>\n responses:\n '200':\n description: PDF upload successful\n content:\n application/json:\n schema:\n $ref: '#/components/schemas/ResourceUploadResponse'\n examples:\n typicalSuccess:\n summary: Single file uploaded\n value:\n files:\n - fileName: test.pdf\n fileId: b61a80d1-9b2d-4748-b3d1-04d747dedc8c\n multipleFiles:\n summary: Multiple files uploaded in one request\n value:\n files:\n - fileName: test.pdf\n fileId: 9922d104-25a0-432c-8c26-2be2ba14798a\n - fileName: test.pdf\n fileId: 8a6b3332-6fe0-42b0-a808-df7a36926a79\n headers:\n X-AF-Credits-Cost:\n $ref: '#/components/headers/X-AF-Credits-Cost'\n '400':\n description: Bad Request \u2014 Missing or invalid parameters\n content:\n application/json:\n schema:\n $ref: '#/components/schemas/ErrorResponse'\n examples:\n missingFile:\n summary: No file provided in the request body\n value:\n timestamp: '2026-07-27T10:42:36.770Z'\n path: /v1.0/pdf/upload\n status: 400\n error: Missing or Invalid Parameters\n message: One or more required parameters are missing or incorrect.\n headers:\n X-AF-Credits-Cost:\n $ref: '#/components/headers/X-AF-Credits-Cost'\n '415':\n description: Unsupported Media Type \u2014 File type not supported\n content:\n application/json:\n examples:\n unsupportedFileType:\n summary: Unsupported file type\n value:\n timestamp: '2026-11-20T11:28:22.868Z'\n path: /v1.0/pdf/upload\n status: 415\n error: Unsupported File Type\n message: The provided file type is not supported. Refer to the documentation for valid file types.\n schema:\n $ref: '#/components/schemas/ErrorResponse'\n headers:\n X-AF-Credits-Cost:\n $ref: '#/components/headers/X-AF-Credits-Cost'\ncomponents:\n securitySchemes:\n ApiKeyAuthHeader:\n type: apiKey\n in: header\n name: X-apiKey\n description: Pass your API key via the X-apiKey request header.\n ApiKeyAuthQuery:\n type: apiKey\n in: query\n name: apiKey\n description: Pass your API key via the apiKey query parameter.\n schemas:\n ResourceUploadResponse:\n type: object\n required:\n - files\n properties:\n files:\n type: array\n items:\n type: object\n required:\n - fileName\n - fileId\n properties:\n fileName:\n type: string\n description: Name of the uploaded file.\n fileId:\n type: string\n description: Unique ID of the uploaded file, used to reference it in processing operations.\n description: Array of uploaded file metadata objects.\n description: Resource upload response containing file metadata.\n ResourceUploadRequest:\n type: object\n description: Multipart form-data request body containing the file to upload.\n required: []\n properties:\n file:\n type: string\n format: binary\n description: Raw PDF file bytes sent as a multipart/form-data field named 'file'. Repeat this field to upload multiple files in one request.\n ErrorResponse:\n type: object\n description: Standard error envelope returned by the API on failed requests.\n required:\n - message\n properties:\n error:\n type: string\n description: Short error category or exception type.\n message:\n type: string\n description: Human-readable error message describing the failure.\n path:\n type: string\n description: API endpoint path that produced the error.\n status:\n type: integer\n description: HTTP status code returned with the error.\n timestamp:\n type: string\n format: date-time\n description: Timestamp when the error occurred (ISO 8601).\n headers:\n X-AF-Credits-Cost:\n description: Specifies the number of credits consumed by the current request.\n schema:\n type: integer\nsecurity:\n - ApiKeyAuthHeader: []\n - ApiKeyAuthQuery: []\n",
62914
+ "pdf-restrict": "openapi: 3.1.1\ninfo:\n title: PDF Restrict API Reference\n version: 1.0.0\n description: Restrict a PDF file with permission controls. Set printing, copying, and editing restrictions with an owner password.\n contact:\n name: APIFreaks Support\n url: https://apifreaks.com/contact\n email: support@apifreaks.com\nservers:\n - url: https://api.apifreaks.com/v1.0\n description: PDF Restrict API Server\npaths:\n /pdf/restrict:\n post:\n tags:\n - PDF Security APIs\n summary: Apply permission restrictions on a PDF file\n description: This API applies permission restrictions on a PDF file, such as disabling printing, copying, or editing. This can include password protection to enforce restrictions.\n parameters:\n - name: format\n in: query\n required: false\n schema:\n type: string\n enum:\n - json\n - xml\n default: json\n description: Specifies the desired format for the API response. Choose 'json' for a JSON object or 'xml' for an XML structure.\n - name: file_id\n in: query\n required: false\n schema:\n type: string\n description: The unique ID of a PDF file already uploaded to the API Freaks server. Use this as an alternative to uploading a new file directly.\n - name: destroy\n in: query\n required: false\n schema:\n type: boolean\n description: If set to `true`, the input file(s) will be permanently deleted from the server immediately after the output PDF is generated.\n - name: output\n in: query\n required: false\n schema:\n type: string\n description: The desired name for the output restricted PDF file. If not provided, a default name will be assigned.\n - name: file_password\n in: query\n required: false\n schema:\n type: string\n description: The password to unlock the input file if it is already secured. Provide the owner password if available; otherwise, the user password. The owner password takes precedence. Password Length should be between 6 and 128 characters.\n - name: user_password\n in: query\n required: true\n schema:\n type: string\n description: Sets the password users will use to open the PDF. If this is not set, only the owner password will be configured, and anyone can open the PDF file with the provided restrictions enabled. Password Length should be between 6 and 128 characters.\n - name: owner_password\n in: query\n required: false\n schema:\n type: string\n description: Sets the password that allows full access to the PDF (e.g., removing restrictions). If not provided, the `user_password` (if set) will also be used as the owner password. Password Length should be between 6 and 128 characters.\n - name: restrictions\n in: query\n required: true\n schema:\n type: string\n description: |-\n A comma-separated list of restrictions to apply to the PDF. These define what the end-user is *not* allowed to do with the PDF. Available options are:\n\n\n * **print_high** \u2013 Disables high-quality printing.\n * **print_low** \u2013 Disables low-resolution printing.\n * **edit_document_assembly** \u2013 Prevents reordering or inserting pages.\n * **fill_form_fields** \u2013 Disallows filling in PDF form fields.\n * **edit_annotations** \u2013 Disables adding or modifying annotations or comments.\n * **modify_content** \u2013 Prevents modifying existing content in the PDF.\n * **copy_and_extract_content** \u2013 Disables copying text or images from the PDF.\n * **use_accessibility** \u2013 Prevents screen readers or accessibility tools from accessing content. An invalid restriction keyword returns a 400 with error \"Invalid PDF Restriction\".\n - name: webhook_url\n in: query\n required: false\n schema:\n type: string\n description: The URL to which the webhook notification will be sent after the task is completed.\n - name: webhook_failure_notification\n in: query\n required: false\n schema:\n type: boolean\n description: If true, a notification will also be sent by email in case the webhook request fails all the retries. The email notification will be sent to the requesting user or their organization\u2019s admin if part of one.\n - name: X-Webhook-Authorization\n in: header\n required: false\n schema:\n type: string\n description: 'Optional custom header for webhook requests. Format: `Key:Value` (e.g., `Authorization:Bearer token123`). This will be sent as an HTTP header in the webhook call.'\n requestBody:\n description: Multipart form-data body carrying the PDF file to restrict. Alternatively, reference an already-uploaded file via the file_id query parameter instead of uploading here.\n required: false\n content:\n multipart/form-data:\n schema:\n $ref: '#/components/schemas/PdfFileUploadRequest'\n responses:\n '200':\n description: PDF restrict successfully\n content:\n application/json:\n schema:\n $ref: '#/components/schemas/PDFResponse'\n examples:\n success:\n summary: Task created\n value:\n taskId: 42839406-7e1b-4f64-96bb-d94bb054e8d3\n inputIds:\n - 2c682ade-eccc-4ab5-9c06-d16e415cbecb\n headers:\n X-AF-Credits-Cost:\n $ref: '#/components/headers/X-AF-Credits-Cost'\n '400':\n description: Bad Request \u2014 Missing/invalid parameters, file ID, or password\n content:\n application/json:\n examples:\n MissingParams:\n summary: Missing required user_password or restrictions parameter\n value:\n error: Invalid Param Exception\n message: please pass correct parameters\n path: /v1.0/pdf/restrict\n status: 400\n timestamp: '2026-07-27T10:57:14.449Z'\n MissingFileOrID:\n summary: Neither a file nor a file ID was provided\n value:\n timestamp: '2026-07-27T10:57:25.953Z'\n path: /v1.0/pdf/restrict-pdf\n status: 400\n error: Missing File or ID\n message: Please provide either a file or a file ID.\n InvalidID:\n summary: file_id is malformed or does not exist\n value:\n timestamp: '2026-07-27T10:57:24.835Z'\n path: /v1.0/pdf/restrict\n status: 400\n error: Invalid File ID Provided\n message: Please provide a valid file ID\n WeakPassword:\n summary: Password does not meet strength requirements\n value:\n timestamp: '2026-07-27T10:57:15.634Z'\n path: /v1.0/pdf/restrict-pdf\n status: 400\n error: Weak Password Provided\n message: Please provide a strong password. Refer to the documentation for password requirements.\n InvalidRestriction:\n summary: Unrecognized restriction keyword\n value:\n timestamp: '2026-07-27T10:57:16.268Z'\n path: /v1.0/pdf/restrict-pdf\n status: 400\n error: Invalid PDF Restriction\n message: Please provide valid PDF restrictions. Refer to the documentation for valid PDF restrictions.\n schema:\n $ref: '#/components/schemas/ErrorResponse'\n headers:\n X-AF-Credits-Cost:\n $ref: '#/components/headers/X-AF-Credits-Cost'\n '415':\n description: Unsupported Media Type \u2014 The uploaded file type, or the file type associated with the provided file_id, is not supported for this operation\n content:\n application/json:\n examples:\n UnsupportedFileType:\n summary: Unsupported file type (file uploaded in the request)\n value:\n timestamp: '2026-11-20T11:30:01.367Z'\n path: /v1.0/pdf/restrict-pdf\n status: 415\n error: Unsupported File Type\n message: The provided file type is not supported. Refer to the documentation for valid file types.\n UnsupportedFileTypeForId:\n summary: Unsupported file type for the provided file ID\n value:\n timestamp: '2026-11-20T11:29:30.158Z'\n path: /v1.0/pdf/restrict-pdf\n status: 415\n error: Unsupported File Type\n 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.\n schema:\n $ref: '#/components/schemas/ErrorResponse'\n headers:\n X-AF-Credits-Cost:\n $ref: '#/components/headers/X-AF-Credits-Cost'\n operationId: restrictPdf\ncomponents:\n securitySchemes:\n ApiKeyAuthHeader:\n type: apiKey\n in: header\n name: X-apiKey\n description: Pass your API key via the X-apiKey request header.\n ApiKeyAuthQuery:\n type: apiKey\n in: query\n name: apiKey\n description: Pass your API key via the apiKey query parameter.\n schemas:\n PDFResponse:\n type: object\n description: Response containing the task ID and input file IDs for a PDF processing task.\n required:\n - taskId\n properties:\n taskId:\n type: string\n description: Task ID of the requested task, used to check the task status.\n inputIds:\n type: array\n items:\n type: string\n description: File IDs for the input files provided for the task. Not returned when destroy parameter is true.\n PdfFileUploadRequest:\n type: object\n description: Multipart form-data request body containing the PDF file to process.\n required: []\n properties:\n file:\n type: string\n format: binary\n description: Raw PDF file bytes sent as a multipart/form-data field named 'file'. Omit this field entirely and pass file_id in the query string instead to use an already-uploaded file.\n ErrorResponse:\n type: object\n description: Standard error envelope returned by the API on failed requests.\n required:\n - message\n properties:\n error:\n type: string\n description: Short error category or exception type.\n message:\n type: string\n description: Human-readable error message describing the failure.\n path:\n type: string\n description: API endpoint path that produced the error.\n status:\n type: integer\n description: HTTP status code returned with the error.\n timestamp:\n type: string\n format: date-time\n description: Timestamp when the error occurred (ISO 8601).\n headers:\n X-AF-Credits-Cost:\n description: Specifies the number of credits consumed by the current request.\n schema:\n type: integer\nsecurity:\n - ApiKeyAuthHeader: []\n - ApiKeyAuthQuery: []\n",
62849
62915
  "pdf-task-status": "openapi: 3.1.1\ninfo:\n title: PDF Task Status API Reference\n version: 1.0.0\n description: 'Check the status of a previously initiated PDF processing task using its unique task ID. Returns task status, creation and expiry timestamps, output file URLs and IDs, and input file IDs. Supports status values: queued, processing, completed, failed.'\n contact:\n name: APIFreaks Support\n url: https://apifreaks.com/contact\n email: support@apifreaks.com\nservers:\n - url: https://api.apifreaks.com/v1.0\n description: PDF Task Status API Server\npaths:\n /pdf/task-status:\n get:\n tags:\n - Task Status and File Info APIs\n summary: Check PDF task status\n description: This API checks the status of a previously initiated PDF processing task using its unique task ID.\n parameters:\n - name: format\n in: query\n required: false\n schema:\n type: string\n enum:\n - json\n - xml\n default: json\n description: Specifies the desired format for the API response. Choose 'json' for a JSON object or 'xml' for an XML structure.\n - name: task_id\n in: query\n description: The unique ID of the PDF processing task for which the status is requested.\n required: true\n schema:\n type: string\n responses:\n '200':\n description: Task status retrieved successfully\n content:\n application/json:\n schema:\n $ref: '#/components/schemas/TaskStatusResponse'\n examples:\n success:\n summary: Task completed\n value:\n taskId: 74004a68-ec05-4681-8d10-698304206065\n status: completed\n createdAt: '2026-07-27 10:48:51'\n outputUrls:\n - https://api.apifreaks.com/v1.0/pdf/resource/download?resource_id=21e3bb30-f98e-47ca-9d52-b221857d1f48\n outputIds:\n - 21e3bb30-f98e-47ca-9d52-b221857d1f48\n inputIds:\n - 0deab2f6-927c-451e-81e2-e8565206690e\n - 5b6a4836-8c4c-4379-8b3c-0867be35db71\n expiresAt: '2026-08-03 10:48:51'\n failed:\n summary: Task failed (e.g. invalid page range/format caught during processing)\n value:\n taskId: 9d8d803b-e23a-4431-901b-98b1f337355c\n status: failed\n createdAt: '2026-07-27 10:52:12'\n inputIds:\n - 63ea4110-b007-475b-9211-2fa7138b8ba1\n error: Invalid Page Range\n message: One or more specified page numbers exceed the total number of pages in the PDF document.\n expiresAt: '2026-08-03 10:52:12'\n headers:\n X-AF-Credits-Cost:\n $ref: '#/components/headers/X-AF-Credits-Cost'\n '400':\n description: Bad Request \u2014 Missing required task_id parameter\n content:\n application/json:\n examples:\n missingTaskId:\n summary: Missing task_id parameter\n value:\n error: Invalid Param Exception\n message: please pass correct parameters\n path: /v1.0/pdf/task-status\n status: 400\n timestamp: '2026-07-27T10:49:06.412Z'\n schema:\n $ref: '#/components/schemas/ErrorResponse'\n headers:\n X-AF-Credits-Cost:\n $ref: '#/components/headers/X-AF-Credits-Cost'\n '404':\n description: Task ID Not Found\n content:\n application/json:\n examples:\n error:\n summary: Task ID not found\n value:\n timestamp: '2026-07-27T10:49:05.829Z'\n path: /v1.0/pdf/task-status\n status: 404\n error: Task ID Not Found\n message: Please provide a valid task ID.\n schema:\n $ref: '#/components/schemas/ErrorResponse'\n headers:\n X-AF-Credits-Cost:\n $ref: '#/components/headers/X-AF-Credits-Cost'\n operationId: getTaskStatus\ncomponents:\n securitySchemes:\n ApiKeyAuthHeader:\n type: apiKey\n in: header\n name: X-apiKey\n description: Pass your API key via the X-apiKey request header.\n ApiKeyAuthQuery:\n type: apiKey\n in: query\n name: apiKey\n description: Pass your API key via the apiKey query parameter.\n schemas:\n TaskStatusResponse:\n type: object\n required:\n - taskId\n - status\n - createdAt\n - inputIds\n - expiresAt\n properties:\n taskId:\n type: string\n description: The unique identifier of the PDF processing task.\n status:\n type: string\n description: The current status of the task (e.g., 'queued', 'processing', 'completed', 'failed').\n createdAt:\n type: string\n description: The timestamp when the task status was created, formatted as 'yyyy-MM-dd HH:mm:ss'.\n zipFileId:\n type: string\n description: The unique identifier for the ZIP file. This is present only when the task status is 'COMPLETED'.\n outputUrls:\n type: array\n items:\n type: string\n description: A list of URLs for each individual output file. This is present only when the task is 'COMPLETED'.\n outputIds:\n type: array\n items:\n type: string\n description: A list of unique IDs for the output files. This is present only when the task is 'COMPLETED'.\n inputIds:\n type: array\n items:\n type: string\n description: A list of unique IDs for the input files submitted with the task. If the task was initiated with the `destroy` parameter set to `true`, `inputIds` will not be generated.\n error:\n type: string\n description: The error code for the PDF Task. This is included only if the task fails.\n message:\n type: string\n description: A descriptive message indicating the reason for task failure. This is included only if the task fails.\n expiresAt:\n type: string\n description: The timestamp when the task status will expire and be removed from the system, formatted as 'yyyy-MM-dd HH:mm:ss'.\n zipFileUrl:\n type: string\n description: The URL to download all output files as a single ZIP archive. Present only when the task status is completed.\n description: Task status response containing the current state of a PDF processing task.\n ErrorResponse:\n type: object\n description: Standard error envelope returned by the API on failed requests.\n required:\n - message\n properties:\n error:\n type: string\n description: Short error category or exception type.\n message:\n type: string\n description: Human-readable error message describing the failure.\n path:\n type: string\n description: API endpoint path that produced the error.\n status:\n type: integer\n description: HTTP status code returned with the error.\n timestamp:\n type: string\n format: date-time\n description: Timestamp when the error occurred (ISO 8601).\n headers:\n X-AF-Credits-Cost:\n description: Specifies the number of credits consumed by the current request.\n schema:\n type: integer\nsecurity:\n - ApiKeyAuthHeader: []\n - ApiKeyAuthQuery: []\n",
62850
- "pdf-to-image": "openapi: 3.1.1\ninfo:\n title: PDF to Image APIs - Convert PDF to JPG, PNG, TIFF, BMP & GIF\n version: 1.0.0\n description: Convert PDF pages to image format. Supports PNG, JPEG, and WebP output formats. Returns a task ID for tracking the conversion progress.\n contact:\n name: APIFreaks Support\n url: https://apifreaks.com/contact\n email: support@apifreaks.com\nservers:\n - url: https://api.apifreaks.com/v1.0\n description: PDF to Image API Server\npaths:\n /pdf/png:\n post:\n tags:\n - PDF To Image APIs\n summary: Convert PDF to PNG\n description: This API converts a given PDF file into a sequence of PNG images.\n parameters:\n - name: format\n in: query\n required: false\n schema:\n type: string\n enum:\n - json\n - xml\n default: json\n description: Specifies the desired format for the API response. Choose 'json' for a JSON object or 'xml' for an XML structure.\n - name: file_id\n in: query\n required: false\n schema:\n type: string\n description: The unique ID of a PDF file already uploaded to the API Freaks server. Use this as an alternative to uploading a new file directly.\n - name: destroy\n in: query\n required: false\n schema:\n type: boolean\n description: If set to `true`, the input file(s) will be permanently deleted from the server immediately after the output PDF is generated.\n - name: output\n in: query\n required: false\n schema:\n type: string\n description: The desired name for the output unrestricted PDF file. If not provided, a default name will be assigned.\n - name: pages\n in: query\n required: false\n schema:\n type: string\n description: 'Specifies the pages or ranges at which to split the PDF. Accepts individual page numbers (e.g., ''1'') and/or page ranges (e.g., ''4-2'', ''last''). Ranges can be ascending or descending. Use commas to separate entries and hyphens for ranges. Alternatively, provide only one of the following keywords: ''even'' (split at every even-numbered page), ''odd'' (split at every odd-numbered page), ''last'' (split at the last page only), or ''all'' (split into single pages). Examples: ''1,4-2,last'', ''odd'', ''all''. Mixing special keywords with specific pages/ranges is not allowed.'\n - name: resolution\n in: query\n required: false\n schema:\n type: integer\n description: Specifies the resolution (in DPI) for the output images. Acceptable Range is from 20 to 1200.\n - name: image_smoothing\n in: query\n required: false\n schema:\n type: string\n description: Determines the smoothing options to apply during image conversion. Valid values are 'none', 'all' or a combination of 'text', 'line', and 'image' (comma-separated).If not provided, no smoothing will be applied.\n - name: profile\n in: query\n required: false\n schema:\n type: string\n enum:\n - bw\n - gray\n - rgb\n - rgba\n - 4-bit\n - 8-bit\n description: 'Specifies the color profile for the output PNG images. Acceptable values: bw (1-bit black & white, smallest size, no grayscale or color), gray (8-bit grayscale), rgb (24-bit RGB color, default), rgba (32-bit RGB color with alpha channel for transparency), 4-bit (4-bit indexed color, up to 16 colors, smaller size), or 8-bit (8-bit indexed color, up to 256 colors).'\n - name: webhook_url\n in: query\n required: false\n schema:\n type: string\n description: The URL to which the webhook notification will be sent after the task is completed.\n - name: webhook_failure_notification\n in: query\n required: false\n schema:\n type: boolean\n description: If true, a notification will also be sent by email in case the webhook request fails all the retries. The email notification will be sent to the requesting user or their organization\u2019s admin if part of one.\n - name: X-Webhook-Authorization\n in: header\n required: false\n schema:\n type: string\n description: 'Optional custom header for webhook requests. Format: `Key:Value` (e.g., `Authorization:Bearer token123`). This will be sent as an HTTP header in the webhook call.'\n requestBody:\n description: Multipart form-data body carrying the PDF file to convert. Alternatively, reference an already-uploaded file via the file_id query parameter instead of uploading here.\n required: false\n content:\n multipart/form-data:\n schema:\n $ref: '#/components/schemas/PdfFileUploadRequest'\n responses:\n '200':\n description: PDF converted to PNG successfully\n content:\n application/json:\n schema:\n $ref: '#/components/schemas/PDFResponse'\n examples:\n success:\n summary: Task created\n value:\n taskId: b48e5ed0-e5ce-41bd-953c-6c590ded4b20\n inputIds:\n - 6d994947-3909-46cf-91fe-24316c457e2a\n headers:\n X-AF-Credits-Cost:\n $ref: '#/components/headers/X-AF-Credits-Cost'\n '400':\n description: Bad Request \u2014 Missing/invalid parameters or file ID\n content:\n application/json:\n examples:\n MissingFileOrID:\n summary: Missing File or ID\n value:\n timestamp: '2026-07-27T10:51:09.542Z'\n path: /v1.0/pdf/png\n status: 400\n error: Missing File or ID\n message: Please provide either a file or a file ID.\n InvalidFileID:\n summary: file_id is malformed or does not exist\n value:\n error: Invalid File ID Provided\n message: Please provide a valid file ID\n path: /pdf/png\n status: 400\n timestamp: '2026-07-27T10:51:11.802Z'\n InvalidImageProfile:\n summary: Invalid Image Profile\n value:\n timestamp: '2026-07-27T10:51:10.081Z'\n path: /v1.0/pdf/png\n status: 400\n error: Invalid Image Profile\n message: Please provide a valid image profile. Refer to the documentation for valid profiles.\n InvalidImageSmoothing:\n summary: Invalid Image Smoothing\n value:\n timestamp: '2026-07-27T10:51:11.203Z'\n path: /v1.0/pdf/png\n status: 400\n error: Invalid Image Smoothing\n message: Please provide a valid smoothing option or combination. Refer to the documentation for valid options.\n InvalidImageResolution:\n summary: Invalid Image Resolution\n value:\n timestamp: '2026-07-27T10:51:10.648Z'\n path: /v1.0/pdf/png\n status: 400\n error: Invalid Image Resolution\n message: Please provide a valid image resolution(dpi). Refer to the documentation for valid resolution values.\n schema:\n $ref: '#/components/schemas/ErrorResponse'\n headers:\n X-AF-Credits-Cost:\n $ref: '#/components/headers/X-AF-Credits-Cost'\n operationId: pdfToImage\n /pdf/jpg:\n post:\n tags:\n - PDF To Image APIs\n summary: Convert PDF to JPG\n description: This API converts a given PDF file into a sequence of JPG images.\n parameters:\n - name: format\n in: query\n required: false\n schema:\n type: string\n enum:\n - json\n - xml\n default: json\n description: Specifies the desired format for the API response. Choose 'json' for a JSON object or 'xml' for an XML structure.\n - name: file_id\n in: query\n required: false\n schema:\n type: string\n description: The unique ID of a PDF file already uploaded to the API Freaks server. Use this as an alternative to uploading a new file directly.\n - name: destroy\n in: query\n required: false\n schema:\n type: boolean\n description: If set to `true`, the input file(s) will be permanently deleted from the server immediately after the output PDF is generated.\n - name: output\n in: query\n required: false\n schema:\n type: string\n description: The desired name for the output unrestricted PDF file. If not provided, a default name will be assigned.\n - name: quality\n in: query\n required: false\n schema:\n type: integer\n description: Controls JPG compression quality. Higher values yield sharper images with larger file sizes.\n - name: pages\n in: query\n required: false\n schema:\n type: string\n description: 'Specifies the pages or ranges at which to split the PDF. Accepts individual page numbers (e.g., ''1'') and/or page ranges (e.g., ''4-2'', ''last''). Ranges can be ascending or descending. Use commas to separate entries and hyphens for ranges. Alternatively, provide only one of the following keywords: ''even'' (split at every even-numbered page), ''odd'' (split at every odd-numbered page), ''last'' (split at the last page only), or ''all'' (split into single pages). Examples: ''1,4-2,last'', ''odd'', ''all''. Mixing special keywords with specific pages/ranges is not allowed.'\n - name: resolution\n in: query\n required: false\n schema:\n type: integer\n description: Specifies the resolution (in DPI) for the output images. Acceptable Range is from 20 to 1200.\n - name: image_smoothing\n in: query\n required: false\n schema:\n type: string\n description: Determines the smoothing options to apply during image conversion. Valid values are 'none', 'all' or a combination of 'text', 'line', and 'image' (comma-separated).If not provided, no smoothing will be applied.\n - name: profile\n in: query\n required: false\n schema:\n type: string\n enum:\n - gray\n - rgb\n - cmyk\n description: 'Specifies the color profile for the output JPG images. Acceptable values: bw (1-bit black & white, smallest size, no grayscale or color), gray (8-bit grayscale), rgb (24-bit RGB color, default), rgba (32-bit RGB color with alpha channel for transparency), 4-bit (4-bit indexed color, up to 16 colors, smaller size), or 8-bit (8-bit indexed color, up to 256 colors).'\n - name: webhook_url\n in: query\n required: false\n schema:\n type: string\n description: The URL to which the webhook notification will be sent after the task is completed.\n - name: webhook_failure_notification\n in: query\n required: false\n schema:\n type: boolean\n description: If true, a notification will also be sent by email in case the webhook request fails all the retries. The email notification will be sent to the requesting user or their organization\u2019s admin if part of one.\n - name: X-Webhook-Authorization\n in: header\n required: false\n schema:\n type: string\n description: 'Optional custom header for webhook requests. Format: `Key:Value` (e.g., `Authorization:Bearer token123`). This will be sent as an HTTP header in the webhook call.'\n requestBody:\n description: Multipart form-data body carrying the PDF file to convert. Alternatively, reference an already-uploaded file via the file_id query parameter instead of uploading here.\n required: false\n content:\n multipart/form-data:\n schema:\n $ref: '#/components/schemas/PdfFileUploadRequest'\n responses:\n '200':\n description: PDF converted to JPG successfully\n content:\n application/json:\n schema:\n $ref: '#/components/schemas/PDFResponse'\n examples:\n success:\n summary: Task created\n value:\n taskId: 04a06cd5-158d-4191-a45b-6f58249c599d\n inputIds:\n - 7a9e4b12-f3c8-4d56-b7e1-8c2f9d0a3e6f\n headers:\n X-AF-Credits-Cost:\n $ref: '#/components/headers/X-AF-Credits-Cost'\n '400':\n description: Bad Request \u2014 Missing/invalid parameters or file ID\n content:\n application/json:\n examples:\n MissingFileOrID:\n summary: Missing File or ID\n value:\n timestamp: '2026-07-27T10:51:09.542Z'\n path: /v1.0/pdf/jpg\n status: 400\n error: Missing File or ID\n message: Please provide either a file or a file ID.\n InvalidFileID:\n summary: file_id is malformed or does not exist\n value:\n error: Invalid File ID Provided\n message: Please provide a valid file ID\n path: /pdf/jpg\n status: 400\n timestamp: '2026-07-27T10:51:11.802Z'\n InvalidImageProfile:\n summary: Invalid Image Profile\n value:\n timestamp: '2026-07-27T10:51:10.081Z'\n path: /v1.0/pdf/jpg\n status: 400\n error: Invalid Image Profile\n message: Please provide a valid image profile. Refer to the documentation for valid profiles.\n InvalidImageSmoothing:\n summary: Invalid Image Smoothing\n value:\n timestamp: '2026-07-27T10:51:11.203Z'\n path: /v1.0/pdf/jpg\n status: 400\n error: Invalid Image Smoothing\n message: Please provide a valid smoothing option or combination. Refer to the documentation for valid options.\n InvalidImageQuality:\n summary: Invalid Image Quality\n value:\n timestamp: '2025-08-18T10:22:25.866Z'\n path: /v1.0/pdf/jpg\n status: 400\n error: Invalid Image Quality\n message: Please provide a valid image quality value from 1 to 100.\n InvalidImageResolution:\n summary: Invalid Image Resolution\n value:\n timestamp: '2026-07-27T10:51:10.648Z'\n path: /v1.0/pdf/jpg\n status: 400\n error: Invalid Image Resolution\n message: Please provide a valid image resolution(dpi). Refer to the documentation for valid resolution values.\n schema:\n $ref: '#/components/schemas/ErrorResponse'\n headers:\n X-AF-Credits-Cost:\n $ref: '#/components/headers/X-AF-Credits-Cost'\n /pdf/tif:\n post:\n tags:\n - PDF To Image APIs\n summary: Convert a PDF file into a sequence of TIFF images.\n description: This API converts a given PDF file into a sequence of TIFF images. The output images can be saved as a single TIFF file, or as a sequence of TIFF files.\n parameters:\n - name: format\n in: query\n required: false\n schema:\n type: string\n enum:\n - json\n - xml\n default: json\n description: Specifies the desired format for the API response. Choose 'json' for a JSON object or 'xml' for an XML structure.\n - name: file_id\n in: query\n required: false\n schema:\n type: string\n description: The unique ID of a PDF file already uploaded to the API Freaks server. Use this as an alternative to uploading a new file directly.\n - name: destroy\n in: query\n required: false\n schema:\n type: boolean\n description: If set to `true`, the input file(s) will be permanently deleted from the server immediately after the output PDF is generated.\n - name: output\n in: query\n required: false\n schema:\n type: string\n description: The desired name for the output unrestricted PDF file. If not provided, a default name will be assigned.\n - name: pages\n in: query\n required: false\n schema:\n type: string\n description: 'Specifies the pages or ranges at which to split the PDF. Accepts individual page numbers (e.g., ''1'') and/or page ranges (e.g., ''4-2'', ''last''). Ranges can be ascending or descending. Use commas to separate entries and hyphens for ranges. Alternatively, provide only one of the following keywords: ''even'' (split at every even-numbered page), ''odd'' (split at every odd-numbered page), ''last'' (split at the last page only), or ''all'' (split into single pages). Examples: ''1,4-2,last'', ''odd'', ''all''. Mixing special keywords with specific pages/ranges is not allowed.'\n - name: resolution\n in: query\n required: false\n schema:\n type: integer\n description: Specifies the resolution (in DPI) for the output images. Acceptable Range is from 20 to 1200.\n - name: image_smoothing\n in: query\n required: false\n schema:\n type: string\n description: Determines the smoothing options to apply during image conversion. Valid values are 'none', 'all' or a combination of 'text', 'line', and 'image' (comma-separated).If not provided, no smoothing will be applied.\n - name: profile\n in: query\n required: false\n schema:\n type: string\n enum:\n - bw\n - gray\n - rgb\n - rgba\n - cmyk\n description: 'Specifies the color profile for the output TIF images. Acceptable values: bw (1-bit black & white, smallest size, no grayscale or color), gray (8-bit grayscale), rgb (24-bit RGB color, default), rgba (32-bit RGB color with alpha channel for transparency), 4-bit (4-bit indexed color, up to 16 colors, smaller size), or 8-bit (8-bit indexed color, up to 256 colors).'\n - name: webhook_url\n in: query\n required: false\n schema:\n type: string\n description: The URL to which the webhook notification will be sent after the task is completed.\n - name: webhook_failure_notification\n in: query\n required: false\n schema:\n type: boolean\n description: If true, a notification will also be sent by email in case the webhook request fails all the retries. The email notification will be sent to the requesting user or their organization\u2019s admin if part of one.\n - name: X-Webhook-Authorization\n in: header\n required: false\n schema:\n type: string\n description: 'Optional custom header for webhook requests. Format: `Key:Value` (e.g., `Authorization:Bearer token123`). This will be sent as an HTTP header in the webhook call.'\n requestBody:\n description: Multipart form-data body carrying the PDF file to convert. Alternatively, reference an already-uploaded file via the file_id query parameter instead of uploading here.\n required: false\n content:\n multipart/form-data:\n schema:\n $ref: '#/components/schemas/PdfFileUploadRequest'\n responses:\n '200':\n description: PDF converted to TIF successfully\n content:\n application/json:\n schema:\n $ref: '#/components/schemas/PDFResponse'\n examples:\n success:\n summary: Task created\n value:\n taskId: 04a06cd5-158d-4191-a45b-6f58249c599d\n inputIds:\n - 7a9e4b12-f3c8-4d56-b7e1-8c2f9d0a3e6f\n headers:\n X-AF-Credits-Cost:\n $ref: '#/components/headers/X-AF-Credits-Cost'\n '400':\n description: Bad Request \u2014 Missing/invalid parameters or file ID\n content:\n application/json:\n examples:\n MissingFileOrID:\n summary: Missing File or ID\n value:\n timestamp: '2026-07-27T10:51:09.542Z'\n path: /v1.0/pdf/tif\n status: 400\n error: Missing File or ID\n message: Please provide either a file or a file ID.\n InvalidFileID:\n summary: file_id is malformed or does not exist\n value:\n error: Invalid File ID Provided\n message: Please provide a valid file ID\n path: /pdf/tif\n status: 400\n timestamp: '2026-07-27T10:51:11.802Z'\n InvalidImageProfile:\n summary: Invalid Image Profile\n value:\n timestamp: '2026-07-27T10:51:10.081Z'\n path: /v1.0/pdf/tif\n status: 400\n error: Invalid Image Profile\n message: Please provide a valid image profile. Refer to the documentation for valid profiles.\n InvalidImageSmoothing:\n summary: Invalid Image Smoothing\n value:\n timestamp: '2026-07-27T10:51:11.203Z'\n path: /v1.0/pdf/tif\n status: 400\n error: Invalid Image Smoothing\n message: Please provide a valid smoothing option or combination. Refer to the documentation for valid options.\n InvalidImageResolution:\n summary: Invalid Image Resolution\n value:\n timestamp: '2026-07-27T10:51:10.648Z'\n path: /v1.0/pdf/tif\n status: 400\n error: Invalid Image Resolution\n message: Please provide a valid image resolution(dpi). Refer to the documentation for valid resolution values.\n schema:\n $ref: '#/components/schemas/ErrorResponse'\n headers:\n X-AF-Credits-Cost:\n $ref: '#/components/headers/X-AF-Credits-Cost'\n /pdf/bmp:\n post:\n tags:\n - PDF To Image APIs\n summary: Convert PDF to BMP\n description: Converts a PDF file to a BMP image.\n parameters:\n - name: format\n in: query\n required: false\n schema:\n type: string\n enum:\n - json\n - xml\n default: json\n description: Specifies the desired format for the API response. Choose 'json' for a JSON object or 'xml' for an XML structure.\n - name: file_id\n in: query\n required: false\n schema:\n type: string\n description: The unique ID of a PDF file already uploaded to the API Freaks server. Use this as an alternative to uploading a new file directly.\n - name: destroy\n in: query\n required: false\n schema:\n type: boolean\n description: If set to `true`, the input file(s) will be permanently deleted from the server immediately after the output PDF is generated.\n - name: output\n in: query\n required: false\n schema:\n type: string\n description: The desired name for the output unrestricted PDF file. If not provided, a default name will be assigned.\n - name: pages\n in: query\n required: false\n schema:\n type: string\n description: 'Specifies the pages or ranges at which to split the PDF. Accepts individual page numbers (e.g., ''1'') and/or page ranges (e.g., ''4-2'', ''last''). Ranges can be ascending or descending. Use commas to separate entries and hyphens for ranges. Alternatively, provide only one of the following keywords: ''even'' (split at every even-numbered page), ''odd'' (split at every odd-numbered page), ''last'' (split at the last page only), or ''all'' (split into single pages). Examples: ''1,4-2,last'', ''odd'', ''all''. Mixing special keywords with specific pages/ranges is not allowed.'\n - name: resolution\n in: query\n required: false\n schema:\n type: integer\n description: Specifies the resolution (in DPI) for the output images. Acceptable Range is from 20 to 1200.\n - name: image_smoothing\n in: query\n required: false\n schema:\n type: string\n description: Determines the smoothing options to apply during image conversion. Valid values are 'none', 'all' or a combination of 'text', 'line', and 'image' (comma-separated).If not provided, no smoothing will be applied.\n - name: profile\n in: query\n required: false\n schema:\n type: string\n enum:\n - bw\n - gray\n - rgb\n - 4-bit\n - 8-bit\n description: 'Specifies the color profile for the output BMP images. Acceptable values: bw (1-bit black & white, smallest size, no grayscale or color), gray (8-bit grayscale), rgb (24-bit RGB color, default), rgba (32-bit RGB color with alpha channel for transparency), 4-bit (4-bit indexed color, up to 16 colors, smaller size), or 8-bit (8-bit indexed color, up to 256 colors).'\n - name: webhook_url\n in: query\n required: false\n schema:\n type: string\n description: The URL to which the webhook notification will be sent after the task is completed.\n - name: webhook_failure_notification\n in: query\n required: false\n schema:\n type: boolean\n description: If true, a notification will also be sent by email in case the webhook request fails all the retries. The email notification will be sent to the requesting user or their organization\u2019s admin if part of one.\n - name: X-Webhook-Authorization\n in: header\n required: false\n schema:\n type: string\n description: 'Optional custom header for webhook requests. Format: `Key:Value` (e.g., `Authorization:Bearer token123`). This will be sent as an HTTP header in the webhook call.'\n requestBody:\n description: Multipart form-data body carrying the PDF file to convert. Alternatively, reference an already-uploaded file via the file_id query parameter instead of uploading here.\n required: false\n content:\n multipart/form-data:\n schema:\n $ref: '#/components/schemas/PdfFileUploadRequest'\n responses:\n '200':\n description: PDF converted to BMP successfully\n content:\n application/json:\n schema:\n $ref: '#/components/schemas/PDFResponse'\n examples:\n success:\n summary: Task created\n value:\n taskId: 04a06cd5-158d-4191-a45b-6f58249c599d\n inputIds:\n - 7a9e4b12-f3c8-4d56-b7e1-8c2f9d0a3e6f\n headers:\n X-AF-Credits-Cost:\n $ref: '#/components/headers/X-AF-Credits-Cost'\n '400':\n description: Bad Request \u2014 Missing/invalid parameters or file ID\n content:\n application/json:\n examples:\n MissingFileOrID:\n summary: Missing File or ID\n value:\n timestamp: '2026-07-27T10:51:09.542Z'\n path: /v1.0/pdf/bmp\n status: 400\n error: Missing File or ID\n message: Please provide either a file or a file ID.\n InvalidFileID:\n summary: file_id is malformed or does not exist\n value:\n error: Invalid File ID Provided\n message: Please provide a valid file ID\n path: /pdf/bmp\n status: 400\n timestamp: '2026-07-27T10:51:11.802Z'\n InvalidImageProfile:\n summary: Invalid Image Profile\n value:\n timestamp: '2026-07-27T10:51:10.081Z'\n path: /v1.0/pdf/bmp\n status: 400\n error: Invalid Image Profile\n message: Please provide a valid image profile. Refer to the documentation for valid profiles.\n InvalidImageSmoothing:\n summary: Invalid Image Smoothing\n value:\n timestamp: '2026-07-27T10:51:11.203Z'\n path: /v1.0/pdf/bmp\n status: 400\n error: Invalid Image Smoothing\n message: Please provide a valid smoothing option or combination. Refer to the documentation for valid options.\n InvalidImageResolution:\n summary: Invalid Image Resolution\n value:\n timestamp: '2026-07-27T10:51:10.648Z'\n path: /v1.0/pdf/bmp\n status: 400\n error: Invalid Image Resolution\n message: Please provide a valid image resolution(dpi). Refer to the documentation for valid resolution values.\n schema:\n $ref: '#/components/schemas/ErrorResponse'\n headers:\n X-AF-Credits-Cost:\n $ref: '#/components/headers/X-AF-Credits-Cost'\n /pdf/gif:\n post:\n tags:\n - PDF To Image APIs\n summary: Convert PDF to GIF\n description: This API converts a given PDF file into a sequence of GIF images.\n parameters:\n - name: format\n in: query\n required: false\n schema:\n type: string\n enum:\n - json\n - xml\n default: json\n description: Specifies the desired format for the API response. Choose 'json' for a JSON object or 'xml' for an XML structure.\n - name: file_id\n in: query\n required: false\n schema:\n type: string\n description: The unique ID of a PDF file already uploaded to the API Freaks server. Use this as an alternative to uploading a new file directly.\n - name: destroy\n in: query\n required: false\n schema:\n type: boolean\n description: If set to `true`, the input file(s) will be permanently deleted from the server immediately after the output PDF is generated.\n - name: output\n in: query\n required: false\n schema:\n type: string\n description: The desired name for the output unrestricted PDF file. If not provided, a default name will be assigned.\n - name: pages\n in: query\n required: false\n schema:\n type: string\n description: 'Specifies the pages or ranges at which to split the PDF. Accepts individual page numbers (e.g., ''1'') and/or page ranges (e.g., ''4-2'', ''last''). Ranges can be ascending or descending. Use commas to separate entries and hyphens for ranges. Alternatively, provide only one of the following keywords: ''even'' (split at every even-numbered page), ''odd'' (split at every odd-numbered page), ''last'' (split at the last page only), or ''all'' (split into single pages). Examples: ''1,4-2,last'', ''odd'', ''all''. Mixing special keywords with specific pages/ranges is not allowed.'\n - name: resolution\n in: query\n required: false\n schema:\n type: integer\n description: Specifies the resolution (in DPI) for the output images. Acceptable Range is from 20 to 1200.\n - name: image_smoothing\n in: query\n required: false\n schema:\n type: string\n description: Determines the smoothing options to apply during image conversion. Valid values are 'none', 'all' or a combination of 'text', 'line', and 'image' (comma-separated).If not provided, no smoothing will be applied.\n - name: profile\n in: query\n required: false\n schema:\n type: string\n enum:\n - bw\n - gray\n - rgb\n - rgba\n - 4-bit\n - 8-bit\n description: 'Specifies the color profile for the output GIF images. Acceptable values: bw (1-bit black & white, smallest size, no grayscale or color), gray (8-bit grayscale), rgb (24-bit RGB color, default), rgba (32-bit RGB color with alpha channel for transparency), 4-bit (4-bit indexed color, up to 16 colors, smaller size), or 8-bit (8-bit indexed color, up to 256 colors).'\n - name: webhook_url\n in: query\n required: false\n schema:\n type: string\n description: The URL to which the webhook notification will be sent after the task is completed.\n - name: webhook_failure_notification\n in: query\n required: false\n schema:\n type: boolean\n description: If true, a notification will also be sent by email in case the webhook request fails all the retries. The email notification will be sent to the requesting user or their organization\u2019s admin if part of one.\n - name: X-Webhook-Authorization\n in: header\n required: false\n schema:\n type: string\n description: 'Optional custom header for webhook requests. Format: `Key:Value` (e.g., `Authorization:Bearer token123`). This will be sent as an HTTP header in the webhook call.'\n requestBody:\n description: Multipart form-data body carrying the PDF file to convert. Alternatively, reference an already-uploaded file via the file_id query parameter instead of uploading here.\n required: false\n content:\n multipart/form-data:\n schema:\n $ref: '#/components/schemas/PdfFileUploadRequest'\n responses:\n '200':\n description: PDF converted to GIF successfully\n content:\n application/json:\n schema:\n $ref: '#/components/schemas/PDFResponse'\n examples:\n success:\n summary: Task created\n value:\n taskId: 04a06cd5-158d-4191-a45b-6f58249c599d\n inputIds:\n - 7a9e4b12-f3c8-4d56-b7e1-8c2f9d0a3e6f\n headers:\n X-AF-Credits-Cost:\n $ref: '#/components/headers/X-AF-Credits-Cost'\n '400':\n description: Bad Request \u2014 Missing/invalid parameters or file ID\n content:\n application/json:\n examples:\n MissingFileOrID:\n summary: Missing File or ID\n value:\n timestamp: '2026-07-27T10:51:09.542Z'\n path: /v1.0/pdf/gif\n status: 400\n error: Missing File or ID\n message: Please provide either a file or a file ID.\n InvalidFileID:\n summary: file_id is malformed or does not exist\n value:\n error: Invalid File ID Provided\n message: Please provide a valid file ID\n path: /pdf/gif\n status: 400\n timestamp: '2026-07-27T10:51:11.802Z'\n InvalidImageProfile:\n summary: Invalid Image Profile\n value:\n timestamp: '2026-07-27T10:51:10.081Z'\n path: /v1.0/pdf/gif\n status: 400\n error: Invalid Image Profile\n message: Please provide a valid image profile. Refer to the documentation for valid profiles.\n InvalidImageSmoothing:\n summary: Invalid Image Smoothing\n value:\n timestamp: '2026-07-27T10:51:11.203Z'\n path: /v1.0/pdf/gif\n status: 400\n error: Invalid Image Smoothing\n message: Please provide a valid smoothing option or combination. Refer to the documentation for valid options.\n InvalidImageResolution:\n summary: Invalid Image Resolution\n value:\n timestamp: '2026-07-27T10:51:10.648Z'\n path: /v1.0/pdf/gif\n status: 400\n error: Invalid Image Resolution\n message: Please provide a valid image resolution(dpi). Refer to the documentation for valid resolution values.\n schema:\n $ref: '#/components/schemas/ErrorResponse'\n headers:\n X-AF-Credits-Cost:\n $ref: '#/components/headers/X-AF-Credits-Cost'\ncomponents:\n securitySchemes:\n ApiKeyAuthHeader:\n type: apiKey\n in: header\n name: X-apiKey\n description: Pass your API key via the X-apiKey request header.\n ApiKeyAuthQuery:\n type: apiKey\n in: query\n name: apiKey\n description: Pass your API key via the apiKey query parameter.\n schemas:\n PDFResponse:\n type: object\n description: Response containing the task ID and input file IDs for a PDF processing task.\n required:\n - taskId\n properties:\n taskId:\n type: string\n description: Task ID of the requested task, used to check the task status.\n inputIds:\n type: array\n items:\n type: string\n description: File IDs for the input files provided for the task. Not returned when destroy parameter is true.\n PdfFileUploadRequest:\n type: object\n description: Multipart form-data request body containing the PDF file to process.\n required: []\n properties:\n file:\n type: string\n format: binary\n description: Raw PDF file bytes sent as a multipart/form-data field named 'file'. Omit this field entirely and pass file_id in the query string instead to use an already-uploaded file.\n ErrorResponse:\n type: object\n description: Standard error envelope returned by the API on failed requests.\n required:\n - message\n properties:\n error:\n type: string\n description: Short error category or exception type.\n message:\n type: string\n description: Human-readable error message describing the failure.\n path:\n type: string\n description: API endpoint path that produced the error.\n status:\n type: integer\n description: HTTP status code returned with the error.\n timestamp:\n type: string\n format: date-time\n description: Timestamp when the error occurred (ISO 8601).\n headers:\n X-AF-Credits-Cost:\n description: Specifies the number of credits consumed by the current request.\n schema:\n type: integer\nsecurity:\n - ApiKeyAuthHeader: []\n - ApiKeyAuthQuery: []\n",
62851
- "pdf-unrestrict": "openapi: 3.1.1\ninfo:\n title: PDF Unrestrict API Reference\n version: 1.0.0\n description: Remove all restrictions from a restricted PDF file using the owner password. Returns a task ID for tracking the unrestrict progress.\n contact:\n name: APIFreaks Support\n url: https://apifreaks.com/contact\n email: support@apifreaks.com\nservers:\n - url: https://api.apifreaks.com/v1.0\n description: PDF Unrestrict API Server\npaths:\n /pdf/unrestrict:\n post:\n tags:\n - PDF Security APIs\n summary: Remove permission restrictions from a PDF while keeping it encrypted.\n description: This API removes permission restrictions from a PDF while keeping it encrypted. If you want to remove all security (including encryption), use the `/pdf/decrypt` endpoint instead.\n parameters:\n - name: format\n in: query\n required: false\n schema:\n type: string\n enum:\n - json\n - xml\n default: json\n description: Specifies the desired format for the API response. Choose 'json' for a JSON object or 'xml' for an XML structure.\n - name: file_id\n in: query\n required: false\n schema:\n type: string\n description: The unique ID of a PDF file already uploaded to the API Freaks server. Use this as an alternative to uploading a new file directly.\n - name: destroy\n in: query\n required: false\n schema:\n type: boolean\n description: If set to `true`, the input file(s) will be permanently deleted from the server immediately after the output PDF is generated.\n - name: output\n in: query\n required: false\n schema:\n type: string\n description: The desired name for the output unrestricted PDF file. If not provided, a default name will be assigned.\n - name: file_password\n in: query\n required: true\n schema:\n type: string\n description: The password to unlock the input file. Either the owner password or user password can be provided. The owner password takes precedence. Password Length should be between 6 and 128 characters.\n - name: user_password\n in: query\n required: true\n schema:\n type: string\n description: Sets the user password for the PDF file. Required \u2014 providing only owner_password without user_password is rejected. Password Length should be between 6 and 128 characters.\n - name: owner_password\n in: query\n required: false\n schema:\n type: string\n description: Sets the owner password for the PDF file. If the owner password is not provided, the `user_password` will also be used as the owner password. Password Length should be between 6 and 128 characters.\n - name: webhook_url\n in: query\n required: false\n schema:\n type: string\n description: The URL to which the webhook notification will be sent after the task is completed.\n - name: webhook_failure_notification\n in: query\n required: false\n schema:\n type: boolean\n description: If true, a notification will also be sent by email in case the webhook request fails all the retries. The email notification will be sent to the requesting user or their organization\u2019s admin if part of one.\n - name: X-Webhook-Authorization\n in: header\n required: false\n schema:\n type: string\n description: 'Optional custom header for webhook requests. Format: `Key:Value` (e.g., `Authorization:Bearer token123`). This will be sent as an HTTP header in the webhook call.'\n requestBody:\n description: Multipart form-data body carrying the PDF file to unrestrict. Alternatively, reference an already-uploaded file via the file_id query parameter instead of uploading here.\n required: false\n content:\n multipart/form-data:\n schema:\n $ref: '#/components/schemas/PdfFileUploadRequest'\n responses:\n '200':\n description: PDF unrestrict successfully\n content:\n application/json:\n schema:\n $ref: '#/components/schemas/PDFResponse'\n examples:\n success:\n summary: Task created\n value:\n taskId: 16cc979a-55b9-476c-bfef-0977314478ec\n inputIds:\n - 9c809ef8-583a-40f1-afe2-424d1d953b69\n headers:\n X-AF-Credits-Cost:\n $ref: '#/components/headers/X-AF-Credits-Cost'\n '400':\n description: Bad Request \u2014 Missing/invalid parameters, file ID, or password\n content:\n application/json:\n examples:\n MissingParams:\n summary: Missing required file_password or user_password parameter\n value:\n error: Invalid Param Exception\n message: please pass correct parameters\n path: /v1.0/pdf/unrestrict\n status: 400\n timestamp: '2026-07-27T10:59:22.835Z'\n MissingFileOrID:\n summary: Neither a file nor a file ID was provided\n value:\n timestamp: '2026-07-27T10:59:23.398Z'\n path: /v1.0/pdf/unrestrict-pdf\n status: 400\n error: Missing File or ID\n message: Please provide either a file or a file ID.\n InvalidID:\n summary: file_id is malformed or does not exist\n value:\n error: Invalid File ID Provided\n message: Please provide a valid file ID\n path: /v1.0/pdf/unrestrict\n status: 400\n timestamp: '2026-07-27T10:59:23.936Z'\n WeakPassword:\n summary: New password does not meet strength requirements\n value:\n timestamp: '2026-07-27T10:59:25.041Z'\n path: /v1.0/pdf/unrestrict-pdf\n status: 400\n error: Weak Password Provided\n message: Please provide a strong password. Refer to the documentation for password requirements.\n schema:\n $ref: '#/components/schemas/ErrorResponse'\n headers:\n X-AF-Credits-Cost:\n $ref: '#/components/headers/X-AF-Credits-Cost'\n '415':\n description: Unsupported Media Type \u2014 File type not supported\n content:\n application/json:\n schema:\n $ref: '#/components/schemas/ErrorResponse'\n examples:\n UnsupportedFileType:\n summary: Uploaded file is not a supported type\n value:\n timestamp: '2026-07-27T10:59:24.507Z'\n path: /v1.0/pdf/unrestrict-pdf\n status: 415\n error: Unsupported File Type\n message: The provided file type is not supported. Refer to the documentation for valid file types.\n headers:\n X-AF-Credits-Cost:\n $ref: '#/components/headers/X-AF-Credits-Cost'\n operationId: unrestrictPdf\ncomponents:\n securitySchemes:\n ApiKeyAuthHeader:\n type: apiKey\n in: header\n name: X-apiKey\n description: Pass your API key via the X-apiKey request header.\n ApiKeyAuthQuery:\n type: apiKey\n in: query\n name: apiKey\n description: Pass your API key via the apiKey query parameter.\n schemas:\n PDFResponse:\n type: object\n description: Response containing the task ID and input file IDs for a PDF processing task.\n required:\n - taskId\n properties:\n taskId:\n type: string\n description: Task ID of the requested task, used to check the task status.\n inputIds:\n type: array\n items:\n type: string\n description: File IDs for the input files provided for the task. Not returned when destroy parameter is true.\n PdfFileUploadRequest:\n type: object\n description: Multipart form-data request body containing the PDF file to process.\n required: []\n properties:\n file:\n type: string\n format: binary\n description: Raw PDF file bytes sent as a multipart/form-data field named 'file'. Omit this field entirely and pass file_id in the query string instead to use an already-uploaded file.\n ErrorResponse:\n type: object\n description: Standard error envelope returned by the API on failed requests.\n required:\n - message\n properties:\n error:\n type: string\n description: Short error category or exception type.\n message:\n type: string\n description: Human-readable error message describing the failure.\n path:\n type: string\n description: API endpoint path that produced the error.\n status:\n type: integer\n description: HTTP status code returned with the error.\n timestamp:\n type: string\n format: date-time\n description: Timestamp when the error occurred (ISO 8601).\n headers:\n X-AF-Credits-Cost:\n description: Specifies the number of credits consumed by the current request.\n schema:\n type: integer\nsecurity:\n - ApiKeyAuthHeader: []\n - ApiKeyAuthQuery: []\n",
62852
- "rotate-pdf-pages": "openapi: 3.1.1\ninfo:\n title: PDF Rotate API - Instantly Change Page Orientation\n version: 1.0.0\n description: Rotate pages in a PDF file by 90, 180, or 270 degrees. Supports individual page rotation or batch rotation. Returns a task ID.\n contact:\n name: APIFreaks Support\n url: https://apifreaks.com/contact\n email: support@apifreaks.com\nservers:\n - url: https://api.apifreaks.com/v1.0\n description: PDF Rotate API Server\npaths:\n /pdf/rotate:\n post:\n tags:\n - PDF Operations APIs\n summary: Rotate pages in a PDF\n description: This API rotates pages of a PDF by a specified angle (in multiples of 90 degrees).\n parameters:\n - name: format\n in: query\n required: false\n schema:\n type: string\n enum:\n - json\n - xml\n default: json\n description: Specifies the desired format for the API response. Choose 'json' for a JSON object or 'xml' for an XML structure.\n - name: file_id\n in: query\n required: false\n schema:\n type: string\n description: The unique ID of a PDF file already uploaded to the API Freaks server. Use this as an alternative to uploading a new file directly.\n - name: destroy\n in: query\n required: false\n schema:\n type: boolean\n description: If set to `true`, the input file(s) will be permanently deleted from the server immediately after the output PDF is generated.\n - name: output\n in: query\n required: false\n schema:\n type: string\n description: The desired name for the output PDF file after rotation. If not provided, a default name will be assigned.\n - name: pages\n in: query\n required: false\n schema:\n type: string\n description: 'Specifies which pages to rotate. Accepts individual page numbers (e.g., ''1,7'') and/or ascending page ranges (e.g., ''3-5''). Use commas to separate entries and hyphens for ranges. Reverse ranges (e.g., ''5-3'') are not allowed. Alternatively, provide only one of the following keywords: ''even'' (rotate all even-numbered pages), ''odd'' (rotate all odd-numbered pages), ''last'' (rotate only the last page), or ''all'' (rotate all pages). Examples: ''1,3-5'', ''odd'', ''all''. Mixing special keywords with specific pages/ranges is not allowed.'\n - name: rotate\n in: query\n required: true\n schema:\n type: integer\n description: 'The angle in degrees to rotate the selected pages. Must be one of the following values: 0, 90, 180, 270, -90, -180, or -270. All rotations are applied clockwise.'\n - name: webhook_url\n in: query\n required: false\n schema:\n type: string\n description: The URL to which the webhook notification will be sent after the task is completed.\n - name: webhook_failure_notification\n in: query\n required: false\n schema:\n type: boolean\n description: If true, a notification will also be sent by email in case the webhook request fails all the retries. The email notification will be sent to the requesting user or their organization\u2019s admin if part of one.\n - name: X-Webhook-Authorization\n in: header\n required: false\n schema:\n type: string\n description: 'Optional custom header for webhook requests. Format: `Key:Value` (e.g., `Authorization:Bearer token123`). This will be sent as an HTTP header in the webhook call.'\n requestBody:\n description: Multipart form-data body carrying the PDF file to rotate. Alternatively, reference an already-uploaded file via the file_id query parameter instead of uploading here.\n required: false\n content:\n multipart/form-data:\n schema:\n $ref: '#/components/schemas/PdfFileUploadRequest'\n responses:\n '200':\n description: Rotate task created successfully. Malformed or out-of-range page specifications are not rejected synchronously \u2014 the task is created, then fails asynchronously; poll the task status endpoint and check for status \"failed\" with an error/message pair.\n content:\n application/json:\n schema:\n $ref: '#/components/schemas/PDFResponse'\n examples:\n success:\n summary: Task created\n value:\n taskId: b59d27fa-9865-4ad8-8e7c-818eb263892b\n inputIds:\n - 0fb39c16-db08-4ac8-bb5f-51656f934aaa\n headers:\n X-AF-Credits-Cost:\n $ref: '#/components/headers/X-AF-Credits-Cost'\n '400':\n description: Bad Request \u2014 Missing/invalid parameters or file ID\n content:\n application/json:\n examples:\n MissingRotate:\n summary: Missing required rotate parameter\n value:\n error: Invalid Param Exception\n message: please pass correct parameters\n path: /v1.0/pdf/rotate\n status: 400\n timestamp: '2026-07-27T10:54:37.098Z'\n InvalidRotation:\n summary: rotate value is not a supported angle\n value:\n timestamp: '2026-07-27T10:54:37.663Z'\n path: /v1.0/pdf/rotate\n status: 400\n error: Invalid Rotation Angle\n message: Please provide a valid rotation angle. Refer to the documentation for valid rotation angles.\n InvalidID:\n summary: file_id is malformed or does not exist\n value:\n error: Invalid File ID Provided\n message: Please provide a valid file ID\n path: /v1.0/pdf/rotate\n status: 400\n timestamp: '2026-07-27T10:54:38.253Z'\n schema:\n $ref: '#/components/schemas/ErrorResponse'\n headers:\n X-AF-Credits-Cost:\n $ref: '#/components/headers/X-AF-Credits-Cost'\n '415':\n description: Unsupported Media Type \u2014 File type not supported\n content:\n application/json:\n examples:\n UnsupportedFileType:\n summary: Uploaded file is not a supported type\n value:\n timestamp: '2026-07-27T10:54:38.800Z'\n path: /v1.0/pdf/rotate\n status: 415\n error: Unsupported File Type\n message: The provided file type is not supported. Refer to the documentation for valid file types.\n schema:\n $ref: '#/components/schemas/ErrorResponse'\n headers:\n X-AF-Credits-Cost:\n $ref: '#/components/headers/X-AF-Credits-Cost'\n operationId: rotatePdfPages\ncomponents:\n securitySchemes:\n ApiKeyAuthHeader:\n type: apiKey\n in: header\n name: X-apiKey\n description: Pass your API key via the X-apiKey request header.\n ApiKeyAuthQuery:\n type: apiKey\n in: query\n name: apiKey\n description: Pass your API key via the apiKey query parameter.\n schemas:\n PDFResponse:\n type: object\n description: Response containing the task ID and input file IDs for a PDF processing task.\n required:\n - taskId\n properties:\n taskId:\n type: string\n description: Task ID of the requested task, used to check the task status.\n inputIds:\n type: array\n items:\n type: string\n description: File IDs for the input files provided for the task. Not returned when destroy parameter is true.\n PdfFileUploadRequest:\n type: object\n description: Multipart form-data request body containing the PDF file to process.\n required: []\n properties:\n file:\n type: string\n format: binary\n description: Raw PDF file bytes sent as a multipart/form-data field named 'file'. Omit this field entirely and pass file_id in the query string instead to use an already-uploaded file.\n ErrorResponse:\n type: object\n description: Standard error envelope returned by the API on failed requests.\n required:\n - message\n properties:\n error:\n type: string\n description: Short error category or exception type.\n message:\n type: string\n description: Human-readable error message describing the failure.\n path:\n type: string\n description: API endpoint path that produced the error.\n status:\n type: integer\n description: HTTP status code returned with the error.\n timestamp:\n type: string\n format: date-time\n description: Timestamp when the error occurred (ISO 8601).\n headers:\n X-AF-Credits-Cost:\n description: Specifies the number of credits consumed by the current request.\n schema:\n type: integer\nsecurity:\n - ApiKeyAuthHeader: []\n - ApiKeyAuthQuery: []\n",
62916
+ "pdf-to-image": "openapi: 3.1.1\ninfo:\n title: PDF to Image APIs - Convert PDF to JPG, PNG, TIFF, BMP & GIF\n version: 1.0.0\n description: Convert PDF pages to image format. Supports PNG, JPEG, and WebP output formats. Returns a task ID for tracking the conversion progress.\n contact:\n name: APIFreaks Support\n url: https://apifreaks.com/contact\n email: support@apifreaks.com\nservers:\n - url: https://api.apifreaks.com/v1.0\n description: PDF to Image API Server\npaths:\n /pdf/png:\n post:\n tags:\n - PDF To Image APIs\n summary: Convert PDF to PNG\n description: This API converts a given PDF file into a sequence of PNG images.\n parameters:\n - name: format\n in: query\n required: false\n schema:\n type: string\n enum:\n - json\n - xml\n default: json\n description: Specifies the desired format for the API response. Choose 'json' for a JSON object or 'xml' for an XML structure.\n - name: file_id\n in: query\n required: false\n schema:\n type: string\n description: The unique ID of a PDF file already uploaded to the API Freaks server. Use this as an alternative to uploading a new file directly.\n - name: destroy\n in: query\n required: false\n schema:\n type: boolean\n description: If set to `true`, the input file(s) will be permanently deleted from the server immediately after the output PDF is generated.\n - name: output\n in: query\n required: false\n schema:\n type: string\n description: The desired name for the output unrestricted PDF file. If not provided, a default name will be assigned.\n - name: pages\n in: query\n required: false\n schema:\n type: string\n description: 'Specifies the pages or ranges at which to split the PDF. Accepts individual page numbers (e.g., ''1'') and/or page ranges (e.g., ''4-2'', ''last''). Ranges can be ascending or descending. Use commas to separate entries and hyphens for ranges. Alternatively, provide only one of the following keywords: ''even'' (split at every even-numbered page), ''odd'' (split at every odd-numbered page), ''last'' (split at the last page only), or ''all'' (split into single pages). Examples: ''1,4-2,last'', ''odd'', ''all''. Mixing special keywords with specific pages/ranges is not allowed.'\n - name: resolution\n in: query\n required: false\n schema:\n type: integer\n description: Specifies the resolution (in DPI) for the output images. Acceptable Range is from 20 to 1200.\n - name: image_smoothing\n in: query\n required: false\n schema:\n type: string\n description: Determines the smoothing options to apply during image conversion. Valid values are 'none', 'all' or a combination of 'text', 'line', and 'image' (comma-separated).If not provided, no smoothing will be applied.\n - name: profile\n in: query\n required: false\n schema:\n type: string\n enum:\n - bw\n - gray\n - rgb\n - rgba\n - 4-bit\n - 8-bit\n description: 'Specifies the color profile for the output PNG images. Acceptable values: bw (1-bit black & white, smallest size, no grayscale or color), gray (8-bit grayscale), rgb (24-bit RGB color, default), rgba (32-bit RGB color with alpha channel for transparency), 4-bit (4-bit indexed color, up to 16 colors, smaller size), or 8-bit (8-bit indexed color, up to 256 colors).'\n - name: webhook_url\n in: query\n required: false\n schema:\n type: string\n description: The URL to which the webhook notification will be sent after the task is completed.\n - name: webhook_failure_notification\n in: query\n required: false\n schema:\n type: boolean\n description: If true, a notification will also be sent by email in case the webhook request fails all the retries. The email notification will be sent to the requesting user or their organization\u2019s admin if part of one.\n - name: X-Webhook-Authorization\n in: header\n required: false\n schema:\n type: string\n description: 'Optional custom header for webhook requests. Format: `Key:Value` (e.g., `Authorization:Bearer token123`). This will be sent as an HTTP header in the webhook call.'\n requestBody:\n description: Multipart form-data body carrying the PDF file to convert. Alternatively, reference an already-uploaded file via the file_id query parameter instead of uploading here.\n required: false\n content:\n multipart/form-data:\n schema:\n $ref: '#/components/schemas/PdfFileUploadRequest'\n responses:\n '200':\n description: PDF converted to PNG successfully\n content:\n application/json:\n schema:\n $ref: '#/components/schemas/PDFResponse'\n examples:\n success:\n summary: Task created\n value:\n taskId: b48e5ed0-e5ce-41bd-953c-6c590ded4b20\n inputIds:\n - 6d994947-3909-46cf-91fe-24316c457e2a\n headers:\n X-AF-Credits-Cost:\n $ref: '#/components/headers/X-AF-Credits-Cost'\n '400':\n description: Bad Request \u2014 Missing/invalid parameters or file ID\n content:\n application/json:\n examples:\n MissingFileOrID:\n summary: Missing File or ID\n value:\n timestamp: '2026-07-27T10:51:09.542Z'\n path: /v1.0/pdf/png\n status: 400\n error: Missing File or ID\n message: Please provide either a file or a file ID.\n InvalidFileID:\n summary: file_id is malformed or does not exist\n value:\n error: Invalid File ID Provided\n message: Please provide a valid file ID\n path: /pdf/png\n status: 400\n timestamp: '2026-07-27T10:51:11.802Z'\n InvalidImageProfile:\n summary: Invalid Image Profile\n value:\n timestamp: '2026-07-27T10:51:10.081Z'\n path: /v1.0/pdf/png\n status: 400\n error: Invalid Image Profile\n message: Please provide a valid image profile. Refer to the documentation for valid profiles.\n InvalidImageSmoothing:\n summary: Invalid Image Smoothing\n value:\n timestamp: '2026-07-27T10:51:11.203Z'\n path: /v1.0/pdf/png\n status: 400\n error: Invalid Image Smoothing\n message: Please provide a valid smoothing option or combination. Refer to the documentation for valid options.\n InvalidImageResolution:\n summary: Invalid Image Resolution\n value:\n timestamp: '2026-07-27T10:51:10.648Z'\n path: /v1.0/pdf/png\n status: 400\n error: Invalid Image Resolution\n message: Please provide a valid image resolution(dpi). Refer to the documentation for valid resolution values.\n schema:\n $ref: '#/components/schemas/ErrorResponse'\n headers:\n X-AF-Credits-Cost:\n $ref: '#/components/headers/X-AF-Credits-Cost'\n '415':\n description: Unsupported Media Type \u2014 The uploaded file type, or the file type associated with the provided file_id, is not supported for this operation\n content:\n application/json:\n examples:\n UnsupportedFileType:\n summary: Unsupported file type (file uploaded in the request)\n value:\n timestamp: '2026-11-20T11:30:03.767Z'\n path: /v1.0/pdf/png\n status: 415\n error: Unsupported File Type\n message: The provided file type is not supported. Refer to the documentation for valid file types.\n UnsupportedFileTypeForId:\n summary: Unsupported file type for the provided file ID\n value:\n timestamp: '2026-11-20T11:29:36.193Z'\n path: /v1.0/pdf/png\n status: 415\n error: Unsupported File Type\n 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.\n schema:\n $ref: '#/components/schemas/ErrorResponse'\n headers:\n X-AF-Credits-Cost:\n $ref: '#/components/headers/X-AF-Credits-Cost'\n operationId: pdfToImage\n /pdf/jpg:\n post:\n tags:\n - PDF To Image APIs\n summary: Convert PDF to JPG\n description: This API converts a given PDF file into a sequence of JPG images.\n parameters:\n - name: format\n in: query\n required: false\n schema:\n type: string\n enum:\n - json\n - xml\n default: json\n description: Specifies the desired format for the API response. Choose 'json' for a JSON object or 'xml' for an XML structure.\n - name: file_id\n in: query\n required: false\n schema:\n type: string\n description: The unique ID of a PDF file already uploaded to the API Freaks server. Use this as an alternative to uploading a new file directly.\n - name: destroy\n in: query\n required: false\n schema:\n type: boolean\n description: If set to `true`, the input file(s) will be permanently deleted from the server immediately after the output PDF is generated.\n - name: output\n in: query\n required: false\n schema:\n type: string\n description: The desired name for the output unrestricted PDF file. If not provided, a default name will be assigned.\n - name: quality\n in: query\n required: false\n schema:\n type: integer\n description: Controls JPG compression quality. Higher values yield sharper images with larger file sizes.\n - name: pages\n in: query\n required: false\n schema:\n type: string\n description: 'Specifies the pages or ranges at which to split the PDF. Accepts individual page numbers (e.g., ''1'') and/or page ranges (e.g., ''4-2'', ''last''). Ranges can be ascending or descending. Use commas to separate entries and hyphens for ranges. Alternatively, provide only one of the following keywords: ''even'' (split at every even-numbered page), ''odd'' (split at every odd-numbered page), ''last'' (split at the last page only), or ''all'' (split into single pages). Examples: ''1,4-2,last'', ''odd'', ''all''. Mixing special keywords with specific pages/ranges is not allowed.'\n - name: resolution\n in: query\n required: false\n schema:\n type: integer\n description: Specifies the resolution (in DPI) for the output images. Acceptable Range is from 20 to 1200.\n - name: image_smoothing\n in: query\n required: false\n schema:\n type: string\n description: Determines the smoothing options to apply during image conversion. Valid values are 'none', 'all' or a combination of 'text', 'line', and 'image' (comma-separated).If not provided, no smoothing will be applied.\n - name: profile\n in: query\n required: false\n schema:\n type: string\n enum:\n - gray\n - rgb\n - cmyk\n description: 'Specifies the color profile for the output JPG images. Acceptable values: bw (1-bit black & white, smallest size, no grayscale or color), gray (8-bit grayscale), rgb (24-bit RGB color, default), rgba (32-bit RGB color with alpha channel for transparency), 4-bit (4-bit indexed color, up to 16 colors, smaller size), or 8-bit (8-bit indexed color, up to 256 colors).'\n - name: webhook_url\n in: query\n required: false\n schema:\n type: string\n description: The URL to which the webhook notification will be sent after the task is completed.\n - name: webhook_failure_notification\n in: query\n required: false\n schema:\n type: boolean\n description: If true, a notification will also be sent by email in case the webhook request fails all the retries. The email notification will be sent to the requesting user or their organization\u2019s admin if part of one.\n - name: X-Webhook-Authorization\n in: header\n required: false\n schema:\n type: string\n description: 'Optional custom header for webhook requests. Format: `Key:Value` (e.g., `Authorization:Bearer token123`). This will be sent as an HTTP header in the webhook call.'\n requestBody:\n description: Multipart form-data body carrying the PDF file to convert. Alternatively, reference an already-uploaded file via the file_id query parameter instead of uploading here.\n required: false\n content:\n multipart/form-data:\n schema:\n $ref: '#/components/schemas/PdfFileUploadRequest'\n responses:\n '200':\n description: PDF converted to JPG successfully\n content:\n application/json:\n schema:\n $ref: '#/components/schemas/PDFResponse'\n examples:\n success:\n summary: Task created\n value:\n taskId: 04a06cd5-158d-4191-a45b-6f58249c599d\n inputIds:\n - 7a9e4b12-f3c8-4d56-b7e1-8c2f9d0a3e6f\n headers:\n X-AF-Credits-Cost:\n $ref: '#/components/headers/X-AF-Credits-Cost'\n '400':\n description: Bad Request \u2014 Missing/invalid parameters or file ID\n content:\n application/json:\n examples:\n MissingFileOrID:\n summary: Missing File or ID\n value:\n timestamp: '2026-07-27T10:51:09.542Z'\n path: /v1.0/pdf/jpg\n status: 400\n error: Missing File or ID\n message: Please provide either a file or a file ID.\n InvalidFileID:\n summary: file_id is malformed or does not exist\n value:\n error: Invalid File ID Provided\n message: Please provide a valid file ID\n path: /pdf/jpg\n status: 400\n timestamp: '2026-07-27T10:51:11.802Z'\n InvalidImageProfile:\n summary: Invalid Image Profile\n value:\n timestamp: '2026-07-27T10:51:10.081Z'\n path: /v1.0/pdf/jpg\n status: 400\n error: Invalid Image Profile\n message: Please provide a valid image profile. Refer to the documentation for valid profiles.\n InvalidImageSmoothing:\n summary: Invalid Image Smoothing\n value:\n timestamp: '2026-07-27T10:51:11.203Z'\n path: /v1.0/pdf/jpg\n status: 400\n error: Invalid Image Smoothing\n message: Please provide a valid smoothing option or combination. Refer to the documentation for valid options.\n InvalidImageQuality:\n summary: Invalid Image Quality\n value:\n timestamp: '2025-08-18T10:22:25.866Z'\n path: /v1.0/pdf/jpg\n status: 400\n error: Invalid Image Quality\n message: Please provide a valid image quality value from 1 to 100.\n InvalidImageResolution:\n summary: Invalid Image Resolution\n value:\n timestamp: '2026-07-27T10:51:10.648Z'\n path: /v1.0/pdf/jpg\n status: 400\n error: Invalid Image Resolution\n message: Please provide a valid image resolution(dpi). Refer to the documentation for valid resolution values.\n schema:\n $ref: '#/components/schemas/ErrorResponse'\n headers:\n X-AF-Credits-Cost:\n $ref: '#/components/headers/X-AF-Credits-Cost'\n '415':\n description: Unsupported Media Type \u2014 The uploaded file type, or the file type associated with the provided file_id, is not supported for this operation\n content:\n application/json:\n examples:\n UnsupportedFileType:\n summary: Unsupported file type (file uploaded in the request)\n value:\n timestamp: '2026-11-20T11:30:05.678Z'\n path: /v1.0/pdf/jpg\n status: 415\n error: Unsupported File Type\n message: The provided file type is not supported. Refer to the documentation for valid file types.\n UnsupportedFileTypeForId:\n summary: Unsupported file type for the provided file ID\n value:\n timestamp: '2026-11-20T11:29:32.646Z'\n path: /v1.0/pdf/jpg\n status: 415\n error: Unsupported File Type\n 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.\n schema:\n $ref: '#/components/schemas/ErrorResponse'\n headers:\n X-AF-Credits-Cost:\n $ref: '#/components/headers/X-AF-Credits-Cost'\n /pdf/tif:\n post:\n tags:\n - PDF To Image APIs\n summary: Convert a PDF file into a sequence of TIFF images.\n description: This API converts a given PDF file into a sequence of TIFF images. The output images can be saved as a single TIFF file, or as a sequence of TIFF files.\n parameters:\n - name: format\n in: query\n required: false\n schema:\n type: string\n enum:\n - json\n - xml\n default: json\n description: Specifies the desired format for the API response. Choose 'json' for a JSON object or 'xml' for an XML structure.\n - name: file_id\n in: query\n required: false\n schema:\n type: string\n description: The unique ID of a PDF file already uploaded to the API Freaks server. Use this as an alternative to uploading a new file directly.\n - name: destroy\n in: query\n required: false\n schema:\n type: boolean\n description: If set to `true`, the input file(s) will be permanently deleted from the server immediately after the output PDF is generated.\n - name: output\n in: query\n required: false\n schema:\n type: string\n description: The desired name for the output unrestricted PDF file. If not provided, a default name will be assigned.\n - name: pages\n in: query\n required: false\n schema:\n type: string\n description: 'Specifies the pages or ranges at which to split the PDF. Accepts individual page numbers (e.g., ''1'') and/or page ranges (e.g., ''4-2'', ''last''). Ranges can be ascending or descending. Use commas to separate entries and hyphens for ranges. Alternatively, provide only one of the following keywords: ''even'' (split at every even-numbered page), ''odd'' (split at every odd-numbered page), ''last'' (split at the last page only), or ''all'' (split into single pages). Examples: ''1,4-2,last'', ''odd'', ''all''. Mixing special keywords with specific pages/ranges is not allowed.'\n - name: resolution\n in: query\n required: false\n schema:\n type: integer\n description: Specifies the resolution (in DPI) for the output images. Acceptable Range is from 20 to 1200.\n - name: image_smoothing\n in: query\n required: false\n schema:\n type: string\n description: Determines the smoothing options to apply during image conversion. Valid values are 'none', 'all' or a combination of 'text', 'line', and 'image' (comma-separated).If not provided, no smoothing will be applied.\n - name: profile\n in: query\n required: false\n schema:\n type: string\n enum:\n - bw\n - gray\n - rgb\n - rgba\n - cmyk\n description: 'Specifies the color profile for the output TIF images. Acceptable values: bw (1-bit black & white, smallest size, no grayscale or color), gray (8-bit grayscale), rgb (24-bit RGB color, default), rgba (32-bit RGB color with alpha channel for transparency), 4-bit (4-bit indexed color, up to 16 colors, smaller size), or 8-bit (8-bit indexed color, up to 256 colors).'\n - name: webhook_url\n in: query\n required: false\n schema:\n type: string\n description: The URL to which the webhook notification will be sent after the task is completed.\n - name: webhook_failure_notification\n in: query\n required: false\n schema:\n type: boolean\n description: If true, a notification will also be sent by email in case the webhook request fails all the retries. The email notification will be sent to the requesting user or their organization\u2019s admin if part of one.\n - name: X-Webhook-Authorization\n in: header\n required: false\n schema:\n type: string\n description: 'Optional custom header for webhook requests. Format: `Key:Value` (e.g., `Authorization:Bearer token123`). This will be sent as an HTTP header in the webhook call.'\n requestBody:\n description: Multipart form-data body carrying the PDF file to convert. Alternatively, reference an already-uploaded file via the file_id query parameter instead of uploading here.\n required: false\n content:\n multipart/form-data:\n schema:\n $ref: '#/components/schemas/PdfFileUploadRequest'\n responses:\n '200':\n description: PDF converted to TIF successfully\n content:\n application/json:\n schema:\n $ref: '#/components/schemas/PDFResponse'\n examples:\n success:\n summary: Task created\n value:\n taskId: 04a06cd5-158d-4191-a45b-6f58249c599d\n inputIds:\n - 7a9e4b12-f3c8-4d56-b7e1-8c2f9d0a3e6f\n headers:\n X-AF-Credits-Cost:\n $ref: '#/components/headers/X-AF-Credits-Cost'\n '400':\n description: Bad Request \u2014 Missing/invalid parameters or file ID\n content:\n application/json:\n examples:\n MissingFileOrID:\n summary: Missing File or ID\n value:\n timestamp: '2026-07-27T10:51:09.542Z'\n path: /v1.0/pdf/tif\n status: 400\n error: Missing File or ID\n message: Please provide either a file or a file ID.\n InvalidFileID:\n summary: file_id is malformed or does not exist\n value:\n error: Invalid File ID Provided\n message: Please provide a valid file ID\n path: /pdf/tif\n status: 400\n timestamp: '2026-07-27T10:51:11.802Z'\n InvalidImageProfile:\n summary: Invalid Image Profile\n value:\n timestamp: '2026-07-27T10:51:10.081Z'\n path: /v1.0/pdf/tif\n status: 400\n error: Invalid Image Profile\n message: Please provide a valid image profile. Refer to the documentation for valid profiles.\n InvalidImageSmoothing:\n summary: Invalid Image Smoothing\n value:\n timestamp: '2026-07-27T10:51:11.203Z'\n path: /v1.0/pdf/tif\n status: 400\n error: Invalid Image Smoothing\n message: Please provide a valid smoothing option or combination. Refer to the documentation for valid options.\n InvalidImageResolution:\n summary: Invalid Image Resolution\n value:\n timestamp: '2026-07-27T10:51:10.648Z'\n path: /v1.0/pdf/tif\n status: 400\n error: Invalid Image Resolution\n message: Please provide a valid image resolution(dpi). Refer to the documentation for valid resolution values.\n schema:\n $ref: '#/components/schemas/ErrorResponse'\n headers:\n X-AF-Credits-Cost:\n $ref: '#/components/headers/X-AF-Credits-Cost'\n '415':\n description: Unsupported Media Type \u2014 The uploaded file type, or the file type associated with the provided file_id, is not supported for this operation\n content:\n application/json:\n examples:\n UnsupportedFileType:\n summary: Unsupported file type (file uploaded in the request)\n value:\n timestamp: '2026-11-20T11:30:06.388Z'\n path: /v1.0/pdf/tif\n status: 415\n error: Unsupported File Type\n message: The provided file type is not supported. Refer to the documentation for valid file types.\n UnsupportedFileTypeForId:\n summary: Unsupported file type for the provided file ID\n value:\n timestamp: '2026-11-20T11:29:36.193Z'\n path: /v1.0/pdf/tif\n status: 415\n error: Unsupported File Type\n 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.\n schema:\n $ref: '#/components/schemas/ErrorResponse'\n headers:\n X-AF-Credits-Cost:\n $ref: '#/components/headers/X-AF-Credits-Cost'\n /pdf/bmp:\n post:\n tags:\n - PDF To Image APIs\n summary: Convert PDF to BMP\n description: Converts a PDF file to a BMP image.\n parameters:\n - name: format\n in: query\n required: false\n schema:\n type: string\n enum:\n - json\n - xml\n default: json\n description: Specifies the desired format for the API response. Choose 'json' for a JSON object or 'xml' for an XML structure.\n - name: file_id\n in: query\n required: false\n schema:\n type: string\n description: The unique ID of a PDF file already uploaded to the API Freaks server. Use this as an alternative to uploading a new file directly.\n - name: destroy\n in: query\n required: false\n schema:\n type: boolean\n description: If set to `true`, the input file(s) will be permanently deleted from the server immediately after the output PDF is generated.\n - name: output\n in: query\n required: false\n schema:\n type: string\n description: The desired name for the output unrestricted PDF file. If not provided, a default name will be assigned.\n - name: pages\n in: query\n required: false\n schema:\n type: string\n description: 'Specifies the pages or ranges at which to split the PDF. Accepts individual page numbers (e.g., ''1'') and/or page ranges (e.g., ''4-2'', ''last''). Ranges can be ascending or descending. Use commas to separate entries and hyphens for ranges. Alternatively, provide only one of the following keywords: ''even'' (split at every even-numbered page), ''odd'' (split at every odd-numbered page), ''last'' (split at the last page only), or ''all'' (split into single pages). Examples: ''1,4-2,last'', ''odd'', ''all''. Mixing special keywords with specific pages/ranges is not allowed.'\n - name: resolution\n in: query\n required: false\n schema:\n type: integer\n description: Specifies the resolution (in DPI) for the output images. Acceptable Range is from 20 to 1200.\n - name: image_smoothing\n in: query\n required: false\n schema:\n type: string\n description: Determines the smoothing options to apply during image conversion. Valid values are 'none', 'all' or a combination of 'text', 'line', and 'image' (comma-separated).If not provided, no smoothing will be applied.\n - name: profile\n in: query\n required: false\n schema:\n type: string\n enum:\n - bw\n - gray\n - rgb\n - 4-bit\n - 8-bit\n description: 'Specifies the color profile for the output BMP images. Acceptable values: bw (1-bit black & white, smallest size, no grayscale or color), gray (8-bit grayscale), rgb (24-bit RGB color, default), rgba (32-bit RGB color with alpha channel for transparency), 4-bit (4-bit indexed color, up to 16 colors, smaller size), or 8-bit (8-bit indexed color, up to 256 colors).'\n - name: webhook_url\n in: query\n required: false\n schema:\n type: string\n description: The URL to which the webhook notification will be sent after the task is completed.\n - name: webhook_failure_notification\n in: query\n required: false\n schema:\n type: boolean\n description: If true, a notification will also be sent by email in case the webhook request fails all the retries. The email notification will be sent to the requesting user or their organization\u2019s admin if part of one.\n - name: X-Webhook-Authorization\n in: header\n required: false\n schema:\n type: string\n description: 'Optional custom header for webhook requests. Format: `Key:Value` (e.g., `Authorization:Bearer token123`). This will be sent as an HTTP header in the webhook call.'\n requestBody:\n description: Multipart form-data body carrying the PDF file to convert. Alternatively, reference an already-uploaded file via the file_id query parameter instead of uploading here.\n required: false\n content:\n multipart/form-data:\n schema:\n $ref: '#/components/schemas/PdfFileUploadRequest'\n responses:\n '200':\n description: PDF converted to BMP successfully\n content:\n application/json:\n schema:\n $ref: '#/components/schemas/PDFResponse'\n examples:\n success:\n summary: Task created\n value:\n taskId: 04a06cd5-158d-4191-a45b-6f58249c599d\n inputIds:\n - 7a9e4b12-f3c8-4d56-b7e1-8c2f9d0a3e6f\n headers:\n X-AF-Credits-Cost:\n $ref: '#/components/headers/X-AF-Credits-Cost'\n '400':\n description: Bad Request \u2014 Missing/invalid parameters or file ID\n content:\n application/json:\n examples:\n MissingFileOrID:\n summary: Missing File or ID\n value:\n timestamp: '2026-07-27T10:51:09.542Z'\n path: /v1.0/pdf/bmp\n status: 400\n error: Missing File or ID\n message: Please provide either a file or a file ID.\n InvalidFileID:\n summary: file_id is malformed or does not exist\n value:\n error: Invalid File ID Provided\n message: Please provide a valid file ID\n path: /pdf/bmp\n status: 400\n timestamp: '2026-07-27T10:51:11.802Z'\n InvalidImageProfile:\n summary: Invalid Image Profile\n value:\n timestamp: '2026-07-27T10:51:10.081Z'\n path: /v1.0/pdf/bmp\n status: 400\n error: Invalid Image Profile\n message: Please provide a valid image profile. Refer to the documentation for valid profiles.\n InvalidImageSmoothing:\n summary: Invalid Image Smoothing\n value:\n timestamp: '2026-07-27T10:51:11.203Z'\n path: /v1.0/pdf/bmp\n status: 400\n error: Invalid Image Smoothing\n message: Please provide a valid smoothing option or combination. Refer to the documentation for valid options.\n InvalidImageResolution:\n summary: Invalid Image Resolution\n value:\n timestamp: '2026-07-27T10:51:10.648Z'\n path: /v1.0/pdf/bmp\n status: 400\n error: Invalid Image Resolution\n message: Please provide a valid image resolution(dpi). Refer to the documentation for valid resolution values.\n schema:\n $ref: '#/components/schemas/ErrorResponse'\n headers:\n X-AF-Credits-Cost:\n $ref: '#/components/headers/X-AF-Credits-Cost'\n '415':\n description: Unsupported Media Type \u2014 The uploaded file type, or the file type associated with the provided file_id, is not supported for this operation\n content:\n application/json:\n examples:\n UnsupportedFileType:\n summary: Unsupported file type (file uploaded in the request)\n value:\n timestamp: '2026-11-20T11:30:07.356Z'\n path: /v1.0/pdf/bmp\n status: 415\n error: Unsupported File Type\n message: The provided file type is not supported. Refer to the documentation for valid file types.\n UnsupportedFileTypeForId:\n summary: Unsupported file type for the provided file ID\n value:\n timestamp: '2026-11-20T11:29:36.193Z'\n path: /v1.0/pdf/bmp\n status: 415\n error: Unsupported File Type\n 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.\n schema:\n $ref: '#/components/schemas/ErrorResponse'\n headers:\n X-AF-Credits-Cost:\n $ref: '#/components/headers/X-AF-Credits-Cost'\n /pdf/gif:\n post:\n tags:\n - PDF To Image APIs\n summary: Convert PDF to GIF\n description: This API converts a given PDF file into a sequence of GIF images.\n parameters:\n - name: format\n in: query\n required: false\n schema:\n type: string\n enum:\n - json\n - xml\n default: json\n description: Specifies the desired format for the API response. Choose 'json' for a JSON object or 'xml' for an XML structure.\n - name: file_id\n in: query\n required: false\n schema:\n type: string\n description: The unique ID of a PDF file already uploaded to the API Freaks server. Use this as an alternative to uploading a new file directly.\n - name: destroy\n in: query\n required: false\n schema:\n type: boolean\n description: If set to `true`, the input file(s) will be permanently deleted from the server immediately after the output PDF is generated.\n - name: output\n in: query\n required: false\n schema:\n type: string\n description: The desired name for the output unrestricted PDF file. If not provided, a default name will be assigned.\n - name: pages\n in: query\n required: false\n schema:\n type: string\n description: 'Specifies the pages or ranges at which to split the PDF. Accepts individual page numbers (e.g., ''1'') and/or page ranges (e.g., ''4-2'', ''last''). Ranges can be ascending or descending. Use commas to separate entries and hyphens for ranges. Alternatively, provide only one of the following keywords: ''even'' (split at every even-numbered page), ''odd'' (split at every odd-numbered page), ''last'' (split at the last page only), or ''all'' (split into single pages). Examples: ''1,4-2,last'', ''odd'', ''all''. Mixing special keywords with specific pages/ranges is not allowed.'\n - name: resolution\n in: query\n required: false\n schema:\n type: integer\n description: Specifies the resolution (in DPI) for the output images. Acceptable Range is from 20 to 1200.\n - name: image_smoothing\n in: query\n required: false\n schema:\n type: string\n description: Determines the smoothing options to apply during image conversion. Valid values are 'none', 'all' or a combination of 'text', 'line', and 'image' (comma-separated).If not provided, no smoothing will be applied.\n - name: profile\n in: query\n required: false\n schema:\n type: string\n enum:\n - bw\n - gray\n - rgb\n - rgba\n - 4-bit\n - 8-bit\n description: 'Specifies the color profile for the output GIF images. Acceptable values: bw (1-bit black & white, smallest size, no grayscale or color), gray (8-bit grayscale), rgb (24-bit RGB color, default), rgba (32-bit RGB color with alpha channel for transparency), 4-bit (4-bit indexed color, up to 16 colors, smaller size), or 8-bit (8-bit indexed color, up to 256 colors).'\n - name: webhook_url\n in: query\n required: false\n schema:\n type: string\n description: The URL to which the webhook notification will be sent after the task is completed.\n - name: webhook_failure_notification\n in: query\n required: false\n schema:\n type: boolean\n description: If true, a notification will also be sent by email in case the webhook request fails all the retries. The email notification will be sent to the requesting user or their organization\u2019s admin if part of one.\n - name: X-Webhook-Authorization\n in: header\n required: false\n schema:\n type: string\n description: 'Optional custom header for webhook requests. Format: `Key:Value` (e.g., `Authorization:Bearer token123`). This will be sent as an HTTP header in the webhook call.'\n requestBody:\n description: Multipart form-data body carrying the PDF file to convert. Alternatively, reference an already-uploaded file via the file_id query parameter instead of uploading here.\n required: false\n content:\n multipart/form-data:\n schema:\n $ref: '#/components/schemas/PdfFileUploadRequest'\n responses:\n '200':\n description: PDF converted to GIF successfully\n content:\n application/json:\n schema:\n $ref: '#/components/schemas/PDFResponse'\n examples:\n success:\n summary: Task created\n value:\n taskId: 04a06cd5-158d-4191-a45b-6f58249c599d\n inputIds:\n - 7a9e4b12-f3c8-4d56-b7e1-8c2f9d0a3e6f\n headers:\n X-AF-Credits-Cost:\n $ref: '#/components/headers/X-AF-Credits-Cost'\n '400':\n description: Bad Request \u2014 Missing/invalid parameters or file ID\n content:\n application/json:\n examples:\n MissingFileOrID:\n summary: Missing File or ID\n value:\n timestamp: '2026-07-27T10:51:09.542Z'\n path: /v1.0/pdf/gif\n status: 400\n error: Missing File or ID\n message: Please provide either a file or a file ID.\n InvalidFileID:\n summary: file_id is malformed or does not exist\n value:\n error: Invalid File ID Provided\n message: Please provide a valid file ID\n path: /pdf/gif\n status: 400\n timestamp: '2026-07-27T10:51:11.802Z'\n InvalidImageProfile:\n summary: Invalid Image Profile\n value:\n timestamp: '2026-07-27T10:51:10.081Z'\n path: /v1.0/pdf/gif\n status: 400\n error: Invalid Image Profile\n message: Please provide a valid image profile. Refer to the documentation for valid profiles.\n InvalidImageSmoothing:\n summary: Invalid Image Smoothing\n value:\n timestamp: '2026-07-27T10:51:11.203Z'\n path: /v1.0/pdf/gif\n status: 400\n error: Invalid Image Smoothing\n message: Please provide a valid smoothing option or combination. Refer to the documentation for valid options.\n InvalidImageResolution:\n summary: Invalid Image Resolution\n value:\n timestamp: '2026-07-27T10:51:10.648Z'\n path: /v1.0/pdf/gif\n status: 400\n error: Invalid Image Resolution\n message: Please provide a valid image resolution(dpi). Refer to the documentation for valid resolution values.\n schema:\n $ref: '#/components/schemas/ErrorResponse'\n headers:\n X-AF-Credits-Cost:\n $ref: '#/components/headers/X-AF-Credits-Cost'\n '415':\n description: Unsupported Media Type \u2014 The uploaded file type, or the file type associated with the provided file_id, is not supported for this operation\n content:\n application/json:\n examples:\n UnsupportedFileType:\n summary: Unsupported file type (file uploaded in the request)\n value:\n timestamp: '2026-11-20T11:30:10.008Z'\n path: /v1.0/pdf/gif\n status: 415\n error: Unsupported File Type\n message: The provided file type is not supported. Refer to the documentation for valid file types.\n UnsupportedFileTypeForId:\n summary: Unsupported file type for the provided file ID\n value:\n timestamp: '2026-11-20T11:29:36.193Z'\n path: /v1.0/pdf/gif\n status: 415\n error: Unsupported File Type\n 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.\n schema:\n $ref: '#/components/schemas/ErrorResponse'\n headers:\n X-AF-Credits-Cost:\n $ref: '#/components/headers/X-AF-Credits-Cost'\ncomponents:\n securitySchemes:\n ApiKeyAuthHeader:\n type: apiKey\n in: header\n name: X-apiKey\n description: Pass your API key via the X-apiKey request header.\n ApiKeyAuthQuery:\n type: apiKey\n in: query\n name: apiKey\n description: Pass your API key via the apiKey query parameter.\n schemas:\n PDFResponse:\n type: object\n description: Response containing the task ID and input file IDs for a PDF processing task.\n required:\n - taskId\n properties:\n taskId:\n type: string\n description: Task ID of the requested task, used to check the task status.\n inputIds:\n type: array\n items:\n type: string\n description: File IDs for the input files provided for the task. Not returned when destroy parameter is true.\n PdfFileUploadRequest:\n type: object\n description: Multipart form-data request body containing the PDF file to process.\n required: []\n properties:\n file:\n type: string\n format: binary\n description: Raw PDF file bytes sent as a multipart/form-data field named 'file'. Omit this field entirely and pass file_id in the query string instead to use an already-uploaded file.\n ErrorResponse:\n type: object\n description: Standard error envelope returned by the API on failed requests.\n required:\n - message\n properties:\n error:\n type: string\n description: Short error category or exception type.\n message:\n type: string\n description: Human-readable error message describing the failure.\n path:\n type: string\n description: API endpoint path that produced the error.\n status:\n type: integer\n description: HTTP status code returned with the error.\n timestamp:\n type: string\n format: date-time\n description: Timestamp when the error occurred (ISO 8601).\n headers:\n X-AF-Credits-Cost:\n description: Specifies the number of credits consumed by the current request.\n schema:\n type: integer\nsecurity:\n - ApiKeyAuthHeader: []\n - ApiKeyAuthQuery: []\n",
62917
+ "pdf-unrestrict": "openapi: 3.1.1\ninfo:\n title: PDF Unrestrict API Reference\n version: 1.0.0\n description: Remove all restrictions from a restricted PDF file using the owner password. Returns a task ID for tracking the unrestrict progress.\n contact:\n name: APIFreaks Support\n url: https://apifreaks.com/contact\n email: support@apifreaks.com\nservers:\n - url: https://api.apifreaks.com/v1.0\n description: PDF Unrestrict API Server\npaths:\n /pdf/unrestrict:\n post:\n tags:\n - PDF Security APIs\n summary: Remove permission restrictions from a PDF while keeping it encrypted.\n description: This API removes permission restrictions from a PDF while keeping it encrypted. If you want to remove all security (including encryption), use the `/pdf/decrypt` endpoint instead.\n parameters:\n - name: format\n in: query\n required: false\n schema:\n type: string\n enum:\n - json\n - xml\n default: json\n description: Specifies the desired format for the API response. Choose 'json' for a JSON object or 'xml' for an XML structure.\n - name: file_id\n in: query\n required: false\n schema:\n type: string\n description: The unique ID of a PDF file already uploaded to the API Freaks server. Use this as an alternative to uploading a new file directly.\n - name: destroy\n in: query\n required: false\n schema:\n type: boolean\n description: If set to `true`, the input file(s) will be permanently deleted from the server immediately after the output PDF is generated.\n - name: output\n in: query\n required: false\n schema:\n type: string\n description: The desired name for the output unrestricted PDF file. If not provided, a default name will be assigned.\n - name: file_password\n in: query\n required: true\n schema:\n type: string\n description: The password to unlock the input file. Either the owner password or user password can be provided. The owner password takes precedence. Password Length should be between 6 and 128 characters.\n - name: user_password\n in: query\n required: true\n schema:\n type: string\n description: Sets the user password for the PDF file. Required \u2014 providing only owner_password without user_password is rejected. Password Length should be between 6 and 128 characters.\n - name: owner_password\n in: query\n required: false\n schema:\n type: string\n description: Sets the owner password for the PDF file. If the owner password is not provided, the `user_password` will also be used as the owner password. Password Length should be between 6 and 128 characters.\n - name: webhook_url\n in: query\n required: false\n schema:\n type: string\n description: The URL to which the webhook notification will be sent after the task is completed.\n - name: webhook_failure_notification\n in: query\n required: false\n schema:\n type: boolean\n description: If true, a notification will also be sent by email in case the webhook request fails all the retries. The email notification will be sent to the requesting user or their organization\u2019s admin if part of one.\n - name: X-Webhook-Authorization\n in: header\n required: false\n schema:\n type: string\n description: 'Optional custom header for webhook requests. Format: `Key:Value` (e.g., `Authorization:Bearer token123`). This will be sent as an HTTP header in the webhook call.'\n requestBody:\n description: Multipart form-data body carrying the PDF file to unrestrict. Alternatively, reference an already-uploaded file via the file_id query parameter instead of uploading here.\n required: false\n content:\n multipart/form-data:\n schema:\n $ref: '#/components/schemas/PdfFileUploadRequest'\n responses:\n '200':\n description: PDF unrestrict successfully\n content:\n application/json:\n schema:\n $ref: '#/components/schemas/PDFResponse'\n examples:\n success:\n summary: Task created\n value:\n taskId: 16cc979a-55b9-476c-bfef-0977314478ec\n inputIds:\n - 9c809ef8-583a-40f1-afe2-424d1d953b69\n headers:\n X-AF-Credits-Cost:\n $ref: '#/components/headers/X-AF-Credits-Cost'\n '400':\n description: Bad Request \u2014 Missing/invalid parameters, file ID, or password\n content:\n application/json:\n examples:\n MissingParams:\n summary: Missing required file_password or user_password parameter\n value:\n error: Invalid Param Exception\n message: please pass correct parameters\n path: /v1.0/pdf/unrestrict\n status: 400\n timestamp: '2026-07-27T10:59:22.835Z'\n MissingFileOrID:\n summary: Neither a file nor a file ID was provided\n value:\n timestamp: '2026-07-27T10:59:23.398Z'\n path: /v1.0/pdf/unrestrict-pdf\n status: 400\n error: Missing File or ID\n message: Please provide either a file or a file ID.\n InvalidID:\n summary: file_id is malformed or does not exist\n value:\n error: Invalid File ID Provided\n message: Please provide a valid file ID\n path: /v1.0/pdf/unrestrict\n status: 400\n timestamp: '2026-07-27T10:59:23.936Z'\n WeakPassword:\n summary: New password does not meet strength requirements\n value:\n timestamp: '2026-07-27T10:59:25.041Z'\n path: /v1.0/pdf/unrestrict-pdf\n status: 400\n error: Weak Password Provided\n message: Please provide a strong password. Refer to the documentation for password requirements.\n schema:\n $ref: '#/components/schemas/ErrorResponse'\n headers:\n X-AF-Credits-Cost:\n $ref: '#/components/headers/X-AF-Credits-Cost'\n '415':\n description: Unsupported Media Type \u2014 The uploaded file type, or the file type associated with the provided file_id, is not supported for this operation\n content:\n application/json:\n examples:\n UnsupportedFileType:\n summary: Unsupported file type (file uploaded in the request)\n value:\n timestamp: '2026-11-20T11:30:02.110Z'\n path: /v1.0/pdf/unrestrict-pdf\n status: 415\n error: Unsupported File Type\n message: The provided file type is not supported. Refer to the documentation for valid file types.\n UnsupportedFileTypeForId:\n summary: Unsupported file type for the provided file ID\n value:\n timestamp: '2026-11-20T11:29:30.986Z'\n path: /v1.0/pdf/unrestrict-pdf\n status: 415\n error: Unsupported File Type\n 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.\n schema:\n $ref: '#/components/schemas/ErrorResponse'\n headers:\n X-AF-Credits-Cost:\n $ref: '#/components/headers/X-AF-Credits-Cost'\n operationId: unrestrictPdf\ncomponents:\n securitySchemes:\n ApiKeyAuthHeader:\n type: apiKey\n in: header\n name: X-apiKey\n description: Pass your API key via the X-apiKey request header.\n ApiKeyAuthQuery:\n type: apiKey\n in: query\n name: apiKey\n description: Pass your API key via the apiKey query parameter.\n schemas:\n PDFResponse:\n type: object\n description: Response containing the task ID and input file IDs for a PDF processing task.\n required:\n - taskId\n properties:\n taskId:\n type: string\n description: Task ID of the requested task, used to check the task status.\n inputIds:\n type: array\n items:\n type: string\n description: File IDs for the input files provided for the task. Not returned when destroy parameter is true.\n PdfFileUploadRequest:\n type: object\n description: Multipart form-data request body containing the PDF file to process.\n required: []\n properties:\n file:\n type: string\n format: binary\n description: Raw PDF file bytes sent as a multipart/form-data field named 'file'. Omit this field entirely and pass file_id in the query string instead to use an already-uploaded file.\n ErrorResponse:\n type: object\n description: Standard error envelope returned by the API on failed requests.\n required:\n - message\n properties:\n error:\n type: string\n description: Short error category or exception type.\n message:\n type: string\n description: Human-readable error message describing the failure.\n path:\n type: string\n description: API endpoint path that produced the error.\n status:\n type: integer\n description: HTTP status code returned with the error.\n timestamp:\n type: string\n format: date-time\n description: Timestamp when the error occurred (ISO 8601).\n headers:\n X-AF-Credits-Cost:\n description: Specifies the number of credits consumed by the current request.\n schema:\n type: integer\nsecurity:\n - ApiKeyAuthHeader: []\n - ApiKeyAuthQuery: []\n",
62918
+ "rotate-pdf-pages": "openapi: 3.1.1\ninfo:\n title: PDF Rotate API - Instantly Change Page Orientation\n version: 1.0.0\n description: Rotate pages in a PDF file by 90, 180, or 270 degrees. Supports individual page rotation or batch rotation. Returns a task ID.\n contact:\n name: APIFreaks Support\n url: https://apifreaks.com/contact\n email: support@apifreaks.com\nservers:\n - url: https://api.apifreaks.com/v1.0\n description: PDF Rotate API Server\npaths:\n /pdf/rotate:\n post:\n tags:\n - PDF Operations APIs\n summary: Rotate pages in a PDF\n description: This API rotates pages of a PDF by a specified angle (in multiples of 90 degrees).\n parameters:\n - name: format\n in: query\n required: false\n schema:\n type: string\n enum:\n - json\n - xml\n default: json\n description: Specifies the desired format for the API response. Choose 'json' for a JSON object or 'xml' for an XML structure.\n - name: file_id\n in: query\n required: false\n schema:\n type: string\n description: The unique ID of a PDF file already uploaded to the API Freaks server. Use this as an alternative to uploading a new file directly.\n - name: destroy\n in: query\n required: false\n schema:\n type: boolean\n description: If set to `true`, the input file(s) will be permanently deleted from the server immediately after the output PDF is generated.\n - name: output\n in: query\n required: false\n schema:\n type: string\n description: The desired name for the output PDF file after rotation. If not provided, a default name will be assigned.\n - name: pages\n in: query\n required: false\n schema:\n type: string\n description: 'Specifies which pages to rotate. Accepts individual page numbers (e.g., ''1,7'') and/or ascending page ranges (e.g., ''3-5''). Use commas to separate entries and hyphens for ranges. Reverse ranges (e.g., ''5-3'') are not allowed. Alternatively, provide only one of the following keywords: ''even'' (rotate all even-numbered pages), ''odd'' (rotate all odd-numbered pages), ''last'' (rotate only the last page), or ''all'' (rotate all pages). Examples: ''1,3-5'', ''odd'', ''all''. Mixing special keywords with specific pages/ranges is not allowed.'\n - name: rotate\n in: query\n required: true\n schema:\n type: integer\n description: 'The angle in degrees to rotate the selected pages. Must be one of the following values: 0, 90, 180, 270, -90, -180, or -270. All rotations are applied clockwise.'\n - name: webhook_url\n in: query\n required: false\n schema:\n type: string\n description: The URL to which the webhook notification will be sent after the task is completed.\n - name: webhook_failure_notification\n in: query\n required: false\n schema:\n type: boolean\n description: If true, a notification will also be sent by email in case the webhook request fails all the retries. The email notification will be sent to the requesting user or their organization\u2019s admin if part of one.\n - name: X-Webhook-Authorization\n in: header\n required: false\n schema:\n type: string\n description: 'Optional custom header for webhook requests. Format: `Key:Value` (e.g., `Authorization:Bearer token123`). This will be sent as an HTTP header in the webhook call.'\n requestBody:\n description: Multipart form-data body carrying the PDF file to rotate. Alternatively, reference an already-uploaded file via the file_id query parameter instead of uploading here.\n required: false\n content:\n multipart/form-data:\n schema:\n $ref: '#/components/schemas/PdfFileUploadRequest'\n responses:\n '200':\n description: Rotate task created successfully. Malformed or out-of-range page specifications are not rejected synchronously \u2014 the task is created, then fails asynchronously; poll the task status endpoint and check for status \"failed\" with an error/message pair.\n content:\n application/json:\n schema:\n $ref: '#/components/schemas/PDFResponse'\n examples:\n success:\n summary: Task created\n value:\n taskId: b59d27fa-9865-4ad8-8e7c-818eb263892b\n inputIds:\n - 0fb39c16-db08-4ac8-bb5f-51656f934aaa\n headers:\n X-AF-Credits-Cost:\n $ref: '#/components/headers/X-AF-Credits-Cost'\n '400':\n description: Bad Request \u2014 Missing/invalid parameters or file ID\n content:\n application/json:\n examples:\n MissingRotate:\n summary: Missing required rotate parameter\n value:\n error: Invalid Param Exception\n message: please pass correct parameters\n path: /v1.0/pdf/rotate\n status: 400\n timestamp: '2026-07-27T10:54:37.098Z'\n InvalidRotation:\n summary: rotate value is not a supported angle\n value:\n timestamp: '2026-07-27T10:54:37.663Z'\n path: /v1.0/pdf/rotate\n status: 400\n error: Invalid Rotation Angle\n message: Please provide a valid rotation angle. Refer to the documentation for valid rotation angles.\n InvalidID:\n summary: file_id is malformed or does not exist\n value:\n error: Invalid File ID Provided\n message: Please provide a valid file ID\n path: /v1.0/pdf/rotate\n status: 400\n timestamp: '2026-07-27T10:54:38.253Z'\n schema:\n $ref: '#/components/schemas/ErrorResponse'\n headers:\n X-AF-Credits-Cost:\n $ref: '#/components/headers/X-AF-Credits-Cost'\n '415':\n description: Unsupported Media Type \u2014 The uploaded file type, or the file type associated with the provided file_id, is not supported for this operation\n content:\n application/json:\n examples:\n UnsupportedFileType:\n summary: Unsupported file type (file uploaded in the request)\n value:\n timestamp: '2026-11-20T11:29:55.932Z'\n path: /v1.0/pdf/rotate\n status: 415\n error: Unsupported File Type\n message: The provided file type is not supported. Refer to the documentation for valid file types.\n UnsupportedFileTypeForId:\n summary: Unsupported file type for the provided file ID\n value:\n timestamp: '2026-11-20T11:29:24.762Z'\n path: /v1.0/pdf/rotate\n status: 415\n error: Unsupported File Type\n 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.\n schema:\n $ref: '#/components/schemas/ErrorResponse'\n headers:\n X-AF-Credits-Cost:\n $ref: '#/components/headers/X-AF-Credits-Cost'\n operationId: rotatePdfPages\ncomponents:\n securitySchemes:\n ApiKeyAuthHeader:\n type: apiKey\n in: header\n name: X-apiKey\n description: Pass your API key via the X-apiKey request header.\n ApiKeyAuthQuery:\n type: apiKey\n in: query\n name: apiKey\n description: Pass your API key via the apiKey query parameter.\n schemas:\n PDFResponse:\n type: object\n description: Response containing the task ID and input file IDs for a PDF processing task.\n required:\n - taskId\n properties:\n taskId:\n type: string\n description: Task ID of the requested task, used to check the task status.\n inputIds:\n type: array\n items:\n type: string\n description: File IDs for the input files provided for the task. Not returned when destroy parameter is true.\n PdfFileUploadRequest:\n type: object\n description: Multipart form-data request body containing the PDF file to process.\n required: []\n properties:\n file:\n type: string\n format: binary\n description: Raw PDF file bytes sent as a multipart/form-data field named 'file'. Omit this field entirely and pass file_id in the query string instead to use an already-uploaded file.\n ErrorResponse:\n type: object\n description: Standard error envelope returned by the API on failed requests.\n required:\n - message\n properties:\n error:\n type: string\n description: Short error category or exception type.\n message:\n type: string\n description: Human-readable error message describing the failure.\n path:\n type: string\n description: API endpoint path that produced the error.\n status:\n type: integer\n description: HTTP status code returned with the error.\n timestamp:\n type: string\n format: date-time\n description: Timestamp when the error occurred (ISO 8601).\n headers:\n X-AF-Credits-Cost:\n description: Specifies the number of credits consumed by the current request.\n schema:\n type: integer\nsecurity:\n - ApiKeyAuthHeader: []\n - ApiKeyAuthQuery: []\n",
62853
62919
  "split-pdf": `openapi: 3.1.1
62854
62920
  info:
62855
62921
  title: PDF Split API Reference
@@ -62988,18 +63054,26 @@ paths:
62988
63054
  X-AF-Credits-Cost:
62989
63055
  $ref: '#/components/headers/X-AF-Credits-Cost'
62990
63056
  '415':
62991
- description: Unsupported Media Type \u2014 File type not supported
63057
+ description: Unsupported Media Type \u2014 The uploaded file type, or the file type associated with the provided file_id, is not supported for this operation
62992
63058
  content:
62993
63059
  application/json:
62994
63060
  examples:
62995
63061
  UnsupportedFileType:
62996
- summary: Uploaded file is not a supported type
63062
+ summary: Unsupported file type (file uploaded in the request)
62997
63063
  value:
62998
- timestamp: '2026-07-27T10:54:01.347Z'
63064
+ timestamp: '2026-11-20T11:29:55.376Z'
62999
63065
  path: /v1.0/pdf/split-pdf
63000
63066
  status: 415
63001
63067
  error: Unsupported File Type
63002
63068
  message: The provided file type is not supported. Refer to the documentation for valid file types.
63069
+ UnsupportedFileTypeForId:
63070
+ summary: Unsupported file type for the provided file ID
63071
+ value:
63072
+ timestamp: '2026-11-20T11:29:24.156Z'
63073
+ path: /v1.0/pdf/split-pdf
63074
+ status: 415
63075
+ error: Unsupported File Type
63076
+ 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.
63003
63077
  schema:
63004
63078
  $ref: '#/components/schemas/ErrorResponse'
63005
63079
  headers:
@@ -63589,8 +63663,8 @@ security:
63589
63663
  - ApiKeyAuthHeader: []
63590
63664
  - ApiKeyAuthQuery: []
63591
63665
  `,
63592
- "bulk-screenshot": "openapi: 3.1.1\ninfo:\n title: Bulk Screenshot API - Capture Up to 50 URLs in a Single Request\n version: 1.0.0\n description: 'Capture screenshots of multiple websites in a single POST request. Accepts up to 50 URLs per request with per-URL options for file type, viewport size, blocking, caching, and scrolling capture. Returns a status indicator, metadata with success/failure counts, and an array of per-URL results \u2014 each containing either screenshot data or an error message. Also supports stealth mode, GPU rendering, classic and premium proxies with country selection, timezone emulation, text captcha solving, and PDF options for paper size, orientation, page range, media type and backgrounds. A simple screenshot costs 50 credits. Options add credits on top: scrolling or video +20, classic proxy +20, premium proxy +200 (used instead of a classic proxy), GPU rendering +20, captcha solver +20. Stealth, timezone and the other options add no credits.'\n contact:\n name: APIFreaks Support\n url: https://apifreaks.com/contact\n email: support@apifreaks.com\nservers:\n - url: https://api.apifreaks.com/v1.0\n description: Bulk Screenshot API Server\npaths:\n /screenshot:\n post:\n tags:\n - Screenshot APIs\n summary: Capture screenshots of multiple websites in a single request.\n description: |-\n Our Bulk Screenshot API allows you to capture screenshots of multiple webpages simultaneously, saving you time and effort. Instead of manually capturing each page one by one, you can batch process URLs and receive high-quality screenshots in the format you choose.\n Maximum `50 URLs` per request.\n operationId: bulkScreenshot\n parameters:\n - name: format\n in: query\n required: false\n schema:\n type: string\n enum:\n - json\n default: json\n requestBody:\n required: true\n content:\n application/json:\n schema:\n $ref: '#/components/schemas/BulkScreenshotRequest'\n examples:\n typicalRequest:\n summary: Typical bulk screenshot request\n value:\n urls:\n - url: https://example.com\n file_type: PNG\n - url: https://github.com\n file_type: JPEG\n full_page: true\n gifScrolling:\n summary: Scrolling GIF capture\n value:\n urls:\n - url: https://whoisfreaks.com/\n file_type: gif\n width: 3840\n height: 2160\n fresh: true\n image_quality: 100\n scrolling_screenshot: true\n duration: 10\n responses:\n '200':\n description: Successful response. Each item in `results` corresponds to one requested URL, in the same order; a URL that fails validation or capture returns an error object in its `url` field instead of screenshot data, while `status` stays \"fulfilled\" and `error_message` stays null.\n content:\n application/json:\n schema:\n $ref: '#/components/schemas/BulkScreenshotResponse'\n examples:\n success:\n summary: Successful response with mixed results\n value:\n status: success\n meta_data:\n total_urls: 2\n successful_urls: 1\n failed_urls: 1\n results:\n - url:\n screenshot: https://s3.eu-central-2.wasabisys.com/w.storage.apifreaks.com/example_com_6d83e1744f01.png\n url: https://example.com\n created_at: '2026-07-27T10:18:31.378Z'\n file_type: PNG\n output: json\n ttl: '2026-08-26T10:18:28.034Z'\n sizes: null\n status: fulfilled\n error_message: null\n - url:\n timestamp: '2026-07-27T10:18:28.872Z'\n status: 400\n error: invalid_url\n message: Your URL is incorrect\n path: /v3/screenshot\n status: fulfilled\n error_message: null\n perUrlCaptureErrors:\n summary: Each URL in the batch fails with a different per-URL capture error. The same error codes the single Website Screenshot API can return for a target URL show up here inside each item's `url` field, while the overall response stays 200/success.\n value:\n status: success\n meta_data:\n total_urls: 22\n successful_urls: 0\n failed_urls: 22\n results:\n - url:\n timestamp: '2026-07-27T10:19:12.100Z'\n status: 310\n error: too_many_redirects\n message: The target URL redirected too many times (redirect loop), so a final page could not be reached.\n path: /v3/screenshot\n status: fulfilled\n error_message: null\n - url:\n timestamp: '2026-07-27T10:19:12.200Z'\n status: 400\n error: url_required\n message: The url parameter is required but was not provided.\n path: /v3/screenshot\n status: fulfilled\n error_message: null\n - url:\n timestamp: '2026-07-27T10:19:12.300Z'\n status: 400\n error: invalid_file_type\n message: The file_type value is not a supported output format.\n path: /v3/screenshot\n status: fulfilled\n error_message: null\n - url:\n timestamp: '2026-07-27T10:19:12.400Z'\n status: 400\n error: invalid_proxy\n message: The proxy value is malformed or invalid.\n path: /v3/screenshot\n status: fulfilled\n error_message: null\n - url:\n timestamp: '2026-07-27T10:19:12.500Z'\n status: 400\n error: Invalid_geolocation_parameter\n message: The latitude or longitude value is outside the allowed range.\n path: /v3/screenshot\n status: fulfilled\n error_message: null\n - url:\n timestamp: '2026-07-27T10:19:12.600Z'\n status: 400\n error: invalid_css_url\n message: The css_url value is not a valid URL.\n path: /v3/screenshot\n status: fulfilled\n error_message: null\n - url:\n timestamp: '2026-07-27T10:19:12.700Z'\n status: 400\n error: invalid_js_url\n message: The js_url value is not a valid URL.\n path: /v3/screenshot\n status: fulfilled\n error_message: null\n - url:\n timestamp: '2026-07-27T10:19:12.800Z'\n status: 400\n error: invalid_js_code\n message: The JavaScript passed in js is invalid and could not be executed.\n path: /v3/screenshot\n status: fulfilled\n error_message: null\n - url:\n timestamp: '2026-07-27T10:19:12.900Z'\n status: 400\n error: invalid_clipped_area\n message: The clip[x], clip[y], clip[width] or clip[height] values are invalid.\n path: /v3/screenshot\n status: fulfilled\n error_message: null\n - url:\n timestamp: '2026-07-27T10:19:13.000Z'\n status: 400\n error: invalid_input_syntax\n message: A parameter that expects an integer received an invalid value.\n path: /v3/screenshot\n status: fulfilled\n error_message: null\n - url:\n timestamp: '2026-07-27T10:19:13.100Z'\n status: 400\n error: ERR_SSL_PROTOCOL_ERROR\n message: A secure connection could not be established because of an SSL certificate problem on the target site.\n path: /v3/screenshot\n status: fulfilled\n error_message: null\n - url:\n timestamp: '2026-07-27T10:19:13.200Z'\n status: 400\n error: ERR_SSL_UNRECOGNIZED_NAME_ALERT\n message: The SSL certificate does not match the domain. The site may be down or may have moved.\n path: /v3/screenshot\n status: fulfilled\n error_message: null\n - url:\n timestamp: '2026-07-27T10:19:13.300Z'\n status: 400\n error: feature_not_supported\n message: HTML, Markdown or text extraction is not supported.\n path: /v3/screenshot\n status: fulfilled\n error_message: null\n - url:\n timestamp: '2026-07-27T10:19:13.400Z'\n status: 400\n error: invalid_scrolling_file_type\n message: PNG, JPG and WEBP are not supported for scrolling capture. Use a video format such as MP4, WEBM or GIF.\n path: /v3/screenshot\n status: fulfilled\n error_message: null\n - url:\n timestamp: '2026-07-27T10:19:13.500Z'\n status: 400\n error: request_aborted\n message: The request was aborted before it completed, for example due to a timeout or cancellation.\n path: /v3/screenshot\n status: fulfilled\n error_message: null\n - url:\n timestamp: '2026-07-27T10:19:20.100Z'\n status: 407\n error: network_connection_failed\n message: A tunnel connection to the target could not be established. Check the URL and proxy setting.\n path: /v3/screenshot\n status: fulfilled\n error_message: null\n - url:\n timestamp: '2026-07-27T10:19:20.200Z'\n status: 407\n error: ERR_TUNNEL_CONNECTION_FAILED\n message: A tunnel to the target failed. Verify the URL and proxy settings.\n path: /v3/screenshot\n status: fulfilled\n error_message: null\n - url:\n timestamp: '2026-07-27T10:19:30.100Z'\n status: 444\n error: ERR_CONNECTION_CLOSED\n message: The target site unexpectedly closed the connection.\n path: /v3/screenshot\n status: fulfilled\n error_message: null\n - url:\n timestamp: '2026-07-27T10:19:30.200Z'\n status: 444\n error: ERR_EMPTY_RESPONSE\n message: The target server closed the connection without returning any data.\n path: /v3/screenshot\n status: fulfilled\n error_message: null\n - url:\n timestamp: '2026-07-27T10:19:31.100Z'\n status: 495\n error: ssl_version_or_cipher_mismatch\n message: The browser and the target website have incompatible SSL/TLS versions or ciphers.\n path: /v3/screenshot\n status: fulfilled\n error_message: null\n - url:\n timestamp: '2026-07-27T10:19:32.100Z'\n status: 503\n error: temporary_unavailable\n message: The request could not be completed due to temporary unavailability, such as a closed browser. Retry the request.\n path: /v3/screenshot\n status: fulfilled\n error_message: null\n - url:\n timestamp: '2026-07-27T10:19:32.200Z'\n status: 503\n error: ERR_SOCKET_NOT_CONNECTED\n message: The target page may be temporarily down or may have moved permanently.\n path: /v3/screenshot\n status: fulfilled\n error_message: null\n scrollingGif:\n summary: Scrolling GIF capture\n value:\n status: success\n meta_data:\n total_urls: 1\n successful_urls: 1\n failed_urls: 0\n results:\n - url:\n screenshot: https://s3.eu-central-2.wasabisys.com/w.storage.apifreaks.com/whoisfreaks_com__a34071f0e507.gif\n url: https://whoisfreaks.com/\n created_at: '2026-06-15T17:59:10.306Z'\n file_type: gif\n width: 3840\n height: 2160\n fresh: true\n image_quality: 100\n scrolling_screenshot: true\n duration: 10\n output: json\n ttl: '2026-07-15T17:58:43.853Z'\n sizes: null\n status: fulfilled\n error_message: null\n headers:\n X-AF-Credits-Cost:\n $ref: '#/components/headers/X-AF-Credits-Cost'\n X-Concurrent-Threads:\n $ref: '#/components/headers/X-Concurrent-Threads'\n X-Concurrent-Threads-Active:\n $ref: '#/components/headers/X-Concurrent-Threads-Active'\n '400':\n description: Invalid request body\n content:\n application/json:\n examples:\n InvalidBody:\n summary: Invalid request body\n value:\n error: Invalid request body Exception\n message: Please provide data in required format in request body\n path: /v1.0/screenshot\n status: 400\n timestamp: '2026-07-27T10:18:42.036Z'\n schema:\n $ref: '#/components/schemas/ErrorResponse'\n headers:\n X-AF-Credits-Cost:\n $ref: '#/components/headers/X-AF-Credits-Cost'\n X-Concurrent-Threads:\n $ref: '#/components/headers/X-Concurrent-Threads'\n X-Concurrent-Threads-Active:\n $ref: '#/components/headers/X-Concurrent-Threads-Active'\n '401':\n description: Unauthorized\n content:\n application/json:\n examples:\n '401':\n summary: Unauthorized\n value:\n error: API Access Exception\n message: 'Provided API key is invalid. [For Technical Support: support@apifreaks.com]'\n path: /v1.0/screenshot\n status: 401\n timestamp: '2026-07-27T10:18:57.172Z'\n schema:\n $ref: '#/components/schemas/ErrorResponse'\n headers:\n X-AF-Credits-Cost:\n $ref: '#/components/headers/X-AF-Credits-Cost'\n X-Concurrent-Threads:\n $ref: '#/components/headers/X-Concurrent-Threads'\n X-Concurrent-Threads-Active:\n $ref: '#/components/headers/X-Concurrent-Threads-Active'\n '413':\n description: Payload too large\n content:\n application/json:\n examples:\n PayloadTooLarge:\n summary: Payload too large\n value:\n error: Payload too large Exception\n message: Maximum request body size limit exceeded\n path: /v1.0/screenshot\n status: 413\n timestamp: '2026-07-27T10:18:57.172Z'\n schema:\n $ref: '#/components/schemas/ErrorResponse'\n headers:\n X-AF-Credits-Cost:\n $ref: '#/components/headers/X-AF-Credits-Cost'\n X-Concurrent-Threads:\n $ref: '#/components/headers/X-Concurrent-Threads'\n X-Concurrent-Threads-Active:\n $ref: '#/components/headers/X-Concurrent-Threads-Active'\n '500':\n description: Internal Server Error\n content:\n application/json:\n examples:\n '500':\n summary: Internal server error\n value:\n error: internal_server_error\n message: An internal server error occured while processing the request. Please try again or contact support if the issue persists.\n path: /v1.0/screenshot\n status: 500\n timestamp: '2026-07-27T10:18:57.172Z'\n schema:\n $ref: '#/components/schemas/ErrorResponse'\n headers:\n X-AF-Credits-Cost:\n $ref: '#/components/headers/X-AF-Credits-Cost'\n X-Concurrent-Threads:\n $ref: '#/components/headers/X-Concurrent-Threads'\n X-Concurrent-Threads-Active:\n $ref: '#/components/headers/X-Concurrent-Threads-Active'\ncomponents:\n securitySchemes:\n ApiKeyAuthHeader:\n type: apiKey\n in: header\n name: X-apiKey\n description: Pass your API key via the X-apiKey request header.\n ApiKeyAuthQuery:\n type: apiKey\n in: query\n name: apiKey\n description: Pass your API key via the apiKey query parameter.\n schemas:\n BulkScreenshotSuccessItem:\n type: object\n description: Per-URL result entry. The `url` field holds either the screenshot metadata or an error object, depending on whether that specific URL was captured successfully.\n required:\n - status\n - url\n properties:\n status:\n type: string\n description: Processing status of the individual URL. Usually `fulfilled`.\n url:\n description: Screenshot metadata for this URL, or an error object if this specific URL could not be captured.\n oneOf:\n - description: Screenshot metadata with the same structure as the single Website Screenshot API response.\n $ref: '#/components/schemas/BulkScreenshotUrlData'\n - description: Per-item error returned when this specific URL cannot be captured.\n $ref: '#/components/schemas/ErrorResponse'\n error_message:\n type:\n - string\n - 'null'\n description: Error message if processing failed, null if successful.\n BulkScreenshotUrlData:\n type: object\n description: Screenshot result data for a single URL. Contains the same fields as the single Website Screenshot API response.\n required:\n - screenshot\n - url\n - created_at\n properties:\n screenshot:\n type: string\n format: uri\n description: URL of the captured screenshot image file.\n url:\n type: string\n format: uri\n description: The original URL that was captured.\n created_at:\n type: string\n format: date-time\n description: Timestamp when the screenshot was created (ISO 8601 format).\n format:\n type: string\n description: Response format type.\n ttl:\n type: string\n description: Time until the screenshot expires (ISO 8601 format).\n file_type:\n type: string\n description: The file type of the output.\n extracted_html:\n type: string\n format: uri\n description: URL of the extracted HTML from the webpage.\n extracted_text:\n type: string\n format: uri\n description: URL of the extracted plain text from the webpage.\n enable_caching:\n type: boolean\n description: Whether caching was enabled (`true`/`false`).\n omit_background:\n type: boolean\n description: Whether background was removed (`true`/`false`).\n destroy_screenshot:\n type: boolean\n description: Whether the screenshot was destroyed after generation (`true`/`false`).\n fail_on_error:\n type: boolean\n description: Whether the request failed on error (`true`/`false`).\n longitude:\n type: number\n format: float\n description: The longitude value used for geolocation.\n latitude:\n type: number\n format: float\n description: The latitude value used for geolocation.\n proxy:\n type: string\n description: The proxy configuration used for the request.\n no_cookie_banners:\n type: boolean\n description: Whether cookie banners were blocked (`true`/`false`).\n block_ads:\n type: boolean\n description: Whether ads were blocked (`true`/`false`).\n headers:\n type: string\n description: The custom headers that were included in the request.\n cookies:\n type: string\n description: The cookies that were included in the request.\n scroll_to_element:\n type: string\n description: The element that was scrolled to before rendering.\n selector:\n type: string\n description: The element that was selected for rendering.\n blur_selector:\n type: string\n description: The elements that were blurred in the output.\n remove_selector:\n type: string\n description: The elements that were removed from the output.\n css:\n type: string\n description: The custom CSS that was injected into the page.\n css_url:\n type: string\n format: uri\n description: The external CSS URL that was loaded.\n js:\n type: string\n description: The custom JavaScript that was injected.\n js_url:\n type: string\n format: uri\n description: The external JavaScript URL that was loaded.\n user_agent:\n type: string\n description: The User-Agent string that was used.\n accept_languages:\n type: string\n description: The Accept-Language header that was used.\n delay:\n type: integer\n description: The delay duration that was applied in milliseconds.\n thumbnail_width:\n type: integer\n description: The thumbnail width that was used in pixels.\n output:\n type: string\n description: The output type that was used.\n fresh:\n type: boolean\n description: Whether a fresh render was performed (`true`/`false`).\n lazy_load:\n type: boolean\n description: Whether lazy loading was triggered (`true`/`false`).\n full_page:\n type: boolean\n description: Whether full page capture was used (`true`/`false`).\n retina:\n type: boolean\n description: Whether retina capture was used (`true`/`false`).\n height:\n type: integer\n description: The viewport height that was used in pixels.\n width:\n type: integer\n description: The viewport width that was used in pixels.\n custom_html:\n type: string\n description: The custom HTML content that was rendered.\n block_chat_widgets:\n type: boolean\n description: Whether chat widgets were blocked (`true`/`false`).\n block_js:\n type: boolean\n description: Whether JavaScript was blocked (`true`/`false`).\n block_stylesheets:\n type: boolean\n description: Whether stylesheets were blocked (`true`/`false`).\n block_images:\n type: boolean\n description: Whether images were blocked (`true`/`false`).\n block_media:\n type: boolean\n description: Whether media files were blocked (`true`/`false`).\n block_font:\n type: boolean\n description: Whether fonts were blocked (`true`/`false`).\n block_text_track:\n type: boolean\n description: Whether text tracks were blocked (`true`/`false`).\n block_xhr:\n type: boolean\n description: Whether XHR requests were blocked (`true`/`false`).\n block_fetch:\n type: boolean\n description: Whether Fetch API requests were blocked (`true`/`false`).\n block_event_source:\n type: boolean\n description: Whether EventSource connections were blocked (`true`/`false`).\n block_web_socket:\n type: boolean\n description: Whether WebSocket connections were blocked (`true`/`false`).\n block_manifest:\n type: boolean\n description: Whether manifest files were blocked (`true`/`false`).\n block_specific_requests:\n type: string\n description: The specific requests that were blocked.\n adjust_top:\n type: integer\n description: The vertical position that was scrolled to in pixels.\n image_quality:\n type: integer\n description: The image quality level that was applied.\n extract_html:\n type: boolean\n description: Whether HTML content was extracted (`true`/`false`).\n extract_text:\n type: boolean\n description: Whether text content was extracted (`true`/`false`).\n dark_mode:\n type: boolean\n description: Whether dark mode was enabled (`true`/`false`).\n block_tracking:\n type: boolean\n description: Whether tracking scripts were blocked (`true`/`false`).\n wait_for_event:\n type: string\n description: The event that triggered the rendering to start.\n grayscale:\n type: integer\n description: The grayscale level that was applied (0-100).\n clip:\n $ref: '#/components/schemas/ClipRect'\n description: The dimensions of the clipped area that was captured.\n result_file_name:\n type: string\n description: The final filename used for the output file.\n enable_incognito:\n type: boolean\n description: Whether incognito mode was enabled (`true`/`false`).\n timeout:\n type: integer\n description: The actual timeout duration that was applied in milliseconds.\n scrolling_screenshot:\n type: boolean\n description: Whether scrolling screenshot mode was enabled (`true`/`false`).\n multiple_scrolling:\n type: boolean\n description: Whether multiple scrolling captures were performed (`true`/`false`).\n sizes:\n type: array\n items:\n type: string\n description: The dimensions used for each capture in the array.\n extract_markdown:\n type: boolean\n description: Whether markdown extraction was enabled (`true`/`false`).\n get_image_urls:\n type: boolean\n description: Whether image URL extraction was enabled (`true`/`false`).\n scroll_delay:\n type: integer\n description: The delay between scroll steps that was applied in milliseconds.\n selector_to_click:\n type: string\n description: The CSS selector of the element that was clicked before capture.\n click_recursion:\n type: integer\n description: The number of times the selector was clicked.\n video:\n type: boolean\n description: Whether viewport recording mode was enabled (`true`/`false`).\n scroll_speed:\n type: string\n description: Scrolling speed that was used.\n scroll_back:\n type: boolean\n description: Whether scroll back was enabled.\n start_immediately:\n type: boolean\n description: Whether recording started immediately.\n duration:\n type: integer\n description: Duration of scrolling capture in seconds.\n ClipRect:\n type: object\n description: Clipping rectangle dimensions for the captured area.\n required:\n - x\n - 'y'\n - width\n - height\n properties:\n x:\n type: integer\n description: X position of the clip rectangle in pixels.\n 'y':\n type: integer\n description: Y position of the clip rectangle in pixels.\n width:\n type: integer\n description: Width of the clip rectangle in pixels.\n height:\n type: integer\n description: Height of the clip rectangle in pixels.\n BulkScreenshotRequest:\n type: object\n description: Request body for bulk screenshot capture.\n required:\n - urls\n properties:\n urls:\n type: array\n description: Array of URL objects to capture. Maximum 50 items per request.\n maxItems: 50\n items:\n $ref: '#/components/schemas/BulkScreenshotUrlItem'\n BulkScreenshotUrlItem:\n type: object\n description: A single URL entry in a bulk screenshot request with per-URL options.\n required:\n - url\n properties:\n url:\n type: string\n format: uri\n description: URL of the website to be rendered as a screenshot or other format.\n file_type:\n type: string\n enum:\n - PNG\n - JPEG\n - WEBP\n - PDF\n - MP4\n - GIF\n - WEBM\n - mp4\n - gif\n - webm\n description: 'Output format. PNG (lossless, transparency), JPEG (compressed, smaller size), WebP (modern, efficient), PDF (document). For scrolling captures: MP4, GIF, WebM. Scrolling capture formats: WEBM (web-optimized), MP4 (widely compatible, default), GIF (short loops).'\n default: PNG\n image_quality:\n type: integer\n description: Compression level for JPEG output (0-100). Lower = smaller file, higher = better quality. Only applies to JPEG.\n default: 80\n omit_background:\n type: boolean\n description: Replaces simple white/plain backgrounds with transparency for a cut-out effect. Only works with PNG output.\n default: false\n pdf_options:\n type: object\n description: PDF output options. Applies when file_type is PDF.\n properties:\n format:\n type: string\n enum:\n - A0\n - A1\n - A2\n - A3\n - A4\n - A5\n - A6\n - Letter\n - Legal\n - Tabloid\n - Ledger\n description: 'Paper size of the PDF. Applies when file_type is PDF. Without it, width and height are used if set, otherwise the page renders as one long page: A0, A1, A2, A3, A4, A5, A6, Letter, Legal, Tabloid, or Ledger.'\n landscape:\n type: boolean\n description: Renders the PDF in landscape orientation, swapping the width and height of the paper size. Applies when file_type is PDF.\n default: false\n page_range:\n type: string\n description: Pages to keep in the PDF, as start-end, for example 1-3 or 5-5. Pages are rendered first and then trimmed. Has no effect on a single-page PDF. Applies when file_type is PDF.\n media:\n type: string\n enum:\n - print\n - screen\n description: 'CSS media type used to render the PDF: print or screen.'\n print_background:\n type: boolean\n description: Includes background colors and images in the PDF. Applies when file_type is PDF.\n default: false\n result_file_name:\n type: string\n description: 'Custom name for the output file. Helps with organized storage and retrieval. Note: non-unique names may overwrite existing files.'\n ttl:\n type: integer\n description: 'Time in seconds the render stays cached before auto-invalidation. Use higher values for static pages, lower for dynamic content. Default: 2592000 (30 days).'\n default: 2592000\n fresh:\n type: boolean\n description: If `true`, bypasses cache and captures a fresh render. If `false`, returns cached version when available.\n default: true\n enable_caching:\n type: boolean\n description: Stores the render in cache for reuse on subsequent identical requests.\n default: false\n destroy_screenshot:\n type: boolean\n description: If `true`, screenshot/PDF is not stored on server and must be downloaded immediately.\n default: false\n fail_on_error:\n type: boolean\n description: If `true`, returns an error when the target page responds with 4xx or 5xx status.\n default: false\n width:\n type: integer\n description: 'Viewport width in pixels. Simulates device screen sizes. Max: 7680.'\n default: 1680\n height:\n type: integer\n description: 'Viewport height in pixels. Controls how much vertical area is visible. Max: 4320.'\n default: 867\n full_page:\n type: boolean\n description: Captures the entire webpage from top to bottom, including scrollable content outside the viewport. Ideal for long-form pages.\n default: false\n thumbnail_width:\n type: integer\n description: Specifies the width of the thumbnail in pixels. Default value is 0 (meaning no specific value is set, and the screenshot is returned at its original resolution).\n retina:\n type: boolean\n description: Captures at 2x resolution for sharper, high-DPI output. Increases file size.\n default: false\n clip[x]:\n type: integer\n description: 'X coordinate (in pixels) for the top-left corner of the clip area. Default: null.'\n clip[y]:\n type: integer\n description: 'Y coordinate (in pixels) for the top-left corner of the clip area. Default: null.'\n clip[width]:\n type: integer\n description: 'Width of the clip area in pixels. Default: null.'\n clip[height]:\n type: integer\n description: 'Height of the clip area in pixels. Default: null.'\n adjust_top:\n type: integer\n description: Initial vertical scroll position in pixels before capture. Use to position mid-page content in viewport. Not supported for PDF.\n default: 0\n wait_for_event:\n type: string\n enum:\n - load\n - domcontentloaded\n - networkidle\n description: Controls when rendering starts based on page load lifecycle. `load` (all resources), `domcontentloaded` (HTML parsed), `networkidle` (no network activity for 500ms).\n default: load\n delay:\n type: integer\n description: Wait period in milliseconds before capture. Allows animations, API responses, and dynamic elements to finish rendering.\n default: 0\n lazy_load:\n type: boolean\n description: Automatically scrolls the page to trigger lazy-loaded images and components. Ensures complete content capture.\n default: false\n scroll_delay:\n type: integer\n description: Delay in milliseconds between scroll steps when `lazy_load` is enabled. Use higher values for heavy pages.\n default: 500\n timeout:\n type: integer\n description: 'Maximum wait in milliseconds for page load before aborting. Adjust for slow/heavy pages. Default: 100000 (100s).'\n default: 100000\n selector:\n type: string\n description: 'CSS selector to capture a specific element. Only that element is rendered. Falls back to full page if not found. Default: empty.'\n scroll_to_element:\n type: string\n description: 'Scrolls the page to bring the specified CSS selector into view before capture. Ideal for below-the-fold content. Default: empty.'\n selector_to_click:\n type: string\n description: CSS selector for an element to click before capturing the screenshot. Useful for opening dropdowns, modals, or triggering content.\n click_recursion:\n type: integer\n description: Number of times to click the selector (when set via `selector_to_click`).\n default: 1\n blur_selector:\n type: string\n description: 'CSS selectors to blur before capture. Masks sensitive data like emails, payments, or personal info. Multiple selectors supported. Default: empty.'\n remove_selector:\n type: string\n description: 'CSS selectors to remove before capture. Deletes matched elements from DOM. Ideal for cleaning ads, popups, sidebars. Multiple selectors supported. Default: empty.'\n css:\n type: string\n description: Allows injecting custom CSS code into the page before rendering. Pass the CSS code directly as a string.\n css_url:\n type: string\n description: Allows loading external CSS into the page. Provide a URL pointing to the CSS file.\n js:\n type: string\n description: Allows injecting custom JavaScript code into the page before rendering. Pass the JavaScript code directly as a string.\n js_url:\n type: string\n description: Allows loading external JavaScript into the page. Provide a URL pointing to the script file.\n custom_html:\n type: string\n description: Custom HTML to render instead of loading a URL. Overrides the url option. Use for capturing specific HTML structures or dynamic content.\n markdown:\n type: string\n description: Markdown to render instead of loading a URL. Works like custom_html, so you can capture a README or notes without hosting a page.\n user_agent:\n type: string\n description: Custom User-Agent string sent in the request headers.\n accept_languages:\n type: string\n description: Sets the accepted languages for the HTTP request. This is sent as the Accept-Language header.\n default: en-US,en;q=0.8\n dark_mode:\n type: boolean\n description: 'When set to `true`, websites that support prefers-color-scheme: dark will render in dark mode.'\n default: false\n grayscale:\n type: integer\n description: Applies a grayscale filter to the screenshot. Requires a value from 0 (no effect) to 100 (fully grayscale).\n default: 0\n enable_incognito:\n type: boolean\n description: Enables private/incognito browsing. Each render starts with a clean slate - no cookies, cache, or session data persisted.\n default: false\n headers:\n type: string\n description: Custom HTTP headers to include as key=value pairs. Use a semicolon to separate multiple headers (e.g., `key1=value1;key2=value2`).\n cookies:\n type: string\n description: 'Cookies to include in the request before rendering. Supports single or multiple cookies. Example: `cookie=value; otherCookie=otherValue;`.'\n longitude:\n type: number\n format: float\n description: 'Specify longitude for the browser Geolocation API. Provide a numeric value. Default: null (not set).'\n latitude:\n type: number\n format: float\n description: 'Specify latitude for the browser Geolocation API. Provide a numeric value. Default: null (not set).'\n timezone:\n type: string\n description: IANA timezone the browser uses while rendering, such as Asia/Karachi or Europe/London. Useful for clocks and localized dates.\n block_ads:\n type: boolean\n description: Blocks requests to known ad networks for cleaner, distraction-free screenshots.\n default: false\n block_chat_widgets:\n type: boolean\n description: Blocks live chat popups, support bubbles, and messaging interfaces.\n default: false\n block_tracking:\n type: boolean\n description: Blocks tracking scripts and analytics services for cleaner, privacy-oriented renders.\n default: false\n no_cookie_banners:\n type: boolean\n description: Hides or blocks cookie consent banners and popups before capture.\n default: false\n block_js:\n type: boolean\n description: Disables all JavaScript execution. Renders a static version of the page. Speeds up capture but may break dynamic content.\n default: false\n block_stylesheets:\n type: boolean\n description: Blocks all stylesheets - page renders as raw HTML without visual formatting.\n default: false\n block_images:\n type: boolean\n description: Blocks all image resources (jpg, png, gif, webp, svg, etc.) for faster rendering.\n default: false\n block_media:\n type: boolean\n description: Blocks audio and video resources (mp3, mp4, webm, etc.) from loading.\n default: false\n block_font:\n type: boolean\n description: 'Blocks external font files - page falls back to system defaults. Supported: woff, woff2, ttf, otf, eot.'\n default: false\n block_text_track:\n type: boolean\n description: Blocks subtitles and caption overlays from loading.\n default: false\n block_xhr:\n type: boolean\n description: Blocks all XMLHttpRequest (AJAX) calls - prevents dynamic API-driven content.\n default: false\n block_fetch:\n type: boolean\n description: Blocks all Fetch API requests - stops async data loading.\n default: false\n block_event_source:\n type: boolean\n description: Blocks EventSource (SSE) connections - prevents real-time data streams.\n default: false\n block_web_socket:\n type: boolean\n description: Blocks WebSocket connections - prevents real-time bidirectional communication.\n default: false\n block_manifest:\n type: boolean\n description: Blocks manifest files (.json, .webmanifest) - disables PWA-related functionality.\n default: false\n block_specific_requests:\n type: string\n description: 'Fine-grained blocking of specific URLs or patterns. Separate multiple rules by comma, space, or newline. Default: empty.'\n extract_text:\n type: boolean\n description: Strips all HTML and returns visible text as a .txt file. Ideal for text analysis, indexing, or AI pipelines. Only with output=json.\n default: false\n extract_html:\n type: boolean\n description: Returns rendered HTML as a .html file (includes JS-executed DOM). Only available with output=json.\n default: false\n extract_markdown:\n type: boolean\n description: Extracts rendered page content as a structured .md (Markdown) file. Preserves headings, lists, links. Only with output=json.\n default: false\n get_image_urls:\n type: boolean\n description: Extracts all image URLs from the rendered DOM and returns them in structured format. Only with output=json.\n default: false\n stealth:\n type: boolean\n description: Makes the browser look like a regular visitor for pages that block automated traffic. No extra credits.\n default: false\n gpu:\n type: boolean\n description: Renders the page with a GPU, including WebGL and canvas content. Adds 20 credits per request.\n default: false\n proxy:\n type: string\n description: 'Allows defining a proxy for the connection. Provide a JSON string with keys: server (include port number), username, and password.'\n classic_proxy:\n type: boolean\n description: Loads the page through a datacenter proxy. Adds 20 credits per request. Ignored when premium_proxy is true or a custom proxy is set.\n default: false\n premium_proxy:\n type: boolean\n description: Loads the page through a residential proxy. Adds 200 credits per request. Used instead of classic_proxy.\n default: false\n country:\n type: string\n 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.'\n solve_captcha:\n type: boolean\n 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.\n default: false\n captcha_image:\n type: string\n description: CSS selector of the captcha picture. Required when solve_captcha is true.\n captcha_input:\n type: string\n description: CSS selector of the box the answer is typed into. Required when solve_captcha is true.\n captcha_submit:\n type: string\n description: CSS selector of the button to click after the answer is typed.\n captcha_error:\n type: string\n description: CSS selector of the message shown for a wrong answer. While it is visible, the solver tries again.\n captcha_refresh:\n type: string\n description: CSS selector of the control that loads a new captcha picture before the next try.\n captcha_retries:\n type: integer\n minimum: 1\n maximum: 5\n default: 3\n description: Number of guesses the solver makes, from 1 to 5.\n ocr_model:\n type: string\n enum:\n - mini-ocr-v1\n - ocr-v1\n default: mini-ocr-v1\n description: 'Recognition model used by the captcha solver: mini-ocr-v1 (default) or ocr-v1.'\n scrolling_screenshot:\n type: boolean\n description: Enables scrolling screenshot mode to capture a video (webm, gif, mp4) of the webpage.\n default: false\n scroll_speed:\n type: string\n enum:\n - normal\n - fast\n - slow\n description: 'Scrolling speed: fast, normal (default), or slow. Affects render time and output pacing.'\n default: normal\n duration:\n type: integer\n description: 'Duration of scrolling action in seconds (0-60). Higher = longer video. Default: null (full page scroll).'\n minimum: 0\n maximum: 60\n scroll_back:\n type: boolean\n description: If `true`, scrolls to bottom then back to top, creating a seamless loop.\n default: false\n start_immediately:\n type: boolean\n description: Starts recording immediately without waiting for full page load.\n default: false\n video:\n type: boolean\n description: Records visible viewport only for a specified duration. Use with `duration` parameter. Ideal for dashboards and animations.\n default: false\n output:\n type: string\n enum:\n - json\n - image\n default: json\n description: Set the output format. `json` returns metadata with a hosted file URL. `image` streams the raw file bytes directly.\n format:\n type: string\n enum:\n - json\n default: json\n description: 'Response format: json (default).'\n BulkScreenshotMetaData:\n type: object\n description: Metadata about the bulk screenshot request results.\n required:\n - total_urls\n - successful_urls\n - failed_urls\n properties:\n total_urls:\n type: integer\n description: Total number of URLs processed in the bulk request.\n successful_urls:\n type: integer\n description: Number of URLs that were successfully processed.\n failed_urls:\n type: integer\n description: Number of URLs that failed to process.\n BulkScreenshotResponse:\n type: object\n description: Bulk screenshot response containing status, metadata, and per-URL results.\n required:\n - status\n - meta_data\n - results\n properties:\n status:\n type: string\n description: API request status indicator. `success` for successful requests.\n meta_data:\n $ref: '#/components/schemas/BulkScreenshotMetaData'\n results:\n $ref: '#/components/schemas/BulkScreenshotResults'\n BulkScreenshotResults:\n type: array\n description: Array of per-URL results, one entry per requested URL, in the same order as the request. Each entry's `url` field holds either screenshot data or an error object.\n items:\n $ref: '#/components/schemas/BulkScreenshotSuccessItem'\n ErrorResponse:\n type: object\n description: Standard error envelope returned by the API on failed requests.\n required:\n - message\n properties:\n error:\n type: string\n description: Short error category or exception type.\n message:\n type: string\n description: Human-readable error message describing the failure.\n path:\n type: string\n description: API endpoint path that produced the error.\n status:\n type: integer\n description: HTTP status code returned with the error.\n timestamp:\n type: string\n format: date-time\n description: Timestamp when the error occurred (ISO 8601).\n headers:\n X-AF-Credits-Cost:\n description: Specifies the number of credits consumed by the current request.\n schema:\n type: integer\n X-Concurrent-Threads:\n description: Specifies the maximum number of concurrent requests allowed.\n schema:\n type: integer\n X-Concurrent-Threads-Active:\n description: Indicates the number of active concurrent requests being processed.\n schema:\n type: integer\nsecurity:\n - ApiKeyAuthHeader: []\n - ApiKeyAuthQuery: []\n",
63593
- "website-screenshot": "openapi: 3.1.1\ninfo:\n title: Website Screenshot API - Full-Page Captures, Scrolling Video & PDF Output\n version: 1.0.0\n description: 'Capture full-page screenshots and videos of websites with advanced options like device simulation, custom code injection, cookie banner blocking, and scrollable content recording. Supports multiple output formats including PNG, JPEG, WebP, PDF, MP4, GIF, and WebM. Returns a screenshot URL, timestamps, format metadata, and all echoed parameters. Returns a 400 error for an invalid or missing url, and a 408 error if the capture exceeds the configured timeout. Also supports stealth mode, GPU rendering, classic and premium proxies with country selection, timezone emulation, text captcha solving, and PDF options for paper size, orientation, page range, media type and backgrounds. A simple screenshot costs 50 credits. Options add credits on top: scrolling or video +20, classic proxy +20, premium proxy +200 (used instead of a classic proxy), GPU rendering +20, captcha solver +20. Stealth, timezone and the other options add no credits.'\n contact:\n name: APIFreaks Support\n url: https://apifreaks.com/contact\n email: support@apifreaks.com\nservers:\n - url: https://api.apifreaks.com/v1.0\n description: Website Screenshot API Server\npaths:\n /screenshot:\n get:\n tags:\n - Screenshot APIs\n summary: Build screenshots the way real users see the web \u2014 not just what fits on the screen.\n description: |\n Capture full-page screenshots and videos of websites with advanced options like device simulation, custom code injection, cookie banner blocking, and scrollable content recording.\n Supports multiple output formats including JSON, image, GIF, MP4, and WebM.\n operationId: websiteScreenshot\n parameters:\n - name: url\n in: query\n required: true\n schema:\n type: string\n description: URL of the website to be rendered as a screenshot or other format.\n - name: output\n in: query\n required: false\n schema:\n type: string\n enum:\n - json\n - image\n default: json\n description: Set the output format. `json` returns metadata with a hosted file URL. `image` streams the raw file bytes directly.\n - name: format\n in: query\n required: false\n schema:\n type: string\n enum:\n - json\n default: json\n description: 'Response format: json (default).'\n - name: file_type\n in: query\n required: false\n schema:\n type: string\n enum:\n - PNG\n - JPEG\n - WEBP\n - PDF\n - MP4\n - GIF\n - WEBM\n - mp4\n - gif\n - webm\n default: PNG\n description: 'Output format. PNG (lossless, transparency), JPEG (compressed, smaller size), WebP (modern, efficient), PDF (document). For scrolling captures: MP4, GIF, WebM. Scrolling capture formats: WEBM (web-optimized), MP4 (widely compatible, default), GIF (short loops).'\n - name: image_quality\n in: query\n required: false\n schema:\n type: integer\n default: 80\n description: Compression level for JPEG output (0-100). Lower = smaller file, higher = better quality. Only applies to JPEG.\n - name: omit_background\n in: query\n required: false\n schema:\n type: boolean\n default: false\n description: Replaces simple white/plain backgrounds with transparency for a cut-out effect. Only works with PNG output.\n - name: pdf_options[format]\n in: query\n required: false\n schema:\n type: string\n enum:\n - A0\n - A1\n - A2\n - A3\n - A4\n - A5\n - A6\n - Letter\n - Legal\n - Tabloid\n - Ledger\n description: 'Paper size of the PDF. Applies when file_type is PDF. Without it, width and height are used if set, otherwise the page renders as one long page: A0, A1, A2, A3, A4, A5, A6, Letter, Legal, Tabloid, or Ledger.'\n - name: pdf_options[landscape]\n in: query\n required: false\n schema:\n type: boolean\n default: false\n description: Renders the PDF in landscape orientation, swapping the width and height of the paper size. Applies when file_type is PDF.\n - name: pdf_options[page_range]\n in: query\n required: false\n schema:\n type: string\n description: Pages to keep in the PDF, as start-end, for example 1-3 or 5-5. Pages are rendered first and then trimmed. Has no effect on a single-page PDF. Applies when file_type is PDF.\n - name: pdf_options[media]\n in: query\n required: false\n schema:\n type: string\n enum:\n - print\n - screen\n description: 'CSS media type used to render the PDF: print or screen.'\n - name: pdf_options[print_background]\n in: query\n required: false\n schema:\n type: boolean\n default: false\n description: Includes background colors and images in the PDF. Applies when file_type is PDF.\n - name: result_file_name\n in: query\n required: false\n schema:\n type: string\n description: 'Custom name for the output file. Helps with organized storage and retrieval. Note: non-unique names may overwrite existing files.'\n - name: ttl\n in: query\n required: false\n schema:\n type: integer\n default: 2592000\n description: 'Time in seconds the render stays cached before auto-invalidation. Use higher values for static pages, lower for dynamic content. Default: 2592000 (30 days).'\n - name: fresh\n in: query\n required: false\n schema:\n type: boolean\n default: true\n description: If `true`, bypasses cache and captures a fresh render. If `false`, returns cached version when available.\n - name: enable_caching\n in: query\n required: false\n schema:\n type: boolean\n default: false\n description: Stores the render in cache for reuse on subsequent identical requests.\n - name: destroy_screenshot\n in: query\n required: false\n schema:\n type: boolean\n default: false\n description: If `true`, screenshot/PDF is not stored on server and must be downloaded immediately.\n - name: fail_on_error\n in: query\n required: false\n schema:\n type: boolean\n default: false\n description: If `true`, returns an error when the target page responds with 4xx or 5xx status.\n - name: width\n in: query\n required: false\n schema:\n type: integer\n default: 1680\n description: 'Viewport width in pixels. Simulates device screen sizes. Max: 7680.'\n - name: height\n in: query\n required: false\n schema:\n type: integer\n default: 867\n description: 'Viewport height in pixels. Controls how much vertical area is visible. Max: 4320.'\n - name: full_page\n in: query\n required: false\n schema:\n type: boolean\n default: false\n description: Captures the entire webpage from top to bottom, including scrollable content outside the viewport. Ideal for long-form pages.\n - name: thumbnail_width\n in: query\n required: false\n schema:\n type: integer\n description: Specifies the width of the thumbnail in pixels. Default value is 0 (meaning no specific value is set, and the screenshot is returned at its original resolution).\n - name: retina\n in: query\n required: false\n schema:\n type: boolean\n default: false\n description: Captures at 2x resolution for sharper, high-DPI output. Increases file size.\n - name: clip[x]\n in: query\n required: false\n schema:\n type: integer\n description: 'X coordinate (in pixels) for the top-left corner of the clip area. Default: null.'\n - name: clip[y]\n in: query\n required: false\n schema:\n type: integer\n description: 'Y coordinate (in pixels) for the top-left corner of the clip area. Default: null.'\n - name: clip[width]\n in: query\n required: false\n schema:\n type: integer\n description: 'Width of the clip area in pixels. Default: null.'\n - name: clip[height]\n in: query\n required: false\n schema:\n type: integer\n description: 'Height of the clip area in pixels. Default: null.'\n - name: adjust_top\n in: query\n required: false\n schema:\n type: integer\n default: 0\n description: Initial vertical scroll position in pixels before capture. Use to position mid-page content in viewport. Not supported for PDF.\n - name: wait_for_event\n in: query\n required: false\n schema:\n type: string\n enum:\n - load\n - domcontentloaded\n - networkidle\n default: load\n description: Controls when rendering starts based on page load lifecycle. `load` (all resources), `domcontentloaded` (HTML parsed), `networkidle` (no network activity for 500ms).\n - name: delay\n in: query\n required: false\n schema:\n type: integer\n default: 0\n description: Wait period in milliseconds before capture. Allows animations, API responses, and dynamic elements to finish rendering.\n - name: lazy_load\n in: query\n required: false\n schema:\n type: boolean\n default: false\n description: Automatically scrolls the page to trigger lazy-loaded images and components. Ensures complete content capture.\n - name: scroll_delay\n in: query\n required: false\n schema:\n type: integer\n default: 500\n description: Delay in milliseconds between scroll steps when `lazy_load` is enabled. Use higher values for heavy pages.\n - name: timeout\n in: query\n required: false\n schema:\n type: integer\n default: 100000\n description: 'Maximum wait in milliseconds for page load before aborting. Adjust for slow/heavy pages. Default: 100000 (100s).'\n - name: selector\n in: query\n required: false\n schema:\n type: string\n description: 'CSS selector to capture a specific element. Only that element is rendered. Falls back to full page if not found. Default: empty.'\n - name: scroll_to_element\n in: query\n required: false\n schema:\n type: string\n description: 'Scrolls the page to bring the specified CSS selector into view before capture. Ideal for below-the-fold content. Default: empty.'\n - name: selector_to_click\n in: query\n required: false\n schema:\n type: string\n description: CSS selector for an element to click before capturing the screenshot. Useful for opening dropdowns, modals, or triggering content.\n - name: click_recursion\n in: query\n required: false\n schema:\n type: integer\n default: 1\n description: Number of times to click the selector (when set via `selector_to_click`).\n - name: blur_selector\n in: query\n required: false\n style: form\n explode: false\n schema:\n type: string\n description: 'CSS selectors to blur before capture. Masks sensitive data like emails, payments, or personal info. Multiple selectors supported. Default: empty.'\n - name: remove_selector\n in: query\n required: false\n style: form\n explode: false\n schema:\n type: string\n description: 'CSS selectors to remove before capture. Deletes matched elements from DOM. Ideal for cleaning ads, popups, sidebars. Multiple selectors supported. Default: empty.'\n - name: css\n in: query\n required: false\n schema:\n type: string\n description: Allows injecting custom CSS code into the page before rendering. Pass the CSS code directly as a string.\n - name: css_url\n in: query\n required: false\n schema:\n type: string\n description: Allows loading external CSS into the page. Provide a URL pointing to the CSS file.\n - name: js\n in: query\n required: false\n schema:\n type: string\n description: Allows injecting custom JavaScript code into the page before rendering. Pass the JavaScript code directly as a string.\n - name: js_url\n in: query\n required: false\n schema:\n type: string\n description: Allows loading external JavaScript into the page. Provide a URL pointing to the script file.\n - name: custom_html\n in: query\n required: false\n schema:\n type: string\n description: Custom HTML to render instead of loading a URL. Overrides the url option. Use for capturing specific HTML structures or dynamic content.\n - name: markdown\n in: query\n required: false\n schema:\n type: string\n description: Markdown to render instead of loading a URL. Works like custom_html, so you can capture a README or notes without hosting a page.\n - name: user_agent\n in: query\n required: false\n schema:\n type: string\n description: Custom User-Agent string sent in the request headers.\n - name: accept_languages\n in: query\n required: false\n schema:\n type: string\n default: en-US,en;q=0.8\n description: Sets the accepted languages for the HTTP request. This is sent as the Accept-Language header.\n - name: dark_mode\n in: query\n required: false\n schema:\n type: boolean\n default: false\n description: 'When set to `true`, websites that support prefers-color-scheme: dark will render in dark mode.'\n - name: grayscale\n in: query\n required: false\n schema:\n type: integer\n default: 0\n description: Applies a grayscale filter to the screenshot. Requires a value from 0 (no effect) to 100 (fully grayscale).\n - name: enable_incognito\n in: query\n required: false\n schema:\n type: boolean\n default: false\n description: Enables private/incognito browsing. Each render starts with a clean slate - no cookies, cache, or session data persisted.\n - name: headers\n in: query\n required: false\n schema:\n type: string\n description: Custom HTTP headers to include as key=value pairs. Use a semicolon to separate multiple headers (e.g., `key1=value1;key2=value2`).\n - name: cookies\n in: query\n required: false\n schema:\n type: string\n description: 'Cookies to include in the request before rendering. Supports single or multiple cookies. Example: `cookie=value; otherCookie=otherValue;`.'\n - name: longitude\n in: query\n required: false\n schema:\n type: number\n description: 'Specify longitude for the browser Geolocation API. Provide a numeric value. Default: null (not set).'\n - name: latitude\n in: query\n required: false\n schema:\n type: number\n description: 'Specify latitude for the browser Geolocation API. Provide a numeric value. Default: null (not set).'\n - name: timezone\n in: query\n required: false\n schema:\n type: string\n description: IANA timezone the browser uses while rendering, such as Asia/Karachi or Europe/London. Useful for clocks and localized dates.\n - name: block_ads\n in: query\n required: false\n schema:\n type: boolean\n default: false\n description: Blocks requests to known ad networks for cleaner, distraction-free screenshots.\n - name: block_chat_widgets\n in: query\n required: false\n schema:\n type: boolean\n default: false\n description: Blocks live chat popups, support bubbles, and messaging interfaces.\n - name: block_tracking\n in: query\n required: false\n schema:\n type: boolean\n default: false\n description: Blocks tracking scripts and analytics services for cleaner, privacy-oriented renders.\n - name: no_cookie_banners\n in: query\n required: false\n schema:\n type: boolean\n default: false\n description: Hides or blocks cookie consent banners and popups before capture.\n - name: block_js\n in: query\n required: false\n schema:\n type: boolean\n default: false\n description: Disables all JavaScript execution. Renders a static version of the page. Speeds up capture but may break dynamic content.\n - name: block_stylesheets\n in: query\n required: false\n schema:\n type: boolean\n default: false\n description: Blocks all stylesheets - page renders as raw HTML without visual formatting.\n - name: block_images\n in: query\n required: false\n schema:\n type: boolean\n default: false\n description: Blocks all image resources (jpg, png, gif, webp, svg, etc.) for faster rendering.\n - name: block_media\n in: query\n required: false\n schema:\n type: boolean\n default: false\n description: Blocks audio and video resources (mp3, mp4, webm, etc.) from loading.\n - name: block_font\n in: query\n required: false\n schema:\n type: boolean\n default: false\n description: 'Blocks external font files - page falls back to system defaults. Supported: woff, woff2, ttf, otf, eot.'\n - name: block_text_track\n in: query\n required: false\n schema:\n type: boolean\n default: false\n description: Blocks subtitles and caption overlays from loading.\n - name: block_xhr\n in: query\n required: false\n schema:\n type: boolean\n default: false\n description: Blocks all XMLHttpRequest (AJAX) calls - prevents dynamic API-driven content.\n - name: block_fetch\n in: query\n required: false\n schema:\n type: boolean\n default: false\n description: Blocks all Fetch API requests - stops async data loading.\n - name: block_event_source\n in: query\n required: false\n schema:\n type: boolean\n default: false\n description: Blocks EventSource (SSE) connections - prevents real-time data streams.\n - name: block_web_socket\n in: query\n required: false\n schema:\n type: boolean\n default: false\n description: Blocks WebSocket connections - prevents real-time bidirectional communication.\n - name: block_manifest\n in: query\n required: false\n schema:\n type: boolean\n default: false\n description: Blocks manifest files (.json, .webmanifest) - disables PWA-related functionality.\n - name: block_specific_requests\n in: query\n required: false\n schema:\n type: string\n description: 'Fine-grained blocking of specific URLs or patterns. Separate multiple rules by comma, space, or newline. Default: empty.'\n - name: extract_text\n in: query\n required: false\n schema:\n type: boolean\n default: false\n description: Strips all HTML and returns visible text as a .txt file. Ideal for text analysis, indexing, or AI pipelines. Only with output=json.\n - name: extract_html\n in: query\n required: false\n schema:\n type: boolean\n default: false\n description: Returns rendered HTML as a .html file (includes JS-executed DOM). Only available with output=json.\n - name: extract_markdown\n in: query\n required: false\n schema:\n type: boolean\n default: false\n description: Extracts rendered page content as a structured .md (Markdown) file. Preserves headings, lists, links. Only with output=json.\n - name: get_image_urls\n in: query\n required: false\n schema:\n type: boolean\n default: false\n description: Extracts all image URLs from the rendered DOM and returns them in structured format. Only with output=json.\n - name: stealth\n in: query\n required: false\n schema:\n type: boolean\n default: false\n description: Makes the browser look like a regular visitor for pages that block automated traffic. No extra credits.\n - name: gpu\n in: query\n required: false\n schema:\n type: boolean\n default: false\n description: Renders the page with a GPU, including WebGL and canvas content. Adds 20 credits per request.\n - name: proxy\n in: query\n required: false\n schema:\n type: string\n description: 'Allows defining a proxy for the connection. Provide a JSON string with keys: server (include port number), username, and password.'\n - name: classic_proxy\n in: query\n required: false\n schema:\n type: boolean\n default: false\n description: Loads the page through a datacenter proxy. Adds 20 credits per request. Ignored when premium_proxy is true or a custom proxy is set.\n - name: premium_proxy\n in: query\n required: false\n schema:\n type: boolean\n default: false\n description: Loads the page through a residential proxy. Adds 200 credits per request. Used instead of classic_proxy.\n - name: country\n in: query\n required: false\n schema:\n type: string\n 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.'\n - name: solve_captcha\n in: query\n required: false\n schema:\n type: boolean\n default: false\n 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.\n - name: captcha_image\n in: query\n required: false\n schema:\n type: string\n description: CSS selector of the captcha picture. Required when solve_captcha is true.\n - name: captcha_input\n in: query\n required: false\n schema:\n type: string\n description: CSS selector of the box the answer is typed into. Required when solve_captcha is true.\n - name: captcha_submit\n in: query\n required: false\n schema:\n type: string\n description: CSS selector of the button to click after the answer is typed.\n - name: captcha_error\n in: query\n required: false\n schema:\n type: string\n description: CSS selector of the message shown for a wrong answer. While it is visible, the solver tries again.\n - name: captcha_refresh\n in: query\n required: false\n schema:\n type: string\n description: CSS selector of the control that loads a new captcha picture before the next try.\n - name: captcha_retries\n in: query\n required: false\n schema:\n type: integer\n minimum: 1\n maximum: 5\n default: 3\n description: Number of guesses the solver makes, from 1 to 5.\n - name: ocr_model\n in: query\n required: false\n schema:\n type: string\n enum:\n - mini-ocr-v1\n - ocr-v1\n default: mini-ocr-v1\n description: 'Recognition model used by the captcha solver: mini-ocr-v1 (default) or ocr-v1.'\n - name: scrolling_screenshot\n in: query\n required: false\n schema:\n type: boolean\n default: false\n description: Enables scrolling screenshot mode to capture a video (webm, gif, mp4) of the webpage.\n - name: video\n in: query\n required: false\n schema:\n type: boolean\n default: false\n description: Records visible viewport only for a specified duration. Use with `duration` parameter. Ideal for dashboards and animations.\n - name: scroll_speed\n in: query\n required: false\n schema:\n type: string\n enum:\n - normal\n - fast\n - slow\n default: normal\n description: 'Scrolling speed: fast, normal (default), or slow. Affects render time and output pacing.'\n - name: scroll_back\n in: query\n required: false\n schema:\n type: boolean\n default: false\n description: If `true`, scrolls to bottom then back to top, creating a seamless loop.\n - name: start_immediately\n in: query\n required: false\n schema:\n type: boolean\n default: false\n description: Starts recording immediately without waiting for full page load.\n - name: multiple_scrolling\n in: query\n required: false\n schema:\n type: boolean\n default: false\n description: Captures multiple scrolling screenshots at different viewport sizes in one request. Requires the `sizes` parameter.\n - name: sizes\n in: query\n required: false\n style: form\n explode: false\n schema:\n type: string\n description: Comma-separated list of screen sizes in the format index:WIDTHw:HEIGHTh, for example 0:1280w:720h,1:390w:844h. Required when `multiple_scrolling` is `true`.\n - name: duration\n in: query\n required: false\n schema:\n type: integer\n minimum: 0\n maximum: 60\n description: 'Duration of scrolling action in seconds (0-60). Higher = longer video. Default: null (full page scroll).'\n responses:\n '200':\n description: Successful PDF response\n content:\n application/pdf:\n schema:\n type: string\n format: binary\n application/json:\n schema:\n $ref: '#/components/schemas/ScreenshotResponse'\n examples:\n success:\n summary: Successful response\n value:\n screenshot: https://s3.eu-central-2.wasabisys.com/w.storage.apifreaks.com/example_com_e56fe7e60d8d.png\n url: https://example.com\n created_at: '2026-07-27T10:19:08.668Z'\n format: json\n ttl: '2026-08-26T10:19:05.486Z'\n headers:\n X-AF-Credits-Cost:\n $ref: '#/components/headers/X-AF-Credits-Cost'\n X-Concurrent-Threads:\n $ref: '#/components/headers/X-Concurrent-Threads'\n X-Concurrent-Threads-Active:\n $ref: '#/components/headers/X-Concurrent-Threads-Active'\n '310':\n description: Too Many Redirects. The target URL redirected too many times for a final page to be reached.\n content:\n application/json:\n examples:\n tooManyRedirects:\n summary: Redirect loop\n value:\n timestamp: '2026-07-27T10:19:12.100Z'\n status: 310\n error: too_many_redirects\n message: The target URL redirected too many times (redirect loop), so a final page could not be reached.\n path: /v3/screenshot\n schema:\n $ref: '#/components/schemas/ErrorResponse'\n headers:\n X-AF-Credits-Cost:\n $ref: '#/components/headers/X-AF-Credits-Cost'\n X-Concurrent-Threads:\n $ref: '#/components/headers/X-Concurrent-Threads'\n X-Concurrent-Threads-Active:\n $ref: '#/components/headers/X-Concurrent-Threads-Active'\n '400':\n description: Bad Request. Missing, invalid, or malformed request parameters, SSL certificate problems on the target site, unsupported output or extraction options, or a request that was aborted before completion.\n content:\n application/json:\n examples:\n InvalidUrl:\n summary: Invalid URL\n value:\n timestamp: '2026-07-27T10:19:11.354Z'\n status: 400\n error: invalid_url\n message: Your URL is incorrect\n path: /v3/screenshot\n missingUrl:\n summary: Missing required url parameter\n value:\n error: Invalid Param Exception\n message: please pass correct parameters\n path: /v1.0/screenshot\n status: 400\n timestamp: '2026-07-27T10:19:11.922Z'\n urlRequired:\n summary: url parameter not provided\n value:\n timestamp: '2026-07-27T10:19:12.200Z'\n status: 400\n error: url_required\n message: The url parameter is required but was not provided.\n path: /v3/screenshot\n invalidFileType:\n summary: Unsupported file_type value\n value:\n timestamp: '2026-07-27T10:19:12.300Z'\n status: 400\n error: invalid_file_type\n message: The file_type value is not a supported output format.\n path: /v3/screenshot\n invalidProxy:\n summary: Malformed proxy value\n value:\n timestamp: '2026-07-27T10:19:12.400Z'\n status: 400\n error: invalid_proxy\n message: The proxy value is malformed or invalid.\n path: /v3/screenshot\n invalidGeolocationParameter:\n summary: Latitude or longitude out of range\n value:\n timestamp: '2026-07-27T10:19:12.500Z'\n status: 400\n error: Invalid_geolocation_parameter\n message: The latitude or longitude value is outside the allowed range.\n path: /v3/screenshot\n invalidCssUrl:\n summary: css_url is not a valid URL\n value:\n timestamp: '2026-07-27T10:19:12.600Z'\n status: 400\n error: invalid_css_url\n message: The css_url value is not a valid URL.\n path: /v3/screenshot\n invalidJsUrl:\n summary: js_url is not a valid URL\n value:\n timestamp: '2026-07-27T10:19:12.700Z'\n status: 400\n error: invalid_js_url\n message: The js_url value is not a valid URL.\n path: /v3/screenshot\n invalidJsCode:\n summary: js code is invalid\n value:\n timestamp: '2026-07-27T10:19:12.800Z'\n status: 400\n error: invalid_js_code\n message: The JavaScript passed in js is invalid and could not be executed.\n path: /v3/screenshot\n invalidClippedArea:\n summary: Invalid clip dimensions\n value:\n timestamp: '2026-07-27T10:19:12.900Z'\n status: 400\n error: invalid_clipped_area\n message: The clip[x], clip[y], clip[width] or clip[height] values are invalid.\n path: /v3/screenshot\n invalidInputSyntax:\n summary: Non-integer value for an integer parameter\n value:\n timestamp: '2026-07-27T10:19:13.000Z'\n status: 400\n error: invalid_input_syntax\n message: A parameter that expects an integer received an invalid value.\n path: /v3/screenshot\n errSslProtocolError:\n summary: SSL certificate problem on the target site\n value:\n timestamp: '2026-07-27T10:19:13.100Z'\n status: 400\n error: ERR_SSL_PROTOCOL_ERROR\n message: A secure connection could not be established because of an SSL certificate problem on the target site.\n path: /v3/screenshot\n errSslUnrecognizedNameAlert:\n summary: SSL certificate does not match the domain\n value:\n timestamp: '2026-07-27T10:19:13.200Z'\n status: 400\n error: ERR_SSL_UNRECOGNIZED_NAME_ALERT\n message: The SSL certificate does not match the domain. The site may be down or may have moved.\n path: /v3/screenshot\n featureNotSupported:\n summary: Extraction feature not supported\n value:\n timestamp: '2026-07-27T10:19:13.300Z'\n status: 400\n error: feature_not_supported\n message: HTML, Markdown or text extraction is not supported.\n path: /v3/screenshot\n invalidScrollingFileType:\n summary: Unsupported file type for scrolling capture\n value:\n timestamp: '2026-07-27T10:19:13.400Z'\n status: 400\n error: invalid_scrolling_file_type\n message: PNG, JPG and WEBP are not supported for scrolling capture. Use a video format such as MP4, WEBM or GIF.\n path: /v3/screenshot\n requestAborted:\n summary: Request aborted before completion\n value:\n timestamp: '2026-07-27T10:19:13.500Z'\n status: 400\n error: request_aborted\n message: The request was aborted before it completed, for example due to a timeout or cancellation.\n path: /v3/screenshot\n errAddressUnreachable:\n summary: Target address unreachable\n value:\n timestamp: '2026-07-27T10:19:12.500Z'\n status: 400\n error: ERR_ADDRESS_UNREACHABLE\n message: Target address is unreachable. Please check the URL or network connectivity.\n path: /v3/screenshot\n schema:\n $ref: '#/components/schemas/ErrorResponse'\n headers:\n X-AF-Credits-Cost:\n $ref: '#/components/headers/X-AF-Credits-Cost'\n X-Concurrent-Threads:\n $ref: '#/components/headers/X-Concurrent-Threads'\n X-Concurrent-Threads-Active:\n $ref: '#/components/headers/X-Concurrent-Threads-Active'\n '407':\n description: Proxy Authentication Required. A tunnel connection to the target could not be established.\n content:\n application/json:\n examples:\n networkConnectionFailed:\n summary: Tunnel connection could not be established\n value:\n timestamp: '2026-07-27T10:19:20.100Z'\n status: 407\n error: network_connection_failed\n message: A tunnel connection to the target could not be established. Check the URL and proxy setting.\n path: /v3/screenshot\n errTunnelConnectionFailed:\n summary: Tunnel connection failed\n value:\n timestamp: '2026-07-27T10:19:20.200Z'\n status: 407\n error: ERR_TUNNEL_CONNECTION_FAILED\n message: A tunnel to the target failed. Verify the URL and proxy settings.\n path: /v3/screenshot\n schema:\n $ref: '#/components/schemas/ErrorResponse'\n headers:\n X-AF-Credits-Cost:\n $ref: '#/components/headers/X-AF-Credits-Cost'\n X-Concurrent-Threads:\n $ref: '#/components/headers/X-Concurrent-Threads'\n X-Concurrent-Threads-Active:\n $ref: '#/components/headers/X-Concurrent-Threads-Active'\n '408':\n description: Request Timeout \u2014 Screenshot capture exceeded the configured timeout\n content:\n application/json:\n examples:\n RequestTimeout:\n summary: Request timed out\n value:\n timestamp: '2026-07-27T10:19:25.676Z'\n status: 408\n error: timeout_error\n message: The request took too long to complete. Please try again later.\n path: /v3/screenshot\n schema:\n $ref: '#/components/schemas/ErrorResponse'\n headers:\n X-AF-Credits-Cost:\n $ref: '#/components/headers/X-AF-Credits-Cost'\n X-Concurrent-Threads:\n $ref: '#/components/headers/X-Concurrent-Threads'\n X-Concurrent-Threads-Active:\n $ref: '#/components/headers/X-Concurrent-Threads-Active'\n '444':\n description: Connection Closed Without Response. The target site closed the connection unexpectedly or returned no data.\n content:\n application/json:\n examples:\n errConnectionClosed:\n summary: Target site closed the connection\n value:\n timestamp: '2026-07-27T10:19:30.100Z'\n status: 444\n error: ERR_CONNECTION_CLOSED\n message: The target site unexpectedly closed the connection.\n path: /v3/screenshot\n errEmptyResponse:\n summary: Target server returned no data\n value:\n timestamp: '2026-07-27T10:19:30.200Z'\n status: 444\n error: ERR_EMPTY_RESPONSE\n message: The target server closed the connection without returning any data.\n path: /v3/screenshot\n schema:\n $ref: '#/components/schemas/ErrorResponse'\n headers:\n X-AF-Credits-Cost:\n $ref: '#/components/headers/X-AF-Credits-Cost'\n X-Concurrent-Threads:\n $ref: '#/components/headers/X-Concurrent-Threads'\n X-Concurrent-Threads-Active:\n $ref: '#/components/headers/X-Concurrent-Threads-Active'\n '495':\n description: SSL Certificate Error. The browser and the target website have incompatible SSL/TLS versions or ciphers.\n content:\n application/json:\n examples:\n sslVersionOrCipherMismatch:\n summary: Incompatible SSL/TLS version or cipher\n value:\n timestamp: '2026-07-27T10:19:31.100Z'\n status: 495\n error: ssl_version_or_cipher_mismatch\n message: The browser and the target website have incompatible SSL/TLS versions or ciphers.\n path: /v3/screenshot\n schema:\n $ref: '#/components/schemas/ErrorResponse'\n headers:\n X-AF-Credits-Cost:\n $ref: '#/components/headers/X-AF-Credits-Cost'\n X-Concurrent-Threads:\n $ref: '#/components/headers/X-Concurrent-Threads'\n X-Concurrent-Threads-Active:\n $ref: '#/components/headers/X-Concurrent-Threads-Active'\n '503':\n description: Service Unavailable. The request could not be completed due to temporary unavailability on the target or capture service.\n content:\n application/json:\n examples:\n temporaryUnavailable:\n summary: Temporarily unavailable, retry the request\n value:\n timestamp: '2026-07-27T10:19:32.100Z'\n status: 503\n error: temporary_unavailable\n message: The request could not be completed due to temporary unavailability, such as a closed browser. Retry the request.\n path: /v3/screenshot\n errSocketNotConnected:\n summary: Target page may be down or moved\n value:\n timestamp: '2026-07-27T10:19:32.200Z'\n status: 503\n error: ERR_SOCKET_NOT_CONNECTED\n message: The target page may be temporarily down or may have moved permanently.\n path: /v3/screenshot\n schema:\n $ref: '#/components/schemas/ErrorResponse'\n headers:\n X-AF-Credits-Cost:\n $ref: '#/components/headers/X-AF-Credits-Cost'\n X-Concurrent-Threads:\n $ref: '#/components/headers/X-Concurrent-Threads'\n X-Concurrent-Threads-Active:\n $ref: '#/components/headers/X-Concurrent-Threads-Active'\ncomponents:\n securitySchemes:\n ApiKeyAuthHeader:\n type: apiKey\n in: header\n name: X-apiKey\n description: Pass your API key via the X-apiKey request header.\n ApiKeyAuthQuery:\n type: apiKey\n in: query\n name: apiKey\n description: Pass your API key via the apiKey query parameter.\n schemas:\n ScreenshotResponse:\n type: object\n description: Website screenshot response containing the screenshot URL and metadata.\n required:\n - screenshot\n - url\n - created_at\n - format\n - ttl\n properties:\n screenshot:\n type: string\n format: uri\n description: URL of the captured screenshot image file.\n url:\n type: string\n format: uri\n description: The original URL that was captured.\n created_at:\n type: string\n format: date-time\n description: Timestamp when the screenshot was created (ISO 8601 format).\n format:\n type: string\n description: Response format type.\n ttl:\n type: string\n description: Time until the screenshot expires (ISO 8601 format).\n file_type:\n type: string\n description: The file type of the output.\n width:\n type: integer\n description: The viewport width that was used in pixels.\n height:\n type: integer\n description: The viewport height that was used in pixels.\n fresh:\n type: boolean\n description: Whether a fresh render was performed (`true`/`false`).\n full_page:\n type: boolean\n description: Whether full page capture was used (`true`/`false`).\n lazy_load:\n type: boolean\n description: Whether lazy loading was triggered (`true`/`false`).\n retina:\n type: boolean\n description: Whether retina capture was used (`true`/`false`).\n dark_mode:\n type: boolean\n description: Whether dark mode was enabled (`true`/`false`).\n enable_caching:\n type: boolean\n description: Whether caching was enabled (`true`/`false`).\n omit_background:\n type: boolean\n description: Whether background was removed (`true`/`false`).\n destroy_screenshot:\n type: boolean\n description: Whether the screenshot was destroyed after generation (`true`/`false`).\n fail_on_error:\n type: boolean\n description: Whether the request failed on error (`true`/`false`).\n block_ads:\n type: boolean\n description: Whether ads were blocked (`true`/`false`).\n no_cookie_banners:\n type: boolean\n description: Whether cookie banners were blocked (`true`/`false`).\n block_chat_widgets:\n type: boolean\n description: Whether chat widgets were blocked (`true`/`false`).\n block_tracking:\n type: boolean\n description: Whether tracking scripts were blocked (`true`/`false`).\n block_js:\n type: boolean\n description: Whether JavaScript was blocked (`true`/`false`).\n block_stylesheets:\n type: boolean\n description: Whether stylesheets were blocked (`true`/`false`).\n block_images:\n type: boolean\n description: Whether images were blocked (`true`/`false`).\n block_media:\n type: boolean\n description: Whether media files were blocked (`true`/`false`).\n block_font:\n type: boolean\n description: Whether fonts were blocked (`true`/`false`).\n block_xhr:\n type: boolean\n description: Whether XHR requests were blocked (`true`/`false`).\n block_fetch:\n type: boolean\n description: Whether Fetch API requests were blocked (`true`/`false`).\n block_web_socket:\n type: boolean\n description: Whether WebSocket connections were blocked (`true`/`false`).\n block_manifest:\n type: boolean\n description: Whether manifest files were blocked (`true`/`false`).\n extract_text:\n type: boolean\n description: Whether text content was extracted (`true`/`false`).\n extract_html:\n type: boolean\n description: Whether HTML content was extracted (`true`/`false`).\n extract_markdown:\n type: boolean\n description: Whether markdown extraction was enabled (`true`/`false`).\n get_image_urls:\n type: boolean\n description: Whether image URL extraction was enabled (`true`/`false`).\n longitude:\n type: number\n format: float\n description: The longitude value used for geolocation.\n latitude:\n type: number\n format: float\n description: The latitude value used for geolocation.\n proxy:\n type: string\n description: The proxy configuration used for the request.\n headers:\n type: string\n description: The custom headers that were included in the request.\n cookies:\n type: string\n description: The cookies that were included in the request.\n scroll_to_element:\n type: string\n description: The element that was scrolled to before rendering.\n selector:\n type: string\n description: The element that was selected for rendering.\n selector_to_click:\n type: string\n description: The CSS selector of the element that was clicked before capture.\n click_recursion:\n type: integer\n description: The number of times the selector was clicked.\n blur_selector:\n type: string\n description: The elements that were blurred in the output.\n remove_selector:\n type: string\n description: The elements that were removed from the output.\n css:\n type: string\n description: The custom CSS that was injected into the page.\n css_url:\n type: string\n format: uri\n description: The external CSS URL that was loaded.\n js:\n type: string\n description: The custom JavaScript that was injected.\n js_url:\n type: string\n format: uri\n description: The external JavaScript URL that was loaded.\n user_agent:\n type: string\n description: The User-Agent string that was used.\n accept_languages:\n type: string\n description: The Accept-Language header that was used.\n delay:\n type: integer\n description: The delay duration that was applied in milliseconds.\n thumbnail_width:\n type: integer\n description: The thumbnail width that was used in pixels.\n output:\n type: string\n description: The output type that was used.\n image_quality:\n type: integer\n description: The image quality level that was applied.\n timeout:\n type: integer\n description: The actual timeout duration that was applied in milliseconds.\n adjust_top:\n type: integer\n description: The vertical position that was scrolled to in pixels.\n wait_for_event:\n type: string\n description: The event that triggered the rendering to start.\n grayscale:\n type: integer\n description: The grayscale level that was applied (0-100).\n scrolling_screenshot:\n type: boolean\n description: Whether scrolling screenshot mode was enabled (`true`/`false`).\n multiple_scrolling:\n type: boolean\n description: Whether multiple scrolling captures were performed (`true`/`false`).\n sizes:\n type: array\n items:\n type: string\n description: The dimensions used for each capture in the array.\n scroll_speed:\n type: string\n description: Scrolling speed that was used.\n scroll_back:\n type: boolean\n description: Whether scroll back was enabled.\n start_immediately:\n type: boolean\n description: Whether recording started immediately.\n duration:\n type: integer\n description: Duration of scrolling capture in seconds.\n result_file_name:\n type: string\n description: The final filename used for the output file.\n enable_incognito:\n type: boolean\n description: Whether incognito mode was enabled (`true`/`false`).\n extracted_html:\n type: string\n description: URL of the extracted HTML from the webpage.\n format: uri\n extracted_text:\n type: string\n description: URL of the extracted plain text from the webpage.\n format: uri\n custom_html:\n type: string\n description: The custom HTML content that was rendered.\n block_text_track:\n type: boolean\n description: Whether text tracks were blocked (`true`/`false`).\n block_event_source:\n type: boolean\n description: Whether EventSource connections were blocked (`true`/`false`).\n block_specific_requests:\n type: string\n description: The specific requests that were blocked.\n clip:\n type: object\n description: The dimensions of the clipped area that was captured.\n properties:\n x:\n type: integer\n 'y':\n type: integer\n width:\n type: integer\n height:\n type: integer\n scroll_delay:\n type: integer\n description: The delay between scroll steps that was applied in milliseconds.\n video:\n type: boolean\n description: Whether viewport recording mode was enabled (`true`/`false`).\n ErrorResponse:\n type: object\n description: Standard error envelope returned by the API on failed requests.\n required:\n - message\n properties:\n error:\n type: string\n description: Short error category or exception type.\n message:\n type: string\n description: Human-readable error message describing the failure.\n path:\n type: string\n description: API endpoint path that produced the error.\n status:\n type: integer\n description: HTTP status code returned with the error.\n timestamp:\n type: string\n format: date-time\n description: Timestamp when the error occurred (ISO 8601).\n headers:\n X-AF-Credits-Cost:\n description: Specifies the number of credits consumed by the current request.\n schema:\n type: integer\n X-Concurrent-Threads:\n description: Specifies the maximum number of concurrent requests allowed.\n schema:\n type: integer\n X-Concurrent-Threads-Active:\n description: Indicates the number of active concurrent requests being processed.\n schema:\n type: integer\nsecurity:\n - ApiKeyAuthHeader: []\n - ApiKeyAuthQuery: []\n",
63666
+ "bulk-screenshot": "openapi: 3.1.1\ninfo:\n title: Bulk Screenshot API - Capture Up to 50 URLs in a Single Request\n version: 1.0.0\n description: 'Capture screenshots of multiple websites in a single POST request. Accepts up to 50 URLs per request with per-URL options for file type, viewport size, blocking, caching, and scrolling capture. Returns a status indicator, metadata with success/failure counts, and an array of per-URL results \u2014 each containing either screenshot data or an error message. Also supports stealth mode, GPU rendering, classic and premium proxies with country selection, timezone emulation, text captcha solving, and PDF options for paper size, orientation, page range, media type and backgrounds. A simple screenshot costs 50 credits. Options add credits on top: scrolling or video +20, classic proxy +20, premium proxy +200 (used instead of a classic proxy), GPU rendering +20, captcha solver +20. Stealth, timezone and the other options add no credits.'\n contact:\n name: APIFreaks Support\n url: https://apifreaks.com/contact\n email: support@apifreaks.com\nservers:\n - url: https://api.apifreaks.com/v1.0\n description: Bulk Screenshot API Server\npaths:\n /screenshot:\n post:\n tags:\n - Screenshot APIs\n summary: Capture screenshots of multiple websites in a single request.\n description: |-\n Our Bulk Screenshot API allows you to capture screenshots of multiple webpages simultaneously, saving you time and effort. Instead of manually capturing each page one by one, you can batch process URLs and receive high-quality screenshots in the format you choose.\n Maximum `50 URLs` per request.\n operationId: bulkScreenshot\n parameters:\n - name: format\n in: query\n required: false\n schema:\n type: string\n enum:\n - json\n default: json\n requestBody:\n required: true\n content:\n application/json:\n schema:\n $ref: '#/components/schemas/BulkScreenshotRequest'\n examples:\n typicalRequest:\n summary: Typical bulk screenshot request\n value:\n urls:\n - url: https://example.com\n file_type: PNG\n - url: https://github.com\n file_type: JPEG\n full_page: true\n gifScrolling:\n summary: Scrolling GIF capture\n value:\n urls:\n - url: https://whoisfreaks.com/\n file_type: gif\n width: 3840\n height: 2160\n fresh: true\n image_quality: 100\n scrolling_screenshot: true\n duration: 10\n responses:\n '200':\n description: Successful response. Each item in `results` corresponds to one requested URL, in the same order; a URL that fails validation or capture returns an error object in its `url` field instead of screenshot data, while `status` stays \"fulfilled\" and `error_message` stays null.\n content:\n application/json:\n schema:\n $ref: '#/components/schemas/BulkScreenshotResponse'\n examples:\n success:\n summary: Successful response with mixed results\n value:\n status: success\n meta_data:\n total_urls: 2\n successful_urls: 1\n failed_urls: 1\n results:\n - url:\n screenshot: https://s3.eu-central-2.wasabisys.com/w.storage.apifreaks.com/example_com_6d83e1744f01.png\n url: https://example.com\n created_at: '2026-07-27T10:18:31.378Z'\n file_type: PNG\n output: json\n ttl: '2026-08-26T10:18:28.034Z'\n sizes: null\n status: fulfilled\n error_message: null\n - url:\n timestamp: '2026-07-27T10:18:28.872Z'\n status: 400\n error: invalid_url\n message: Your URL is incorrect\n path: /v3/screenshot\n status: fulfilled\n error_message: null\n perUrlCaptureErrors:\n summary: Each URL in the batch fails with a different per-URL capture error. The same error codes the single Website Screenshot API can return for a target URL show up here inside each item's `url` field, while the overall response stays 200/success.\n value:\n status: success\n meta_data:\n total_urls: 22\n successful_urls: 0\n failed_urls: 22\n results:\n - url:\n timestamp: '2026-07-27T10:19:12.100Z'\n status: 310\n error: too_many_redirects\n message: The target URL redirected too many times (redirect loop), so a final page could not be reached.\n path: /v3/screenshot\n status: fulfilled\n error_message: null\n - url:\n timestamp: '2026-07-27T10:19:12.200Z'\n status: 400\n error: url_required\n message: The url parameter is required but was not provided.\n path: /v3/screenshot\n status: fulfilled\n error_message: null\n - url:\n timestamp: '2026-07-27T10:19:12.300Z'\n status: 400\n error: invalid_file_type\n message: The file_type value is not a supported output format.\n path: /v3/screenshot\n status: fulfilled\n error_message: null\n - url:\n timestamp: '2026-07-27T10:19:12.400Z'\n status: 400\n error: invalid_proxy\n message: The proxy value is malformed or invalid.\n path: /v3/screenshot\n status: fulfilled\n error_message: null\n - url:\n timestamp: '2026-07-27T10:19:12.500Z'\n status: 400\n error: Invalid_geolocation_parameter\n message: The latitude or longitude value is outside the allowed range.\n path: /v3/screenshot\n status: fulfilled\n error_message: null\n - url:\n timestamp: '2026-07-27T10:19:12.600Z'\n status: 400\n error: invalid_css_url\n message: The css_url value is not a valid URL.\n path: /v3/screenshot\n status: fulfilled\n error_message: null\n - url:\n timestamp: '2026-07-27T10:19:12.700Z'\n status: 400\n error: invalid_js_url\n message: The js_url value is not a valid URL.\n path: /v3/screenshot\n status: fulfilled\n error_message: null\n - url:\n timestamp: '2026-07-27T10:19:12.800Z'\n status: 400\n error: invalid_js_code\n message: The JavaScript passed in js is invalid and could not be executed.\n path: /v3/screenshot\n status: fulfilled\n error_message: null\n - url:\n timestamp: '2026-07-27T10:19:12.900Z'\n status: 400\n error: invalid_clipped_area\n message: The clip[x], clip[y], clip[width] or clip[height] values are invalid.\n path: /v3/screenshot\n status: fulfilled\n error_message: null\n - url:\n timestamp: '2026-07-27T10:19:13.000Z'\n status: 400\n error: invalid_input_syntax\n message: A parameter that expects an integer received an invalid value.\n path: /v3/screenshot\n status: fulfilled\n error_message: null\n - url:\n timestamp: '2026-07-27T10:19:13.100Z'\n status: 400\n error: ERR_SSL_PROTOCOL_ERROR\n message: A secure connection could not be established because of an SSL certificate problem on the target site.\n path: /v3/screenshot\n status: fulfilled\n error_message: null\n - url:\n timestamp: '2026-07-27T10:19:13.200Z'\n status: 400\n error: ERR_SSL_UNRECOGNIZED_NAME_ALERT\n message: The SSL certificate does not match the domain. The site may be down or may have moved.\n path: /v3/screenshot\n status: fulfilled\n error_message: null\n - url:\n timestamp: '2026-07-27T10:19:13.300Z'\n status: 400\n error: feature_not_supported\n message: HTML, Markdown or text extraction is not supported.\n path: /v3/screenshot\n status: fulfilled\n error_message: null\n - url:\n timestamp: '2026-07-27T10:19:13.400Z'\n status: 400\n error: invalid_scrolling_file_type\n message: PNG, JPG and WEBP are not supported for scrolling capture. Use a video format such as MP4, WEBM or GIF.\n path: /v3/screenshot\n status: fulfilled\n error_message: null\n - url:\n timestamp: '2026-07-27T10:19:13.500Z'\n status: 400\n error: request_aborted\n message: The request was aborted before it completed, for example due to a timeout or cancellation.\n path: /v3/screenshot\n status: fulfilled\n error_message: null\n - url:\n timestamp: '2026-07-27T10:19:20.100Z'\n status: 407\n error: network_connection_failed\n message: A tunnel connection to the target could not be established. Check the URL and proxy setting.\n path: /v3/screenshot\n status: fulfilled\n error_message: null\n - url:\n timestamp: '2026-07-27T10:19:20.200Z'\n status: 407\n error: ERR_TUNNEL_CONNECTION_FAILED\n message: A tunnel to the target failed. Verify the URL and proxy settings.\n path: /v3/screenshot\n status: fulfilled\n error_message: null\n - url:\n timestamp: '2026-07-27T10:19:30.100Z'\n status: 444\n error: ERR_CONNECTION_CLOSED\n message: The target site unexpectedly closed the connection.\n path: /v3/screenshot\n status: fulfilled\n error_message: null\n - url:\n timestamp: '2026-07-27T10:19:30.200Z'\n status: 444\n error: ERR_EMPTY_RESPONSE\n message: The target server closed the connection without returning any data.\n path: /v3/screenshot\n status: fulfilled\n error_message: null\n - url:\n timestamp: '2026-07-27T10:19:31.100Z'\n status: 495\n error: ssl_version_or_cipher_mismatch\n message: The browser and the target website have incompatible SSL/TLS versions or ciphers.\n path: /v3/screenshot\n status: fulfilled\n error_message: null\n - url:\n timestamp: '2026-07-27T10:19:32.100Z'\n status: 503\n error: temporary_unavailable\n message: The request could not be completed due to temporary unavailability, such as a closed browser. Retry the request.\n path: /v3/screenshot\n status: fulfilled\n error_message: null\n - url:\n timestamp: '2026-07-27T10:19:32.200Z'\n status: 503\n error: ERR_SOCKET_NOT_CONNECTED\n message: The target page may be temporarily down or may have moved permanently.\n path: /v3/screenshot\n status: fulfilled\n error_message: null\n scrollingGif:\n summary: Scrolling GIF capture\n value:\n status: success\n meta_data:\n total_urls: 1\n successful_urls: 1\n failed_urls: 0\n results:\n - url:\n screenshot: https://s3.eu-central-2.wasabisys.com/w.storage.apifreaks.com/whoisfreaks_com__a34071f0e507.gif\n url: https://whoisfreaks.com/\n created_at: '2026-06-15T17:59:10.306Z'\n file_type: gif\n width: 3840\n height: 2160\n fresh: true\n image_quality: 100\n scrolling_screenshot: true\n duration: 10\n output: json\n ttl: '2026-07-15T17:58:43.853Z'\n sizes: null\n status: fulfilled\n error_message: null\n headers:\n X-AF-Credits-Cost:\n $ref: '#/components/headers/X-AF-Credits-Cost'\n X-Concurrent-Threads:\n $ref: '#/components/headers/X-Concurrent-Threads'\n X-Concurrent-Threads-Active:\n $ref: '#/components/headers/X-Concurrent-Threads-Active'\n '400':\n description: Invalid request body\n content:\n application/json:\n examples:\n InvalidBody:\n summary: Invalid request body\n value:\n error: Invalid request body Exception\n message: Please provide data in required format in request body\n path: /v1.0/screenshot\n status: 400\n timestamp: '2026-07-27T10:18:42.036Z'\n schema:\n $ref: '#/components/schemas/ErrorResponse'\n headers:\n X-AF-Credits-Cost:\n $ref: '#/components/headers/X-AF-Credits-Cost'\n X-Concurrent-Threads:\n $ref: '#/components/headers/X-Concurrent-Threads'\n X-Concurrent-Threads-Active:\n $ref: '#/components/headers/X-Concurrent-Threads-Active'\n '401':\n description: Unauthorized\n content:\n application/json:\n examples:\n '401':\n summary: Unauthorized\n value:\n error: API Access Exception\n message: 'Provided API key is invalid. [For Technical Support: support@apifreaks.com]'\n path: /v1.0/screenshot\n status: 401\n timestamp: '2026-07-27T10:18:57.172Z'\n schema:\n $ref: '#/components/schemas/ErrorResponse'\n headers:\n X-AF-Credits-Cost:\n $ref: '#/components/headers/X-AF-Credits-Cost'\n X-Concurrent-Threads:\n $ref: '#/components/headers/X-Concurrent-Threads'\n X-Concurrent-Threads-Active:\n $ref: '#/components/headers/X-Concurrent-Threads-Active'\n '413':\n description: Payload too large\n content:\n application/json:\n examples:\n PayloadTooLarge:\n summary: Payload too large\n value:\n error: Payload too large Exception\n message: Maximum request body size limit exceeded\n path: /v1.0/screenshot\n status: 413\n timestamp: '2026-07-27T10:18:57.172Z'\n schema:\n $ref: '#/components/schemas/ErrorResponse'\n headers:\n X-AF-Credits-Cost:\n $ref: '#/components/headers/X-AF-Credits-Cost'\n X-Concurrent-Threads:\n $ref: '#/components/headers/X-Concurrent-Threads'\n X-Concurrent-Threads-Active:\n $ref: '#/components/headers/X-Concurrent-Threads-Active'\n '500':\n description: Internal Server Error\n content:\n application/json:\n examples:\n '500':\n summary: Internal server error\n value:\n error: internal_server_error\n message: An internal server error occured while processing the request. Please try again or contact support if the issue persists.\n path: /v1.0/screenshot\n status: 500\n timestamp: '2026-07-27T10:18:57.172Z'\n schema:\n $ref: '#/components/schemas/ErrorResponse'\n headers:\n X-AF-Credits-Cost:\n $ref: '#/components/headers/X-AF-Credits-Cost'\n X-Concurrent-Threads:\n $ref: '#/components/headers/X-Concurrent-Threads'\n X-Concurrent-Threads-Active:\n $ref: '#/components/headers/X-Concurrent-Threads-Active'\ncomponents:\n securitySchemes:\n ApiKeyAuthHeader:\n type: apiKey\n in: header\n name: X-apiKey\n description: Pass your API key via the X-apiKey request header.\n ApiKeyAuthQuery:\n type: apiKey\n in: query\n name: apiKey\n description: Pass your API key via the apiKey query parameter.\n schemas:\n BulkScreenshotSuccessItem:\n type: object\n description: Per-URL result entry. The `url` field holds either the screenshot metadata or an error object, depending on whether that specific URL was captured successfully.\n required:\n - status\n - url\n properties:\n status:\n type: string\n description: Processing status of the individual URL. Usually `fulfilled`.\n url:\n description: Screenshot metadata for this URL, or an error object if this specific URL could not be captured.\n oneOf:\n - description: Screenshot metadata with the same structure as the single Website Screenshot API response.\n $ref: '#/components/schemas/BulkScreenshotUrlData'\n - description: Per-item error returned when this specific URL cannot be captured.\n $ref: '#/components/schemas/ErrorResponse'\n error_message:\n type:\n - string\n - 'null'\n description: Error message if processing failed, null if successful.\n BulkScreenshotUrlData:\n type: object\n description: Screenshot result data for a single URL. Contains the same fields as the single Website Screenshot API response.\n required:\n - screenshot\n - url\n - created_at\n properties:\n screenshot:\n type: string\n format: uri\n description: URL of the captured screenshot image file.\n url:\n type: string\n format: uri\n description: The original URL that was captured.\n created_at:\n type: string\n format: date-time\n description: Timestamp when the screenshot was created (ISO 8601 format).\n format:\n type: string\n description: Response format type.\n ttl:\n type: string\n description: Time until the screenshot expires (ISO 8601 format).\n file_type:\n type: string\n description: The file type of the output.\n extracted_html:\n type: string\n format: uri\n description: URL of the extracted HTML from the webpage.\n extracted_text:\n type: string\n format: uri\n description: URL of the extracted plain text from the webpage.\n enable_caching:\n type: boolean\n description: Whether caching was enabled (`true`/`false`).\n omit_background:\n type: boolean\n description: Whether background was removed (`true`/`false`).\n destroy_screenshot:\n type: boolean\n description: Whether the screenshot was destroyed after generation (`true`/`false`).\n fail_on_error:\n type: boolean\n description: Whether the request failed on error (`true`/`false`).\n longitude:\n type: number\n format: float\n description: The longitude value used for geolocation.\n latitude:\n type: number\n format: float\n description: The latitude value used for geolocation.\n proxy:\n type: string\n description: The proxy configuration used for the request.\n no_cookie_banners:\n type: boolean\n description: Whether cookie banners were blocked (`true`/`false`).\n block_ads:\n type: boolean\n description: Whether ads were blocked (`true`/`false`).\n headers:\n type: string\n description: The custom headers that were included in the request.\n cookies:\n type: string\n description: The cookies that were included in the request.\n scroll_to_element:\n type: string\n description: The element that was scrolled to before rendering.\n selector:\n type: string\n description: The element that was selected for rendering.\n blur_selector:\n type: string\n description: The elements that were blurred in the output.\n remove_selector:\n type: string\n description: The elements that were removed from the output.\n css:\n type: string\n description: The custom CSS that was injected into the page.\n css_url:\n type: string\n format: uri\n description: The external CSS URL that was loaded.\n js:\n type: string\n description: The custom JavaScript that was injected.\n js_url:\n type: string\n format: uri\n description: The external JavaScript URL that was loaded.\n user_agent:\n type: string\n description: The User-Agent string that was used.\n accept_languages:\n type: string\n description: The Accept-Language header that was used.\n delay:\n type: integer\n description: The delay duration that was applied in milliseconds.\n thumbnail_width:\n type: integer\n description: The thumbnail width that was used in pixels.\n output:\n type: string\n description: The output type that was used.\n fresh:\n type: boolean\n description: Whether a fresh render was performed (`true`/`false`).\n lazy_load:\n type: boolean\n description: Whether lazy loading was triggered (`true`/`false`).\n full_page:\n type: boolean\n description: Whether full page capture was used (`true`/`false`).\n retina:\n type: boolean\n description: Whether retina capture was used (`true`/`false`).\n height:\n type: integer\n description: The viewport height that was used in pixels.\n width:\n type: integer\n description: The viewport width that was used in pixels.\n custom_html:\n type: string\n description: The custom HTML content that was rendered.\n block_chat_widgets:\n type: boolean\n description: Whether chat widgets were blocked (`true`/`false`).\n block_js:\n type: boolean\n description: Whether JavaScript was blocked (`true`/`false`).\n block_stylesheets:\n type: boolean\n description: Whether stylesheets were blocked (`true`/`false`).\n block_images:\n type: boolean\n description: Whether images were blocked (`true`/`false`).\n block_media:\n type: boolean\n description: Whether media files were blocked (`true`/`false`).\n block_font:\n type: boolean\n description: Whether fonts were blocked (`true`/`false`).\n block_text_track:\n type: boolean\n description: Whether text tracks were blocked (`true`/`false`).\n block_xhr:\n type: boolean\n description: Whether XHR requests were blocked (`true`/`false`).\n block_fetch:\n type: boolean\n description: Whether Fetch API requests were blocked (`true`/`false`).\n block_event_source:\n type: boolean\n description: Whether EventSource connections were blocked (`true`/`false`).\n block_web_socket:\n type: boolean\n description: Whether WebSocket connections were blocked (`true`/`false`).\n block_manifest:\n type: boolean\n description: Whether manifest files were blocked (`true`/`false`).\n block_specific_requests:\n type: string\n description: The specific requests that were blocked.\n adjust_top:\n type: integer\n description: The vertical position that was scrolled to in pixels.\n image_quality:\n type: integer\n description: The image quality level that was applied.\n extract_html:\n type: boolean\n description: Whether HTML content was extracted (`true`/`false`).\n extract_text:\n type: boolean\n description: Whether text content was extracted (`true`/`false`).\n dark_mode:\n type: boolean\n description: Whether dark mode was enabled (`true`/`false`).\n block_tracking:\n type: boolean\n description: Whether tracking scripts were blocked (`true`/`false`).\n wait_for_event:\n type: string\n description: The event that triggered the rendering to start.\n grayscale:\n type: integer\n description: The grayscale level that was applied (0-100).\n clip:\n $ref: '#/components/schemas/ClipRect'\n description: The dimensions of the clipped area that was captured.\n result_file_name:\n type: string\n description: The final filename used for the output file.\n enable_incognito:\n type: boolean\n description: Whether incognito mode was enabled (`true`/`false`).\n timeout:\n type: integer\n description: The actual timeout duration that was applied in milliseconds.\n scrolling_screenshot:\n type: boolean\n description: Whether scrolling screenshot mode was enabled (`true`/`false`).\n multiple_scrolling:\n type: boolean\n description: Whether multiple scrolling captures were performed (`true`/`false`).\n sizes:\n type: array\n items:\n type: string\n description: The dimensions used for each capture in the array.\n extract_markdown:\n type: boolean\n description: Whether markdown extraction was enabled (`true`/`false`).\n get_image_urls:\n type: boolean\n description: Whether image URL extraction was enabled (`true`/`false`).\n scroll_delay:\n type: integer\n description: The delay between scroll steps that was applied in milliseconds.\n selector_to_click:\n type: string\n description: The CSS selector of the element that was clicked before capture.\n click_recursion:\n type: integer\n description: The number of times the selector was clicked.\n video:\n type: boolean\n description: Whether viewport recording mode was enabled (`true`/`false`).\n scroll_speed:\n type: string\n description: Scrolling speed that was used.\n scroll_back:\n type: boolean\n description: Whether scroll back was enabled.\n start_immediately:\n type: boolean\n description: Whether recording started immediately.\n duration:\n type: integer\n description: Duration of scrolling capture in seconds.\n ClipRect:\n type: object\n description: Clipping rectangle dimensions for the captured area.\n required:\n - x\n - 'y'\n - width\n - height\n properties:\n x:\n type: integer\n description: X position of the clip rectangle in pixels.\n 'y':\n type: integer\n description: Y position of the clip rectangle in pixels.\n width:\n type: integer\n description: Width of the clip rectangle in pixels.\n height:\n type: integer\n description: Height of the clip rectangle in pixels.\n BulkScreenshotRequest:\n type: object\n description: Request body for bulk screenshot capture.\n required:\n - urls\n properties:\n urls:\n type: array\n description: Array of URL objects to capture. Maximum 50 items per request.\n maxItems: 50\n items:\n $ref: '#/components/schemas/BulkScreenshotUrlItem'\n BulkScreenshotUrlItem:\n type: object\n description: A single URL entry in a bulk screenshot request with per-URL options.\n required:\n - url\n properties:\n url:\n type: string\n format: uri\n description: URL of the website to be rendered as a screenshot or other format.\n file_type:\n type: string\n enum:\n - PNG\n - JPEG\n - WEBP\n - PDF\n - MP4\n - GIF\n - WEBM\n - mp4\n - gif\n - webm\n description: 'Output format. PNG (lossless, transparency), JPEG (compressed, smaller size), WebP (modern, efficient), PDF (document). For scrolling captures: MP4, GIF, WebM. Scrolling capture formats: WEBM (web-optimized), MP4 (widely compatible, default), GIF (short loops).'\n default: PNG\n image_quality:\n type: integer\n description: Compression level for JPEG output (0-100). Lower = smaller file, higher = better quality. Only applies to JPEG.\n default: 80\n omit_background:\n type: boolean\n description: Replaces simple white/plain backgrounds with transparency for a cut-out effect. Only works with PNG output.\n default: false\n pdf_options:\n type: object\n description: PDF output options. Applies when file_type is PDF.\n properties:\n format:\n type: string\n enum:\n - A0\n - A1\n - A2\n - A3\n - A4\n - A5\n - A6\n - Letter\n - Legal\n - Tabloid\n - Ledger\n description: 'Paper size of the PDF. Applies when file_type is PDF. Without it, width and height are used if set, otherwise the page renders as one long page: A0, A1, A2, A3, A4, A5, A6, Letter, Legal, Tabloid, or Ledger.'\n landscape:\n type: boolean\n description: Renders the PDF in landscape orientation, swapping the width and height of the paper size. Applies when file_type is PDF.\n default: false\n page_range:\n type: string\n description: Pages to keep in the PDF, as start-end, for example 1-3 or 5-5. Pages are rendered first and then trimmed. Has no effect on a single-page PDF. Applies when file_type is PDF.\n media:\n type: string\n enum:\n - print\n - screen\n description: 'CSS media type used to render the PDF: print or screen.'\n print_background:\n type: boolean\n description: Includes background colors and images in the PDF. Applies when file_type is PDF.\n default: false\n result_file_name:\n type: string\n description: 'Custom name for the output file. Helps with organized storage and retrieval. Note: non-unique names may overwrite existing files.'\n ttl:\n type: integer\n description: 'Time in seconds the render stays cached before auto-invalidation. Use higher values for static pages, lower for dynamic content. Default: 2592000 (30 days).'\n default: 2592000\n fresh:\n type: boolean\n description: If `true`, bypasses cache and captures a fresh render. If `false`, returns cached version when available.\n default: true\n enable_caching:\n type: boolean\n description: Stores the render in cache for reuse on subsequent identical requests.\n default: false\n destroy_screenshot:\n type: boolean\n description: If `true`, screenshot/PDF is not stored on server and must be downloaded immediately.\n default: false\n fail_on_error:\n type: boolean\n description: If `true`, returns an error when the target page responds with 4xx or 5xx status.\n default: false\n width:\n type: integer\n description: 'Viewport width in pixels. Simulates device screen sizes. Max: 7680.'\n default: 1680\n height:\n type: integer\n description: 'Viewport height in pixels. Controls how much vertical area is visible. Max: 4320.'\n default: 867\n full_page:\n type: boolean\n description: Captures the entire webpage from top to bottom, including scrollable content outside the viewport. Ideal for long-form pages.\n default: false\n thumbnail_width:\n type: integer\n description: Specifies the width of the thumbnail in pixels. Default value is 0 (meaning no specific value is set, and the screenshot is returned at its original resolution).\n retina:\n type: boolean\n description: Captures at 2x resolution for sharper, high-DPI output. Increases file size.\n default: false\n clip[x]:\n type: integer\n description: 'X coordinate (in pixels) for the top-left corner of the clip area. Default: null.'\n clip[y]:\n type: integer\n description: 'Y coordinate (in pixels) for the top-left corner of the clip area. Default: null.'\n clip[width]:\n type: integer\n description: 'Width of the clip area in pixels. Default: null.'\n clip[height]:\n type: integer\n description: 'Height of the clip area in pixels. Default: null.'\n adjust_top:\n type: integer\n description: Initial vertical scroll position in pixels before capture. Use to position mid-page content in viewport. Not supported for PDF.\n default: 0\n wait_for_event:\n type: string\n enum:\n - load\n - domcontentloaded\n - networkidle0\n - networkidle2\n 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.\n default: load\n delay:\n type: integer\n 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.\n default: 0\n lazy_load:\n type: boolean\n description: Automatically scrolls the page to trigger lazy-loaded images and components. Ensures complete content capture.\n default: false\n scroll_delay:\n type: integer\n 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.\n default: 500\n timeout:\n type: integer\n description: 'Maximum wait in milliseconds for page load before aborting. Adjust for slow/heavy pages. Default: 100000 (100s).'\n default: 100000\n selector:\n type: string\n description: 'CSS selector to capture a specific element. Only that element is rendered. Falls back to full page if not found. Default: empty.'\n scroll_to_element:\n type: string\n description: 'Scrolls the page to bring the specified CSS selector into view before capture. Ideal for below-the-fold content. Default: empty.'\n selector_to_click:\n type: string\n description: CSS selector for an element to click before capturing the screenshot. Useful for opening dropdowns, modals, or triggering content.\n click_recursion:\n type: integer\n description: Number of times to click the selector (when set via `selector_to_click`).\n default: 1\n blur_selector:\n type: string\n description: 'CSS selectors to blur before capture. Masks sensitive data like emails, payments, or personal info. Multiple selectors supported. Default: empty.'\n remove_selector:\n type: string\n description: 'CSS selectors to remove before capture. Deletes matched elements from DOM. Ideal for cleaning ads, popups, sidebars. Multiple selectors supported. Default: empty.'\n css:\n type: string\n description: Allows injecting custom CSS code into the page before rendering. Pass the CSS code directly as a string.\n css_url:\n type: string\n description: Allows loading external CSS into the page. Provide a URL pointing to the CSS file.\n js:\n type: string\n description: Allows injecting custom JavaScript code into the page before rendering. Pass the JavaScript code directly as a string.\n js_url:\n type: string\n description: Allows loading external JavaScript into the page. Provide a URL pointing to the script file.\n custom_html:\n type: string\n description: Custom HTML to render instead of loading a URL. Overrides the url option. Use for capturing specific HTML structures or dynamic content.\n markdown:\n type: string\n description: Markdown to render instead of loading a URL. Works like custom_html, so you can capture a README or notes without hosting a page.\n user_agent:\n type: string\n description: Custom User-Agent string sent in the request headers.\n accept_languages:\n type: string\n description: Sets the accepted languages for the HTTP request. This is sent as the Accept-Language header.\n default: en-US,en;q=0.8\n dark_mode:\n type: boolean\n description: 'When set to `true`, websites that support prefers-color-scheme: dark will render in dark mode.'\n default: false\n grayscale:\n type: integer\n description: Applies a grayscale filter to the screenshot. Requires a value from 0 (no effect) to 100 (fully grayscale).\n default: 0\n enable_incognito:\n type: boolean\n description: Enables private/incognito browsing. Each render starts with a clean slate - no cookies, cache, or session data persisted.\n default: false\n headers:\n type: string\n description: Custom HTTP headers to include as key=value pairs. Use a semicolon to separate multiple headers (e.g., `key1=value1;key2=value2`).\n cookies:\n type: string\n description: 'Cookies to include in the request before rendering. Supports single or multiple cookies. Example: `cookie=value; otherCookie=otherValue;`.'\n longitude:\n type: number\n format: float\n description: 'Specify longitude for the browser Geolocation API. Provide a numeric value. Default: null (not set).'\n latitude:\n type: number\n format: float\n description: 'Specify latitude for the browser Geolocation API. Provide a numeric value. Default: null (not set).'\n timezone:\n type: string\n description: IANA timezone the browser uses while rendering, such as Asia/Karachi or Europe/London. Useful for clocks and localized dates.\n block_ads:\n type: boolean\n description: Blocks requests to known ad networks for cleaner, distraction-free screenshots.\n default: false\n block_chat_widgets:\n type: boolean\n description: Blocks live chat popups, support bubbles, and messaging interfaces.\n default: false\n block_tracking:\n type: boolean\n description: Blocks tracking scripts and analytics services for cleaner, privacy-oriented renders.\n default: false\n no_cookie_banners:\n type: boolean\n description: Hides or blocks cookie consent banners and popups before capture.\n default: false\n block_js:\n type: boolean\n description: Disables all JavaScript execution. Renders a static version of the page. Speeds up capture but may break dynamic content.\n default: false\n block_stylesheets:\n type: boolean\n description: Blocks all stylesheets - page renders as raw HTML without visual formatting.\n default: false\n block_images:\n type: boolean\n description: Blocks all image resources (jpg, png, gif, webp, svg, etc.) for faster rendering.\n default: false\n block_media:\n type: boolean\n description: Blocks audio and video resources (mp3, mp4, webm, etc.) from loading.\n default: false\n block_font:\n type: boolean\n description: 'Blocks external font files - page falls back to system defaults. Supported: woff, woff2, ttf, otf, eot.'\n default: false\n block_text_track:\n type: boolean\n description: Blocks subtitles and caption overlays from loading.\n default: false\n block_xhr:\n type: boolean\n description: Blocks all XMLHttpRequest (AJAX) calls - prevents dynamic API-driven content.\n default: false\n block_fetch:\n type: boolean\n description: Blocks all Fetch API requests - stops async data loading.\n default: false\n block_event_source:\n type: boolean\n description: Blocks EventSource (SSE) connections - prevents real-time data streams.\n default: false\n block_web_socket:\n type: boolean\n description: Blocks WebSocket connections - prevents real-time bidirectional communication.\n default: false\n block_manifest:\n type: boolean\n description: Blocks manifest files (.json, .webmanifest) - disables PWA-related functionality.\n default: false\n block_specific_requests:\n type: string\n 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.'\n extract_text:\n type: boolean\n description: Strips all HTML and returns visible text as a .txt file. Ideal for text analysis, indexing, or AI pipelines. Only with output=json.\n default: false\n extract_html:\n type: boolean\n description: Returns rendered HTML as a .html file (includes JS-executed DOM). Only available with output=json.\n default: false\n extract_markdown:\n type: boolean\n description: Extracts rendered page content as a structured .md (Markdown) file. Preserves headings, lists, links. Only with output=json.\n default: false\n get_image_urls:\n type: boolean\n description: Extracts all image URLs from the rendered DOM and returns them in structured format. Only with output=json.\n default: false\n stealth:\n type: boolean\n description: Makes the browser look like a regular visitor for pages that block automated traffic. No extra credits.\n default: false\n gpu:\n type: boolean\n description: Renders the page with a GPU, including WebGL and canvas content. Adds 20 credits per request.\n default: false\n proxy:\n type: string\n description: 'Allows defining a proxy for the connection. Provide a JSON string with keys: server (include port number), username, and password.'\n classic_proxy:\n type: boolean\n description: Loads the page through a datacenter proxy. Adds 20 credits per request. Ignored when premium_proxy is true or a custom proxy is set.\n default: false\n premium_proxy:\n type: boolean\n description: Loads the page through a residential proxy. Adds 200 credits per request. Used instead of classic_proxy.\n default: false\n country:\n type: string\n 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.'\n solve_captcha:\n type: boolean\n 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.\n default: false\n captcha_image:\n type: string\n 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.\n captcha_input:\n type: string\n description: CSS selector of the box the answer is typed into. Required when solve_captcha is true.\n captcha_submit:\n type: string\n 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.\n captcha_error:\n type: string\n 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.\n captcha_refresh:\n type: string\n description: CSS selector of the control that loads a new captcha picture before the next try.\n captcha_retries:\n type: integer\n minimum: 1\n maximum: 5\n default: 3\n description: Number of guesses the solver makes, from 1 to 5. When every guess is rejected, the request fails.\n ocr_model:\n type: string\n enum:\n - mini-ocr-v1\n - ocr-v1\n default: mini-ocr-v1\n description: 'Recognition model used by the captcha solver: mini-ocr-v1 (default) or ocr-v1.'\n scrolling_screenshot:\n type: boolean\n description: Enables scrolling screenshot mode to capture a video (webm, gif, mp4) of the webpage.\n default: false\n scroll_speed:\n type: string\n enum:\n - normal\n - fast\n - slow\n description: 'Scrolling speed: fast, normal (default), or slow. Affects render time and output pacing.'\n default: normal\n duration:\n type: integer\n description: 'Duration of scrolling action in seconds (0-60). Higher = longer video. Default: null (full page scroll).'\n minimum: 0\n maximum: 60\n scroll_back:\n type: boolean\n description: If `true`, scrolls to bottom then back to top, creating a seamless loop.\n default: false\n start_immediately:\n type: boolean\n description: Starts recording immediately without waiting for full page load.\n default: false\n video:\n type: boolean\n description: Records visible viewport only for a specified duration. Use with `duration` parameter. Ideal for dashboards and animations.\n default: false\n output:\n type: string\n enum:\n - json\n - image\n default: json\n description: Set the output format. `json` returns metadata with a hosted file URL. `image` streams the raw file bytes directly.\n format:\n type: string\n enum:\n - json\n default: json\n description: 'Response format: json (default).'\n BulkScreenshotMetaData:\n type: object\n description: Metadata about the bulk screenshot request results.\n required:\n - total_urls\n - successful_urls\n - failed_urls\n properties:\n total_urls:\n type: integer\n description: Total number of URLs processed in the bulk request.\n successful_urls:\n type: integer\n description: Number of URLs that were successfully processed.\n failed_urls:\n type: integer\n description: Number of URLs that failed to process.\n BulkScreenshotResponse:\n type: object\n description: Bulk screenshot response containing status, metadata, and per-URL results.\n required:\n - status\n - meta_data\n - results\n properties:\n status:\n type: string\n description: API request status indicator. `success` for successful requests.\n meta_data:\n $ref: '#/components/schemas/BulkScreenshotMetaData'\n results:\n $ref: '#/components/schemas/BulkScreenshotResults'\n BulkScreenshotResults:\n type: array\n description: Array of per-URL results, one entry per requested URL, in the same order as the request. Each entry's `url` field holds either screenshot data or an error object.\n items:\n $ref: '#/components/schemas/BulkScreenshotSuccessItem'\n ErrorResponse:\n type: object\n description: Standard error envelope returned by the API on failed requests.\n required:\n - message\n properties:\n error:\n type: string\n description: Short error category or exception type.\n message:\n type: string\n description: Human-readable error message describing the failure.\n path:\n type: string\n description: API endpoint path that produced the error.\n status:\n type: integer\n description: HTTP status code returned with the error.\n timestamp:\n type: string\n format: date-time\n description: Timestamp when the error occurred (ISO 8601).\n headers:\n X-AF-Credits-Cost:\n description: Specifies the number of credits consumed by the current request.\n schema:\n type: integer\n X-Concurrent-Threads:\n description: Specifies the maximum number of concurrent requests allowed.\n schema:\n type: integer\n X-Concurrent-Threads-Active:\n description: Indicates the number of active concurrent requests being processed.\n schema:\n type: integer\nsecurity:\n - ApiKeyAuthHeader: []\n - ApiKeyAuthQuery: []\n",
63667
+ "website-screenshot": "openapi: 3.1.1\ninfo:\n title: Website Screenshot API - Full-Page Captures, Scrolling Video & PDF Output\n version: 1.0.0\n description: 'Capture full-page screenshots and videos of websites with advanced options like device simulation, custom code injection, cookie banner blocking, and scrollable content recording. Supports multiple output formats including PNG, JPEG, WebP, PDF, MP4, GIF, and WebM. Returns a screenshot URL, timestamps, format metadata, and all echoed parameters. Returns a 400 error for an invalid or missing url, and a 408 error if the capture exceeds the configured timeout. Also supports stealth mode, GPU rendering, classic and premium proxies with country selection, timezone emulation, text captcha solving, and PDF options for paper size, orientation, page range, media type and backgrounds. A simple screenshot costs 50 credits. Options add credits on top: scrolling or video +20, classic proxy +20, premium proxy +200 (used instead of a classic proxy), GPU rendering +20, captcha solver +20. Stealth, timezone and the other options add no credits.'\n contact:\n name: APIFreaks Support\n url: https://apifreaks.com/contact\n email: support@apifreaks.com\nservers:\n - url: https://api.apifreaks.com/v1.0\n description: Website Screenshot API Server\npaths:\n /screenshot:\n get:\n tags:\n - Screenshot APIs\n summary: Build screenshots the way real users see the web \u2014 not just what fits on the screen.\n description: |\n Capture full-page screenshots and videos of websites with advanced options like device simulation, custom code injection, cookie banner blocking, and scrollable content recording.\n Supports multiple output formats including JSON, image, GIF, MP4, and WebM.\n operationId: websiteScreenshot\n parameters:\n - name: url\n in: query\n required: true\n schema:\n type: string\n description: URL of the website to be rendered as a screenshot or other format.\n - name: output\n in: query\n required: false\n schema:\n type: string\n enum:\n - json\n - image\n default: json\n description: Set the output format. `json` returns metadata with a hosted file URL. `image` streams the raw file bytes directly.\n - name: format\n in: query\n required: false\n schema:\n type: string\n enum:\n - json\n default: json\n description: 'Response format: json (default).'\n - name: file_type\n in: query\n required: false\n schema:\n type: string\n enum:\n - PNG\n - JPEG\n - WEBP\n - PDF\n - MP4\n - GIF\n - WEBM\n - mp4\n - gif\n - webm\n default: PNG\n description: 'Output format. PNG (lossless, transparency), JPEG (compressed, smaller size), WebP (modern, efficient), PDF (document). For scrolling captures: MP4, GIF, WebM. Scrolling capture formats: WEBM (web-optimized), MP4 (widely compatible, default), GIF (short loops).'\n - name: image_quality\n in: query\n required: false\n schema:\n type: integer\n default: 80\n description: Compression level for JPEG output (0-100). Lower = smaller file, higher = better quality. Only applies to JPEG.\n - name: omit_background\n in: query\n required: false\n schema:\n type: boolean\n default: false\n description: Replaces simple white/plain backgrounds with transparency for a cut-out effect. Only works with PNG output.\n - name: pdf_options[format]\n in: query\n required: false\n schema:\n type: string\n enum:\n - A0\n - A1\n - A2\n - A3\n - A4\n - A5\n - A6\n - Letter\n - Legal\n - Tabloid\n - Ledger\n description: 'Paper size of the PDF. Applies when file_type is PDF. Without it, width and height are used if set, otherwise the page renders as one long page: A0, A1, A2, A3, A4, A5, A6, Letter, Legal, Tabloid, or Ledger.'\n - name: pdf_options[landscape]\n in: query\n required: false\n schema:\n type: boolean\n default: false\n description: Renders the PDF in landscape orientation, swapping the width and height of the paper size. Applies when file_type is PDF.\n - name: pdf_options[page_range]\n in: query\n required: false\n schema:\n type: string\n description: Pages to keep in the PDF, as start-end, for example 1-3 or 5-5. Pages are rendered first and then trimmed. Has no effect on a single-page PDF. Applies when file_type is PDF.\n - name: pdf_options[media]\n in: query\n required: false\n schema:\n type: string\n enum:\n - print\n - screen\n description: 'CSS media type used to render the PDF: print or screen.'\n - name: pdf_options[print_background]\n in: query\n required: false\n schema:\n type: boolean\n default: false\n description: Includes background colors and images in the PDF. Applies when file_type is PDF.\n - name: result_file_name\n in: query\n required: false\n schema:\n type: string\n description: 'Custom name for the output file. Helps with organized storage and retrieval. Note: non-unique names may overwrite existing files.'\n - name: ttl\n in: query\n required: false\n schema:\n type: integer\n default: 2592000\n description: 'Time in seconds the render stays cached before auto-invalidation. Use higher values for static pages, lower for dynamic content. Default: 2592000 (30 days).'\n - name: fresh\n in: query\n required: false\n schema:\n type: boolean\n default: true\n description: If `true`, bypasses cache and captures a fresh render. If `false`, returns cached version when available.\n - name: enable_caching\n in: query\n required: false\n schema:\n type: boolean\n default: false\n description: Stores the render in cache for reuse on subsequent identical requests.\n - name: destroy_screenshot\n in: query\n required: false\n schema:\n type: boolean\n default: false\n description: If `true`, screenshot/PDF is not stored on server and must be downloaded immediately.\n - name: fail_on_error\n in: query\n required: false\n schema:\n type: boolean\n default: false\n description: If `true`, returns an error when the target page responds with 4xx or 5xx status.\n - name: width\n in: query\n required: false\n schema:\n type: integer\n default: 1680\n description: 'Viewport width in pixels. Simulates device screen sizes. Max: 7680.'\n - name: height\n in: query\n required: false\n schema:\n type: integer\n default: 867\n description: 'Viewport height in pixels. Controls how much vertical area is visible. Max: 4320.'\n - name: full_page\n in: query\n required: false\n schema:\n type: boolean\n default: false\n description: Captures the entire webpage from top to bottom, including scrollable content outside the viewport. Ideal for long-form pages.\n - name: thumbnail_width\n in: query\n required: false\n schema:\n type: integer\n description: Specifies the width of the thumbnail in pixels. Default value is 0 (meaning no specific value is set, and the screenshot is returned at its original resolution).\n - name: retina\n in: query\n required: false\n schema:\n type: boolean\n default: false\n description: Captures at 2x resolution for sharper, high-DPI output. Increases file size.\n - name: clip[x]\n in: query\n required: false\n schema:\n type: integer\n description: 'X coordinate (in pixels) for the top-left corner of the clip area. Default: null.'\n - name: clip[y]\n in: query\n required: false\n schema:\n type: integer\n description: 'Y coordinate (in pixels) for the top-left corner of the clip area. Default: null.'\n - name: clip[width]\n in: query\n required: false\n schema:\n type: integer\n description: 'Width of the clip area in pixels. Default: null.'\n - name: clip[height]\n in: query\n required: false\n schema:\n type: integer\n description: 'Height of the clip area in pixels. Default: null.'\n - name: adjust_top\n in: query\n required: false\n schema:\n type: integer\n default: 0\n description: Initial vertical scroll position in pixels before capture. Use to position mid-page content in viewport. Not supported for PDF.\n - name: wait_for_event\n in: query\n required: false\n schema:\n type: string\n enum:\n - load\n - domcontentloaded\n - networkidle0\n - networkidle2\n default: load\n 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.\n - name: delay\n in: query\n required: false\n schema:\n type: integer\n default: 0\n 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.\n - name: lazy_load\n in: query\n required: false\n schema:\n type: boolean\n default: false\n description: Automatically scrolls the page to trigger lazy-loaded images and components. Ensures complete content capture.\n - name: scroll_delay\n in: query\n required: false\n schema:\n type: integer\n default: 500\n 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.\n - name: timeout\n in: query\n required: false\n schema:\n type: integer\n default: 100000\n description: 'Maximum wait in milliseconds for page load before aborting. Adjust for slow/heavy pages. Default: 100000 (100s).'\n - name: selector\n in: query\n required: false\n schema:\n type: string\n description: 'CSS selector to capture a specific element. Only that element is rendered. Falls back to full page if not found. Default: empty.'\n - name: scroll_to_element\n in: query\n required: false\n schema:\n type: string\n description: 'Scrolls the page to bring the specified CSS selector into view before capture. Ideal for below-the-fold content. Default: empty.'\n - name: selector_to_click\n in: query\n required: false\n schema:\n type: string\n description: CSS selector for an element to click before capturing the screenshot. Useful for opening dropdowns, modals, or triggering content.\n - name: click_recursion\n in: query\n required: false\n schema:\n type: integer\n default: 1\n description: Number of times to click the selector (when set via `selector_to_click`).\n - name: blur_selector\n in: query\n required: false\n style: form\n explode: false\n schema:\n type: string\n description: 'CSS selectors to blur before capture. Masks sensitive data like emails, payments, or personal info. Multiple selectors supported. Default: empty.'\n - name: remove_selector\n in: query\n required: false\n style: form\n explode: false\n schema:\n type: string\n description: 'CSS selectors to remove before capture. Deletes matched elements from DOM. Ideal for cleaning ads, popups, sidebars. Multiple selectors supported. Default: empty.'\n - name: css\n in: query\n required: false\n schema:\n type: string\n description: Allows injecting custom CSS code into the page before rendering. Pass the CSS code directly as a string.\n - name: css_url\n in: query\n required: false\n schema:\n type: string\n description: Allows loading external CSS into the page. Provide a URL pointing to the CSS file.\n - name: js\n in: query\n required: false\n schema:\n type: string\n description: Allows injecting custom JavaScript code into the page before rendering. Pass the JavaScript code directly as a string.\n - name: js_url\n in: query\n required: false\n schema:\n type: string\n description: Allows loading external JavaScript into the page. Provide a URL pointing to the script file.\n - name: custom_html\n in: query\n required: false\n schema:\n type: string\n description: Custom HTML to render instead of loading a URL. Overrides the url option. Use for capturing specific HTML structures or dynamic content.\n - name: markdown\n in: query\n required: false\n schema:\n type: string\n description: Markdown to render instead of loading a URL. Works like custom_html, so you can capture a README or notes without hosting a page.\n - name: user_agent\n in: query\n required: false\n schema:\n type: string\n description: Custom User-Agent string sent in the request headers.\n - name: accept_languages\n in: query\n required: false\n schema:\n type: string\n default: en-US,en;q=0.8\n description: Sets the accepted languages for the HTTP request. This is sent as the Accept-Language header.\n - name: dark_mode\n in: query\n required: false\n schema:\n type: boolean\n default: false\n description: 'When set to `true`, websites that support prefers-color-scheme: dark will render in dark mode.'\n - name: grayscale\n in: query\n required: false\n schema:\n type: integer\n default: 0\n description: Applies a grayscale filter to the screenshot. Requires a value from 0 (no effect) to 100 (fully grayscale).\n - name: enable_incognito\n in: query\n required: false\n schema:\n type: boolean\n default: false\n description: Enables private/incognito browsing. Each render starts with a clean slate - no cookies, cache, or session data persisted.\n - name: headers\n in: query\n required: false\n schema:\n type: string\n description: Custom HTTP headers to include as key=value pairs. Use a semicolon to separate multiple headers (e.g., `key1=value1;key2=value2`).\n - name: cookies\n in: query\n required: false\n schema:\n type: string\n description: 'Cookies to include in the request before rendering. Supports single or multiple cookies. Example: `cookie=value; otherCookie=otherValue;`.'\n - name: longitude\n in: query\n required: false\n schema:\n type: number\n description: 'Specify longitude for the browser Geolocation API. Provide a numeric value. Default: null (not set).'\n - name: latitude\n in: query\n required: false\n schema:\n type: number\n description: 'Specify latitude for the browser Geolocation API. Provide a numeric value. Default: null (not set).'\n - name: timezone\n in: query\n required: false\n schema:\n type: string\n description: IANA timezone the browser uses while rendering, such as Asia/Karachi or Europe/London. Useful for clocks and localized dates.\n - name: block_ads\n in: query\n required: false\n schema:\n type: boolean\n default: false\n description: Blocks requests to known ad networks for cleaner, distraction-free screenshots.\n - name: block_chat_widgets\n in: query\n required: false\n schema:\n type: boolean\n default: false\n description: Blocks live chat popups, support bubbles, and messaging interfaces.\n - name: block_tracking\n in: query\n required: false\n schema:\n type: boolean\n default: false\n description: Blocks tracking scripts and analytics services for cleaner, privacy-oriented renders.\n - name: no_cookie_banners\n in: query\n required: false\n schema:\n type: boolean\n default: false\n description: Hides or blocks cookie consent banners and popups before capture.\n - name: block_js\n in: query\n required: false\n schema:\n type: boolean\n default: false\n description: Disables all JavaScript execution. Renders a static version of the page. Speeds up capture but may break dynamic content.\n - name: block_stylesheets\n in: query\n required: false\n schema:\n type: boolean\n default: false\n description: Blocks all stylesheets - page renders as raw HTML without visual formatting.\n - name: block_images\n in: query\n required: false\n schema:\n type: boolean\n default: false\n description: Blocks all image resources (jpg, png, gif, webp, svg, etc.) for faster rendering.\n - name: block_media\n in: query\n required: false\n schema:\n type: boolean\n default: false\n description: Blocks audio and video resources (mp3, mp4, webm, etc.) from loading.\n - name: block_font\n in: query\n required: false\n schema:\n type: boolean\n default: false\n description: 'Blocks external font files - page falls back to system defaults. Supported: woff, woff2, ttf, otf, eot.'\n - name: block_text_track\n in: query\n required: false\n schema:\n type: boolean\n default: false\n description: Blocks subtitles and caption overlays from loading.\n - name: block_xhr\n in: query\n required: false\n schema:\n type: boolean\n default: false\n description: Blocks all XMLHttpRequest (AJAX) calls - prevents dynamic API-driven content.\n - name: block_fetch\n in: query\n required: false\n schema:\n type: boolean\n default: false\n description: Blocks all Fetch API requests - stops async data loading.\n - name: block_event_source\n in: query\n required: false\n schema:\n type: boolean\n default: false\n description: Blocks EventSource (SSE) connections - prevents real-time data streams.\n - name: block_web_socket\n in: query\n required: false\n schema:\n type: boolean\n default: false\n description: Blocks WebSocket connections - prevents real-time bidirectional communication.\n - name: block_manifest\n in: query\n required: false\n schema:\n type: boolean\n default: false\n description: Blocks manifest files (.json, .webmanifest) - disables PWA-related functionality.\n - name: block_specific_requests\n in: query\n required: false\n schema:\n type: string\n 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.'\n - name: extract_text\n in: query\n required: false\n schema:\n type: boolean\n default: false\n description: Strips all HTML and returns visible text as a .txt file. Ideal for text analysis, indexing, or AI pipelines. Only with output=json.\n - name: extract_html\n in: query\n required: false\n schema:\n type: boolean\n default: false\n description: Returns rendered HTML as a .html file (includes JS-executed DOM). Only available with output=json.\n - name: extract_markdown\n in: query\n required: false\n schema:\n type: boolean\n default: false\n description: Extracts rendered page content as a structured .md (Markdown) file. Preserves headings, lists, links. Only with output=json.\n - name: get_image_urls\n in: query\n required: false\n schema:\n type: boolean\n default: false\n description: Extracts all image URLs from the rendered DOM and returns them in structured format. Only with output=json.\n - name: stealth\n in: query\n required: false\n schema:\n type: boolean\n default: false\n description: Makes the browser look like a regular visitor for pages that block automated traffic. No extra credits.\n - name: gpu\n in: query\n required: false\n schema:\n type: boolean\n default: false\n description: Renders the page with a GPU, including WebGL and canvas content. Adds 20 credits per request.\n - name: proxy\n in: query\n required: false\n schema:\n type: string\n description: 'Allows defining a proxy for the connection. Provide a JSON string with keys: server (include port number), username, and password.'\n - name: classic_proxy\n in: query\n required: false\n schema:\n type: boolean\n default: false\n description: Loads the page through a datacenter proxy. Adds 20 credits per request. Ignored when premium_proxy is true or a custom proxy is set.\n - name: premium_proxy\n in: query\n required: false\n schema:\n type: boolean\n default: false\n description: Loads the page through a residential proxy. Adds 200 credits per request. Used instead of classic_proxy.\n - name: country\n in: query\n required: false\n schema:\n type: string\n 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.'\n - name: solve_captcha\n in: query\n required: false\n schema:\n type: boolean\n default: false\n 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.\n - name: captcha_image\n in: query\n required: false\n schema:\n type: string\n 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.\n - name: captcha_input\n in: query\n required: false\n schema:\n type: string\n description: CSS selector of the box the answer is typed into. Required when solve_captcha is true.\n - name: captcha_submit\n in: query\n required: false\n schema:\n type: string\n 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.\n - name: captcha_error\n in: query\n required: false\n schema:\n type: string\n 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.\n - name: captcha_refresh\n in: query\n required: false\n schema:\n type: string\n description: CSS selector of the control that loads a new captcha picture before the next try.\n - name: captcha_retries\n in: query\n required: false\n schema:\n type: integer\n minimum: 1\n maximum: 5\n default: 3\n description: Number of guesses the solver makes, from 1 to 5. When every guess is rejected, the request fails.\n - name: ocr_model\n in: query\n required: false\n schema:\n type: string\n enum:\n - mini-ocr-v1\n - ocr-v1\n default: mini-ocr-v1\n description: 'Recognition model used by the captcha solver: mini-ocr-v1 (default) or ocr-v1.'\n - name: scrolling_screenshot\n in: query\n required: false\n schema:\n type: boolean\n default: false\n description: Enables scrolling screenshot mode to capture a video (webm, gif, mp4) of the webpage.\n - name: video\n in: query\n required: false\n schema:\n type: boolean\n default: false\n description: Records visible viewport only for a specified duration. Use with `duration` parameter. Ideal for dashboards and animations.\n - name: scroll_speed\n in: query\n required: false\n schema:\n type: string\n enum:\n - normal\n - fast\n - slow\n default: normal\n description: 'Scrolling speed: fast, normal (default), or slow. Affects render time and output pacing.'\n - name: scroll_back\n in: query\n required: false\n schema:\n type: boolean\n default: false\n description: If `true`, scrolls to bottom then back to top, creating a seamless loop.\n - name: start_immediately\n in: query\n required: false\n schema:\n type: boolean\n default: false\n description: Starts recording immediately without waiting for full page load.\n - name: multiple_scrolling\n in: query\n required: false\n schema:\n type: boolean\n default: false\n description: Captures multiple scrolling screenshots at different viewport sizes in one request. Requires the `sizes` parameter.\n - name: sizes\n in: query\n required: false\n style: form\n explode: false\n schema:\n type: string\n description: Comma-separated list of screen sizes in the format index:WIDTHw:HEIGHTh, for example 0:1280w:720h,1:390w:844h. Required when `multiple_scrolling` is `true`.\n - name: duration\n in: query\n required: false\n schema:\n type: integer\n minimum: 0\n maximum: 60\n description: 'Duration of scrolling action in seconds (0-60). Higher = longer video. Default: null (full page scroll).'\n responses:\n '200':\n description: Successful PDF response\n content:\n application/pdf:\n schema:\n type: string\n format: binary\n application/json:\n schema:\n $ref: '#/components/schemas/ScreenshotResponse'\n examples:\n success:\n summary: Successful response\n value:\n screenshot: https://s3.eu-central-2.wasabisys.com/w.storage.apifreaks.com/example_com_e56fe7e60d8d.png\n url: https://example.com\n created_at: '2026-07-27T10:19:08.668Z'\n format: json\n ttl: '2026-08-26T10:19:05.486Z'\n headers:\n X-AF-Credits-Cost:\n $ref: '#/components/headers/X-AF-Credits-Cost'\n X-Concurrent-Threads:\n $ref: '#/components/headers/X-Concurrent-Threads'\n X-Concurrent-Threads-Active:\n $ref: '#/components/headers/X-Concurrent-Threads-Active'\n '310':\n description: Too Many Redirects. The target URL redirected too many times for a final page to be reached.\n content:\n application/json:\n examples:\n tooManyRedirects:\n summary: Redirect loop\n value:\n timestamp: '2026-07-27T10:19:12.100Z'\n status: 310\n error: too_many_redirects\n message: The target URL redirected too many times (redirect loop), so a final page could not be reached.\n path: /v3/screenshot\n schema:\n $ref: '#/components/schemas/ErrorResponse'\n headers:\n X-AF-Credits-Cost:\n $ref: '#/components/headers/X-AF-Credits-Cost'\n X-Concurrent-Threads:\n $ref: '#/components/headers/X-Concurrent-Threads'\n X-Concurrent-Threads-Active:\n $ref: '#/components/headers/X-Concurrent-Threads-Active'\n '400':\n description: Bad Request. Missing, invalid, or malformed request parameters, SSL certificate problems on the target site, unsupported output or extraction options, or a request that was aborted before completion.\n content:\n application/json:\n examples:\n InvalidUrl:\n summary: Invalid URL\n value:\n timestamp: '2026-07-27T10:19:11.354Z'\n status: 400\n error: invalid_url\n message: Your URL is incorrect\n path: /v3/screenshot\n missingUrl:\n summary: Missing required url parameter\n value:\n error: Invalid Param Exception\n message: please pass correct parameters\n path: /v1.0/screenshot\n status: 400\n timestamp: '2026-07-27T10:19:11.922Z'\n urlRequired:\n summary: url parameter not provided\n value:\n timestamp: '2026-07-27T10:19:12.200Z'\n status: 400\n error: url_required\n message: The url parameter is required but was not provided.\n path: /v3/screenshot\n invalidFileType:\n summary: Unsupported file_type value\n value:\n timestamp: '2026-07-27T10:19:12.300Z'\n status: 400\n error: invalid_file_type\n message: The file_type value is not a supported output format.\n path: /v3/screenshot\n invalidProxy:\n summary: Malformed proxy value\n value:\n timestamp: '2026-07-27T10:19:12.400Z'\n status: 400\n error: invalid_proxy\n message: The proxy value is malformed or invalid.\n path: /v3/screenshot\n invalidGeolocationParameter:\n summary: Latitude or longitude out of range\n value:\n timestamp: '2026-07-27T10:19:12.500Z'\n status: 400\n error: Invalid_geolocation_parameter\n message: The latitude or longitude value is outside the allowed range.\n path: /v3/screenshot\n invalidCssUrl:\n summary: css_url is not a valid URL\n value:\n timestamp: '2026-07-27T10:19:12.600Z'\n status: 400\n error: invalid_css_url\n message: The css_url value is not a valid URL.\n path: /v3/screenshot\n invalidJsUrl:\n summary: js_url is not a valid URL\n value:\n timestamp: '2026-07-27T10:19:12.700Z'\n status: 400\n error: invalid_js_url\n message: The js_url value is not a valid URL.\n path: /v3/screenshot\n invalidJsCode:\n summary: js code is invalid\n value:\n timestamp: '2026-07-27T10:19:12.800Z'\n status: 400\n error: invalid_js_code\n message: The JavaScript passed in js is invalid and could not be executed.\n path: /v3/screenshot\n invalidClippedArea:\n summary: Invalid clip dimensions\n value:\n timestamp: '2026-07-27T10:19:12.900Z'\n status: 400\n error: invalid_clipped_area\n message: The clip[x], clip[y], clip[width] or clip[height] values are invalid.\n path: /v3/screenshot\n invalidInputSyntax:\n summary: Non-integer value for an integer parameter\n value:\n timestamp: '2026-07-27T10:19:13.000Z'\n status: 400\n error: invalid_input_syntax\n message: A parameter that expects an integer received an invalid value.\n path: /v3/screenshot\n errSslProtocolError:\n summary: SSL certificate problem on the target site\n value:\n timestamp: '2026-07-27T10:19:13.100Z'\n status: 400\n error: ERR_SSL_PROTOCOL_ERROR\n message: A secure connection could not be established because of an SSL certificate problem on the target site.\n path: /v3/screenshot\n errSslUnrecognizedNameAlert:\n summary: SSL certificate does not match the domain\n value:\n timestamp: '2026-07-27T10:19:13.200Z'\n status: 400\n error: ERR_SSL_UNRECOGNIZED_NAME_ALERT\n message: The SSL certificate does not match the domain. The site may be down or may have moved.\n path: /v3/screenshot\n featureNotSupported:\n summary: Extraction feature not supported\n value:\n timestamp: '2026-07-27T10:19:13.300Z'\n status: 400\n error: feature_not_supported\n message: HTML, Markdown or text extraction is not supported.\n path: /v3/screenshot\n invalidScrollingFileType:\n summary: Unsupported file type for scrolling capture\n value:\n timestamp: '2026-07-27T10:19:13.400Z'\n status: 400\n error: invalid_scrolling_file_type\n message: PNG, JPG and WEBP are not supported for scrolling capture. Use a video format such as MP4, WEBM or GIF.\n path: /v3/screenshot\n requestAborted:\n summary: Request aborted before completion\n value:\n timestamp: '2026-07-27T10:19:13.500Z'\n status: 400\n error: request_aborted\n message: The request was aborted before it completed, for example due to a timeout or cancellation.\n path: /v3/screenshot\n errAddressUnreachable:\n summary: Target address unreachable\n value:\n timestamp: '2026-07-27T10:19:12.500Z'\n status: 400\n error: ERR_ADDRESS_UNREACHABLE\n message: Target address is unreachable. Please check the URL or network connectivity.\n path: /v3/screenshot\n schema:\n $ref: '#/components/schemas/ErrorResponse'\n headers:\n X-AF-Credits-Cost:\n $ref: '#/components/headers/X-AF-Credits-Cost'\n X-Concurrent-Threads:\n $ref: '#/components/headers/X-Concurrent-Threads'\n X-Concurrent-Threads-Active:\n $ref: '#/components/headers/X-Concurrent-Threads-Active'\n '407':\n description: Proxy Authentication Required. A tunnel connection to the target could not be established.\n content:\n application/json:\n examples:\n networkConnectionFailed:\n summary: Tunnel connection could not be established\n value:\n timestamp: '2026-07-27T10:19:20.100Z'\n status: 407\n error: network_connection_failed\n message: A tunnel connection to the target could not be established. Check the URL and proxy setting.\n path: /v3/screenshot\n errTunnelConnectionFailed:\n summary: Tunnel connection failed\n value:\n timestamp: '2026-07-27T10:19:20.200Z'\n status: 407\n error: ERR_TUNNEL_CONNECTION_FAILED\n message: A tunnel to the target failed. Verify the URL and proxy settings.\n path: /v3/screenshot\n schema:\n $ref: '#/components/schemas/ErrorResponse'\n headers:\n X-AF-Credits-Cost:\n $ref: '#/components/headers/X-AF-Credits-Cost'\n X-Concurrent-Threads:\n $ref: '#/components/headers/X-Concurrent-Threads'\n X-Concurrent-Threads-Active:\n $ref: '#/components/headers/X-Concurrent-Threads-Active'\n '408':\n description: Request Timeout \u2014 Screenshot capture exceeded the configured timeout\n content:\n application/json:\n examples:\n RequestTimeout:\n summary: Request timed out\n value:\n timestamp: '2026-07-27T10:19:25.676Z'\n status: 408\n error: timeout_error\n message: The request took too long to complete. Please try again later.\n path: /v3/screenshot\n schema:\n $ref: '#/components/schemas/ErrorResponse'\n headers:\n X-AF-Credits-Cost:\n $ref: '#/components/headers/X-AF-Credits-Cost'\n X-Concurrent-Threads:\n $ref: '#/components/headers/X-Concurrent-Threads'\n X-Concurrent-Threads-Active:\n $ref: '#/components/headers/X-Concurrent-Threads-Active'\n '444':\n description: Connection Closed Without Response. The target site closed the connection unexpectedly or returned no data.\n content:\n application/json:\n examples:\n errConnectionClosed:\n summary: Target site closed the connection\n value:\n timestamp: '2026-07-27T10:19:30.100Z'\n status: 444\n error: ERR_CONNECTION_CLOSED\n message: The target site unexpectedly closed the connection.\n path: /v3/screenshot\n errEmptyResponse:\n summary: Target server returned no data\n value:\n timestamp: '2026-07-27T10:19:30.200Z'\n status: 444\n error: ERR_EMPTY_RESPONSE\n message: The target server closed the connection without returning any data.\n path: /v3/screenshot\n schema:\n $ref: '#/components/schemas/ErrorResponse'\n headers:\n X-AF-Credits-Cost:\n $ref: '#/components/headers/X-AF-Credits-Cost'\n X-Concurrent-Threads:\n $ref: '#/components/headers/X-Concurrent-Threads'\n X-Concurrent-Threads-Active:\n $ref: '#/components/headers/X-Concurrent-Threads-Active'\n '495':\n description: SSL Certificate Error. The browser and the target website have incompatible SSL/TLS versions or ciphers.\n content:\n application/json:\n examples:\n sslVersionOrCipherMismatch:\n summary: Incompatible SSL/TLS version or cipher\n value:\n timestamp: '2026-07-27T10:19:31.100Z'\n status: 495\n error: ssl_version_or_cipher_mismatch\n message: The browser and the target website have incompatible SSL/TLS versions or ciphers.\n path: /v3/screenshot\n schema:\n $ref: '#/components/schemas/ErrorResponse'\n headers:\n X-AF-Credits-Cost:\n $ref: '#/components/headers/X-AF-Credits-Cost'\n X-Concurrent-Threads:\n $ref: '#/components/headers/X-Concurrent-Threads'\n X-Concurrent-Threads-Active:\n $ref: '#/components/headers/X-Concurrent-Threads-Active'\n '503':\n description: Service Unavailable. The request could not be completed due to temporary unavailability on the target or capture service.\n content:\n application/json:\n examples:\n temporaryUnavailable:\n summary: Temporarily unavailable, retry the request\n value:\n timestamp: '2026-07-27T10:19:32.100Z'\n status: 503\n error: temporary_unavailable\n message: The request could not be completed due to temporary unavailability, such as a closed browser. Retry the request.\n path: /v3/screenshot\n errSocketNotConnected:\n summary: Target page may be down or moved\n value:\n timestamp: '2026-07-27T10:19:32.200Z'\n status: 503\n error: ERR_SOCKET_NOT_CONNECTED\n message: The target page may be temporarily down or may have moved permanently.\n path: /v3/screenshot\n schema:\n $ref: '#/components/schemas/ErrorResponse'\n headers:\n X-AF-Credits-Cost:\n $ref: '#/components/headers/X-AF-Credits-Cost'\n X-Concurrent-Threads:\n $ref: '#/components/headers/X-Concurrent-Threads'\n X-Concurrent-Threads-Active:\n $ref: '#/components/headers/X-Concurrent-Threads-Active'\ncomponents:\n securitySchemes:\n ApiKeyAuthHeader:\n type: apiKey\n in: header\n name: X-apiKey\n description: Pass your API key via the X-apiKey request header.\n ApiKeyAuthQuery:\n type: apiKey\n in: query\n name: apiKey\n description: Pass your API key via the apiKey query parameter.\n schemas:\n ScreenshotResponse:\n type: object\n description: Website screenshot response containing the screenshot URL and metadata.\n required:\n - screenshot\n - url\n - created_at\n - format\n - ttl\n properties:\n screenshot:\n type: string\n format: uri\n description: URL of the captured screenshot image file.\n url:\n type: string\n format: uri\n description: The original URL that was captured.\n created_at:\n type: string\n format: date-time\n description: Timestamp when the screenshot was created (ISO 8601 format).\n format:\n type: string\n description: Response format type.\n ttl:\n type: string\n description: Time until the screenshot expires (ISO 8601 format).\n file_type:\n type: string\n description: The file type of the output.\n width:\n type: integer\n description: The viewport width that was used in pixels.\n height:\n type: integer\n description: The viewport height that was used in pixels.\n fresh:\n type: boolean\n description: Whether a fresh render was performed (`true`/`false`).\n full_page:\n type: boolean\n description: Whether full page capture was used (`true`/`false`).\n lazy_load:\n type: boolean\n description: Whether lazy loading was triggered (`true`/`false`).\n retina:\n type: boolean\n description: Whether retina capture was used (`true`/`false`).\n dark_mode:\n type: boolean\n description: Whether dark mode was enabled (`true`/`false`).\n enable_caching:\n type: boolean\n description: Whether caching was enabled (`true`/`false`).\n omit_background:\n type: boolean\n description: Whether background was removed (`true`/`false`).\n destroy_screenshot:\n type: boolean\n description: Whether the screenshot was destroyed after generation (`true`/`false`).\n fail_on_error:\n type: boolean\n description: Whether the request failed on error (`true`/`false`).\n block_ads:\n type: boolean\n description: Whether ads were blocked (`true`/`false`).\n no_cookie_banners:\n type: boolean\n description: Whether cookie banners were blocked (`true`/`false`).\n block_chat_widgets:\n type: boolean\n description: Whether chat widgets were blocked (`true`/`false`).\n block_tracking:\n type: boolean\n description: Whether tracking scripts were blocked (`true`/`false`).\n block_js:\n type: boolean\n description: Whether JavaScript was blocked (`true`/`false`).\n block_stylesheets:\n type: boolean\n description: Whether stylesheets were blocked (`true`/`false`).\n block_images:\n type: boolean\n description: Whether images were blocked (`true`/`false`).\n block_media:\n type: boolean\n description: Whether media files were blocked (`true`/`false`).\n block_font:\n type: boolean\n description: Whether fonts were blocked (`true`/`false`).\n block_xhr:\n type: boolean\n description: Whether XHR requests were blocked (`true`/`false`).\n block_fetch:\n type: boolean\n description: Whether Fetch API requests were blocked (`true`/`false`).\n block_web_socket:\n type: boolean\n description: Whether WebSocket connections were blocked (`true`/`false`).\n block_manifest:\n type: boolean\n description: Whether manifest files were blocked (`true`/`false`).\n extract_text:\n type: boolean\n description: Whether text content was extracted (`true`/`false`).\n extract_html:\n type: boolean\n description: Whether HTML content was extracted (`true`/`false`).\n extract_markdown:\n type: boolean\n description: Whether markdown extraction was enabled (`true`/`false`).\n get_image_urls:\n type: boolean\n description: Whether image URL extraction was enabled (`true`/`false`).\n longitude:\n type: number\n format: float\n description: The longitude value used for geolocation.\n latitude:\n type: number\n format: float\n description: The latitude value used for geolocation.\n proxy:\n type: string\n description: The proxy configuration used for the request.\n headers:\n type: string\n description: The custom headers that were included in the request.\n cookies:\n type: string\n description: The cookies that were included in the request.\n scroll_to_element:\n type: string\n description: The element that was scrolled to before rendering.\n selector:\n type: string\n description: The element that was selected for rendering.\n selector_to_click:\n type: string\n description: The CSS selector of the element that was clicked before capture.\n click_recursion:\n type: integer\n description: The number of times the selector was clicked.\n blur_selector:\n type: string\n description: The elements that were blurred in the output.\n remove_selector:\n type: string\n description: The elements that were removed from the output.\n css:\n type: string\n description: The custom CSS that was injected into the page.\n css_url:\n type: string\n format: uri\n description: The external CSS URL that was loaded.\n js:\n type: string\n description: The custom JavaScript that was injected.\n js_url:\n type: string\n format: uri\n description: The external JavaScript URL that was loaded.\n user_agent:\n type: string\n description: The User-Agent string that was used.\n accept_languages:\n type: string\n description: The Accept-Language header that was used.\n delay:\n type: integer\n description: The delay duration that was applied in milliseconds.\n thumbnail_width:\n type: integer\n description: The thumbnail width that was used in pixels.\n output:\n type: string\n description: The output type that was used.\n image_quality:\n type: integer\n description: The image quality level that was applied.\n timeout:\n type: integer\n description: The actual timeout duration that was applied in milliseconds.\n adjust_top:\n type: integer\n description: The vertical position that was scrolled to in pixels.\n wait_for_event:\n type: string\n description: The event that triggered the rendering to start.\n grayscale:\n type: integer\n description: The grayscale level that was applied (0-100).\n scrolling_screenshot:\n type: boolean\n description: Whether scrolling screenshot mode was enabled (`true`/`false`).\n multiple_scrolling:\n type: boolean\n description: Whether multiple scrolling captures were performed (`true`/`false`).\n sizes:\n type: array\n items:\n type: string\n description: The dimensions used for each capture in the array.\n scroll_speed:\n type: string\n description: Scrolling speed that was used.\n scroll_back:\n type: boolean\n description: Whether scroll back was enabled.\n start_immediately:\n type: boolean\n description: Whether recording started immediately.\n duration:\n type: integer\n description: Duration of scrolling capture in seconds.\n result_file_name:\n type: string\n description: The final filename used for the output file.\n enable_incognito:\n type: boolean\n description: Whether incognito mode was enabled (`true`/`false`).\n extracted_html:\n type: string\n description: URL of the extracted HTML from the webpage.\n format: uri\n extracted_text:\n type: string\n description: URL of the extracted plain text from the webpage.\n format: uri\n custom_html:\n type: string\n description: The custom HTML content that was rendered.\n block_text_track:\n type: boolean\n description: Whether text tracks were blocked (`true`/`false`).\n block_event_source:\n type: boolean\n description: Whether EventSource connections were blocked (`true`/`false`).\n block_specific_requests:\n type: string\n description: The specific requests that were blocked.\n clip:\n type: object\n description: The dimensions of the clipped area that was captured.\n properties:\n x:\n type: integer\n 'y':\n type: integer\n width:\n type: integer\n height:\n type: integer\n scroll_delay:\n type: integer\n description: The delay between scroll steps that was applied in milliseconds.\n video:\n type: boolean\n description: Whether viewport recording mode was enabled (`true`/`false`).\n ErrorResponse:\n type: object\n description: Standard error envelope returned by the API on failed requests.\n required:\n - message\n properties:\n error:\n type: string\n description: Short error category or exception type.\n message:\n type: string\n description: Human-readable error message describing the failure.\n path:\n type: string\n description: API endpoint path that produced the error.\n status:\n type: integer\n description: HTTP status code returned with the error.\n timestamp:\n type: string\n format: date-time\n description: Timestamp when the error occurred (ISO 8601).\n headers:\n X-AF-Credits-Cost:\n description: Specifies the number of credits consumed by the current request.\n schema:\n type: integer\n X-Concurrent-Threads:\n description: Specifies the maximum number of concurrent requests allowed.\n schema:\n type: integer\n X-Concurrent-Threads-Active:\n description: Indicates the number of active concurrent requests being processed.\n schema:\n type: integer\nsecurity:\n - ApiKeyAuthHeader: []\n - ApiKeyAuthQuery: []\n",
63594
63668
  "ssl-certificate-chain-lookup": "openapi: 3.1.1\ninfo:\n title: SSL Certificate Chain Lookup API Reference\n version: 1.0.0\n description: Retrieve the complete SSL certificate chain for any domain, including all intermediate and root certificates. Returns the same detailed certificate information as the single lookup \u2014 expiry dates, issuer details, signature algorithms, public key data, and extensions \u2014 for every certificate in the chain.\n contact:\n name: APIFreaks Support\n url: https://apifreaks.com/contact\n email: support@apifreaks.com\nservers:\n - url: https://api.apifreaks.com/v1.0\n description: SSL Certificate Chain Lookup API Server\npaths:\n /domain/ssl/live/chain:\n get:\n tags:\n - SSL APIs\n summary: Retrieve all certificates from the domain to the root Certificate Authority (CA) of a domain.\n description: |\n Retrieve the complete SSL certificate chain from root Certificate Authority (CA) to end-user certificate.\n This endpoint provides comprehensive information about each certificate in the chain.\n operationId: sslCertificateChainLookup\n parameters:\n - name: format\n in: query\n required: false\n schema:\n type: string\n enum:\n - json\n - xml\n default: json\n description: Format of the response.\n - name: domainName\n in: query\n required: true\n schema:\n type: string\n description: Domain name or URL whose SSL certificate chain lookup is required\n - name: sslRaw\n in: query\n required: false\n schema:\n type: boolean\n description: Set to true to get the raw openSSL response for each certificate in the chain\n responses:\n '200':\n description: Successful SSL certificate chain lookup response\n content:\n application/json:\n schema:\n $ref: '#/components/schemas/SSLLookupResponse'\n examples:\n SSL Certificate Chain:\n value:\n domainName: google.com\n queryTime: '2026-06-06 14:58:45'\n sslCertificates:\n - chainOrder: end-user\n authenticationType: domain\n validityStartDate: 2026-06-2 06:23:03 UTC\n validityEndDate: 2026-08-31 07:21:11 UTC\n serialNumber: 7b:75:1c:fe:fb:bb:95:33:0e:e2:a1:6b:9e:89:e1:b7\n signatureAlgorithm: ECDSA-SHA256\n subject:\n commonName: '*.google.com'\n issuer:\n commonName: WE1\n organization: Google Trust Services\n country: US\n publicKey:\n keySize: 256 bit\n keyAlgorithm: ECDSA\n pemRaw: |\n -----BEGIN PUBLIC KEY-----\n MFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAELD2RK4J04b+CkgML4RrJmWd482WIxr61Nq21HpA9c9G5ou6PsaIEhrESlu6xMHM+ucHh/0jQArZwnb8F0YwXZw==\n -----END PUBLIC KEY-----\n extensions:\n authorityKeyIdentifier: 90:77:92:35:67:C4:FF:A8:CC:A9:E6:7B:D9:80:79:7B:CC:93:F9:38\n subjectKeyIdentifier: 6D:E0:94:E7:A4:F4:43:F1:20:17:0E:81:FC:C4:91:4D:18:A0:C9:2F\n keyUsages:\n - Digital Signature\n extendedKeyUsages:\n - TLS Web Server Authentication\n crlDistributionPoints:\n - http://c.pki.goog/we1/R7LgAnKD4Lk.crl\n authorityInfoAccess:\n issuers:\n - http://i.pki.goog/we1.crt\n ocsp:\n - http://o.pki.goog/s/we1/e3U\n subjectAlternativeNames:\n dnsNames:\n - '*.google.com'\n - google.com\n certificatePolicies:\n - policyId: 2.23.140.1.2.1\n pemRaw: |\n -----BEGIN CERTIFICATE-----\n MIIDpDCCA0mgAwIBAgIQe3Uc/vu7lTMO4qFrnonhtzAKBggqhkjOPQQDAjA7MQswCQYDVQQGEwJVUzEeMBwGA1UEChMVR29vZ2xlIFRydXN0IFNlcnZpY2VzMQwwCgYDVQQDEwNXRTEwHhcNMjYwNjAyMDYyMzAzWhcNMjYwODMxMDcyMTExWjAWMRQwEgYDVQQDEwtqZnJlYWtzLmNvbTBZMBMGByqGSM49AgEGCCqGSM49AwEHA0IABCw9kSuCdOG/gpIDC+EayZlnePNliMa+tTattR6QPXPRuaLuj7GiBIaxEpbusTBzPrnB4f9I0AK2cJ2/BdGMF2ejggJSMIICTjAOBgNVHQ8BAf8EBAMCB4AwEwYDVR0lBAwwCgYIKwYBBQUHAwEwDAYDVR0TAQH/BAIwADAdBgNVHQ4EFgQUbeCU56T0Q/EgFw6B/MSRTRigyS8wHwYDVR0jBBgwFoAUkHeSNWfE/6jMqeZ72YB5e8yT+TgwXgYIKwYBBQUHAQEEUjBQMCcGCCsGAQUFBzABhhtodHRwOi8vby5wa2kuZ29vZy9zL3dlMS9lM1UwJQYIKwYBBQUHMAKGGWh0dHA6Ly9pLnBraS5nb29nL3dlMS5jcnQwJQYDVR0RBB4wHIILamZyZWFrcy5jb22CDSouamZyZWFrcy5jb20wEwYDVR0gBAwwCjAIBgZngQwBAgEwNgYDVR0fBC8wLTAroCmgJ4YlaHR0cDovL2MucGtpLmdvb2cvd2UxL1I3TGdBbktENExrLmNybDCCAQMGCisGAQQB1nkCBAIEgfQEgfEA7wB2AJROQ4f67MHvgfMZJCaoGGUBx9NfOAIBP3JnfVU3LhnYAAABnoc27FIAAAQDAEcwRQIhAN5bVfN6osVhMW6F32m52+fRsNf6yDQIhXfHZ3S0DXK7AiBdVp3hQqIjM/TpSynLnZJ5W6Ng4Pd5WjRZtZP8wtNBmAB1ANgJVTuUT3r/yBYZb5RPhauw+Pxeh1UmDxXRLnK7RUsUAAABnoc27IUAAAQDAEYwRAIgZ4Hn/21EyS31ZoYWNiIbIbfnSWvnTTzMBGUzkPXa7E4CIChvO8tx+1vcNhmO2/qpE5pwLTIpeqwKH9+OvGdfoa4pMAoGCCqGSM49BAMCA0kAMEYCIQDL0J1LBJszJdu9uQJi5roRavn8KzuiC0caVQ9KxB1LzQIhAL16BeuNfUXnQ0JxUMiVXIWmKz7QoiLImDBS1+b+ZvJP\n -----END CERTIFICATE-----\n - chainOrder: intermediate\n authenticationType: organization\n validityStartDate: 2023-12-13 09:00:00 UTC\n validityEndDate: 2029-02-20 14:00:00 UTC\n serialNumber: 7f:f3:19:77:97:2c:22:4a:76:15:5d:13:b6:d6:85:e3\n signatureAlgorithm: ECDSA-SHA2384\n subject:\n commonName: WE1\n organization: Google Trust Services\n country: US\n issuer:\n commonName: GTS Root R4\n organization: Google Trust Services LLC\n country: US\n publicKey:\n keySize: 256 bit\n keyAlgorithm: ECDSA\n pemRaw: |\n -----BEGIN PUBLIC KEY-----\n MFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEb806/mdXR0whA4VAwkddu1hHD0DBXBeFxhk359V87YZLm4HZ1xoTpQoD+JjExuie/xBZjywmmPXmJiW7DwL6Vg==\n -----END PUBLIC KEY-----\n extensions:\n authorityKeyIdentifier: 80:4C:D6:EB:74:FF:49:36:A3:D5:D8:FC:B5:3E:C5:6A:F0:94:1D:8C\n subjectKeyIdentifier: 90:77:92:35:67:C4:FF:A8:CC:A9:E6:7B:D9:80:79:7B:CC:93:F9:38\n keyUsages:\n - CRL Sign\n - Digital Signature\n - Certificate Sign\n extendedKeyUsages:\n - TLS Web Server Authentication\n - TLS Web Client Authentication\n crlDistributionPoints:\n - http://c.pki.goog/r/r4.crl\n authorityInfoAccess:\n issuers:\n - http://i.pki.goog/r4.crt\n certificatePolicies:\n - policyId: 2.23.140.1.2.1\n pemRaw: |\n -----BEGIN CERTIFICATE-----\n MIICnzCCAiWgAwIBAgIQf/MZd5csIkp2FV0TttaF4zAKBggqhkjOPQQDAzBHMQswCQYDVQQGEwJVUzEiMCAGA1UEChMZR29vZ2xlIFRydXN0IFNlcnZpY2VzIExMQzEUMBIGA1UEAxMLR1RTIFJvb3QgUjQwHhcNMjMxMjEzMDkwMDAwWhcNMjkwMjIwMTQwMDAwWjA7MQswCQYDVQQGEwJVUzEeMBwGA1UEChMVR29vZ2xlIFRydXN0IFNlcnZpY2VzMQwwCgYDVQQDEwNXRTEwWTATBgcqhkjOPQIBBggqhkjOPQMBBwNCAARvzTr+Z1dHTCEDhUDCR127WEcPQMFcF4XGGTfn1XzthkubgdnXGhOlCgP4mMTG6J7/EFmPLCaY9eYmJbsPAvpWo4H+MIH7MA4GA1UdDwEB/wQEAwIBhjAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwEgYDVR0TAQH/BAgwBgEB/wIBADAdBgNVHQ4EFgQUkHeSNWfE/6jMqeZ72YB5e8yT+TgwHwYDVR0jBBgwFoAUgEzW63T/STaj1dj8tT7FavCUHYwwNAYIKwYBBQUHAQEEKDAmMCQGCCsGAQUFBzAChhhodHRwOi8vaS5wa2kuZ29vZy9yNC5jcnQwKwYDVR0fBCQwIjAgoB6gHIYaaHR0cDovL2MucGtpLmdvb2cvci9yNC5jcmwwEwYDVR0gBAwwCjAIBgZngQwBAgEwCgYIKoZIzj0EAwMDaAAwZQIxAOcCq1HW90OVznX+0RGU1cxAQXomvtgM8zItPZCuFQ8jSBJSjz5keROv9aYsAm5VsQIwJonMaAFi54mrfhfoFNZEfuNMSQ6/bIBiNLiyoX46FohQvKeIoJ99cx7sUkFN7uJW\n -----END CERTIFICATE-----\n - chainOrder: intermediate\n authenticationType: organization\n validityStartDate: 2023-11-15 03:43:21 UTC\n validityEndDate: 2028-01-28 00:00:42 UTC\n serialNumber: 7f:e5:30:bf:33:13:43:be:dd:82:16:10:49:3d:8a:1b\n signatureAlgorithm: SHA256-RSA\n subject:\n commonName: GTS Root R4\n organization: Google Trust Services LLC\n country: US\n issuer:\n commonName: GlobalSign Root CA\n organization: GlobalSign nv-sa\n organizationalUnit: Root CA\n country: BE\n publicKey:\n keySize: 384 bit\n keyAlgorithm: ECDSA\n pemRaw: |\n -----BEGIN PUBLIC KEY-----\n MHYwEAYHKoZIzj0CAQYFK4EEACIDYgAE83Rzp2iLYK5DuDXFgTB7S0md+8FhzubeRr1r1WEYNa5A3XP3iZEwWus87oV8okB2O6nGuEfYKueSkWpz6bFyOZ8pn6KY019eWIZlD6GEZQbR3IvJx3PIjGov5cSr0R2K\n -----END PUBLIC KEY-----\n extensions:\n authorityKeyIdentifier: 60:7B:66:1A:45:0D:97:CA:89:50:2F:7D:04:CD:34:A8:FF:FC:FD:4B\n subjectKeyIdentifier: 80:4C:D6:EB:74:FF:49:36:A3:D5:D8:FC:B5:3E:C5:6A:F0:94:1D:8C\n keyUsages:\n - CRL Sign\n - Digital Signature\n - Certificate Sign\n extendedKeyUsages:\n - TLS Web Server Authentication\n - TLS Web Client Authentication\n crlDistributionPoints:\n - http://c.pki.goog/r/gsr1.crl\n authorityInfoAccess:\n issuers:\n - http://i.pki.goog/gsr1.crt\n certificatePolicies:\n - policyId: 2.23.140.1.2.1\n pemRaw: |\n -----BEGIN CERTIFICATE-----\n MIIDejCCAmKgAwIBAgIQf+UwvzMTQ77dghYQST2KGzANBgkqhkiG9w0BAQsFADBXMQswCQYDVQQGEwJCRTEZMBcGA1UEChMQR2xvYmFsU2lnbiBudi1zYTEQMA4GA1UECxMHUm9vdCBDQTEbMBkGA1UEAxMSR2xvYmFsU2lnbiBSb290IENBMB4XDTIzMTExNTAzNDMyMVoXDTI4MDEyODAwMDA0MlowRzELMAkGA1UEBhMCVVMxIjAgBgNVBAoTGUdvb2dsZSBUcnVzdCBTZXJ2aWNlcyBMTEMxFDASBgNVBAMTC0dUUyBSb290IFI0MHYwEAYHKoZIzj0CAQYFK4EEACIDYgAE83Rzp2iLYK5DuDXFgTB7S0md+8FhzubeRr1r1WEYNa5A3XP3iZEwWus87oV8okB2O6nGuEfYKueSkWpz6bFyOZ8pn6KY019eWIZlD6GEZQbR3IvJx3PIjGov5cSr0R2Ko4H/MIH8MA4GA1UdDwEB/wQEAwIBhjAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDwYDVR0TAQH/BAUwAwEB/zAdBgNVHQ4EFgQUgEzW63T/STaj1dj8tT7FavCUHYwwHwYDVR0jBBgwFoAUYHtmGkUNl8qJUC99BM00qP/8/UswNgYIKwYBBQUHAQEEKjAoMCYGCCsGAQUFBzAChhpodHRwOi8vaS5wa2kuZ29vZy9nc3IxLmNydDAtBgNVHR8EJjAkMCKgIKAehhxodHRwOi8vYy5wa2kuZ29vZy9yL2dzcjEuY3JsMBMGA1UdIAQMMAowCAYGZ4EMAQIBMA0GCSqGSIb3DQEBCwUAA4IBAQAYQrsPBtYDh5bjP2OBDwmkoWhIDDkic574y04tfzHpn+cJodI2D4SseesQ6bDrarZ7C30ddLibZatoKiws3UL9xnELz4ct92vID24FfVbiI1hY+SW6FoVHkNeWIP0GCbaM4C6uVdF5dTUsMVs/ZbzNnIdCp5Gxmx5ejvEau8otR/CskGN+hr/W5GvT1tMBjgWKZ1i4//emhA1JG1BbPzoLJQvyEotc03lXjTaCzv8mEbep8RqZ7a2CPsgRbuvTPBwcOMBBmuFeU88+FSBX6+7iP0il8b4Z0QFqIwwMHfs/L6K1vepuoxtGzi4CZ68zJpiq1UvSqTbFJjtbD4seiMHl\n -----END CERTIFICATE-----\n - chainOrder: root\n authenticationType: self-signed-ca\n validityStartDate: 2011-09-22 11:22:02 UTC\n validityEndDate: 2030-09-22 11:22:02 UTC\n serialNumber: 'Signature Algorithm: sha256WithRSAEncryption'\n signatureAlgorithm: SHA256-RSA\n subject:\n commonName: Actalis Authentication Root CA\n organization: Actalis S.p.A./03358520967\n locality: Milan\n country: IT\n issuer:\n commonName: Actalis Authentication Root CA\n organization: Actalis S.p.A./03358520967\n locality: Milan\n country: IT\n publicKey:\n keySize: 4096 bit\n keyAlgorithm: RSA\n pemRaw: |\n -----BEGIN PUBLIC KEY-----\n MIICIjANBgkqhkiG9w0BAQEFAAOCAg8AMIICCgKCAgEAp8bEpSmkLO/lGMWwUKNvUTufClrJwkg4CsIcoBh/kbWHuUA/3R1oHwiD1S0eiKD4j1aPbZkCkpAW1V8IbInX4ay8IMKx4INRimlNAJZaby/ARH6jDuSRzVju3PvHHkVH3Se5CAGfpiEd9UEtL0z9KK3giq0itFZljoZUj5NDKd45RnijMCO6zfB9E1fAXdKDa0hMxKufgFpbOr3JpyI/gCczWw63igxdBzcIy2zSekciRDXFzMwujt0q7bd9Zg1fYVEiVRvjRuPjPdA1YprbrxTIW6HMiRvhMCb8oJsfgadHHwTrozmSBp+Z07/T6k9QnBn+locePGX2oxgkg4YQ51Q+qDp2JE+BIcXjDwL4k5RHILv+1A7TaLndxHqEguNTVHnd25zS8gebLra8Pu2Fbe8lEfKXGkJh90qX6IuxEAf6ZYGyojnP9zz/GPvG8VqLWeICrHuS0E4UT1lF9gxeKF+w6D9Fz8+vm2/7hNN3WpVvrJSEnu68wEqPSpP4RCHiMUVhUE4Q2OM1fEwZtN4Fv6MGn8i1zeQf1xcGDXqVdFUNaBr8EBtiZJ1t4JWgw5QHVw0U5r0F+7if5t+L4sbnfpb2U8WANFAoWPASUHEXMLrmeGO89LKtmyuy/uE5jF66CyCU3nuDuP/jVo23Eek7jPKxwV2dpAtMK9myGPW1n0sCAwEAAQ==\n -----END PUBLIC KEY-----\n extensions:\n authorityKeyIdentifier: 52:D8:88:3A:C8:9F:78:66:ED:89:F3:7B:38:70:94:C9:02:02:36:D0\n subjectKeyIdentifier: 52:D8:88:3A:C8:9F:78:66:ED:89:F3:7B:38:70:94:C9:02:02:36:D0\n keyUsages:\n - CRL Sign\n - Certificate Sign\n pemRaw: |\n -----BEGIN CERTIFICATE-----\n MIIFuzCCA6OgAwIBAgIIVwoRl0LE48wwDQYJKoZIhvcNAQELBQAwazELMAkGA1UEBhMCSVQxDjAMBgNVBAcMBU1pbGFuMSMwIQYDVQQKDBpBY3RhbGlzIFMucC5BLi8wMzM1ODUyMDk2NzEnMCUGA1UEAwweQWN0YWxpcyBBdXRoZW50aWNhdGlvbiBSb290IENBMB4XDTExMDkyMjExMjIwMloXDTMwMDkyMjExMjIwMlowazELMAkGA1UEBhMCSVQxDjAMBgNVBAcMBU1pbGFuMSMwIQYDVQQKDBpBY3RhbGlzIFMucC5BLi8wMzM1ODUyMDk2NzEnMCUGA1UEAwweQWN0YWxpcyBBdXRoZW50aWNhdGlvbiBSb290IENBMIICIjANBgkqhkiG9w0BAQEFAAOCAg8AMIICCgKCAgEAp8bEpSmkLO/lGMWwUKNvUTufClrJwkg4CsIcoBh/kbWHuUA/3R1oHwiD1S0eiKD4j1aPbZkCkpAW1V8IbInX4ay8IMKx4INRimlNAJZaby/ARH6jDuSRzVju3PvHHkVH3Se5CAGfpiEd9UEtL0z9KK3giq0itFZljoZUj5NDKd45RnijMCO6zfB9E1fAXdKDa0hMxKufgFpbOr3JpyI/gCczWw63igxdBzcIy2zSekciRDXFzMwujt0q7bd9Zg1fYVEiVRvjRuPjPdA1YprbrxTIW6HMiRvhMCb8oJsfgadHHwTrozmSBp+Z07/T6k9QnBn+locePGX2oxgkg4YQ51Q+qDp2JE+BIcXjDwL4k5RHILv+1A7TaLndxHqEguNTVHnd25zS8gebLra8Pu2Fbe8lEfKXGkJh90qX6IuxEAf6ZYGyojnP9zz/GPvG8VqLWeICrHuS0E4UT1lF9gxeKF+w6D9Fz8+vm2/7hNN3WpVvrJSEnu68wEqPSpP4RCHiMUVhUE4Q2OM1fEwZtN4Fv6MGn8i1zeQf1xcGDXqVdFUNaBr8EBtiZJ1t4JWgw5QHVw0U5r0F+7if5t+L4sbnfpb2U8WANFAoWPASUHEXMLrmeGO89LKtmyuy/uE5jF66CyCU3nuDuP/jVo23Eek7jPKxwV2dpAtMK9myGPW1n0sCAwEAAQaNjMGEwHQYDVR0OBBYEFFLYiDrIn3hm7YnzezhwlMkCAjbQMA8GA1UdEwEB/wQFMAMBAf8wHwYDVR0jBBgwFoAUUtiIOsifeGbtifN7OHCUyQICNtAwDgYDVR0PAQH/BAQDAgEGMA0GCSqGSIb3DQEBCwUAA4ICAQALe3KHwGCmSUyIWOYdiPcUZEim2FgKDk8TNd81HdTtBjHIgT5q1d07GjLukD0R0i70jsNjLiNmsGe+b7bAEzlgqqI0JZN1Ut6nna0Oh4lScWoWPBkdg/iaKWW+9D+a2fDzWochcYBNy+A4mz+7+uAwTc+G02UQGRjRlwKxK3JCaKygvU5a2hi/a5iB0P2avl4VSM0RFbnAKVy06Ij3Pjaut2L9HmLecHgQHEhb2rykOLpn7VU+Xlff1ANATIGk0k9jpwlCCRT8AKnCgHNPLsBA2RF7SOp6AsDT6ygBJlh0wcBzIm2Tlf05fbsq4/aC4yyXX04fkZT6/iyj2HYauE2yOE+b+h1IYHkm4vP9qdCa6HCPSXrW5b0KDtst842/6+OkfcvHlXHo2qN8xcL4dJIEG4aspCJTQLas/kx2z/uUMsA1n3Y/buWQbqCmJqK4LL7RK4X9p2jIugErsWx0Hbhzlefut8cl8ABMALJ+tguLHPPAUJ4lueAI3jZm/zel0btUZCzJJ7VLkn5l/9Mt4blOvH+kQSGQQXemOR/qnuOf0GZvBeyqdn6/axag67XH/JJULysRJyU3eExRarDzzFhdFPFqSBX/wge2sY0PjlxQRrM9vwGYT7JZVEc+NHt4bVaTLnPqZih4zR0Uv6CPLy64Lo7yFIrM6bV8+2ydDKXhl\n -----END CERTIFICATE-----\n headers:\n X-AF-Credits-Cost:\n $ref: '#/components/headers/X-AF-Credits-Cost'\n '400':\n description: Bad Request \u2013 Invalid domain parameter\n content:\n application/json:\n schema:\n $ref: '#/components/schemas/ErrorResponse'\n examples:\n Invalid Domain Param:\n value:\n timestamp: '2025-08-14T10:27:07.511Z'\n status: 400\n error: Invalid Param Exception\n message: ' Please pass domain param correct value e.g. whoisfreaks.com, https://whoisfreaks.com, http://whoisfreaks.com [For Technical Support: support@apifreaks.com]'\n path: /v1.0/domain/ssl/live/chain\n headers:\n X-AF-Credits-Cost:\n $ref: '#/components/headers/X-AF-Credits-Cost'\n '403':\n description: Forbidden \u2013 Domain extension unavailable\n content:\n application/json:\n schema:\n $ref: '#/components/schemas/ErrorResponse'\n examples:\n Unavailable Domain Extension:\n value:\n timestamp: '2025-08-14T10:27:54.671Z'\n status: 403\n error: Forbidden\n message: Unavailable domain extension.\n path: /v1.0/domain/ssl/live/chain\n headers:\n X-AF-Credits-Cost:\n $ref: '#/components/headers/X-AF-Credits-Cost'\n '404':\n description: Not Found \u2013 No SSL certificate exists\n content:\n application/json:\n schema:\n $ref: '#/components/schemas/ErrorResponse'\n examples:\n No SSL Certificate:\n value:\n timestamp: '2025-08-14T10:28:32.443Z'\n status: 404\n error: SSL Data Not Found\n message: No Ssl Certificate exists for entered Domain\n path: /v1.0/domain/ssl/live/chain\n headers:\n X-AF-Credits-Cost:\n $ref: '#/components/headers/X-AF-Credits-Cost'\ncomponents:\n securitySchemes:\n ApiKeyAuthHeader:\n type: apiKey\n in: header\n name: X-apiKey\n description: Pass your API key via the X-apiKey request header.\n ApiKeyAuthQuery:\n type: apiKey\n in: query\n name: apiKey\n description: Pass your API key via the apiKey query parameter.\n schemas:\n SSLLookupResponse:\n type: object\n required:\n - domainName\n - queryTime\n - sslCertificates\n properties:\n domainName:\n type: string\n description: Domain name or URL that was queried.\n queryTime:\n type: string\n description: Timestamp when the query was executed, in `YYYY-MM-DD HH:mm:ss` format \u2014 not ISO 8601 (no `T` separator, no milliseconds, no `Z`).\n sslCertificates:\n type: array\n items:\n $ref: '#/components/schemas/SSLCertificateItem'\n description: Array of SSL certificate objects forming the complete certificate chain.\n sslRaw:\n type: string\n description: Raw OpenSSL response text if sslRaw was set to true.\n description: SSL certificate chain lookup response containing certificate details and extensions for each certificate in the chain.\n SSLCertificateItem:\n type: object\n description: A single SSL certificate in the certificate chain.\n required:\n - chainOrder\n - authenticationType\n - validityStartDate\n - validityEndDate\n - serialNumber\n - signatureAlgorithm\n - pemRaw\n - subject\n - issuer\n - publicKey\n - extensions\n properties:\n chainOrder:\n type: string\n description: Position in the certificate chain (end-user, intermediate, root).\n authenticationType:\n type: string\n description: Authentication type (domain, organization, extended).\n validityStartDate:\n type: string\n description: Certificate validity start date, in `YYYY-MM-DD HH:mm:ss UTC` format \u2014 not ISO 8601 (space-separated, literal `UTC` suffix instead of `Z`).\n validityEndDate:\n type: string\n description: Certificate validity end date, in `YYYY-MM-DD HH:mm:ss UTC` format \u2014 not ISO 8601 (space-separated, literal `UTC` suffix instead of `Z`).\n serialNumber:\n type: string\n description: Certificate serial number.\n signatureAlgorithm:\n type: string\n description: Signature algorithm used (e.g., SHA256-RSA).\n subject:\n $ref: '#/components/schemas/SSLSubject'\n issuer:\n $ref: '#/components/schemas/SSLIssuer'\n publicKey:\n $ref: '#/components/schemas/SSLPublicKey'\n extensions:\n $ref: '#/components/schemas/SSLExtensions'\n pemRaw:\n type: string\n description: Raw PEM-encoded certificate.\n SSLSubject:\n type: object\n description: Subject information of the SSL certificate.\n required:\n - commonName\n properties:\n commonName:\n type: string\n description: Common name of the subject.\n organization:\n type: string\n description: Organization of the subject.\n organizationalUnit:\n type: string\n description: Organizational unit of the subject.\n locality:\n type: string\n description: Locality of the subject.\n state:\n type: string\n description: State of the subject.\n country:\n type: string\n description: Country of the subject.\n incCountry:\n type: string\n description: Incorporation country of the subject.\n incState:\n type: string\n description: Incorporation state of the subject.\n businessCategory:\n type: string\n description: Business category of the subject.\n street:\n type: string\n description: Street address of the subject.\n postalCode:\n type: string\n description: Postal code of the subject.\n serialNumber:\n type: string\n description: Serial number of the subject.\n SSLIssuer:\n type: object\n description: Issuer information of the SSL certificate.\n required:\n - commonName\n - organization\n - country\n properties:\n commonName:\n type: string\n description: Common name of the issuer.\n organization:\n type: string\n description: Organization of the issuer.\n organizationalUnit:\n type: string\n description: Organizational unit of the issuer.\n locality:\n type: string\n description: Locality of the issuer.\n state:\n type: string\n description: State of the issuer.\n country:\n type: string\n description: Country of the issuer.\n incCountry:\n type: string\n description: Incorporation country of the issuer.\n incState:\n type: string\n description: Incorporation state of the issuer.\n businessCategory:\n type: string\n description: Business category of the issuer.\n street:\n type: string\n description: Street address of the issuer.\n postalCode:\n type: string\n description: Postal code of the issuer.\n serialNumber:\n type: string\n description: Serial number of the issuer.\n SSLPublicKey:\n type: object\n description: Public key details of the SSL certificate.\n required:\n - keySize\n - keyAlgorithm\n - pemRaw\n properties:\n keySize:\n type: string\n description: Public key size (e.g., 256 bit).\n keyAlgorithm:\n type: string\n description: Public key algorithm (e.g., ECDSA, RSA).\n pemRaw:\n type: string\n description: Raw PEM-encoded public key.\n SSLExtensions:\n type: object\n description: X.509 certificate extensions.\n required:\n - keyUsages\n properties:\n authorityKeyIdentifier:\n type: string\n description: Authority key identifier.\n subjectKeyIdentifier:\n type: string\n description: Subject key identifier.\n keyUsages:\n type: array\n items:\n type: string\n description: Key usage extensions.\n extendedKeyUsages:\n type: array\n items:\n type: string\n description: Extended key usage extensions.\n crlDistributionPoints:\n type: array\n items:\n type: string\n description: CRL distribution point URLs.\n authorityInfoAccess:\n $ref: '#/components/schemas/SSLAuthorityInfoAccess'\n subjectAlternativeNames:\n $ref: '#/components/schemas/SSLSubjectAlternativeNames'\n certificatePolicies:\n type: array\n items:\n $ref: '#/components/schemas/SSLCertificatePolicy'\n description: Certificate policy objects.\n SSLAuthorityInfoAccess:\n type: object\n description: Authority information access details.\n properties:\n issuers:\n type: array\n items:\n type: string\n description: Issuer certificate URLs.\n ocsp:\n type: array\n items:\n type: string\n description: OCSP responder URLs.\n required: []\n SSLSubjectAlternativeNames:\n type: object\n description: Subject alternative names on the certificate.\n properties:\n dnsNames:\n type: array\n items:\n type: string\n description: DNS names on the certificate.\n emailAddresses:\n type: array\n items:\n type: string\n description: Email addresses on the certificate.\n ipAddresses:\n type: array\n items:\n type: string\n description: IP addresses on the certificate.\n uris:\n type: array\n items:\n type: string\n description: URIs on the certificate.\n required: []\n SSLCertificatePolicy:\n type: object\n description: A certificate policy object.\n properties:\n policyId:\n type: string\n description: Policy OID identifier.\n policyQualifier:\n $ref: '#/components/schemas/SSLPolicyQualifier'\n required: []\n SSLPolicyQualifier:\n type: object\n description: Policy qualifier for a certificate policy.\n properties:\n oid:\n type: string\n description: OID of the policy qualifier.\n cpsUri:\n type: string\n format: uri\n description: CPS URI for the policy qualifier.\n userNotice:\n $ref: '#/components/schemas/SSLUserNotice'\n required: []\n SSLUserNotice:\n type: object\n description: User notice for a policy qualifier.\n properties:\n explicitText:\n type: string\n description: Explicit text of the user notice.\n noticeRef:\n $ref: '#/components/schemas/SSLUserNoticeRef'\n required: []\n SSLUserNoticeRef:\n type: object\n description: Notice reference for a user notice.\n properties:\n organization:\n type: string\n description: Organization for the notice reference.\n noticeNumbers:\n type: string\n description: Notice numbers.\n required: []\n ErrorResponse:\n type: object\n description: Standard error envelope returned by the API on failed requests.\n required:\n - message\n properties:\n error:\n type: string\n description: Short error category or exception type.\n message:\n type: string\n description: Human-readable error message describing the failure.\n path:\n type: string\n description: API endpoint path that produced the error.\n status:\n type: integer\n description: HTTP status code returned with the error.\n timestamp:\n type: string\n format: date-time\n description: Timestamp when the error occurred (ISO 8601).\n headers:\n X-AF-Credits-Cost:\n description: Specifies the number of credits consumed by the current request.\n schema:\n type: integer\nsecurity:\n - ApiKeyAuthHeader: []\n - ApiKeyAuthQuery: []\n",
63595
63669
  "ssl-certificate-lookup": "openapi: 3.1.1\ninfo:\n title: SSL Lookup API - Check and Monitor SSL Certificate Chains\n version: 1.0.0\n description: Retrieve comprehensive SSL certificate information for any domain including expiry dates, issuer details, signature algorithms, public key data, and certificate extensions. Supports extended key usages, CRL distribution points, authority info access, subject alternative names, and certificate policies.\n contact:\n name: APIFreaks Support\n url: https://apifreaks.com/contact\n email: support@apifreaks.com\nservers:\n - url: https://api.apifreaks.com/v1.0\n description: SSL Certificate Lookup API Server\npaths:\n /domain/ssl/live:\n get:\n tags:\n - SSL APIs\n summary: Retrieve the SSL certificate and any hidden information embedded within it for a domain.\n description: |\n Retrieve comprehensive SSL certificate information without the certificate chain.\n This endpoint provides detailed information about the SSL certificate including expiry dates, issuer details, and encryption methods.\n operationId: sslCertificateLookup\n parameters:\n - name: format\n in: query\n required: false\n schema:\n type: string\n enum:\n - json\n - xml\n default: json\n description: Format of the response.\n - name: domainName\n in: query\n required: true\n schema:\n type: string\n description: Domain name or URL whose SSL certificate lookup is required\n - name: sslRaw\n in: query\n required: false\n schema:\n type: boolean\n description: Set to true to get the raw openSSL response of the domain\n responses:\n '200':\n description: Successful SSL certificate lookup response\n content:\n application/json:\n schema:\n $ref: '#/components/schemas/SSLLookupResponse'\n examples:\n Single SSL Certificate:\n value:\n domainName: google.com\n queryTime: '2026-06-06 14:58:44'\n sslCertificates:\n - chainOrder: end-user\n authenticationType: domain\n validityStartDate: 2026-05-18 18:35:21 UTC\n validityEndDate: 2026-08-10 18:35:20 UTC\n serialNumber: d5:2a:59:68:49:a3:ce:9b:10:64:16:9b:c7:eb:df:4b\n signatureAlgorithm: SHA256-RSA\n subject:\n commonName: '*.google.com'\n issuer:\n commonName: WR2\n organization: Google Trust Services\n country: US\n publicKey:\n keySize: 256 bit\n keyAlgorithm: ECDSA\n pemRaw: |\n -----BEGIN PUBLIC KEY-----\n MFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAErGwQHDlGZHg4bCpvaBQKF07hm4v6puRsRi7O6JQH78GTcBkGAHRZSLqvlH8K+wDBOiTKlDh3sWlmEJDUJDdoKA==\n -----END PUBLIC KEY-----\n extensions:\n authorityKeyIdentifier: DE:1B:1E:ED:79:15:D4:3E:37:24:C3:21:BB:EC:34:39:6D:42:B2:30\n subjectKeyIdentifier: 2E:EC:34:B9:3E:97:83:C3:7E:E5:D0:F4:AB:56:D4:25:99:67:7D:6B\n keyUsages:\n - Digital Signature\n extendedKeyUsages:\n - TLS Web Server Authentication\n crlDistributionPoints:\n - http://c.pki.goog/wr2/GSyT1N4PBrg.crl\n authorityInfoAccess:\n issuers:\n - http://i.pki.goog/wr2.crt\n ocsp:\n - http://o.pki.goog/wr2\n subjectAlternativeNames:\n dnsNames:\n - '*.google.com'\n - google.com\n - youtube.com\n - '*.youtube.com'\n - '*.ytimg.com'\n certificatePolicies:\n - policyId: 2.23.140.1.2.1\n pemRaw: |\n -----BEGIN CERTIFICATE-----\n MIIIdTCCB12gAwIBAgIRANUqWWhJo86bEGQWm8fr30swDQYJKoZIhvcNAQELBQAwOzELMAkGA1UEBhMCVVMxHjAcBgNVBAoTFUdvb2dsZSBUcnVzdCBTZXJ2aWNlczEMMAoGA1UEAxMDV1IyMB4XDTI2MDUxODE4MzUyMVoXDTI2MDgxMDE4MzUyMFowFzEVMBMGA1UEAwwMKi5nb29nbGUuY29tMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAErGwQHDlGZHg4bCpvaBQKF07hm4v6puRsRi7O6JQH78GTcBkGAHRZSLqvlH8K+wDBOiTKlDh3sWlmEJDUJDdoKKOCBmEwggZdMA4GA1UdDwEB/wQEAwIHgDATBgNVHSUEDDAKBggrBgEFBQcDATAMBgNVHRMBAf8EAjAAMB0GA1UdDgQWBBQu7DS5PpeDw37l0PSrVtQlmWd9azAfBgNVHSMEGDAWgBTeGx7teRXUPjckwyG77DQ5bUKyMDBYBggrBgEFBQcBAQRMMEowIQYIKwYBBQUHMAGGFWh0dHA6Ly9vLnBraS5nb29nL3dyMjAlBggrBgEFBQcwAoYZaHR0cDovL2kucGtpLmdvb2cvd3IyLmNydDCCBDgGA1UdEQSCBC8wggQrggwqLmdvb2dsZS5jb22CFiouYXBwZW5naW5lLmdvb2dsZS5jb22CCSouYmRuLmRldoIVKi5vcmlnaW4tdGVzdC5iZG4uZGV2ghIqLmNsb3VkLmdvb2dsZS5jb22CGCouY3Jvd2Rzb3VyY2UuZ29vZ2xlLmNvbYIYKi5kYXRhY29tcHV0ZS5nb29nbGUuY29tggsqLmdvb2dsZS5jYYILKi5nb29nbGUuY2yCDiouZ29vZ2xlLmNvLmlugg4qLmdvb2dsZS5jby5qcIIOKi5nb29nbGUuY28udWuCDyouZ29vZ2xlLmNvbS5hcoIPKi5nb29nbGUuY29tLmF1gg8qLmdvb2dsZS5jb20uYnKCDyouZ29vZ2xlLmNvbS5jb4IPKi5nb29nbGUuY29tLm14gg8qLmdvb2dsZS5jb20udHKCDyouZ29vZ2xlLmNvbS52boILKi5nb29nbGUuZGWCCyouZ29vZ2xlLmVzggsqLmdvb2dsZS5mcoILKi5nb29nbGUuaHWCCyouZ29vZ2xlLml0ggsqLmdvb2dsZS5ubIILKi5nb29nbGUucGyCCyouZ29vZ2xlLnB0ghkqLmdlbWluaS5jbG91ZC5nb29nbGUuY29tgg0qLmdzdGF0aWMuY29tghQqLm1ldHJpYy5nc3RhdGljLmNvbYIKKi5ndnQxLmNvbYIRKi5nY3BjZG4uZ3Z0MS5jb22CCiouZ3Z0Mi5jb22CDiouZ2NwLmd2dDIuY29tghAqLnVybC5nb29nbGUuY29tghYqLnlvdXR1YmUtbm9jb29raWUuY29tggsqLnl0aW1nLmNvbYIKYWkuYW5kcm9pZIILYW5kcm9pZC5jb22CDSouYW5kcm9pZC5jb22CEyouZmxhc2guYW5kcm9pZC5jb22CBGcuY28CBDEwLmdvb2dsZS5jb22CEiouZ29vZ2xlLWNhcnRzLmNvbYIKZ29vZ2xlLmNvbYISZ29vZ2xlY29tbWVyY2UuY29tghQqLmdvb2dsZWNvbW1lcmNlLmNvbYIKdXJjaGluLmNvbYIMKi51cmNoaW4uY29tggh5b3V0dS5iZYILeW91dHViZS5jb22CDSoueW91dHViZS5jb22CEW11c2ljLnlvdXR1YmUuY29tghMqLm11c2ljLnlvdXR1YmUuY29tghR5b3V0dWJlZWR1Y2F0aW9uLmNvbYIWKi55b3V0dWJlZWR1Y2F0aW9uLmNvbYIPeW91dHViZWtpZHMuY29tghEqLnlvdXR1YmVraWRzLmNvbYIFeXQuYmWCByoueXQuYmWCGmFuZHJvaWQuY2xpZW50cy5nb29nbGUuY29tghUqLmFpc3R1ZGlvLmdvb2dsZS5jb20wEwYDVR0gBAwwCjAIBgZngQwBAgEwNgYDVR0fBC8wLTAroCmgJ4YlaHR0cDovL2MucGtpLmdvb2cvd3IyL0dTeVQxTjRQQnJnLmNybDCCAQMGCisGAQQB1nkCBAIEgfQEgfEA7wB2AMs49xWJfIShRF9bwd37yW7ymlnNRwppBYWwyxTDFFjnAAABnjyV+/0AAAQDAEcwRQIgCgvqLruYdmtREQIJopZQVZEAux/EdciE9ThPK5WLOIwCIQDJjNYSb4sTv+LnXVHnirnD6kTT5FY8gLI6mKR0WI/m1AB1ANgJVTuUT3r/yBYZb5RPhauw+Pxeh1UmDxXRLnK7RUsUAAABnjyV+8EAAAQDAEYwRAIgQvDSSJRos+D8Lk6bpjH2ZlYxD/N6Gv2TqkFZhUlFKeQCIBq55PPw4e5N89gLgzFC2kp1X+YvFsURPsLrz1LqOAymMA0GCSqGSIb3DQEBCwUAA4IBAQBtZusj1ojCxhZxk5KpZ92eZuTkDVJgJGtDq8gPRehf50mZiu2gDK1JgXIzKRey3tHmgNrCmTon5QJAL9yDyrOGs2GoQsfMkenH0+/hTsLB+n03ni9+9jghfPvE9CZbFimniiqGznhnW5mNOZGy2AnXz79ZfHr4J8AuPh4HVvPc6q/2coyl7Vlxp2XDo6j1eoZARVSske22WvE34U4Yunq+SE0E0a8aKTV7Q7YHeu8/NAsFmG7V6QSSqAyFyxqeEzuz8ylBPxS/cejBk+29tGlfqqrR1JEKdcFLF7EuRyvRWAuQMQBHRA9boa3/lz1f+jEkkUbfqEMrDAnxLthdKKJk\n -----END CERTIFICATE-----\n headers:\n X-AF-Credits-Cost:\n $ref: '#/components/headers/X-AF-Credits-Cost'\n '400':\n description: Bad Request \u2013 Invalid domain parameter\n content:\n application/json:\n schema:\n $ref: '#/components/schemas/ErrorResponse'\n examples:\n Invalid Domain Param:\n value:\n timestamp: '2025-08-14T10:21:23.349Z'\n status: 400\n error: Invalid Param Exception\n message: 'Please pass domain param correct value[For Technical Support: support@apifreaks.com]'\n path: /v1.0/ssl/live\n headers:\n X-AF-Credits-Cost:\n $ref: '#/components/headers/X-AF-Credits-Cost'\n '403':\n description: Forbidden \u2013 Domain extension unavailable\n content:\n application/json:\n schema:\n $ref: '#/components/schemas/ErrorResponse'\n examples:\n Unavailable Domain Extension:\n value:\n timestamp: '2025-08-14T10:18:47.504Z'\n status: 403\n error: Forbidden\n message: Unavailable domain extension.\n path: /v1.0/ssl/live\n headers:\n X-AF-Credits-Cost:\n $ref: '#/components/headers/X-AF-Credits-Cost'\n '404':\n description: Not Found \u2013 No SSL certificate exists for entered domain\n content:\n application/json:\n schema:\n $ref: '#/components/schemas/ErrorResponse'\n examples:\n No SSL Certificate:\n value:\n timestamp: '2025-08-14T10:18:28.465Z'\n status: 404\n error: SSL Data Not Found\n message: No Ssl Certificate exists for entered Domain\n path: /v1.0/ssl/live\n headers:\n X-AF-Credits-Cost:\n $ref: '#/components/headers/X-AF-Credits-Cost'\ncomponents:\n securitySchemes:\n ApiKeyAuthHeader:\n type: apiKey\n in: header\n name: X-apiKey\n description: Pass your API key via the X-apiKey request header.\n ApiKeyAuthQuery:\n type: apiKey\n in: query\n name: apiKey\n description: Pass your API key via the apiKey query parameter.\n schemas:\n SSLLookupResponse:\n type: object\n required:\n - domainName\n - queryTime\n - sslCertificates\n properties:\n domainName:\n type: string\n description: Domain name or URL that was queried.\n queryTime:\n type: string\n description: Timestamp when the query was executed, in `YYYY-MM-DD HH:mm:ss` format \u2014 not ISO 8601 (no `T` separator, no milliseconds, no `Z`).\n sslCertificates:\n type: array\n items:\n $ref: '#/components/schemas/SSLCertificateItem'\n description: Array of SSL certificate objects in the chain.\n sslRaw:\n type: string\n description: Raw OpenSSL response text if sslRaw was set to true.\n description: SSL certificate lookup response containing certificate details and extensions.\n SSLCertificateItem:\n type: object\n description: A single SSL certificate in the certificate chain.\n required:\n - chainOrder\n - authenticationType\n - validityStartDate\n - validityEndDate\n - serialNumber\n - signatureAlgorithm\n - pemRaw\n - subject\n - issuer\n - publicKey\n - extensions\n properties:\n chainOrder:\n type: string\n description: Position in the certificate chain (end-user, intermediate, root).\n authenticationType:\n type: string\n description: Authentication type (domain, organization, extended).\n validityStartDate:\n type: string\n description: Certificate validity start date, in `YYYY-MM-DD HH:mm:ss UTC` format \u2014 not ISO 8601 (space-separated, literal `UTC` suffix instead of `Z`).\n validityEndDate:\n type: string\n description: Certificate validity end date, in `YYYY-MM-DD HH:mm:ss UTC` format \u2014 not ISO 8601 (space-separated, literal `UTC` suffix instead of `Z`).\n serialNumber:\n type: string\n description: Certificate serial number.\n signatureAlgorithm:\n type: string\n description: Signature algorithm used (e.g., SHA256-RSA).\n subject:\n $ref: '#/components/schemas/SSLSubject'\n issuer:\n $ref: '#/components/schemas/SSLIssuer'\n publicKey:\n $ref: '#/components/schemas/SSLPublicKey'\n extensions:\n $ref: '#/components/schemas/SSLExtensions'\n pemRaw:\n type: string\n description: Raw PEM-encoded certificate.\n SSLSubject:\n type: object\n description: Subject information of the SSL certificate.\n required:\n - commonName\n properties:\n commonName:\n type: string\n description: Common name of the subject.\n organization:\n type: string\n description: Organization of the subject.\n organizationalUnit:\n type: string\n description: Organizational unit of the subject.\n locality:\n type: string\n description: Locality of the subject.\n state:\n type: string\n description: State of the subject.\n country:\n type: string\n description: Country of the subject.\n incCountry:\n type: string\n description: Incorporation country of the subject.\n incState:\n type: string\n description: Incorporation state of the subject.\n businessCategory:\n type: string\n description: Business category of the subject.\n street:\n type: string\n description: Street address of the subject.\n postalCode:\n type: string\n description: Postal code of the subject.\n serialNumber:\n type: string\n description: Serial number of the subject.\n SSLIssuer:\n type: object\n description: Issuer information of the SSL certificate.\n required:\n - commonName\n - organization\n - country\n properties:\n commonName:\n type: string\n description: Common name of the issuer.\n organization:\n type: string\n description: Organization of the issuer.\n organizationalUnit:\n type: string\n description: Organizational unit of the issuer.\n locality:\n type: string\n description: Locality of the issuer.\n state:\n type: string\n description: State of the issuer.\n country:\n type: string\n description: Country of the issuer.\n incCountry:\n type: string\n description: Incorporation country of the issuer.\n incState:\n type: string\n description: Incorporation state of the issuer.\n businessCategory:\n type: string\n description: Business category of the issuer.\n street:\n type: string\n description: Street address of the issuer.\n postalCode:\n type: string\n description: Postal code of the issuer.\n serialNumber:\n type: string\n description: Serial number of the issuer.\n SSLPublicKey:\n type: object\n description: Public key details of the SSL certificate.\n required:\n - keySize\n - keyAlgorithm\n - pemRaw\n properties:\n keySize:\n type: string\n description: Public key size (e.g., 256 bit).\n keyAlgorithm:\n type: string\n description: Public key algorithm (e.g., ECDSA, RSA).\n pemRaw:\n type: string\n description: Raw PEM-encoded public key.\n SSLExtensions:\n type: object\n description: X.509 certificate extensions.\n required:\n - keyUsages\n properties:\n authorityKeyIdentifier:\n type: string\n description: Authority key identifier.\n subjectKeyIdentifier:\n type: string\n description: Subject key identifier.\n keyUsages:\n type: array\n items:\n type: string\n description: Key usage extensions.\n extendedKeyUsages:\n type: array\n items:\n type: string\n description: Extended key usage extensions.\n crlDistributionPoints:\n type: array\n items:\n type: string\n description: CRL distribution point URLs.\n authorityInfoAccess:\n $ref: '#/components/schemas/SSLAuthorityInfoAccess'\n subjectAlternativeNames:\n $ref: '#/components/schemas/SSLSubjectAlternativeNames'\n certificatePolicies:\n type: array\n items:\n $ref: '#/components/schemas/SSLCertificatePolicy'\n description: Certificate policy objects.\n SSLAuthorityInfoAccess:\n type: object\n description: Authority information access details.\n properties:\n issuers:\n type: array\n items:\n type: string\n description: Issuer certificate URLs.\n ocsp:\n type: array\n items:\n type: string\n description: OCSP responder URLs.\n required: []\n SSLSubjectAlternativeNames:\n type: object\n description: Subject alternative names on the certificate.\n properties:\n dnsNames:\n type: array\n items:\n type: string\n description: DNS names on the certificate.\n emailAddresses:\n type: array\n items:\n type: string\n description: Email addresses on the certificate.\n ipAddresses:\n type: array\n items:\n type: string\n description: IP addresses on the certificate.\n uris:\n type: array\n items:\n type: string\n description: URIs on the certificate.\n required: []\n SSLCertificatePolicy:\n type: object\n description: A certificate policy object.\n properties:\n policyId:\n type: string\n description: Policy OID identifier.\n policyQualifier:\n $ref: '#/components/schemas/SSLPolicyQualifier'\n required: []\n SSLPolicyQualifier:\n type: object\n description: Policy qualifier for a certificate policy.\n properties:\n oid:\n type: string\n description: OID of the policy qualifier.\n cpsUri:\n type: string\n format: uri\n description: CPS URI for the policy qualifier.\n userNotice:\n $ref: '#/components/schemas/SSLUserNotice'\n required: []\n SSLUserNotice:\n type: object\n description: User notice for a policy qualifier.\n properties:\n explicitText:\n type: string\n description: Explicit text of the user notice.\n noticeRef:\n $ref: '#/components/schemas/SSLUserNoticeRef'\n required: []\n SSLUserNoticeRef:\n type: object\n description: Notice reference for a user notice.\n properties:\n organization:\n type: string\n description: Organization for the notice reference.\n noticeNumbers:\n type: string\n description: Notice numbers.\n required: []\n ErrorResponse:\n type: object\n description: Standard error envelope returned by the API on failed requests.\n required:\n - message\n properties:\n error:\n type: string\n description: Short error category or exception type.\n message:\n type: string\n description: Human-readable error message describing the failure.\n path:\n type: string\n description: API endpoint path that produced the error.\n status:\n type: integer\n description: HTTP status code returned with the error.\n timestamp:\n type: string\n format: date-time\n description: Timestamp when the error occurred (ISO 8601).\n headers:\n X-AF-Credits-Cost:\n description: Specifies the number of credits consumed by the current request.\n schema:\n type: integer\nsecurity:\n - ApiKeyAuthHeader: []\n - ApiKeyAuthQuery: []\n",
63596
63670
  "timezone-converter": "openapi: 3.1.1\ninfo:\n title: Timezone Converter API Reference\n version: 1.0.0\n description: Convert a timestamp from one timezone to another using timezone names, GPS coordinates, location addresses, IATA/ICAO airport codes, or UN/LOCODEs. Returns the converted time, the original time, and the hour/minute difference between the two timezones. Supports pair-based lookups --- provide source and target using any supported identifier type (e.g., `tz_from` + `tz_to` for IANA names, `lat_from`/`long_from` + `lat_to`/`long_to` for coordinates, `iata_from` + `iata_to` for airport codes). If no `time` parameter is provided the API converts the current time.\n contact:\n name: APIFreaks Support\n url: https://apifreaks.com/contact\n email: support@apifreaks.com\nservers:\n - url: https://api.apifreaks.com/v1.0\n description: Timezone Converter API Server\npaths:\n /timezone/converter:\n get:\n tags:\n - Timezone APIs\n summary: Convert a timestamp from one timezone to another using any supported location identifier\n description: Convert a given time from one timezone to another using timezone names, GPS coordinates, location addresses, IATA/ICAO airport codes, or UN/LOCODEs.\n operationId: convertTimezone\n parameters:\n - name: format\n in: query\n required: false\n description: 'Format of the response. Possible values: json, xml.'\n schema:\n type: string\n enum:\n - json\n - xml\n default: json\n - name: time\n in: query\n required: false\n description: Time to convert in yyyy-MM-dd HH:mm or yyyy-MM-dd HH:mm:ss format. Omit to convert the current time.\n schema:\n type: string\n - name: tz_from\n in: query\n required: false\n description: Source timezone name in IANA format (e.g., Asia/Kolkata) to convert from.\n schema:\n type: string\n - name: tz_to\n in: query\n required: false\n description: Target timezone name in IANA format (e.g., America/New_York) to convert to.\n schema:\n type: string\n - name: lat_from\n in: query\n required: false\n description: Latitude of source location for coordinate-based conversion.\n schema:\n type: number\n format: float\n - name: long_from\n in: query\n required: false\n description: Longitude of source location for coordinate-based conversion.\n schema:\n type: number\n format: float\n - name: lat_to\n in: query\n required: false\n description: Latitude of target location for coordinate-based conversion.\n schema:\n type: number\n format: float\n - name: long_to\n in: query\n required: false\n description: Longitude of target location for coordinate-based conversion.\n schema:\n type: number\n format: float\n - name: location_from\n in: query\n required: false\n description: Source location address (city and country) for address-based conversion.\n schema:\n type: string\n - name: location_to\n in: query\n required: false\n description: Target location address (city and country) for address-based conversion.\n schema:\n type: string\n - name: iata_from\n in: query\n required: false\n description: Source IATA airport code (3-letter, e.g., JFK) for airport-based conversion.\n schema:\n type: string\n - name: iata_to\n in: query\n required: false\n description: Target IATA airport code (3-letter) for airport-based conversion.\n schema:\n type: string\n - name: icao_from\n in: query\n required: false\n description: Source ICAO airport code (4-letter, e.g., KJFK) for airport-based conversion.\n schema:\n type: string\n - name: icao_to\n in: query\n required: false\n description: Target ICAO airport code (4-letter) for airport-based conversion.\n schema:\n type: string\n - name: locode_from\n in: query\n required: false\n description: Source UN/LOCODE (5-letter) for location code-based conversion.\n schema:\n type: string\n - name: locode_to\n in: query\n required: false\n description: Target UN/LOCODE (5-letter) for location code-based conversion.\n schema:\n type: string\n responses:\n '200':\n description: Successful timezone conversion response\n content:\n application/json:\n schema:\n $ref: '#/components/schemas/TimezoneConversionResponse'\n examples:\n typicalSuccess:\n summary: Whole-hour offset (tz_from/tz_to)\n value:\n original_time: '2026-07-24 12:00:00'\n converted_time: '2026-07-24 17:00:00'\n diff_hour: 5\n diff_min: 300\n fractionalHourOffset:\n summary: Half-hour timezone offset \u2014 diff_hour is not always a whole number (e.g. Asia/Kolkata is UTC+5:30)\n value:\n original_time: '2026-07-24 12:00:00'\n converted_time: '2026-07-24 02:30:00'\n diff_hour: 9.5\n diff_min: 570\n headers:\n X-AF-Credits-Cost:\n $ref: '#/components/headers/X-AF-Credits-Cost'\n '400':\n description: Bad Request \u2014 Incomplete or mixed parameter combination, invalid timezone name, time, coordinates, or airport / LO code format\n content:\n application/json:\n schema:\n $ref: '#/components/schemas/ErrorResponse'\n examples:\n IncompleteParameters:\n summary: Incomplete parameters combination\n value:\n message: Parameters' combination is not complete. 'tz_from' and 'tz_to' or 'location_from' and 'location_to' or 'lat_from' and 'long_from' and 'lat_to' and 'long_to' or 'locode_from' and 'locode_to' or 'iata_from' and 'iata_to' or 'icao_from' and 'icao_to' combinations must be provided.\n MismatchedParameters:\n summary: Only one side of a pair, or parameters from different groups, supplied (for example tz_from alone)\n value:\n error: Invalid Param Exception\n message: please pass correct parameters\n path: /v1.0/timezone/converter\n status: 400\n timestamp: '2026-11-20T09:56:23.268Z'\n InvalidSourceTimezone:\n summary: Invalid source timezone\n value:\n message: Check whether your input values are correct; source_time_zone = Invalid/TZ, destined_time_zone = Asia/Karachi, date_time = null\n InvalidCoordinates:\n summary: Invalid coordinates range\n value:\n message: Provided lat_from (999) or long_from (0) is not valid. Latitude must be between -90.0 and +90.0 and longitude must be between -180.0 and +180.0.\n InvalidTime:\n summary: Unparseable time value\n value:\n message: Check whether your input values are correct; source_time_zone = UTC, destined_time_zone = Asia/Karachi, date_time = notatime\n InvalidIataFormat:\n summary: Malformed IATA code\n value:\n message: 'Invalid IATA code: INVALID. IATA code must be in the format of AAA.'\n InvalidIcaoFormat:\n summary: Malformed ICAO code\n value:\n message: 'Invalid ICAO code: INVALID. ICAO code must be in the format of AAAA.'\n InvalidLocodeFormat:\n summary: Malformed UN/LOCODE\n value:\n message: 'Invalid LOCode: ABC. LOCode must start with the first two characters as alphabets followed by three alphanumeric characters.'\n NonNumericCoordinate:\n summary: Non-numeric coordinate\n value:\n message: Invalid value 'abc' for parameter 'lat_from'.\n headers:\n X-AF-Credits-Cost:\n $ref: '#/components/headers/X-AF-Credits-Cost'\n '404':\n description: Not Found \u2014 Location address, airport (IATA/ICAO) code, or UN/LOCODE has no matching data\n content:\n application/json:\n schema:\n $ref: '#/components/schemas/ErrorResponse'\n examples:\n InvalidAirportCode:\n summary: IATA/ICAO airport code not found\n value:\n message: '''Data not found for the provided airport code: XXX Please contact at support@ipgeolocation.io if provided airport code exists.'''\n InvalidLocode:\n summary: UN/LOCODE not found\n value:\n message: '''Data not found for the provided LO code: ZZZZZ Please contact at support@ipgeolocation.io if provided LO code exists.'''\n FromLocationNotFound:\n summary: Source (from) location address not found\n value:\n message: We couldn't find the (from) location (ZZZNOTEXIST). Try a city or state level address only.\n ToLocationNotFound:\n summary: Target (to) location address not found\n value:\n message: We couldn't find the (to) location (ZZZNOTEXIST). Try a city or state level address only.\n headers:\n X-AF-Credits-Cost:\n $ref: '#/components/headers/X-AF-Credits-Cost'\ncomponents:\n securitySchemes:\n ApiKeyAuthHeader:\n type: apiKey\n in: header\n name: X-apiKey\n description: Pass your API key via the X-apiKey request header.\n ApiKeyAuthQuery:\n type: apiKey\n in: query\n name: apiKey\n description: Pass your API key via the apiKey query parameter.\n schemas:\n TimezoneConversionResponse:\n type: object\n description: Timezone conversion result containing original and converted timestamps with the difference.\n required:\n - original_time\n - converted_time\n - diff_hour\n - diff_min\n properties:\n original_time:\n type: string\n description: The original date and time before any conversion, in yyyy-MM-dd HH:mm:ss format.\n converted_time:\n type: string\n description: The date and time after conversion to the target timezone, in yyyy-MM-dd HH:mm:ss format.\n diff_hour:\n type: number\n format: float\n description: The absolute difference in hours between the source and target timezones, always non-negative regardless of conversion direction. Can be fractional for half-hour/quarter-hour offset timezones (e.g. 9.5 for Asia/Kolkata to America/New_York).\n diff_min:\n type: integer\n description: The absolute difference between the source and target timezones expressed in total minutes (not a remainder \u2014 always diff_hour * 60), always non-negative regardless of conversion direction.\n ErrorResponse:\n type: object\n description: 'Standard error envelope returned by the API on failed requests. '\n required:\n - message\n properties:\n error:\n type: string\n description: Short error category or exception type.\n message:\n type: string\n description: Human-readable error message describing the failure.\n path:\n type: string\n description: API endpoint path that produced the error.\n status:\n type: integer\n description: HTTP status code returned with the error.\n timestamp:\n type: string\n format: date-time\n description: Timestamp when the error occurred (ISO 8601).\n headers:\n X-AF-Credits-Cost:\n description: Specifies the number of credits consumed by the current request.\n schema:\n type: integer\nsecurity:\n - ApiKeyAuthHeader: []\n - ApiKeyAuthQuery: []\n",
@@ -64905,7 +64979,7 @@ security:
64905
64979
  "domain-whois-history-lookup": "openapi: 3.1.1\ninfo:\n title: 'WHOIS History API: Historical WHOIS Records Since 1986'\n version: 1.0.0\n description: Retrieve the full chronological history of WHOIS registration records for a domain name, going back to 1986 where available. Each record in the returned array is a snapshot capturing the registrar, registrant/admin/technical/billing contacts, name servers, domain status codes, and both the original and registry-level raw WHOIS text as they existed at that point in time. Pass `domainName` as a bare domain (e.g. `example.com`); a `https://` or `http://` prefix is also accepted. Early historical snapshots may include only a subset of fields (e.g. dates without registrar or name server data) since registries did not always publish complete records; a domain with no historical WHOIS data returns a `404` error.\n contact:\n name: APIFreaks Support\n url: https://apifreaks.com/contact\n email: support@apifreaks.com\nservers:\n - url: https://api.apifreaks.com/v1.0\n description: WHOIS History API Server\npaths:\n /domain/whois/history:\n get:\n tags:\n - WHOIS APIs\n summary: Retrieve the complete historical WHOIS record timeline for a domain name\n description: Returns every recorded WHOIS snapshot for the specified domain in chronological order, including registrar, contact, name server, and status changes over time.\n operationId: whoisHistoryLookup\n parameters:\n - name: format\n in: query\n required: false\n description: Format of the response.\n schema:\n type: string\n enum:\n - json\n - xml\n default: json\n - name: domainName\n in: query\n required: true\n description: Domain name to retrieve historical WHOIS records for (e.g. example.com).\n schema:\n type: string\n responses:\n '200':\n description: Successful historical WHOIS response\n content:\n application/json:\n schema:\n $ref: '#/components/schemas/DomainWhoisHistoryLookupResponse'\n examples:\n typicalSuccess:\n summary: Typical successful response\n value:\n status: true\n whois: historical\n total_records: '18'\n whois_domains_historical:\n - num: 1\n status: true\n domain_name: example.com\n query_time: '2022-04-28 12:56:13'\n create_date: '1992-01-01'\n update_date: '2021-08-14'\n expiry_date: '2022-08-13'\n - num: 18\n status: true\n domain_name: example.com\n query_time: '2026-07-23 07:47:26'\n whois_server: whois.verisign-grs.com\n domain_registered: 'yes'\n create_date: '1992-01-01'\n update_date: '2026-01-16'\n expiry_date: '2026-08-13'\n name_servers:\n - elliott.ns.cloudflare.com\n - hera.ns.cloudflare.com\n whois_raw_domain: |-\n\n % IANA WHOIS server\n % for more information on IANA, visit http://www.iana.org\n % This query returned 1 object\n\n domain: EXAMPLE.COM\n\n organisation: Internet Assigned Numbers Authority\n\n created: 1992-01-01\n source: IANA\n registry_data:\n domain_name: EXAMPLE.COM\n query_time: '2026-07-23 07:47:25'\n whois_server: whois.verisign-grs.com\n domain_registered: 'yes'\n create_date: '1995-08-14'\n update_date: '2026-01-16'\n expiry_date: '2026-08-13'\n domain_registrar:\n iana_id: '376'\n registrar_name: RESERVED-Internet Assigned Numbers Authority\n whois_server: whois.iana.org\n website_url: http://res-dom.iana.org\n name_servers:\n - elliott.ns.cloudflare.com\n - hera.ns.cloudflare.com\n domain_status:\n - clientupdateprohibited\n - clientdeleteprohibited\n - clienttransferprohibited\n whois_raw_registery: |-\n\n Domain Name: EXAMPLE.COM\n Registry Domain ID: 2336799_DOMAIN_COM-VRSN\n Registrar WHOIS Server: whois.iana.org\n Registrar URL: http://res-dom.iana.org\n Updated Date: 2026-01-16T18:26:50Z\n Creation Date: 1995-08-14T04:00:00Z\n Registry Expiry Date: 2026-08-13T04:00:00Z\n Registrar: RESERVED-Internet Assigned Numbers Authority\n Registrar IANA ID: 376\n Registrar Abuse Contact Email:\n Registrar Abuse Contact Phone:\n Domain Status: clientDeleteProhibited https://icann.org/epp#clientDeleteProhibited\n Domain Status: clientTransferProhibited https://icann.org/epp#clientTransferProhibited\n Domain Status: clientUpdateProhibited https://icann.org/epp#clientUpdateProhibited\n Name Server: ELLIOTT.NS.CLOUDFLARE.COM\n Name Server: HERA.NS.CLOUDFLARE.COM\n DNSSEC: signedDelegation\n DNSSEC DS Data: 2371 13 2 C988EC423E3880EB8DD8A46FE06CA230EE23F35B578D64E78B29C3E1C83D245A\n URL of the ICANN Whois Inaccuracy Complaint Form: https://www.icann.org/wicf/\n >>> Last update of whois database: 2026-07-23T08:16:23Z <<<\n\n For more information on Whois status codes, please visit https://icann.org/epp\n\n NOTICE: The expiration date displayed in this record is the date the\n registrar's sponsorship of the domain name registration in the registry is\n currently set to expire. This date does not necessarily reflect the expiration\n date of the domain name registrant's agreement with the sponsoring\n registrar. Users may consult the sponsoring registrar's Whois database to\n view the registrar's reported date of expiration for this registration.\n\n TERMS OF USE: You are not authorized to access or query our Whois\n database through the use of electronic processes that are high-volume and\n automated except as reasonably necessary to register domain names or\n modify existing registrations; the Data in VeriSign Global Registry\n Services' (\"VeriSign\") Whois database is provided by VeriSign for\n information purposes only, and to assist persons in obtaining information\n about or related to a domain name registration record. VeriSign does not\n guarantee its accuracy. By submitting a Whois query, you agree to abide\n by the following terms of use: You agree that you may use this Data only\n for lawful purposes and that under no circumstances will you use this Data\n to: (1) allow, enable, or otherwise support the transmission of mass\n unsolicited, commercial advertising or solicitations via e-mail, telephone,\n or facsimile; or (2) enable high volume, automated, electronic processes\n that apply to VeriSign (or its computer systems). The compilation,\n repackaging, dissemination or other use of this Data is expressly\n prohibited without the prior written consent of VeriSign. You agree not to\n use electronic processes that are automated and high-volume to access or\n query the Whois database except as reasonably necessary to register\n domain names or modify existing registrations. VeriSign reserves the right\n to restrict your access to the Whois database in its sole discretion to ensure\n operational stability. VeriSign may restrict or terminate your access to the\n Whois database for failure to abide by these terms of use. VeriSign\n reserves the right to modify these terms at any time.\n\n The Registry database contains ONLY .COM, .NET, .EDU domains and\n Registrars.\n headers:\n X-AF-Credits-Cost:\n $ref: '#/components/headers/X-AF-Credits-Cost'\n '400':\n description: Bad Request \u2014 Missing or invalid domainName parameter, or missing apiKey\n content:\n application/json:\n schema:\n $ref: '#/components/schemas/ErrorResponse'\n examples:\n invalidDomain:\n summary: Malformed domain name\n value:\n timestamp: '2026-07-23T07:47:39.105Z'\n status: 400\n error: Invalid Param Exception\n message: 'Please pass domain param correct value [For Technical Support: support@apifreaks.com]'\n path: /v1.0/whois\n missingDomain:\n summary: Missing or empty domainName parameter\n value:\n error: Invalid Param Exception\n message: please pass correct parameters\n path: /v1.0/domain/whois/history\n status: 400\n timestamp: '2026-11-20T11:12:56.465Z'\n missingApiKey:\n summary: Missing apiKey\n value:\n error: Invalid Param Exception\n message: Please provide apiKey\n path: /v1.0/domain/whois/history\n status: 400\n timestamp: '2026-11-20T11:12:59.785Z'\n headers:\n X-AF-Credits-Cost:\n $ref: '#/components/headers/X-AF-Credits-Cost'\n '401':\n description: Unauthorized \u2014 API key invalid or inactive, no subscription or credits, deactivated subscription or account, or suspicious activity\n content:\n application/json:\n schema:\n $ref: '#/components/schemas/ErrorResponse'\n examples:\n invalidApiKey:\n summary: Invalid API key\n value:\n error: API Access Exception\n message: 'Provided API key is invalid. [For Technical Support: support@apifreaks.com]'\n path: /v1.0/domain/whois/history\n status: 401\n timestamp: '2026-11-20T11:13:00.576Z'\n inactiveApiKey:\n summary: Inactive API key\n value:\n error: API Access Exception\n message: Provided API key is inactive.\n path: /v1.0/domain/whois/history\n status: 401\n timestamp: '2026-11-20T11:13:00.576Z'\n noSubscription:\n summary: No subscription plan or credits\n value:\n error: API Access Exception\n message: Please buy a subscription plan or add api credits, then use this api key.\n path: /v1.0/domain/whois/history\n status: 401\n timestamp: '2026-11-20T11:13:00.576Z'\n subscriptionDeactivated:\n summary: Subscription deactivated\n value:\n error: API Access Exception\n message: Your subscription is deactivated. Please buy new plan or add api credits for using apifreaks APIs.\n path: /v1.0/domain/whois/history\n status: 401\n timestamp: '2026-11-20T11:13:00.576Z'\n subscriptionDeactivatedPaymentFailure:\n summary: Subscription deactivated after repeated payment failure\n value:\n error: API Access Exception\n message: Your subscription is deactivated due to much time payment failure. Please buy a new plan or add api credits for using apifreaks APIs.\n path: /v1.0/domain/whois/history\n status: 401\n timestamp: '2026-11-20T11:13:00.576Z'\n accountDeactivated:\n summary: Account deactivated\n value:\n error: API Access Exception\n message: Your account is deactivated.\n path: /v1.0/domain/whois/history\n status: 401\n timestamp: '2026-11-20T11:13:00.576Z'\n blockedSuspiciousActivity:\n summary: Blocked for suspicious activity\n value:\n error: API Access Exception\n message: You are blocked due to suspicious activity.\n path: /v1.0/domain/whois/history\n status: 401\n timestamp: '2026-11-20T11:13:00.576Z'\n apiRecordNotFound:\n summary: API record not found\n value:\n error: API Access Exception\n message: Api record not found.\n path: /v1.0/domain/whois/history\n status: 401\n timestamp: '2026-11-20T11:13:00.576Z'\n suspiciousActivity:\n summary: Suspicious activity\n value:\n error: API Access Exception\n message: Suspicious Activity.\n path: /v1.0/domain/whois/history\n status: 401\n timestamp: '2026-11-20T11:13:00.576Z'\n '404':\n description: Not Found \u2014 No historical WHOIS records for the domain\n content:\n application/json:\n schema:\n $ref: '#/components/schemas/ErrorResponse'\n examples:\n recordNotFound:\n summary: No historical records available\n value:\n timestamp: '2026-07-23T07:47:40.893Z'\n status: 404\n error: Record Not Found\n message: Record not found\n path: /v1.0/whois\n headers:\n X-AF-Credits-Cost:\n $ref: '#/components/headers/X-AF-Credits-Cost'\n '412':\n description: Precondition Failed \u2014 API plan request limit exceeded and the subscription is canceled\n content:\n application/json:\n schema:\n $ref: '#/components/schemas/ErrorResponse'\n examples:\n planLimitExceeded:\n summary: API plan request limit exceeded\n value:\n timestamp: '2024-07-10T13:47:02.486Z'\n status: 412\n error: Fetching Whois Data Failed\n message: 'You have exceeded the limit of api plan requests and your subscription is canceled. [For Technical Support email at: support@apifreaks.com]'\n path: /v1.0/domain/whois/history\n '413':\n description: Payload Too Large \u2014 API credit or surcharge request limit exceeded\n content:\n application/json:\n schema:\n $ref: '#/components/schemas/ErrorResponse'\n examples:\n surchargeLimitExceeded:\n summary: Surcharge request limit exceeded\n value:\n timestamp: '2024-07-10T13:47:02.486Z'\n status: 413\n error: Fetching Whois Data Failed\n message: 'You have exceeded the limit of Surcharge Requests [allowed_surcharge_request_no]. Please upgrade your plan. [For Technical Support email at: support@apifreaks.com]'\n path: /v1.0/domain/whois/history\n creditLimitExceeded:\n summary: API credit request limit exceeded\n value:\n message: You have exceeded the limit of api credits requests [allowed_request_no]. Please upgrade your plan.\n path: /v1.0/domain/whois/history\n status: 413\n timestamp: '2026-11-20T11:13:00.576Z'\n '429':\n description: Too Many Requests \u2014 Per-minute request limit reached\n content:\n application/json:\n schema:\n $ref: '#/components/schemas/ErrorResponse'\n examples:\n rateLimited:\n summary: Request limit per minute reached\n value:\n timestamp: '2024-07-10T13:47:02.486Z'\n status: 429\n error: Fetching Whois Data Failed\n message: Please slow down. Your maximum request limit per minute reached.\n path: /v1.0/domain/whois/history\n '499':\n description: Client Closed Request \u2014 The client timeout is too short and the connection was closed before the response completed\n content:\n application/json:\n schema:\n $ref: '#/components/schemas/ErrorResponse'\n examples:\n clientTimeoutTooShort:\n summary: Client timeout too short\n value:\n message: The request or connection timeout you\u2019ve set is too short, which is causing the server to close the connection before completing the response. Please increase the timeout duration to ensure successful communication with the server.\n path: /v1.0/domain/whois/history\n status: 499\n timestamp: '2026-11-20T11:13:00.576Z'\n '500':\n description: Internal Server Error\n content:\n application/json:\n schema:\n $ref: '#/components/schemas/ErrorResponse'\n examples:\n internalServerError:\n summary: Internal server error\n value:\n timestamp: '2024-07-10T13:47:02.486Z'\n status: 500\n error: Fetching Whois Data Failed\n message: 'Internal Server error occurred. [For Technical Support email at: support@apifreaks.com]'\n path: /v1.0/domain/whois/history\n '503':\n description: Service Unavailable\n content:\n application/json:\n schema:\n $ref: '#/components/schemas/ErrorResponse'\n examples:\n serviceUnavailable:\n summary: Service unavailable\n value:\n timestamp: '2024-07-10T13:47:02.486Z'\n status: 503\n error: Fetching Whois Data Failed\n message: 'Service is unavailable. Please try after some time. [For Technical Support email at: support@apifreaks.com]'\n path: /v1.0/domain/whois/history\n '504':\n description: Gateway Timeout \u2014 The request timed out\n content:\n application/json:\n schema:\n $ref: '#/components/schemas/ErrorResponse'\n examples:\n requestTimedOut:\n summary: Request timed out\n value:\n timestamp: '2024-07-10T13:47:02.486Z'\n status: 504\n error: Fetching Whois Data Failed\n message: 'Request is timed-out. [For Technical Support email at: support@apifreaks.com]'\n path: /v1.0/domain/whois/history\n '505':\n description: HTTP Version Not Supported \u2014 The HTTP version used is outdated\n content:\n application/json:\n schema:\n $ref: '#/components/schemas/ErrorResponse'\n examples:\n httpVersionNotSupported:\n summary: Outdated HTTP version\n value:\n message: You might be using an outdated HTTP version.\n path: /v1.0/domain/whois/history\n status: 505\n timestamp: '2026-11-20T11:13:00.576Z'\ncomponents:\n securitySchemes:\n ApiKeyAuthHeader:\n type: apiKey\n in: header\n name: X-apiKey\n description: Pass your API key via the X-apiKey request header.\n ApiKeyAuthQuery:\n type: apiKey\n in: query\n name: apiKey\n description: Pass your API key via the apiKey query parameter.\n schemas:\n ErrorResponse:\n type: object\n required:\n - message\n properties:\n error:\n type: string\n description: Short error category or exception type.\n message:\n type: string\n description: Human-readable error message describing the failure.\n path:\n type: string\n description: API endpoint path that produced the error.\n status:\n type: integer\n description: HTTP status code returned with the error.\n timestamp:\n type: string\n format: date-time\n description: Timestamp when the error occurred (ISO 8601).\n DomainWhoisHistoryLookupResponse:\n type: object\n description: Chronological collection of historical WHOIS snapshots for the requested domain.\n required:\n - status\n - whois\n - total_records\n - whois_domains_historical\n properties:\n status:\n type: boolean\n description: true if the request was successfully processed.\n whois:\n type: string\n enum:\n - historical\n description: Indicates that this response contains historical WHOIS data.\n total_records:\n type: string\n description: Total number of historical records found for the queried domain.\n whois_domains_historical:\n type: array\n description: Historical WHOIS snapshots for the domain, in chronological order.\n items:\n $ref: '#/components/schemas/DomainWhoisHistoryRecord'\n DomainWhoisHistoryRecord:\n type: object\n description: A single historical WHOIS snapshot captured at a point in time. Early snapshots may omit fields the registry did not publish at that time.\n required:\n - num\n - status\n - domain_name\n - query_time\n - create_date\n - update_date\n - expiry_date\n properties:\n num:\n type: integer\n description: 1-based sequence number of this record within the historical timeline.\n status:\n type: boolean\n enum:\n - true\n description: Always true for a returned historical record.\n domain_name:\n type: string\n description: Domain name this snapshot was recorded for.\n query_time:\n type: string\n description: Timestamp when this historical snapshot was captured.\n whois_server:\n type: string\n description: WHOIS server that provided this snapshot's domain-level data, when recorded.\n domain_registered:\n type: string\n enum:\n - 'yes'\n - 'no'\n - restricted\n description: Domain registration status at the time of this snapshot, when recorded.\n create_date:\n type: string\n format: date\n description: Date the domain was originally registered, as known at the time of this snapshot.\n update_date:\n type: string\n format: date\n description: Date the domain registration was last updated, as of this snapshot.\n expiry_date:\n type: string\n format: date\n description: Date the domain registration was set to expire, as of this snapshot.\n domain_registrar:\n $ref: '#/components/schemas/DomainRegistrar'\n description: Registrar of record for the domain as of this snapshot.\n reseller_contact:\n $ref: '#/components/schemas/WhoisContactDetail'\n description: Reseller contact details, when the domain was registered through a reseller, as published in this snapshot.\n registrant_contact:\n $ref: '#/components/schemas/WhoisContactDetail'\n description: Domain registrant (owner) contact details as published in this snapshot.\n administrative_contact:\n $ref: '#/components/schemas/WhoisContactDetail'\n description: Administrative contact details as published in this snapshot.\n technical_contact:\n $ref: '#/components/schemas/WhoisContactDetail'\n description: Technical contact details as published in this snapshot.\n billing_contact:\n $ref: '#/components/schemas/WhoisContactDetail'\n description: Billing contact details as published in this snapshot.\n name_servers:\n type: array\n description: Name servers recorded for the domain as of this snapshot.\n items:\n type: string\n domain_status:\n type: array\n description: EPP domain status codes recorded as of this snapshot.\n items:\n type: string\n whois_raw_domain:\n type: string\n description: Raw WHOIS text for the domain as of this snapshot.\n registry_data:\n $ref: '#/components/schemas/DomainWhoisHistoryRegistryData'\n DomainRegistrar:\n type: object\n description: Registrar of record at the time of the snapshot.\n properties:\n iana_id:\n type: string\n description: IANA registrar ID.\n registrar_name:\n type: string\n description: Registered name of the registrar.\n whois_server:\n type:\n - string\n - 'null'\n description: WHOIS server operated by the registrar, when published.\n website_url:\n type: string\n description: Registrar's website URL.\n email_address:\n type:\n - string\n - 'null'\n description: Registrar abuse or contact email address, when published.\n phone_number:\n type:\n - string\n - 'null'\n description: Registrar contact phone number, when published.\n WhoisContactDetail:\n type: object\n description: A contact record (registrant, administrative, technical, billing, or reseller) as published in this snapshot.\n properties:\n name:\n type: string\n description: Contact's full name.\n company:\n type: string\n description: Contact's organization or company name.\n street:\n type: string\n description: Street address.\n city:\n type: string\n description: City.\n state:\n type: string\n description: State or province.\n zip_code:\n type: string\n description: Postal/ZIP code.\n country_name:\n type: string\n description: Full country name.\n country_code:\n type: string\n description: ISO 3166-1 alpha-2 country code.\n email_address:\n type: string\n description: Contact email address, or a privacy-service redirect instruction.\n phone:\n type: string\n description: Contact phone number.\n fax:\n type: string\n description: Contact fax number.\n mailing_address:\n type: string\n description: Full combined mailing address, when published as a single string.\n DomainWhoisHistoryRegistryData:\n type: object\n description: Registry-level (as opposed to registrar-level) WHOIS data for this snapshot, sourced directly from the TLD registry.\n properties:\n domain_name:\n type: string\n description: Domain name as recorded by the registry.\n query_time:\n type: string\n description: Timestamp when the registry-level record was queried, in `YYYY-MM-DD HH:mm:ss` format \u2014 not ISO 8601 (no `T` separator, no milliseconds, no `Z`).\n whois_server:\n type: string\n description: Registry WHOIS server that returned this data.\n domain_registered:\n type: string\n enum:\n - 'yes'\n - 'no'\n - restricted\n description: Domain registration status as recorded by the registry.\n create_date:\n type: string\n format: date\n description: Domain creation date as recorded by the registry.\n update_date:\n type: string\n format: date\n description: Domain last-updated date as recorded by the registry.\n expiry_date:\n type: string\n format: date\n description: Domain expiry date as recorded by the registry.\n name_servers:\n type: array\n description: Name servers as recorded by the registry.\n items:\n type: string\n domain_status:\n type: array\n description: EPP domain status codes as recorded by the registry.\n items:\n type: string\n whois_raw_registery:\n type: string\n description: Raw WHOIS text as returned directly by the registry server.\n domain_registrar:\n $ref: '#/components/schemas/DomainRegistrar'\n description: Registrar of record as recorded directly by the registry.\n headers:\n X-AF-Credits-Cost:\n description: Specifies the number of credits consumed by the current request.\n schema:\n type: integer\nsecurity:\n - ApiKeyAuthHeader: []\n - ApiKeyAuthQuery: []\n",
64906
64980
  "reverse-whois": "openapi: 3.1.1\ninfo:\n title: Reverse WHOIS API - Search Domains by Owner Name, Email, Company, or Keyword\n version: 1.0.0\n description: Search all domain names registered under a particular owner, email, company name, or keyword using reverse WHOIS lookup. Returns matching domains with full registration details (default mode) or a condensed summary (mini mode). Supports exact-match filtering and paginated results (50 per page in default mode, 100 in mini mode). At least one search parameter (keyword, email, owner, or company) is required. A 404 is returned when no domains match the search criteria.\n contact:\n name: APIFreaks Support\n url: https://apifreaks.com/contact\n email: support@apifreaks.com\nservers:\n - url: https://api.apifreaks.com/v1.0\n description: Reverse WHOIS API Server\npaths:\n /domain/whois/reverse:\n get:\n tags:\n - WHOIS APIs\n summary: Search domains by owner name, email, company, or keyword\n description: Performs a reverse WHOIS search returning matching domains with registration details. Use mode=default for full WHOIS data or mode=mini for a condensed summary. When mode=default, each item in whois_domains_historical matches the ReverseWhoisDomainDefault schema (full registrar, contacts, name servers, status, and registry data). When mode=mini, each item matches the ReverseWhoisDomainMini schema (domain name, create/update/expiry dates, owner name, email, and company only).\n operationId: reverseWhoisLookup\n parameters:\n - name: format\n in: query\n required: false\n description: Format of the response.\n schema:\n type: string\n enum:\n - json\n - xml\n default: json\n - name: keyword\n in: query\n required: false\n description: Keyword to search for in domain names (case-insensitive pattern matching).\n schema:\n type: string\n - name: email\n in: query\n required: false\n description: Email address to search for in registrant records (case-insensitive exact or regex match; * wildcard supported).\n schema:\n type: string\n - name: owner\n in: query\n required: false\n description: Registrant or owner name to search for (full-text phrase matching).\n schema:\n type: string\n - name: company\n in: query\n required: false\n description: Organization or company name to search for (full-text phrase matching).\n schema:\n type: string\n - name: exact\n in: query\n required: false\n description: Set to true to return only exact matches for keyword, owner, or company. Default is false.\n schema:\n type: boolean\n default: false\n - name: mode\n in: query\n required: false\n description: Response detail level. 'default' returns full WHOIS data per domain; 'mini' returns only key fields.\n schema:\n type: string\n enum:\n - default\n - mini\n default: default\n - name: page\n in: query\n required: false\n description: Page number for paginated results.\n schema:\n type: integer\n default: 1\n responses:\n '200':\n description: Successful reverse WHOIS search response\n content:\n application/json:\n schema:\n $ref: '#/components/schemas/ReverseWhoisResponse'\n examples:\n defaultMode:\n summary: Default mode (full WHOIS data)\n value:\n total_Result: 8\n total_Pages: 1\n current_Page: 1\n whois_domains_historical:\n - num: 1\n status: true\n domain_name: ipgeolocationdatabase.com\n query_time: '2026-05-21 04:00:28'\n create_date: '2010-04-14'\n update_date: '2026-05-19'\n expiry_date: '2027-04-14'\n domain_registrar:\n iana_id: '269'\n registrar_name: Key-Systems GmbH\n whois_server: whois.rrpproxy.net\n website_url: http://www.key-systems.net\n email_address: abuse@key-systems.net\n phone_number: '+4968949396850'\n registrant_contact:\n id: Not Available From Registry\n name: On behalf of ipgeolocationdatabase.com OWNER\n company: c/o whoisproxy.com\n city: Alexandria\n state: VA\n zip_code: '22314'\n country_name: United States\n country_code: US\n email_address: 720ed14de67db24c4eb07295ecae369f9f1bfe8a4dd5cd0c51f0e4754ee24895@ipgeolocationdatabase.com.whoisproxy.org\n phone: '+6448319528'\n name_servers:\n - dale.ns.cloudflare.com\n - olga.ns.cloudflare.com\n domain_status:\n - clienttransferprohibited\n whois_raw_domain: |-\n Domain Name: ipgeolocationdatabase.com\n Registry Domain ID: ...\n Registrar WHOIS Server: whois.rrpproxy.net\n ...\n registry_data:\n domain_name: ipgeolocationdatabase.com\n domain_registrar:\n registrar_name: Key-Systems GmbH\n name_servers:\n - dale.ns.cloudflare.com\n - olga.ns.cloudflare.com\n miniMode:\n summary: Mini mode (condensed fields)\n value:\n total_Result: 8\n total_Pages: 1\n current_Page: 1\n whois_domains_historical:\n - num: 1\n domain_name: ipgeolocationdatabase.com\n create_date: '2010-04-14'\n update_date: '2026-05-19'\n expiry_date: '2027-04-14'\n name: On behalf of ipgeolocationdatabase.com OWNER\n email: 720ed14de67db24c4eb07295ecae369f9f1bfe8a4dd5cd0c51f0e4754ee24895@ipgeolocationdatabase.com.whoisproxy.org\n company_name: c/o whoisproxy.com\n headers:\n X-AF-Credits-Cost:\n $ref: '#/components/headers/X-AF-Credits-Cost'\n X-Concurrent-Threads:\n $ref: '#/components/headers/X-Concurrent-Threads'\n X-Concurrent-Threads-Active:\n $ref: '#/components/headers/X-Concurrent-Threads-Active'\n '400':\n description: Bad Request -- Missing API key, missing or invalid search parameters, or an unsupported mode\n content:\n application/json:\n schema:\n $ref: '#/components/schemas/ErrorResponse'\n examples:\n missingParam:\n summary: No search parameter supplied (keyword, email, owner or company)\n value:\n error: Invalid Param Exception\n message: please pass correct parameters\n path: /v1.0/domain/whois/reverse\n status: 400\n timestamp: '2026-11-20T11:12:56.784Z'\n missingApiKey:\n summary: Missing API key\n value:\n error: Invalid Param Exception\n message: Please provide apiKey\n path: /v1.0/domain/whois/reverse\n status: 400\n timestamp: '2026-11-20T11:12:57.333Z'\n invalidMode:\n summary: Unsupported mode value (live upstream error)\n value:\n timestamp: '2026-11-20T11:13:00.645837354Z'\n status: 400\n error: Invalid Param Exception\n message: 'Please pass domain param correct value [For Technical Support: support@apifreaks.com]'\n path: /v1.0/whois\n headers:\n X-AF-Credits-Cost:\n $ref: '#/components/headers/X-AF-Credits-Cost'\n X-Concurrent-Threads:\n $ref: '#/components/headers/X-Concurrent-Threads'\n X-Concurrent-Threads-Active:\n $ref: '#/components/headers/X-Concurrent-Threads-Active'\n '401':\n description: Unauthorized -- Invalid, inactive or blocked API key, or no active subscription or credits\n content:\n application/json:\n schema:\n $ref: '#/components/schemas/ErrorResponse'\n examples:\n invalidApiKey:\n summary: Invalid API key\n value:\n error: API Access Exception\n message: 'Provided API key is invalid. [For Technical Support: support@apifreaks.com]'\n path: /v1.0/domain/whois/reverse\n status: 401\n timestamp: '2026-11-20T11:12:57.844Z'\n inactiveApiKey:\n summary: Inactive API key\n value:\n error: API Access Exception\n message: Provided API key is inactive.\n path: /v1.0/domain/whois/reverse\n status: 401\n timestamp: '2026-11-20T11:12:57.844Z'\n noSubscription:\n summary: No subscription plan or API credits\n value:\n error: API Access Exception\n message: Please buy a subscription plan or add api credits, then use this api key.\n path: /v1.0/domain/whois/reverse\n status: 401\n timestamp: '2026-11-20T11:12:57.844Z'\n subscriptionDeactivated:\n summary: Subscription deactivated\n value:\n error: API Access Exception\n message: Your subscription is deactivated. Please buy new plan or add api credits for using apifreaks APIs.\n path: /v1.0/domain/whois/reverse\n status: 401\n timestamp: '2026-11-20T11:12:57.844Z'\n subscriptionDeactivatedPaymentFailure:\n summary: Subscription deactivated after repeated payment failure\n value:\n error: API Access Exception\n message: Your subscription is deactivated due to much time payment failure. Please buy a new plan or add api credits for using apifreaks APIs.\n path: /v1.0/domain/whois/reverse\n status: 401\n timestamp: '2026-11-20T11:12:57.844Z'\n accountDeactivated:\n summary: Account deactivated\n value:\n error: API Access Exception\n message: Your account is deactivated.\n path: /v1.0/domain/whois/reverse\n status: 401\n timestamp: '2026-11-20T11:12:57.844Z'\n blockedSuspiciousActivity:\n summary: Blocked for suspicious activity\n value:\n error: API Access Exception\n message: You are blocked due to suspicious activity.\n path: /v1.0/domain/whois/reverse\n status: 401\n timestamp: '2026-11-20T11:12:57.844Z'\n apiRecordNotFound:\n summary: API record not found\n value:\n error: API Access Exception\n message: Api record not found.\n path: /v1.0/domain/whois/reverse\n status: 401\n timestamp: '2026-11-20T11:12:57.844Z'\n suspiciousActivity:\n summary: Suspicious activity\n value:\n error: API Access Exception\n message: Suspicious Activity.\n path: /v1.0/domain/whois/reverse\n status: 401\n timestamp: '2026-11-20T11:12:57.844Z'\n headers:\n X-AF-Credits-Cost:\n $ref: '#/components/headers/X-AF-Credits-Cost'\n X-Concurrent-Threads:\n $ref: '#/components/headers/X-Concurrent-Threads'\n X-Concurrent-Threads-Active:\n $ref: '#/components/headers/X-Concurrent-Threads-Active'\n '404':\n description: Not Found -- No domains match the search criteria, or the HTTP method is not supported by the endpoint\n content:\n application/json:\n schema:\n $ref: '#/components/schemas/ErrorResponse'\n examples:\n recordNotFound:\n summary: No matching domains found\n value:\n timestamp: '2026-11-20T11:12:59.683452852Z'\n status: 404\n error: Record Not Found\n message: Record not found\n path: /v1.0/whois\n resourceNotFound:\n summary: Unsupported HTTP method (POST, PUT, PATCH, DELETE); the endpoint accepts GET only\n value:\n error: Resource Not Found\n message: The requested resource could not be found. Please verify the URL and try again.\n path: /v1.0/domain/whois/reverse\n status: 404\n timestamp: '2026-11-20T11:13:14.136Z'\n headers:\n X-AF-Credits-Cost:\n $ref: '#/components/headers/X-AF-Credits-Cost'\n X-Concurrent-Threads:\n $ref: '#/components/headers/X-Concurrent-Threads'\n X-Concurrent-Threads-Active:\n $ref: '#/components/headers/X-Concurrent-Threads-Active'\n '406':\n description: Not Acceptable -- Unsupported format value\n content:\n application/json:\n schema:\n $ref: '#/components/schemas/ErrorResponse'\n examples:\n unsupportedFormat:\n summary: Unsupported format value\n value:\n error: Unsupported Media Type\n message: The media type specified in the request is not supported. For more details, please refer to the API documentation.\n path: /v1.0/domain/whois/reverse\n status: 406\n timestamp: '2026-11-20T11:13:10.159Z'\n headers:\n X-AF-Credits-Cost:\n $ref: '#/components/headers/X-AF-Credits-Cost'\n X-Concurrent-Threads:\n $ref: '#/components/headers/X-Concurrent-Threads'\n X-Concurrent-Threads-Active:\n $ref: '#/components/headers/X-Concurrent-Threads-Active'\n '412':\n description: Precondition Failed -- API plan request limit exceeded and subscription canceled\n content:\n application/json:\n schema:\n $ref: '#/components/schemas/ErrorResponse'\n examples:\n planLimitExceeded:\n summary: API plan request limit exceeded\n value:\n timestamp: '2024-07-10T13:47:02.486Z'\n status: 412\n error: Fetching Whois Data Failed\n message: 'You have exceeded the limit of api plan requests and your subscription is canceled. [For Technical Support email at: support@apifreaks.com]'\n path: /v1.0/domain/whois/reverse\n headers:\n X-AF-Credits-Cost:\n $ref: '#/components/headers/X-AF-Credits-Cost'\n X-Concurrent-Threads:\n $ref: '#/components/headers/X-Concurrent-Threads'\n X-Concurrent-Threads-Active:\n $ref: '#/components/headers/X-Concurrent-Threads-Active'\n '413':\n description: Payload Too Large -- API credits or surcharge request limit exceeded\n content:\n application/json:\n schema:\n $ref: '#/components/schemas/ErrorResponse'\n examples:\n surchargeLimitExceeded:\n summary: Surcharge request limit exceeded\n value:\n timestamp: '2024-07-10T13:47:02.486Z'\n status: 413\n error: Fetching Whois Data Failed\n message: 'You have exceeded the limit of Surcharge Requests [allowed_surcharge_request_no]. Please upgrade your plan. [For Technical Support email at: support@apifreaks.com]'\n path: /v1.0/domain/whois/reverse\n creditsLimitExceeded:\n summary: API credits request limit exceeded\n value:\n message: You have exceeded the limit of api credits requests [allowed_request_no]. Please upgrade your plan.\n upgradePlan:\n summary: Upgrade required\n value:\n message: Please upgrade your plans.\n headers:\n X-AF-Credits-Cost:\n $ref: '#/components/headers/X-AF-Credits-Cost'\n X-Concurrent-Threads:\n $ref: '#/components/headers/X-Concurrent-Threads'\n X-Concurrent-Threads-Active:\n $ref: '#/components/headers/X-Concurrent-Threads-Active'\n '429':\n description: Too Many Requests -- Per-minute request limit reached\n content:\n application/json:\n schema:\n $ref: '#/components/schemas/ErrorResponse'\n examples:\n rateLimited:\n summary: Per-minute request limit reached\n value:\n timestamp: '2024-07-10T13:47:02.486Z'\n status: 429\n error: Fetching Whois Data Failed\n message: Please slow down. Your maximum request limit per minute reached.\n path: /v1.0/domain/whois/reverse\n headers:\n X-AF-Credits-Cost:\n $ref: '#/components/headers/X-AF-Credits-Cost'\n X-Concurrent-Threads:\n $ref: '#/components/headers/X-Concurrent-Threads'\n X-Concurrent-Threads-Active:\n $ref: '#/components/headers/X-Concurrent-Threads-Active'\n '499':\n description: Client Closed Request -- The client timeout is too short and the connection was closed before the response completed\n content:\n application/json:\n schema:\n $ref: '#/components/schemas/ErrorResponse'\n examples:\n clientTimeout:\n summary: Client timeout too short\n value:\n message: The request or connection timeout you\u2019ve set is too short, which is causing the server to close the connection before completing the response. Please increase the timeout duration to ensure successful communication with the server.\n headers:\n X-AF-Credits-Cost:\n $ref: '#/components/headers/X-AF-Credits-Cost'\n X-Concurrent-Threads:\n $ref: '#/components/headers/X-Concurrent-Threads'\n X-Concurrent-Threads-Active:\n $ref: '#/components/headers/X-Concurrent-Threads-Active'\n '500':\n description: Internal Server Error\n content:\n application/json:\n schema:\n $ref: '#/components/schemas/ErrorResponse'\n examples:\n internalError:\n summary: Internal server error\n value:\n timestamp: '2024-07-10T13:47:02.486Z'\n status: 500\n error: Fetching Whois Data Failed\n message: 'Internal Server error occurred. [For Technical Support email at: support@apifreaks.com]'\n path: /v1.0/domain/whois/reverse\n headers:\n X-AF-Credits-Cost:\n $ref: '#/components/headers/X-AF-Credits-Cost'\n X-Concurrent-Threads:\n $ref: '#/components/headers/X-Concurrent-Threads'\n X-Concurrent-Threads-Active:\n $ref: '#/components/headers/X-Concurrent-Threads-Active'\n '503':\n description: Service Unavailable\n content:\n application/json:\n schema:\n $ref: '#/components/schemas/ErrorResponse'\n examples:\n serviceUnavailable:\n summary: Service unavailable\n value:\n timestamp: '2024-07-10T13:47:02.486Z'\n status: 503\n error: Fetching Whois Data Failed\n message: 'Service is unavailable. Please try after some time. [For Technical Support email at: support@apifreaks.com]'\n path: /v1.0/domain/whois/reverse\n headers:\n X-AF-Credits-Cost:\n $ref: '#/components/headers/X-AF-Credits-Cost'\n X-Concurrent-Threads:\n $ref: '#/components/headers/X-Concurrent-Threads'\n X-Concurrent-Threads-Active:\n $ref: '#/components/headers/X-Concurrent-Threads-Active'\n '504':\n description: Gateway Timeout -- Request timed out\n content:\n application/json:\n schema:\n $ref: '#/components/schemas/ErrorResponse'\n examples:\n timedOut:\n summary: Request timed out\n value:\n timestamp: '2024-07-10T13:47:02.486Z'\n status: 504\n error: Fetching Whois Data Failed\n message: 'Request is timed-out. [For Technical Support email at: support@apifreaks.com]'\n path: /v1.0/domain/whois/reverse\n headers:\n X-AF-Credits-Cost:\n $ref: '#/components/headers/X-AF-Credits-Cost'\n X-Concurrent-Threads:\n $ref: '#/components/headers/X-Concurrent-Threads'\n X-Concurrent-Threads-Active:\n $ref: '#/components/headers/X-Concurrent-Threads-Active'\n '505':\n description: HTTP Version Not Supported\n content:\n application/json:\n schema:\n $ref: '#/components/schemas/ErrorResponse'\n examples:\n httpVersion:\n summary: Outdated HTTP version\n value:\n message: You might be using an outdated HTTP version.\n headers:\n X-AF-Credits-Cost:\n $ref: '#/components/headers/X-AF-Credits-Cost'\n X-Concurrent-Threads:\n $ref: '#/components/headers/X-Concurrent-Threads'\n X-Concurrent-Threads-Active:\n $ref: '#/components/headers/X-Concurrent-Threads-Active'\ncomponents:\n securitySchemes:\n ApiKeyAuthHeader:\n type: apiKey\n in: header\n name: X-apiKey\n description: Pass your API key via the X-apiKey request header.\n ApiKeyAuthQuery:\n type: apiKey\n in: query\n name: apiKey\n description: Pass your API key via the apiKey query parameter.\n schemas:\n ErrorResponse:\n type: object\n required:\n - message\n properties:\n error:\n type: string\n description: Short error category or exception type.\n message:\n type: string\n description: Human-readable error message describing the failure.\n path:\n type: string\n description: API endpoint path that produced the error.\n status:\n type: integer\n description: HTTP status code returned with the error.\n timestamp:\n type: string\n format: date-time\n description: Timestamp when the error occurred (ISO 8601).\n ReverseWhoisResponse:\n type: object\n description: Paginated reverse WHOIS search result containing total matches, page info, and an array of matching domain records.\n required:\n - total_Result\n - total_Pages\n - current_Page\n - whois_domains_historical\n properties:\n total_Result:\n type: integer\n description: Total number of domain records matching the search criteria.\n total_Pages:\n type: integer\n description: Total number of pages available (50 records per page in default mode, 100 in mini mode).\n current_Page:\n type: integer\n description: Current page number in the paginated result.\n whois_domains_historical:\n type: array\n description: Array of matching domain records. In default mode each entry contains full WHOIS data; in mini mode each entry contains only key fields.\n items:\n oneOf:\n - $ref: '#/components/schemas/ReverseWhoisDomainDefault'\n - $ref: '#/components/schemas/ReverseWhoisDomainMini'\n ReverseWhoisDomainDefault:\n type: object\n description: Full WHOIS record for a matching domain in default mode, including registrar, contacts, name servers, status, and registry data.\n required:\n - num\n - status\n - domain_name\n properties:\n num:\n type: integer\n description: Sequential result number.\n status:\n type: boolean\n description: Indicates whether the WHOIS request was successfully processed.\n domain_name:\n type: string\n description: The matched domain name.\n query_time:\n type:\n - string\n - 'null'\n description: Timestamp of the WHOIS query (YYYY-MM-DD HH:mm:ss).\n whois_server:\n type:\n - string\n - 'null'\n description: WHOIS server that provided the domain information.\n domain_registered:\n type:\n - string\n - 'null'\n enum:\n - 'yes'\n - 'no'\n - restricted\n description: 'Registration status: ''yes'' if registered, ''no'' if available, ''restricted'' if locked by the registry.'\n create_date:\n type:\n - string\n - 'null'\n format: date\n description: Date when the domain was initially registered (YYYY-MM-DD).\n update_date:\n type:\n - string\n - 'null'\n format: date\n description: Date of the most recent update to the domain registration (YYYY-MM-DD).\n expiry_date:\n type:\n - string\n - 'null'\n format: date\n description: Date when the domain registration expires if not renewed (YYYY-MM-DD).\n domain_registrar:\n $ref: '#/components/schemas/DomainRegistrar'\n reseller_contact:\n $ref: '#/components/schemas/WhoisContact'\n registrant_contact:\n $ref: '#/components/schemas/WhoisContact'\n administrative_contact:\n $ref: '#/components/schemas/WhoisContact'\n technical_contact:\n $ref: '#/components/schemas/WhoisContact'\n billing_contact:\n $ref: '#/components/schemas/WhoisContact'\n name_servers:\n type:\n - array\n - 'null'\n description: List of authoritative name servers for the domain.\n items:\n type: string\n domain_status:\n type:\n - array\n - 'null'\n description: List of domain status codes (EPP status codes).\n items:\n type: string\n whois_raw_domain:\n type:\n - string\n - 'null'\n description: Raw WHOIS output returned by the registrar's WHOIS server.\n registry_data:\n $ref: '#/components/schemas/RegistryData'\n ReverseWhoisDomainMini:\n type: object\n description: Condensed WHOIS record for a matching domain in mini mode, containing only key registration fields.\n required:\n - num\n - domain_name\n properties:\n num:\n type: integer\n description: Sequential result number.\n domain_name:\n type: string\n description: The matched domain name.\n create_date:\n type:\n - string\n - 'null'\n format: date\n description: Date when the domain was initially registered (YYYY-MM-DD).\n update_date:\n type:\n - string\n - 'null'\n format: date\n description: Date of the most recent update to the domain registration (YYYY-MM-DD).\n expiry_date:\n type:\n - string\n - 'null'\n format: date\n description: Date when the domain registration expires if not renewed (YYYY-MM-DD).\n name:\n type:\n - string\n - 'null'\n description: Registrant or owner name.\n email:\n type:\n - string\n - 'null'\n description: Registrant email address.\n company_name:\n type:\n - string\n - 'null'\n description: Registrant company or organization name.\n DomainRegistrar:\n type: object\n description: Registrar information for the domain, including IANA ID, name, WHOIS/RDAP servers, website, and contact details.\n required: []\n properties:\n iana_id:\n type:\n - string\n - 'null'\n description: IANA (Internet Assigned Numbers Authority) ID of the registrar.\n status:\n type:\n - string\n - 'null'\n description: Accreditation status of the registrar (e.g., 'accredited'), when published.\n registrar_name:\n type:\n - string\n - 'null'\n description: Name of the registrar managing the domain.\n normalized_name:\n type:\n - string\n - 'null'\n description: Normalized (lowercase, stripped) registrar name, when published.\n whois_server:\n type:\n - string\n - 'null'\n description: WHOIS server of the registrar, when published.\n rdap_server:\n type:\n - string\n - 'null'\n format: uri\n description: RDAP (Registration Data Access Protocol) server URL of the registrar, when published.\n website_url:\n type:\n - string\n - 'null'\n format: uri\n description: Website URL of the registrar.\n email_address:\n type:\n - string\n - 'null'\n description: Contact or abuse email address of the registrar.\n phone_number:\n type:\n - string\n - 'null'\n description: Contact phone number of the registrar.\n WhoisContact:\n type: object\n description: Contact information for a domain stakeholder (registrant, administrative, technical, billing, or reseller). All fields are optional and depend on the contact type and privacy settings.\n required: []\n properties:\n id:\n type:\n - string\n - 'null'\n description: Contact identifier.\n handle:\n type:\n - string\n - 'null'\n description: Registry handle for the contact, when published.\n name:\n type:\n - string\n - 'null'\n description: Name of the contact person.\n company:\n type:\n - string\n - 'null'\n description: Company or organization name.\n street:\n type:\n - string\n - 'null'\n description: Street address.\n city:\n type:\n - string\n - 'null'\n description: City.\n state:\n type:\n - string\n - 'null'\n description: State or province.\n zip_code:\n type:\n - string\n - 'null'\n description: ZIP or postal code.\n country_name:\n type:\n - string\n - 'null'\n description: Country name.\n country_code:\n type:\n - string\n - 'null'\n description: ISO 3166-1 alpha-2 country code.\n email_address:\n type:\n - string\n - 'null'\n description: Email address of the contact.\n phone:\n type:\n - string\n - 'null'\n description: Phone number of the contact.\n fax:\n type:\n - string\n - 'null'\n description: Fax number of the contact.\n mailing_address:\n type:\n - string\n - 'null'\n description: Full mailing address as a single string.\n RegistryData:\n type: object\n description: Normalized registry-level WHOIS data. Contains the same structure as the top-level response but reflects data from the registry's own WHOIS server rather than the registrar's.\n required: []\n properties:\n domain_name:\n type:\n - string\n - 'null'\n description: Domain name as recorded by the registry.\n query_time:\n type:\n - string\n - 'null'\n description: Timestamp of the registry WHOIS query (YYYY-MM-DD HH:mm:ss).\n whois_server:\n type:\n - string\n - 'null'\n description: Registry WHOIS server that provided this data.\n domain_registered:\n type:\n - string\n - 'null'\n enum:\n - 'yes'\n - 'no'\n - restricted\n description: Registration status from the registry.\n create_date:\n type:\n - string\n - 'null'\n format: date\n description: Domain creation date as recorded by the registry (YYYY-MM-DD).\n update_date:\n type:\n - string\n - 'null'\n format: date\n description: Last update date as recorded by the registry (YYYY-MM-DD).\n expiry_date:\n type:\n - string\n - 'null'\n format: date\n description: Domain expiry date as recorded by the registry (YYYY-MM-DD).\n domain_registrar:\n $ref: '#/components/schemas/DomainRegistrar'\n name_servers:\n type:\n - array\n - 'null'\n description: List of name servers as recorded by the registry.\n items:\n type: string\n domain_status:\n type:\n - array\n - 'null'\n description: List of domain status codes from the registry.\n items:\n type: string\n whois_raw_registery:\n type:\n - string\n - 'null'\n description: Raw WHOIS output from the registry server.\n headers:\n X-AF-Credits-Cost:\n description: Specifies the number of credits consumed by the current request.\n schema:\n type: integer\n X-Concurrent-Threads:\n description: Specifies the maximum number of concurrent requests allowed.\n schema:\n type: integer\n X-Concurrent-Threads-Active:\n description: Indicates the number of active concurrent requests being processed.\n schema:\n type: integer\nsecurity:\n - ApiKeyAuthHeader: []\n - ApiKeyAuthQuery: []\n",
64907
64981
  "whois-domain-lookup": "openapi: 3.1.1\ninfo:\n title: Domain WHOIS Lookup API - Well-Structured Registration & Ownership Data\n version: 1.0.0\n description: 'Retrieve real-time WHOIS registration and ownership data for a domain name directly from its authoritative registrar and registry. Returns registrar details (name, IANA ID, WHOIS/RDAP server, accreditation status), registrant/administrative/technical/billing/reseller contact information, name servers, EPP domain status codes, and both registrar-level and registry-level raw WHOIS text. Pass `domainName` as a bare domain (e.g. `example.com`); a `https://` or `http://` prefix is also accepted. Privacy-protected domains return redirect instructions instead of direct contact emails, and an unregistered domain returns `domain_registered: no` with most fields omitted instead of an error. Domain extensions this API does not support live WHOIS for return a `403` error, and a missing or malformed `domainName` returns a `400` error.'\n contact:\n name: APIFreaks Support\n url: https://apifreaks.com/contact\n email: support@apifreaks.com\nservers:\n - url: https://api.apifreaks.com/v2.0\n description: Domain WHOIS Lookup API Server\npaths:\n /domain/whois/live:\n get:\n tags:\n - WHOIS APIs\n summary: Retrieve real-time WHOIS registration and ownership data for a domain name\n description: Returns the current WHOIS record for the specified domain, including registrar details, registrant/administrative/technical/billing/reseller contacts, name servers, status codes, and raw WHOIS text.\n operationId: lookupDomainWhois\n parameters:\n - name: format\n in: query\n required: false\n description: Format of the response.\n schema:\n type: string\n enum:\n - json\n - xml\n default: json\n - name: domainName\n in: query\n required: true\n description: Domain name to retrieve WHOIS data for (e.g. example.com).\n schema:\n type: string\n responses:\n '200':\n description: Successful WHOIS lookup response\n content:\n application/json:\n schema:\n $ref: '#/components/schemas/DomainWhoisLookupResponse'\n examples:\n typicalSuccess:\n summary: Typical successful response\n value:\n status: true\n domain_name: google.com\n query_time: '2026-07-23 08:22:19'\n whois_server: whois.verisign-grs.com\n domain_registered: 'yes'\n create_date: '1997-09-15'\n update_date: '2024-08-02'\n expiry_date: '2028-09-13'\n domain_registrar:\n iana_id: '292'\n status: accredited\n registrar_name: MarkMonitor, Inc\n normalized_name: markmonitor\n whois_server: whois.markmonitor.com\n rdap_server: https://rdap.markmonitor.com/rdap/\n website_url: http://www.markmonitor.com\n email_address: abusecomplaints@markmonitor.com\n phone_number: '+12086851750'\n registrant_contact:\n company: Google LLC\n country_name: United States\n country_code: US\n email_address: Select Request Email Form at https://domains.markmonitor.com/whois/google.com\n technical_contact:\n email_address: Select Request Email Form at https://domains.markmonitor.com/whois/google.com\n name_servers:\n - ns1.google.com\n - ns2.google.com\n - ns3.google.com\n - ns4.google.com\n domain_status:\n - clientupdateprohibited\n - clienttransferprohibited\n - clientdeleteprohibited\n - serverdeleteprohibited\n - serverupdateprohibited\n - servertransferprohibited\n whois_raw_domain: |-\n\n Domain Name: google.com\n Registry Domain ID: 2138514_DOMAIN_COM-VRSN\n Registrar WHOIS Server: whois.markmonitor.com\n Registrar URL: http://www.markmonitor.com\n Updated Date: 2024-08-02T02:17:33+0000\n Creation Date: 1997-09-15T07:00:00+0000\n Registrar Registration Expiration Date: 2028-09-13T07:00:00+0000\n Registrar: MarkMonitor, Inc.\n Registrar IANA ID: 292\n Registrar Abuse Contact: https://corp.markmonitor.com/domain/ui/abuse-report\n Registrar Abuse Contact Phone: +1.2086851750\n Domain Status: clientUpdateProhibited (https://www.icann.org/epp#clientUpdateProhibited)\n Domain Status: clientTransferProhibited (https://www.icann.org/epp#clientTransferProhibited)\n Domain Status: clientDeleteProhibited (https://www.icann.org/epp#clientDeleteProhibited)\n Domain Status: serverUpdateProhibited (https://www.icann.org/epp#serverUpdateProhibited)\n Domain Status: serverTransferProhibited (https://www.icann.org/epp#serverTransferProhibited)\n Domain Status: serverDeleteProhibited (https://www.icann.org/epp#serverDeleteProhibited)\n Registrant Organization: Google LLC\n Registrant Country: US\n Registrant Email: Select Request Email Form at https://domains.markmonitor.com/whois/google.com\n Tech Email: Select Request Email Form at https://domains.markmonitor.com/whois/google.com\n Name Server: ns1.google.com\n Name Server: ns4.google.com\n Name Server: ns3.google.com\n Name Server: ns2.google.com\n DNSSEC: unsigned\n URL of the ICANN WHOIS Data Problem Reporting System: http://wdprs.internic.net/\n >>> Last update of WHOIS database: 2026-07-23T08:17:26+0000 <<<\n\n For more information on WHOIS status codes, please visit:\n https://www.icann.org/resources/pages/epp-status-codes\n\n If you wish to contact this domain\u2019s Registrant or Technical\n contact, and such email address is not visible above, you may do so via our web\n form, pursuant to ICANN\u2019s Temporary Specification. To verify that you are not a\n robot, please enter your email address to receive a link to a page that\n facilitates email communication with the relevant contact(s).\n\n Web-based WHOIS:\n https://domains.markmonitor.com/whois/contact/google.com\n\n If you have a legitimate interest in viewing the non-public WHOIS details, send\n your request and the reasons for your request to whoisrequest@markmonitor.com\n and specify the domain name in the subject line. We will review that request and\n may ask for supporting documentation and explanation.\n\n The data in MarkMonitor\u2019s WHOIS database is provided for information purposes,\n and to assist persons in obtaining information about or related to a domain\n name\u2019s registration record. While MarkMonitor believes the data to be accurate,\n the data is provided \"as is\" with no guarantee or warranties regarding its\n accuracy.\n\n By submitting a WHOIS query, you agree that you will use this data only for\n lawful purposes and that, under no circumstances will you use this data to:\n (1) allow, enable, or otherwise support the transmission by email, telephone,\n or facsimile of mass, unsolicited, commercial advertising, or spam; or\n (2) enable high volume, automated, or electronic processes that send queries,\n data, or email to MarkMonitor (or its systems) or the domain name contacts (or\n its systems).\n\n MarkMonitor reserves the right to modify these terms at any time.\n\n By submitting this query, you agree to abide by this policy.\n\n MarkMonitor Domain Management(TM)\n Protecting companies and consumers in a digital world.\n\n Visit MarkMonitor at https://www.markmonitor.com\n Contact us at +1.8007459229\n In Europe, at +44.02032062220\n --\n registry_data:\n domain_name: GOOGLE.COM\n query_time: '2026-07-23 08:22:18'\n whois_server: whois.verisign-grs.com\n domain_registered: 'yes'\n create_date: '1997-09-15'\n update_date: '2019-09-09'\n expiry_date: '2028-09-14'\n domain_registrar:\n iana_id: '292'\n registrar_name: MarkMonitor Inc\n whois_server: whois.markmonitor.com\n website_url: http://www.markmonitor.com\n name_servers:\n - ns1.google.com\n - ns2.google.com\n - ns3.google.com\n - ns4.google.com\n domain_status:\n - clientupdateprohibited\n - clientdeleteprohibited\n - clienttransferprohibited\n - serverdeleteprohibited\n - serverupdateprohibited\n - servertransferprohibited\n whois_raw_registery: |-\n\n Domain Name: GOOGLE.COM\n Registry Domain ID: 2138514_DOMAIN_COM-VRSN\n Registrar WHOIS Server: whois.markmonitor.com\n Registrar URL: http://www.markmonitor.com\n Updated Date: 2019-09-09T15:39:04Z\n Creation Date: 1997-09-15T04:00:00Z\n Registry Expiry Date: 2028-09-14T04:00:00Z\n Registrar: MarkMonitor Inc.\n Registrar IANA ID: 292\n Registrar Abuse Contact Email: abusecomplaints@markmonitor.com\n Registrar Abuse Contact Phone: +1.2086851750\n Domain Status: clientDeleteProhibited https://icann.org/epp#clientDeleteProhibited\n Domain Status: clientTransferProhibited https://icann.org/epp#clientTransferProhibited\n Domain Status: clientUpdateProhibited https://icann.org/epp#clientUpdateProhibited\n Domain Status: serverDeleteProhibited https://icann.org/epp#serverDeleteProhibited\n Domain Status: serverTransferProhibited https://icann.org/epp#serverTransferProhibited\n Domain Status: serverUpdateProhibited https://icann.org/epp#serverUpdateProhibited\n Name Server: NS1.GOOGLE.COM\n Name Server: NS2.GOOGLE.COM\n Name Server: NS3.GOOGLE.COM\n Name Server: NS4.GOOGLE.COM\n DNSSEC: unsigned\n URL of the ICANN Whois Inaccuracy Complaint Form: https://www.icann.org/wicf/\n >>> Last update of whois database: 2026-07-23T08:22:08Z <<<\n\n For more information on Whois status codes, please visit https://icann.org/epp\n\n NOTICE: The expiration date displayed in this record is the date the\n registrar's sponsorship of the domain name registration in the registry is\n currently set to expire. This date does not necessarily reflect the expiration\n date of the domain name registrant's agreement with the sponsoring\n registrar. Users may consult the sponsoring registrar's Whois database to\n view the registrar's reported date of expiration for this registration.\n\n TERMS OF USE: You are not authorized to access or query our Whois\n database through the use of electronic processes that are high-volume and\n automated except as reasonably necessary to register domain names or\n modify existing registrations; the Data in VeriSign Global Registry\n Services' (\"VeriSign\") Whois database is provided by VeriSign for\n information purposes only, and to assist persons in obtaining information\n about or related to a domain name registration record. VeriSign does not\n guarantee its accuracy. By submitting a Whois query, you agree to abide\n by the following terms of use: You agree that you may use this Data only\n for lawful purposes and that under no circumstances will you use this Data\n to: (1) allow, enable, or otherwise support the transmission of mass\n unsolicited, commercial advertising or solicitations via e-mail, telephone,\n or facsimile; or (2) enable high volume, automated, electronic processes\n that apply to VeriSign (or its computer systems). The compilation,\n repackaging, dissemination or other use of this Data is expressly\n prohibited without the prior written consent of VeriSign. You agree not to\n use electronic processes that are automated and high-volume to access or\n query the Whois database except as reasonably necessary to register\n domain names or modify existing registrations. VeriSign reserves the right\n to restrict your access to the Whois database in its sole discretion to ensure\n operational stability. VeriSign may restrict or terminate your access to the\n Whois database for failure to abide by these terms of use. VeriSign\n reserves the right to modify these terms at any time.\n\n The Registry database contains ONLY .COM, .NET, .EDU domains and\n Registrars.\n unregisteredDomain:\n summary: Unregistered domain\n value:\n status: true\n domain_name: example.xn--tckwe\n query_time: '2026-07-23 08:03:00'\n whois_server: https://tld-rdap.verisign.com/xn--tckwe/v1/\n domain_registered: 'no'\n headers:\n X-AF-Credits-Cost:\n $ref: '#/components/headers/X-AF-Credits-Cost'\n '206':\n description: Partial Content \u2014 The registry query succeeded but the registrar query failed, so registrar-level details such as contact information may be missing. The body has the same shape as a 200 response. Retry later to get the full record.\n content:\n application/json:\n schema:\n $ref: '#/components/schemas/DomainWhoisLookupResponse'\n examples:\n partialContent:\n summary: Registry data only (registrar query failed)\n value:\n status: true\n domain_name: whoisfreaks.com\n query_time: '2024-07-11 13:03:30'\n whois_server: whois.verisign-grs.com\n domain_registered: 'yes'\n create_date: '2019-03-19'\n update_date: '2024-02-18'\n expiry_date: '2025-03-19'\n domain_registrar:\n iana_id: '1068'\n registrar_name: NAMECHEAP INC\n whois_server: whois.namecheap.com\n website_url: http://www.namecheap.com\n email_address: abuse@namecheap.com\n phone_number: '+1.9854014545'\n reseller_contact:\n name: NAMECHEAP INC\n email_address: N/A\n phone: N/A\n registrant_contact:\n name: Redacted for Privacy\n company: Privacy service provided by Withheld for Privacy ehf\n street: Kalkofnsvegur 2\n city: Reykjavik\n state: Capital Region\n zip_code: '101'\n country_name: Iceland\n country_code: IS\n email_address: b8e54d7b11b347b285b60992e0889dde.protect@withheldforprivacy.com\n phone: '+354.4212434'\n fax: N/A\n mailing_address: Kalkofnsvegur 2, 101 Reykjavik, Capital Region, Iceland\n administrative_contact:\n name: Redacted for Privacy\n company: Privacy service provided by Withheld for Privacy ehf\n street: Kalkofnsvegur 2\n city: Reykjavik\n state: Capital Region\n zip_code: '101'\n country_name: Iceland\n country_code: IS\n email_address: b8e54d7b11b347b285b60992e0889dde.protect@withheldforprivacy.com\n phone: '+354.4212434'\n fax: N/A\n mailing_address: Kalkofnsvegur 2, 101 Reykjavik, Capital Region, Iceland\n technical_contact:\n name: Redacted for Privacy\n company: Privacy service provided by Withheld for Privacy ehf\n street: Kalkofnsvegur 2\n city: Reykjavik\n state: Capital Region\n zip_code: '101'\n country_name: Iceland\n country_code: IS\n email_address: b8e54d7b11b347b285b60992e0889dde.protect@withheldforprivacy.com\n phone: '+354.4212434'\n fax: N/A\n mailing_address: Kalkofnsvegur 2, 101 Reykjavik, Capital Region, Iceland\n billing_contact:\n name: N/A\n company: N/A\n street: N/A\n city: N/A\n state: N/A\n zip_code: N/A\n country_name: N/A\n country_code: N/A\n email_address: N/A\n phone: N/A\n fax: N/A\n mailing_address: N/A\n name_servers:\n - dns3.cloudns.net\n - dns4.cloudns.net\n - dns7.cloudns.net\n - dns8.cloudns.net\n domain_status:\n - clientTransferProhibited\n headers:\n X-AF-Credits-Cost:\n $ref: '#/components/headers/X-AF-Credits-Cost'\n '210':\n description: Cached \u2014 Both the registry and the registrar queries failed, so the response is the latest record stored in the database rather than live data. The body has the same shape as a 200 response. Retry later if you need current data.\n content:\n application/json:\n schema:\n $ref: '#/components/schemas/DomainWhoisLookupResponse'\n examples:\n cachedResponse:\n summary: Latest stored record (live queries failed)\n value:\n status: true\n domain_name: whoisfreaks.com\n query_time: '2024-07-11 13:03:30'\n whois_server: whois.verisign-grs.com\n domain_registered: 'yes'\n create_date: '2019-03-19'\n update_date: '2024-02-18'\n expiry_date: '2025-03-19'\n domain_registrar:\n iana_id: '1068'\n registrar_name: NAMECHEAP INC\n whois_server: whois.namecheap.com\n website_url: http://www.namecheap.com\n email_address: abuse@namecheap.com\n phone_number: '+1.9854014545'\n reseller_contact:\n name: NAMECHEAP INC\n email_address: N/A\n phone: N/A\n registrant_contact:\n name: Redacted for Privacy\n company: Privacy service provided by Withheld for Privacy ehf\n street: Kalkofnsvegur 2\n city: Reykjavik\n state: Capital Region\n zip_code: '101'\n country_name: Iceland\n country_code: IS\n email_address: b8e54d7b11b347b285b60992e0889dde.protect@withheldforprivacy.com\n phone: '+354.4212434'\n fax: N/A\n mailing_address: Kalkofnsvegur 2, 101 Reykjavik, Capital Region, Iceland\n administrative_contact:\n name: Redacted for Privacy\n company: Privacy service provided by Withheld for Privacy ehf\n street: Kalkofnsvegur 2\n city: Reykjavik\n state: Capital Region\n zip_code: '101'\n country_name: Iceland\n country_code: IS\n email_address: b8e54d7b11b347b285b60992e0889dde.protect@withheldforprivacy.com\n phone: '+354.4212434'\n fax: N/A\n mailing_address: Kalkofnsvegur 2, 101 Reykjavik, Capital Region, Iceland\n technical_contact:\n name: Redacted for Privacy\n company: Privacy service provided by Withheld for Privacy ehf\n street: Kalkofnsvegur 2\n city: Reykjavik\n state: Capital Region\n zip_code: '101'\n country_name: Iceland\n country_code: IS\n email_address: b8e54d7b11b347b285b60992e0889dde.protect@withheldforprivacy.com\n phone: '+354.4212434'\n fax: N/A\n mailing_address: Kalkofnsvegur 2, 101 Reykjavik, Capital Region, Iceland\n billing_contact:\n name: N/A\n company: N/A\n street: N/A\n city: N/A\n state: N/A\n zip_code: N/A\n country_name: N/A\n country_code: N/A\n email_address: N/A\n phone: N/A\n fax: N/A\n mailing_address: N/A\n name_servers:\n - dns3.cloudns.net\n - dns4.cloudns.net\n - dns7.cloudns.net\n - dns8.cloudns.net\n domain_status:\n - clientTransferProhibited\n whois_raw_domain: Currently live lookup is not possible. It is the latest data in our database.\n registry_data:\n domain_name: WHOISFREAKS.COM\n query_time: '2024-07-11 13:03:30'\n whois_server: whois.verisign-grs.com\n domain_registered: 'yes'\n create_date: N/A\n update_date: N/A\n expiry_date: N/A\n domain_registrar:\n iana_id: '1068'\n registrar_name: NameCheap, Inc.\n whois_server: whois.namecheap.com\n website_url: http://www.namecheap.com\n email_address: abuse@namecheap.com\n phone_number: '+1.6613102107'\n name_servers:\n - dns3.cloudns.net\n - dns4.cloudns.net\n - dns7.cloudns.net\n - dns8.cloudns.net\n domain_status:\n - clientTransferProhibited\n whois_raw_registry: Currently live lookup is not possible. It is the latest data in our database.\n headers:\n X-AF-Credits-Cost:\n $ref: '#/components/headers/X-AF-Credits-Cost'\n '400':\n description: Bad Request \u2014 Missing or invalid domainName parameter, or missing API key\n content:\n application/json:\n schema:\n $ref: '#/components/schemas/ErrorResponse'\n examples:\n missingDomain:\n summary: Missing domainName parameter\n value:\n error: Invalid Param Exception\n message: please pass correct parameters\n path: /v2.0/domain/whois/live\n status: 400\n timestamp: '2026-07-23T08:04:19.197Z'\n missingApiKey:\n summary: Missing API key\n value:\n error: Invalid Param Exception\n message: Please provide apiKey\n path: /v2.0/domain/whois/live\n status: 400\n timestamp: '2026-11-20T11:12:59.795Z'\n invalidDomain:\n summary: Malformed domain name\n value:\n timestamp: '2026-07-23T08:04:18.733Z'\n status: 400\n error: Invalid Param Exception\n message: 'Please pass domain param correct value [For Technical Support: support@apifreaks.com]'\n path: /v2.0/whois/live\n headers:\n X-AF-Credits-Cost:\n $ref: '#/components/headers/X-AF-Credits-Cost'\n '401':\n description: Unauthorized \u2014 The API key is invalid or inactive, or the subscription, credits or account are not usable\n content:\n application/json:\n schema:\n $ref: '#/components/schemas/ErrorResponse'\n examples:\n invalidApiKey:\n summary: Invalid API key\n value:\n error: API Access Exception\n message: 'Provided API key is invalid. [For Technical Support: support@apifreaks.com]'\n path: /v2.0/domain/whois/live\n status: 401\n timestamp: '2026-11-20T11:13:00.607Z'\n inactiveApiKey:\n summary: Inactive API key\n value:\n timestamp: '2026-11-20T11:13:00.607Z'\n status: 401\n error: API Access Exception\n message: Provided API key is inactive.\n path: /v2.0/domain/whois/live\n noSubscription:\n summary: No subscription or credits\n value:\n timestamp: '2026-11-20T11:13:00.607Z'\n status: 401\n error: API Access Exception\n message: Please buy a subscription plan or add api credits, then use this api key.\n path: /v2.0/domain/whois/live\n subscriptionDeactivated:\n summary: Subscription deactivated\n value:\n timestamp: '2026-11-20T11:13:00.607Z'\n status: 401\n error: API Access Exception\n message: Your subscription is deactivated. Please buy new plan or add api credits for using apifreaks APIs.\n path: /v2.0/domain/whois/live\n paymentFailure:\n summary: Subscription deactivated after payment failures\n value:\n timestamp: '2026-11-20T11:13:00.607Z'\n status: 401\n error: API Access Exception\n message: Your subscription is deactivated due to much time payment failure. Please buy a new plan or add api credits for using apifreaks APIs.\n path: /v2.0/domain/whois/live\n accountDeactivated:\n summary: Account deactivated\n value:\n timestamp: '2026-11-20T11:13:00.607Z'\n status: 401\n error: API Access Exception\n message: Your account is deactivated.\n path: /v2.0/domain/whois/live\n blockedSuspiciousActivity:\n summary: Blocked for suspicious activity\n value:\n timestamp: '2026-11-20T11:13:00.607Z'\n status: 401\n error: API Access Exception\n message: You are blocked due to suspicious activity.\n path: /v2.0/domain/whois/live\n apiRecordNotFound:\n summary: API record not found\n value:\n timestamp: '2026-11-20T11:13:00.607Z'\n status: 401\n error: API Access Exception\n message: Api record not found.\n path: /v2.0/domain/whois/live\n suspiciousActivity:\n summary: Suspicious activity\n value:\n timestamp: '2026-11-20T11:13:00.607Z'\n status: 401\n error: API Access Exception\n message: Suspicious Activity.\n path: /v2.0/domain/whois/live\n headers:\n X-AF-Credits-Cost:\n $ref: '#/components/headers/X-AF-Credits-Cost'\n '403':\n description: Forbidden \u2014 Domain extension not supported for live WHOIS, or the domain belongs to an inactive TLD\n content:\n application/json:\n schema:\n $ref: '#/components/schemas/ErrorResponse'\n examples:\n domainExtensionNotSupported:\n summary: Unsupported domain extension\n value:\n timestamp: '2026-07-23T08:11:12.380Z'\n status: 403\n error: Not Supported Domain extension\n message: We are not providing the whois of this domain extension (local)\n path: /v2.0/whois/live\n inactiveTld:\n summary: Domain belongs to an inactive TLD\n value:\n timestamp: '2026-11-20T11:13:00.607Z'\n status: 403\n message: Provided domain belongs to an inactive TLD. Please try to use historical whois lookup.\n path: /v2.0/whois/live\n headers:\n X-AF-Credits-Cost:\n $ref: '#/components/headers/X-AF-Credits-Cost'\n '406':\n description: Not Acceptable \u2014 The format value is not supported\n content:\n application/json:\n schema:\n $ref: '#/components/schemas/ErrorResponse'\n examples:\n unsupportedFormat:\n summary: Unsupported format value\n value:\n error: Unsupported Media Type\n message: The media type specified in the request is not supported. For more details, please refer to the API documentation.\n path: /v2.0/domain/whois/live\n status: 406\n timestamp: '2026-11-20T11:13:01.252Z'\n headers:\n X-AF-Credits-Cost:\n $ref: '#/components/headers/X-AF-Credits-Cost'\n '408':\n description: Request Timeout \u2014 The WHOIS data could not be fetched\n content:\n application/json:\n schema:\n $ref: '#/components/schemas/ErrorResponse'\n examples:\n fetchWhoisFailed:\n summary: Unable to fetch WHOIS data\n value:\n timestamp: '2024-07-10T13:47:02.486Z'\n status: 408\n error: Fetching Whois Data Failed\n message: 'Unable to fetch whois data.Please try again [For Technical Support: support@apifreaks.com]'\n path: /v2.0/domain/whois/live\n headers:\n X-AF-Credits-Cost:\n $ref: '#/components/headers/X-AF-Credits-Cost'\n '412':\n description: Precondition Failed \u2014 The API plan request limit is exceeded and the subscription is canceled\n content:\n application/json:\n schema:\n $ref: '#/components/schemas/ErrorResponse'\n examples:\n planLimitExceeded:\n summary: API plan request limit exceeded\n value:\n timestamp: '2024-07-10T13:47:02.486Z'\n status: 412\n error: Fetching Whois Data Failed\n message: 'You have exceeded the limit of api plan requests and your subscription is canceled. [For Technical Support email at: support@apifreaks.com]'\n path: /v2.0/domain/whois/live\n headers:\n X-AF-Credits-Cost:\n $ref: '#/components/headers/X-AF-Credits-Cost'\n '413':\n description: Payload Too Large \u2014 The API credits or surcharge request limit is exceeded\n content:\n application/json:\n schema:\n $ref: '#/components/schemas/ErrorResponse'\n examples:\n surchargeLimitExceeded:\n summary: Surcharge request limit exceeded\n value:\n timestamp: '2024-07-10T13:47:02.486Z'\n status: 413\n error: Fetching Whois Data Failed\n message: 'You have exceeded the limit of Surcharge Requests [allowed_surcharge_request_no]. Please upgrade your plan. [For Technical Support email at: support@apifreaks.com]'\n path: /v2.0/domain/whois/live\n creditsLimitExceeded:\n summary: API credits request limit exceeded\n value:\n timestamp: '2024-07-10T13:47:02.486Z'\n status: 413\n error: Fetching Whois Data Failed\n message: You have exceeded the limit of api credits requests [allowed_request_no]. Please upgrade your plan.\n path: /v2.0/domain/whois/live\n headers:\n X-AF-Credits-Cost:\n $ref: '#/components/headers/X-AF-Credits-Cost'\n '429':\n description: Too Many Requests \u2014 The per-minute request limit is reached\n content:\n application/json:\n schema:\n $ref: '#/components/schemas/ErrorResponse'\n examples:\n rateLimited:\n summary: Per-minute request limit reached\n value:\n timestamp: '2024-07-10T13:47:02.486Z'\n status: 429\n error: Fetching Whois Data Failed\n message: Please slow down. Your maximum request limit per minute reached.\n path: /v2.0/domain/whois/live\n headers:\n X-AF-Credits-Cost:\n $ref: '#/components/headers/X-AF-Credits-Cost'\n '499':\n description: Client Closed Request \u2014 The client request or connection timeout is too short\n content:\n application/json:\n schema:\n $ref: '#/components/schemas/ErrorResponse'\n examples:\n clientTimeoutTooShort:\n summary: Client timeout too short\n value:\n timestamp: '2026-11-20T11:13:00.607Z'\n status: 499\n message: The request or connection timeout you\u2019ve set is too short, which is causing the server to close the connection before completing the response. Please increase the timeout duration to ensure successful communication with the server.\n path: /v2.0/domain/whois/live\n headers:\n X-AF-Credits-Cost:\n $ref: '#/components/headers/X-AF-Credits-Cost'\n '500':\n description: Internal Server Error\n content:\n application/json:\n schema:\n $ref: '#/components/schemas/ErrorResponse'\n examples:\n internalServerError:\n summary: Internal server error\n value:\n timestamp: '2024-07-10T13:47:02.486Z'\n status: 500\n error: Fetching Whois Data Failed\n message: 'Internal Server error occurred. [For Technical Support email at: support@apifreaks.com]'\n path: /v2.0/domain/whois/live\n headers:\n X-AF-Credits-Cost:\n $ref: '#/components/headers/X-AF-Credits-Cost'\n '503':\n description: Service Unavailable\n content:\n application/json:\n schema:\n $ref: '#/components/schemas/ErrorResponse'\n examples:\n serviceUnavailable:\n summary: Service unavailable\n value:\n timestamp: '2024-07-10T13:47:02.486Z'\n status: 503\n error: Fetching Whois Data Failed\n message: 'Service is unavailable. Please try after some time. [For Technical Support email at: support@apifreaks.com]'\n path: /v2.0/domain/whois/live\n headers:\n X-AF-Credits-Cost:\n $ref: '#/components/headers/X-AF-Credits-Cost'\n '504':\n description: Gateway Timeout \u2014 The request timed out\n content:\n application/json:\n schema:\n $ref: '#/components/schemas/ErrorResponse'\n examples:\n requestTimedOut:\n summary: Request timed out\n value:\n timestamp: '2024-07-10T13:47:02.486Z'\n status: 504\n error: Fetching Whois Data Failed\n message: 'Request is timed-out. [For Technical Support email at: support@apifreaks.com]'\n path: /v2.0/domain/whois/live\n headers:\n X-AF-Credits-Cost:\n $ref: '#/components/headers/X-AF-Credits-Cost'\n '505':\n description: HTTP Version Not Supported\n content:\n application/json:\n schema:\n $ref: '#/components/schemas/ErrorResponse'\n examples:\n httpVersionOutdated:\n summary: Outdated HTTP version\n value:\n timestamp: '2026-11-20T11:13:00.607Z'\n status: 505\n message: You might be using an outdated HTTP version.\n path: /v2.0/domain/whois/live\n headers:\n X-AF-Credits-Cost:\n $ref: '#/components/headers/X-AF-Credits-Cost'\ncomponents:\n securitySchemes:\n ApiKeyAuthHeader:\n type: apiKey\n in: header\n name: X-apiKey\n description: Pass your API key via the X-apiKey request header.\n ApiKeyAuthQuery:\n type: apiKey\n in: query\n name: apiKey\n description: Pass your API key via the apiKey query parameter.\n schemas:\n ErrorResponse:\n type: object\n required:\n - message\n properties:\n error:\n type: string\n description: Short error category or exception type.\n message:\n type: string\n description: Human-readable error message describing the failure.\n path:\n type: string\n description: API endpoint path that produced the error.\n status:\n type: integer\n description: HTTP status code returned with the error.\n timestamp:\n type: string\n format: date-time\n description: Timestamp when the error occurred (ISO 8601).\n DomainWhoisLookupResponse:\n type: object\n description: Current WHOIS registration record for the requested domain.\n required:\n - status\n - domain_name\n - query_time\n - whois_server\n - domain_registered\n properties:\n status:\n type: boolean\n description: true if the request was successfully processed.\n domain_name:\n type: string\n description: Domain name that was queried.\n query_time:\n type: string\n description: Timestamp when the WHOIS query was executed.\n whois_server:\n type: string\n description: WHOIS or RDAP server that provided this record.\n domain_registered:\n type: string\n enum:\n - 'yes'\n - 'no'\n - restricted\n description: Domain registration status; 'restricted' means the registry withholds registration details.\n create_date:\n type: string\n format: date\n description: Date the domain was originally registered, when the domain is registered.\n update_date:\n type: string\n format: date\n description: Date the domain registration was last updated, when the domain is registered.\n expiry_date:\n type: string\n format: date\n description: Date the domain registration is set to expire, when the domain is registered.\n domain_registrar:\n $ref: '#/components/schemas/DomainRegistrar'\n description: Registrar of record for the domain.\n reseller_contact:\n $ref: '#/components/schemas/WhoisContactDetail'\n description: Reseller contact details, when the domain was registered through a reseller.\n registrant_contact:\n $ref: '#/components/schemas/WhoisContactDetail'\n description: Domain registrant (owner) contact details.\n administrative_contact:\n $ref: '#/components/schemas/WhoisContactDetail'\n description: Administrative contact details.\n technical_contact:\n $ref: '#/components/schemas/WhoisContactDetail'\n description: Technical contact details.\n billing_contact:\n $ref: '#/components/schemas/WhoisContactDetail'\n description: Billing contact details.\n name_servers:\n type: array\n description: Name servers currently recorded for the domain.\n items:\n type: string\n domain_status:\n type: array\n description: EPP domain status codes currently recorded for the domain.\n items:\n type: string\n whois_raw_domain:\n type: string\n description: Raw WHOIS text as returned by the registrar's WHOIS server.\n registry_data:\n $ref: '#/components/schemas/DomainWhoisRegistryData'\n DomainRegistrar:\n type: object\n description: Registrar of record for a domain, as published by either the registrar or the registry.\n properties:\n iana_id:\n type: string\n description: IANA registrar ID.\n status:\n type:\n - string\n - 'null'\n description: Registrar's ICANN accreditation status (e.g. accredited), when published at the registrar level.\n registrar_name:\n type: string\n description: Registered name of the registrar.\n normalized_name:\n type:\n - string\n - 'null'\n description: Lowercased, normalized form of the registrar name, when published at the registrar level.\n whois_server:\n type:\n - string\n - 'null'\n description: WHOIS server operated by the registrar, when published.\n rdap_server:\n type:\n - string\n - 'null'\n description: RDAP server URL operated by the registrar, when published at the registrar level.\n website_url:\n type: string\n description: Registrar's website URL.\n email_address:\n type:\n - string\n - 'null'\n description: Registrar abuse or contact email address, when published.\n phone_number:\n type:\n - string\n - 'null'\n description: Registrar contact phone number, when published.\n WhoisContactDetail:\n type: object\n description: A contact record (registrant, administrative, technical, billing, or reseller) published in the domain's WHOIS record.\n properties:\n name:\n type: string\n description: Contact's full name.\n company:\n type: string\n description: Contact's organization or company name.\n street:\n type: string\n description: Street address.\n city:\n type: string\n description: City.\n state:\n type: string\n description: State or province.\n zip_code:\n type: string\n description: Postal/ZIP code.\n country_name:\n type: string\n description: Full country name.\n country_code:\n type: string\n description: ISO 3166-1 alpha-2 country code.\n email_address:\n type: string\n description: Contact email address, or a privacy-service redirect instruction.\n phone:\n type: string\n description: Contact phone number.\n fax:\n type: string\n description: Contact fax number.\n mailing_address:\n type: string\n description: Full combined mailing address, when published as a single string.\n DomainWhoisRegistryData:\n type: object\n description: Registry-level (as opposed to registrar-level) WHOIS data, sourced directly from the TLD registry.\n properties:\n domain_name:\n type: string\n description: Domain name as recorded by the registry.\n query_time:\n type: string\n description: Timestamp when the registry-level record was queried, in `YYYY-MM-DD HH:mm:ss` format \u2014 not ISO 8601 (no `T` separator, no milliseconds, no `Z`).\n whois_server:\n type: string\n description: Registry WHOIS server that returned this data.\n domain_registered:\n type: string\n enum:\n - 'yes'\n - 'no'\n - restricted\n description: Domain registration status as recorded by the registry.\n create_date:\n type: string\n format: date\n description: Domain creation date as recorded by the registry.\n update_date:\n type: string\n format: date\n description: Domain last-updated date as recorded by the registry.\n expiry_date:\n type: string\n format: date\n description: Domain expiry date as recorded by the registry.\n name_servers:\n type: array\n description: Name servers as recorded by the registry.\n items:\n type: string\n domain_status:\n type: array\n description: EPP domain status codes as recorded by the registry.\n items:\n type: string\n whois_raw_registery:\n type: string\n description: Raw WHOIS text as returned directly by the registry server.\n domain_registrar:\n $ref: '#/components/schemas/DomainRegistrar'\n description: Registrar of record as recorded directly by the registry.\n headers:\n X-AF-Credits-Cost:\n description: Specifies the number of credits consumed by the current request.\n schema:\n type: integer\nsecurity:\n - ApiKeyAuthHeader: []\n - ApiKeyAuthQuery: []\n",
64908
- "whois-ip-lookup": "openapi: 3.1.1\ninfo:\n title: IP WHOIS Lookup API - Organization, CIDR & Abuse Contact Data\n version: 1.0.0\n description: Retrieve WHOIS registration and ownership data for any IPv4 or IPv6 address from the appropriate Regional Internet Registry (ARIN, RIPE NCC, APNIC, LACNIC, or AFRINIC). Returns the IP range (inet_num) with CIDR blocks, net name, allocation status, and parent blocks; the registering organization with full address and contact handles; technical and abuse contacts with email and phone; BGP route objects; and the raw WHOIS response. The irt (IRT) object is included when available, containing the internet response team's address, abuse mailbox, and linked contacts.\n contact:\n name: APIFreaks Support\n url: https://apifreaks.com/contact\n email: support@apifreaks.com\nservers:\n - url: https://api.apifreaks.com/v1.0\n description: IP WHOIS Lookup API Server\npaths:\n /ip/whois/live:\n get:\n tags:\n - WHOIS APIs\n summary: Retrieve WHOIS registration and ownership data for an IP address\n description: Returns WHOIS details for an IPv4 or IPv6 address including IP range, organization, contacts, routes, and raw WHOIS output.\n operationId: lookupIpWhois\n parameters:\n - name: format\n in: query\n required: false\n description: Format of the response.\n schema:\n type: string\n enum:\n - json\n - xml\n default: json\n - name: ip\n in: query\n required: true\n description: 'IPv4 or IPv6 address to look up. Private, loopback and reserved addresses are not rejected: they return a 200 with the IANA special-use record.'\n schema:\n type: string\n responses:\n '200':\n description: Successful WHOIS lookup response\n content:\n application/json:\n schema:\n $ref: '#/components/schemas/IpWhoisResponse'\n examples:\n typicalSuccess:\n summary: Typical successful response\n value:\n status: true\n ip_address: 8.8.8.8\n query_time: '2026-07-23 08:23:30'\n whois_server: whois.arin.net\n inet_nums:\n - start_ip: 8.8.8.0\n end_ip: 8.8.8.255\n cidr:\n - 8.8.8.0/24\n net_name: GOGL\n net_handle: NET-8-8-8-0-2\n status: Direct Allocation\n organization: Google LLC (GOGL)\n date_created: '2023-12-28'\n date_updated: '2023-12-28'\n source: https://rdap.arin.net/registry/ip/8.8.8.0\n parents:\n - NET8 (NET-8-0-0-0-0)\n organization:\n handle: GOGL\n name: Google LLC\n address:\n - 1600 Amphitheatre Parkway\n - Mountain View\n - CA\n - '94043'\n - US\n street: Amphitheatre Parkway\n city: Mountain View\n state: CA\n zip_code: '94043'\n country:\n - US\n date_created: '2000-03-30'\n date_updated: '2019-10-31'\n source: https://rdap.arin.net/registry/entity/GOGL\n technical_contacts:\n - handle: ZG39-ARIN\n name: Google LLC\n email:\n - arin-contact@google.com\n phone:\n - +1-650-253-0000\n source: https://rdap.arin.net/registry/entity/ZG39-ARIN\n abuse_contacts:\n - handle: ABUSE5250-ARIN\n name: Abuse\n email:\n - network-abuse@google.com\n phone:\n - +1-650-253-0000\n source: https://rdap.arin.net/registry/entity/ABUSE5250-ARIN\n routes:\n - source: https://rdap.arin.net/registry/ip/8.8.8.0\n whois_raw_response: |\n\n #\n # ARIN WHOIS data and services are subject to the Terms of Use\n # available at: https://www.arin.net/resources/registry/whois/tou/\n #\n # If you see inaccuracies in the results, please report at\n # https://www.arin.net/resources/registry/whois/inaccuracy_reporting/\n #\n # Copyright 1997-2026, American Registry for Internet Numbers, Ltd.\n #\n\n\n NetRange: 8.8.8.0 - 8.8.8.255\n CIDR: 8.8.8.0/24\n NetName: GOGL\n NetHandle: NET-8-8-8-0-2\n Parent: NET8 (NET-8-0-0-0-0)\n NetType: Direct Allocation\n OriginAS: \n Organization: Google LLC (GOGL)\n RegDate: 2023-12-28\n Updated: 2023-12-28\n Ref: https://rdap.arin.net/registry/ip/8.8.8.0\n\n\n\n OrgName: Google LLC\n OrgId: GOGL\n Address: 1600 Amphitheatre Parkway\n City: Mountain View\n StateProv: CA\n PostalCode: 94043\n Country: US\n RegDate: 2000-03-30\n Updated: 2019-10-31\n Comment: Please note that the recommended way to file abuse complaints are located in the following links. \n Comment: \n Comment: To report abuse and illegal activity: https://www.google.com/contact/\n Comment: \n Comment: For legal requests: http://support.google.com/legal \n Comment: \n Comment: Regards, \n Comment: The Google Team\n Ref: https://rdap.arin.net/registry/entity/GOGL\n\n\n OrgAbuseHandle: ABUSE5250-ARIN\n OrgAbuseName: Abuse\n OrgAbusePhone: +1-650-253-0000 \n OrgAbuseEmail: network-abuse@google.com\n OrgAbuseRef: https://rdap.arin.net/registry/entity/ABUSE5250-ARIN\n\n OrgTechHandle: ZG39-ARIN\n OrgTechName: Google LLC\n OrgTechPhone: +1-650-253-0000 \n OrgTechEmail: arin-contact@google.com\n OrgTechRef: https://rdap.arin.net/registry/entity/ZG39-ARIN\n\n\n #\n # ARIN WHOIS data and services are subject to the Terms of Use\n # available at: https://www.arin.net/resources/registry/whois/tou/\n #\n # If you see inaccuracies in the results, please report at\n # https://www.arin.net/resources/registry/whois/inaccuracy_reporting/\n #\n # Copyright 1997-2026, American Registry for Internet Numbers, Ltd.\n #\n headers:\n X-AF-Credits-Cost:\n $ref: '#/components/headers/X-AF-Credits-Cost'\n '206':\n description: Partial Content -- The registry query succeeded but the registrar query failed, so some details (for example contacts, routes or whois_raw_response) may be missing. Retry later for the full record.\n content:\n application/json:\n schema:\n $ref: '#/components/schemas/IpWhoisPartialResponse'\n examples:\n partialResponse:\n summary: Partial WHOIS response (inet_nums only)\n value:\n status: true\n ip_address: 8.8.8.8\n query_time: '2024-02-01 07:50:47'\n whois_server: whois.arin.net\n inet_nums:\n - start_ip: 8.8.8.0\n end_ip: 8.8.8.255\n cidr:\n - 8.8.8.0/24\n net_name: GOGL\n net_handle: NET-8-8-8-0-2\n status: Direct Allocation\n organization: Google LLC (GOGL)\n date_created: '2023-12-28'\n date_updated: '2023-12-28'\n source: https://rdap.arin.net/registry/ip/8.8.8.0\n parents:\n - NET8 (NET-8-0-0-0-0)\n headers:\n X-AF-Credits-Cost:\n $ref: '#/components/headers/X-AF-Credits-Cost'\n '400':\n description: Bad Request -- Missing or invalid ip parameter, or no apiKey\n content:\n application/json:\n schema:\n $ref: '#/components/schemas/ErrorResponse'\n examples:\n missingIp:\n summary: Missing ip parameter\n value:\n error: Invalid Param Exception\n message: please pass correct parameters\n path: /v1.0/ip/whois/live\n status: 400\n timestamp: '2026-07-23T07:50:28.230Z'\n invalidIp:\n summary: Invalid IP address format\n value:\n timestamp: '2026-07-23T08:03:38.179Z'\n status: 400\n error: Input parameter is not valid\n message: Request-param 'ip' (not-an-ip) is not an IP address\n path: /v1.0/ip-whois\n missingApiKey:\n summary: Missing apiKey\n value:\n error: Invalid Param Exception\n message: Please provide apiKey\n path: /v1.0/ip/whois/live\n status: 400\n timestamp: '2026-11-19T09:08:36.219Z'\n headers:\n X-AF-Credits-Cost:\n $ref: '#/components/headers/X-AF-Credits-Cost'\n '401':\n description: Unauthorized -- invalid apiKey\n content:\n application/json:\n schema:\n $ref: '#/components/schemas/ErrorResponse'\n examples:\n invalidApiKey:\n summary: Invalid apiKey\n value:\n error: API Access Exception\n message: 'Provided API key is invalid. [For Technical Support: support@apifreaks.com]'\n path: /v1.0/ip/whois/live\n status: 401\n timestamp: '2026-11-20T10:10:38.861Z'\n inactiveApiKey:\n summary: Inactive API key\n value:\n error: API Access Exception\n message: Provided API key is inactive.\n path: /v1.0/ip/whois/live\n status: 401\n timestamp: '2026-11-20T10:10:38.861Z'\n noSubscription:\n summary: No subscription or credits\n value:\n error: API Access Exception\n message: Please buy a subscription plan or add api credits, then use this api key.\n path: /v1.0/ip/whois/live\n status: 401\n timestamp: '2026-11-20T10:10:38.861Z'\n subscriptionDeactivated:\n summary: Subscription deactivated\n value:\n error: API Access Exception\n message: Your subscription is deactivated. Please buy new plan or add api credits for using apifreaks APIs.\n path: /v1.0/ip/whois/live\n status: 401\n timestamp: '2026-11-20T10:10:38.861Z'\n subscriptionPaymentFailure:\n summary: Subscription deactivated after payment failures\n value:\n error: API Access Exception\n message: Your subscription is deactivated due to much time payment failure. Please buy a new plan or add api credits for using apifreaks APIs.\n path: /v1.0/ip/whois/live\n status: 401\n timestamp: '2026-11-20T10:10:38.861Z'\n accountDeactivated:\n summary: Account deactivated\n value:\n error: API Access Exception\n message: Your account is deactivated.\n path: /v1.0/ip/whois/live\n status: 401\n timestamp: '2026-11-20T10:10:38.861Z'\n blockedSuspiciousActivity:\n summary: Blocked for suspicious activity\n value:\n error: API Access Exception\n message: You are blocked due to suspicious activity.\n path: /v1.0/ip/whois/live\n status: 401\n timestamp: '2026-11-20T10:10:38.861Z'\n apiRecordNotFound:\n summary: API record not found\n value:\n error: API Access Exception\n message: Api record not found.\n path: /v1.0/ip/whois/live\n status: 401\n timestamp: '2026-11-20T10:10:38.861Z'\n '404':\n description: Not Found -- Gateway response when the endpoint is called with an HTTP method other than GET (POST, PUT and DELETE were verified live)\n content:\n application/json:\n schema:\n $ref: '#/components/schemas/ErrorResponse'\n examples:\n resourceNotFound:\n summary: Wrong HTTP method or path\n value:\n error: Resource Not Found\n message: The requested resource could not be found. Please verify the URL and try again.\n path: /v1.0/ip/whois/live\n status: 404\n timestamp: '2026-11-20T11:13:06.175Z'\n '406':\n description: Not Acceptable -- format is not json or xml\n content:\n application/json:\n schema:\n $ref: '#/components/schemas/ErrorResponse'\n examples:\n invalidFormat:\n summary: Unsupported format\n value:\n error: Unsupported Media Type\n message: The media type specified in the request is not supported. For more details, please refer to the API documentation.\n path: /v1.0/ip/whois/live\n status: 406\n timestamp: '2026-11-19T09:08:38.549Z'\n headers:\n X-AF-Credits-Cost:\n $ref: '#/components/headers/X-AF-Credits-Cost'\n '408':\n description: Request Timeout -- The WHOIS data could not be fetched\n content:\n application/json:\n schema:\n $ref: '#/components/schemas/ErrorResponse'\n examples:\n fetchFailed:\n summary: Unable to fetch whois data\n value:\n timestamp: '2024-07-10T13:47:02.486Z'\n status: 408\n error: Fetching Whois Data Failed\n message: 'Unable to fetch whois data.Please try again [For Technical Support: support@apifreaks.com]'\n path: /v1.0/ip/whois/live\n '412':\n description: Precondition Failed -- The API plan request limit is exceeded and the subscription is canceled\n content:\n application/json:\n schema:\n $ref: '#/components/schemas/ErrorResponse'\n examples:\n planLimitExceeded:\n summary: API plan request limit exceeded\n value:\n timestamp: '2024-07-10T13:47:02.486Z'\n status: 412\n error: Fetching Whois Data Failed\n message: 'You have exceeded the limit of api plan requests and your subscription is canceled. [For Technical Support email at: support@apifreaks.com]'\n path: /v1.0/ip/whois/live\n '413':\n description: Payload Too Large -- A request or surcharge limit is exceeded\n content:\n application/json:\n schema:\n $ref: '#/components/schemas/ErrorResponse'\n examples:\n surchargeLimitExceeded:\n summary: Surcharge request limit exceeded\n value:\n timestamp: '2024-07-10T13:47:02.486Z'\n status: 413\n error: Fetching Whois Data Failed\n message: 'You have exceeded the limit of Surcharge Requests [allowed_surcharge_request_no]. Please upgrade your plan. [For Technical Support email at: support@apifreaks.com]'\n path: /v1.0/ip/whois/live\n '429':\n description: Too Many Requests -- The per-minute request limit is reached\n content:\n application/json:\n schema:\n $ref: '#/components/schemas/ErrorResponse'\n examples:\n rateLimited:\n summary: Per-minute request limit reached\n value:\n timestamp: '2024-07-10T13:47:02.486Z'\n status: 429\n error: Fetching Whois Data Failed\n message: Please slow down. Your maximum request limit per minute reached.\n path: /v1.0/ip/whois/live\n '499':\n description: Client Closed Request -- The request or connection timeout set by the client is too short\n content:\n application/json:\n schema:\n $ref: '#/components/schemas/ErrorResponse'\n examples:\n clientTimeoutTooShort:\n summary: Client timeout too short\n value:\n message: The request or connection timeout you\u2019ve set is too short, which is causing the server to close the connection before completing the response. Please increase the timeout duration to ensure successful communication with the server.\n '500':\n description: Internal Server Error\n content:\n application/json:\n schema:\n $ref: '#/components/schemas/ErrorResponse'\n examples:\n internalServerError:\n summary: Internal server error\n value:\n timestamp: '2024-07-10T13:47:02.486Z'\n status: 500\n error: Fetching Whois Data Failed\n message: 'Internal Server error occurred. [For Technical Support email at: support@apifreaks.com]'\n path: /v1.0/ip/whois/live\n '503':\n description: Service Unavailable\n content:\n application/json:\n schema:\n $ref: '#/components/schemas/ErrorResponse'\n examples:\n serviceUnavailable:\n summary: Service unavailable\n value:\n timestamp: '2024-07-10T13:47:02.486Z'\n status: 503\n error: Fetching Whois Data Failed\n message: 'Service is unavailable. Please try after some time. [For Technical Support email at: support@apifreaks.com]'\n path: /v1.0/ip/whois/live\n '504':\n description: Gateway Timeout -- The request timed out\n content:\n application/json:\n schema:\n $ref: '#/components/schemas/ErrorResponse'\n examples:\n requestTimedOut:\n summary: Request timed out\n value:\n timestamp: '2024-07-10T13:47:02.486Z'\n status: 504\n error: Fetching Whois Data Failed\n message: 'Request is timed-out. [For Technical Support email at: support@apifreaks.com]'\n path: /v1.0/ip/whois/live\n '505':\n description: HTTP Version Not Supported\n content:\n application/json:\n schema:\n $ref: '#/components/schemas/ErrorResponse'\n examples:\n httpVersionNotSupported:\n summary: Outdated HTTP version\n value:\n message: You might be using an outdated HTTP version.\ncomponents:\n securitySchemes:\n ApiKeyAuthHeader:\n type: apiKey\n in: header\n name: X-apiKey\n description: Pass your API key via the X-apiKey request header.\n ApiKeyAuthQuery:\n type: apiKey\n in: query\n name: apiKey\n description: Pass your API key via the apiKey query parameter.\n schemas:\n IpWhoisPartialResponse:\n type: object\n description: Partial WHOIS response (HTTP 206). Same shape as IpWhoisResponse, but only the fields the registry returned are present; whois_raw_response, the organization and the contact lists may be missing.\n required:\n - status\n - ip_address\n - query_time\n - whois_server\n - inet_nums\n properties:\n status:\n $ref: '#/components/schemas/IpWhoisResponse/properties/status'\n ip_address:\n $ref: '#/components/schemas/IpWhoisResponse/properties/ip_address'\n query_time:\n $ref: '#/components/schemas/IpWhoisResponse/properties/query_time'\n whois_server:\n $ref: '#/components/schemas/IpWhoisResponse/properties/whois_server'\n inet_nums:\n $ref: '#/components/schemas/IpWhoisResponse/properties/inet_nums'\n irt:\n $ref: '#/components/schemas/IpWhoisResponse/properties/irt'\n organization:\n $ref: '#/components/schemas/IpWhoisResponse/properties/organization'\n administrative_contacts:\n $ref: '#/components/schemas/IpWhoisResponse/properties/administrative_contacts'\n technical_contacts:\n $ref: '#/components/schemas/IpWhoisResponse/properties/technical_contacts'\n abuse_contacts:\n $ref: '#/components/schemas/IpWhoisResponse/properties/abuse_contacts'\n routes:\n $ref: '#/components/schemas/IpWhoisResponse/properties/routes'\n whois_raw_response:\n $ref: '#/components/schemas/IpWhoisResponse/properties/whois_raw_response'\n r_whois_raw_response:\n $ref: '#/components/schemas/IpWhoisResponse/properties/r_whois_raw_response'\n ErrorResponse:\n type: object\n required:\n - message\n properties:\n error:\n type: string\n description: Short error category or exception type.\n message:\n type: string\n description: Human-readable error message describing the failure.\n path:\n type: string\n description: API endpoint path that produced the error.\n status:\n type: integer\n description: HTTP status code returned with the error.\n timestamp:\n type: string\n format: date-time\n description: Timestamp when the error occurred (ISO 8601).\n IpWhoisResponse:\n type: object\n description: WHOIS lookup response containing IP registration data, organization, contacts, routes, and raw WHOIS output.\n required:\n - status\n - ip_address\n - query_time\n - whois_server\n - whois_raw_response\n properties:\n status:\n type: boolean\n description: true when the record from the WHOIS server is complete. A different field from status inside inet_nums.\n ip_address:\n type: string\n description: IP address (IPv4 or IPv6) that was queried.\n query_time:\n type: string\n description: Date and time of the WHOIS query in YYYY-MM-DD HH:mm:ss format.\n whois_server:\n type: string\n description: WHOIS host server used to query the IP address.\n inet_nums:\n type: array\n description: IP range allocations (inetnum/aut-num objects) associated with this IP address.\n items:\n $ref: '#/components/schemas/InetNum'\n irt:\n $ref: '#/components/schemas/IrtObject'\n organization:\n $ref: '#/components/schemas/IpWhoisOrganization'\n administrative_contacts:\n type: array\n description: Administrative contact persons or roles for this IP allocation. Returned by RIPE NCC, APNIC, LACNIC and AFRINIC; not returned by ARIN.\n items:\n $ref: '#/components/schemas/WhoisContactRef'\n technical_contacts:\n type: array\n description: Technical contact persons or roles for this IP allocation.\n items:\n $ref: '#/components/schemas/WhoisContactRef'\n abuse_contacts:\n type: array\n description: Abuse contact persons or roles for reporting network abuse.\n items:\n $ref: '#/components/schemas/WhoisContactRef'\n routes:\n type: array\n description: BGP route objects announced by this IP's network.\n items:\n $ref: '#/components/schemas/RouteObject'\n whois_raw_response:\n type: string\n description: Unparsed WHOIS response from the WHOIS server.\n r_whois_raw_response:\n type:\n - string\n - 'null'\n description: WHOIS response from the rwhois server, if available.\n InetNum:\n type: object\n description: IP range allocation record (inetnum object) containing the allocated block, network name, status, and organizational linkage.\n required:\n - start_ip\n - end_ip\n - cidr\n - net_name\n - source\n properties:\n start_ip:\n type: string\n description: Starting IP address of the allocated range.\n end_ip:\n type: string\n description: Ending IP address of the allocated range.\n cidr:\n type: array\n description: IP range in CIDR notation.\n items:\n type: string\n net_name:\n type: string\n description: Network name (unique identifier) of this inetnum in WHOIS data.\n net_handle:\n type:\n - string\n - 'null'\n description: Net-Handle (unique ID) of this inetnum, primarily from ARIN responses.\n description:\n type:\n - array\n - 'null'\n description: Description values from the inetnum object.\n items:\n type: string\n countries:\n type:\n - array\n - 'null'\n description: ISO 3166-1 alpha-2 country codes where the IP block is allocated.\n items:\n type: string\n geofeed:\n type:\n - string\n - 'null'\n description: URL to the geofeed (RFC 8805) for this prefix.\n latitude:\n type:\n - number\n - 'null'\n format: float\n description: Latitude parsed from the geoloc field.\n longitude:\n type:\n - number\n - 'null'\n format: float\n description: Longitude parsed from the geoloc field.\n city:\n type:\n - string\n - 'null'\n description: City of allocation, primarily from LACNIC responses.\n languages:\n type:\n - array\n - 'null'\n description: Regional languages in countries of allocation.\n items:\n type: string\n status:\n type:\n - string\n - 'null'\n description: Allocation or assignment status (e.g., 'Direct Allocation').\n organization:\n type:\n - string\n - 'null'\n description: Handle (unique ID) of the organization managing this inetnum.\n sponsoring_organization:\n type:\n - string\n - 'null'\n description: Handle of the sponsoring organization for this inetnum.\n admin_contacts:\n type:\n - array\n - 'null'\n description: Handles of admin persons or roles in WHOIS data.\n items:\n type: string\n tech_contacts:\n type:\n - array\n - 'null'\n description: Handles of technical persons or roles in WHOIS data.\n items:\n type: string\n abuse_contacts:\n type:\n - array\n - 'null'\n description: Handles of abuse persons or roles in WHOIS data.\n items:\n type: string\n remarks:\n type:\n - array\n - 'null'\n description: Remarks from the inetnum object.\n items:\n type: string\n assignment_size:\n type:\n - string\n - 'null'\n description: Allocation or assignment size of the IP network or block.\n notify:\n type:\n - array\n - 'null'\n description: Notify email addresses from the inetnum object.\n items:\n type: string\n mnt_by:\n type:\n - array\n - 'null'\n description: Maintainer handles from the inetnum object.\n items:\n type: string\n mnt_lower:\n type:\n - array\n - 'null'\n description: Lower-level maintainer handles from the inetnum object.\n items:\n type: string\n mnt_domains:\n type:\n - array\n - 'null'\n description: Domain maintainer handles from the inetnum object.\n items:\n type: string\n mnt_routes:\n type:\n - array\n - 'null'\n description: Route maintainer handles from the inetnum object.\n items:\n type: string\n mnt_irt:\n type:\n - array\n - 'null'\n description: IRT maintainer handles from the inetnum object.\n items:\n type: string\n date_created:\n type:\n - string\n - 'null'\n format: date\n description: Registration date of this inetnum object (YYYY-MM-DD).\n date_updated:\n type:\n - string\n - 'null'\n format: date\n description: Last update date of this inetnum object (YYYY-MM-DD).\n source:\n type: string\n description: WHOIS data source (RIR registry URL) for this object.\n parents:\n type:\n - array\n - 'null'\n description: Parent allocation or assignment blocks of this inetnum.\n items:\n type: string\n IrtObject:\n type: object\n description: IRT (Internet Response Team) object containing the response team's address, abuse mailbox, contacts, and linked organizations.\n required:\n - handle\n - address\n - email\n - abuse_mailbox\n - admin_contacts\n - tech_contacts\n - source\n properties:\n handle:\n type: string\n description: Handle or unique identifier of this IRT in WHOIS data.\n address:\n type: array\n description: Address lines of the IRT.\n items:\n type: string\n street:\n type:\n - string\n - 'null'\n description: Parsed street address from the address field.\n city:\n type:\n - string\n - 'null'\n description: Parsed city from the address field.\n district:\n type:\n - string\n - 'null'\n description: Parsed district from the address field.\n state:\n type:\n - string\n - 'null'\n description: Parsed state from the address field.\n zip_code:\n type:\n - string\n - 'null'\n description: Parsed ZIP code from the address field.\n country:\n type:\n - string\n - 'null'\n description: Parsed country from the address field.\n email:\n type: array\n description: Email addresses for the IRT.\n items:\n type: string\n abuse_mailbox:\n type: array\n description: Abuse mailbox email addresses for the IRT.\n items:\n type: string\n phone:\n type:\n - array\n - 'null'\n description: Phone numbers for the IRT.\n items:\n type: string\n fax_no:\n type:\n - array\n - 'null'\n description: Fax numbers for the IRT.\n items:\n type: string\n organizations:\n type:\n - array\n - 'null'\n description: Handles of organization objects linked to this IRT.\n items:\n type: string\n admin_contacts:\n type: array\n description: Handles of admin persons or roles linked to this IRT.\n items:\n type: string\n tech_contacts:\n type: array\n description: Handles of technical persons or roles linked to this IRT.\n items:\n type: string\n remarks:\n type:\n - array\n - 'null'\n description: Remarks for this IRT object.\n items:\n type: string\n signature:\n type:\n - array\n - 'null'\n description: Cryptographic signatures for this IRT object.\n items:\n type: string\n encryption:\n type:\n - array\n - 'null'\n description: Encryption keys for this IRT object.\n items:\n type: string\n auth:\n type:\n - array\n - 'null'\n description: Authentication methods for this IRT object.\n items:\n type: string\n notify:\n type:\n - array\n - 'null'\n description: Notify email addresses for this IRT object.\n items:\n type: string\n irt_nfy:\n type:\n - array\n - 'null'\n description: IRT-specific notification email addresses.\n items:\n type: string\n mnt_by:\n type:\n - array\n - 'null'\n description: Maintainer handles for this IRT object.\n items:\n type: string\n mnt_ref:\n type:\n - array\n - 'null'\n description: Referenced maintainer handles for this IRT object.\n items:\n type: string\n date_created:\n type:\n - string\n - 'null'\n format: date\n description: Registration date of this IRT object (YYYY-MM-DD).\n date_updated:\n type:\n - string\n - 'null'\n format: date\n description: Last update date of this IRT object (YYYY-MM-DD).\n source:\n type: string\n description: WHOIS data source for this IRT object.\n organization:\n $ref: '#/components/schemas/IpWhoisOrganization'\n administrative_contacts:\n type:\n - array\n - 'null'\n description: Administrative contacts linked to this IRT.\n items:\n $ref: '#/components/schemas/WhoisContactRef'\n technical_contacts:\n type:\n - array\n - 'null'\n description: Technical contacts linked to this IRT.\n items:\n $ref: '#/components/schemas/WhoisContactRef'\n abuse_contacts:\n type:\n - array\n - 'null'\n description: Abuse contacts linked to this IRT.\n items:\n $ref: '#/components/schemas/WhoisContactRef'\n IpWhoisOrganization:\n type: object\n description: Organization object containing the registrant's handle, name, address, contact details, and linked admin/tech/abuse contacts.\n required:\n - handle\n - name\n - source\n properties:\n handle:\n type: string\n description: Handle or unique identifier of this organization in WHOIS data.\n name:\n type: string\n description: Name of the organization.\n type:\n type:\n - string\n - 'null'\n description: Type of the organization (e.g., BUSINESS, REGISTRY).\n description:\n type:\n - array\n - 'null'\n description: Description values from the organization object.\n items:\n type: string\n address:\n type:\n - array\n - 'null'\n description: Full address lines of the organization.\n items:\n type: string\n street:\n type:\n - string\n - 'null'\n description: Parsed street address from the address field.\n city:\n type:\n - string\n - 'null'\n description: Parsed city from the address field.\n district:\n type:\n - string\n - 'null'\n description: Parsed district from the address field.\n state:\n type:\n - string\n - 'null'\n description: Parsed state from the address field.\n zip_code:\n type:\n - string\n - 'null'\n description: Parsed ZIP code from the address field.\n country:\n type:\n - array\n - 'null'\n description: ISO 3166-1 alpha-2 country codes for the organization.\n items:\n type: string\n latitude:\n type:\n - number\n - 'null'\n format: float\n description: Latitude parsed from the geoloc field.\n longitude:\n type:\n - number\n - 'null'\n format: float\n description: Longitude parsed from the geoloc field.\n email:\n type:\n - array\n - 'null'\n description: Email addresses for the organization.\n items:\n type: string\n abuse_mailbox:\n type:\n - array\n - 'null'\n description: Abuse mailbox email addresses for the organization.\n items:\n type: string\n phone:\n type:\n - array\n - 'null'\n description: Phone numbers for the organization.\n items:\n type: string\n fax_no:\n type:\n - array\n - 'null'\n description: Fax numbers for the organization.\n items:\n type: string\n admin_contacts:\n type:\n - array\n - 'null'\n description: Handles of admin persons or roles linked to this organization.\n items:\n type: string\n tech_contacts:\n type:\n - array\n - 'null'\n description: Handles of technical persons or roles linked to this organization.\n items:\n type: string\n abuse_contacts:\n type:\n - array\n - 'null'\n description: Handles of abuse persons or roles linked to this organization.\n items:\n type: string\n remarks:\n type:\n - array\n - 'null'\n description: Remarks for this organization object.\n items:\n type: string\n notify:\n type:\n - array\n - 'null'\n description: Notify email addresses for this organization object.\n items:\n type: string\n ref_nfy:\n type:\n - array\n - 'null'\n description: Reference notification email addresses for this organization object.\n items:\n type: string\n mnt_by:\n type:\n - array\n - 'null'\n description: Maintainer handles for this organization object.\n items:\n type: string\n mnt_ref:\n type:\n - array\n - 'null'\n description: Referenced maintainer handles for this organization object.\n items:\n type: string\n date_created:\n type:\n - string\n - 'null'\n format: date\n description: Registration date of this organization object (YYYY-MM-DD).\n date_updated:\n type:\n - string\n - 'null'\n format: date\n description: Last update date of this organization object (YYYY-MM-DD).\n source:\n type: string\n description: WHOIS data source (RIR registry URL) for this object.\n WhoisContactRef:\n type: object\n description: Contact person or role object with handle, name, email, phone, and source reference.\n required:\n - handle\n - source\n properties:\n handle:\n type: string\n description: Handle or unique identifier of this contact in WHOIS data.\n name:\n type:\n - string\n - 'null'\n description: Name of the contact person or role.\n address:\n type:\n - array\n - 'null'\n description: Address lines for this contact.\n items:\n type: string\n street:\n type:\n - string\n - 'null'\n description: Parsed street address from the address field.\n city:\n type:\n - string\n - 'null'\n description: Parsed city from the address field.\n district:\n type:\n - string\n - 'null'\n description: Parsed district from the address field.\n state:\n type:\n - string\n - 'null'\n description: Parsed state from the address field.\n zip_code:\n type:\n - string\n - 'null'\n description: Parsed ZIP code from the address field.\n country:\n type:\n - string\n - 'null'\n description: Parsed country from the address field.\n email:\n type:\n - array\n - 'null'\n description: Email addresses for this contact.\n items:\n type: string\n abuse_mailbox:\n type:\n - array\n - 'null'\n description: Abuse mailbox email addresses for this contact.\n items:\n type: string\n phone:\n type:\n - array\n - 'null'\n description: Phone numbers for this contact.\n items:\n type: string\n fax_no:\n type:\n - array\n - 'null'\n description: Fax numbers for this contact.\n items:\n type: string\n organizations:\n type:\n - array\n - 'null'\n description: Handles of organization objects managing this contact.\n items:\n type: string\n admin_contacts:\n type:\n - array\n - 'null'\n description: Handles of admin persons or roles linked to this contact.\n items:\n type: string\n tech_contacts:\n type:\n - array\n - 'null'\n description: Handles of technical persons or roles linked to this contact.\n items:\n type: string\n remarks:\n type:\n - array\n - 'null'\n description: Remarks for this contact object.\n items:\n type: string\n notify:\n type:\n - array\n - 'null'\n description: Notify email addresses for this contact object.\n items:\n type: string\n mnt_by:\n type:\n - array\n - 'null'\n description: Maintainer handles for this contact object.\n items:\n type: string\n mnt_ref:\n type:\n - array\n - 'null'\n description: Referenced maintainer handles for this contact object.\n items:\n type: string\n date_created:\n type:\n - string\n - 'null'\n format: date\n description: Registration date of this contact object (YYYY-MM-DD).\n date_updated:\n type:\n - string\n - 'null'\n format: date\n description: Last update date of this contact object (YYYY-MM-DD).\n source:\n type: string\n description: WHOIS data source (RIR registry URL) for this object.\n RouteObject:\n type: object\n description: BGP route object containing the route prefix, origin AS, and related metadata.\n required:\n - source\n properties:\n route:\n type:\n - string\n - 'null'\n description: BGP route prefix (e.g., 8.8.8.0/24).\n origin:\n type:\n - string\n - 'null'\n description: Origin AS number for this route.\n description:\n type:\n - array\n - 'null'\n description: Description values for this route object.\n items:\n type: string\n country:\n type:\n - string\n - 'null'\n description: Country of the organization managing this route.\n pingable:\n type:\n - array\n - 'null'\n description: Pingable IP addresses in this route.\n items:\n type: string\n ping_hdl:\n type:\n - array\n - 'null'\n description: Handles of pingable contacts for this route.\n items:\n type: string\n holes:\n type:\n - array\n - 'null'\n description: Sub-allocation holes (more specific routes) within this route.\n items:\n type: string\n member_of:\n type:\n - array\n - 'null'\n description: Route sets this route is a member of.\n items:\n type: string\n inject:\n type:\n - array\n - 'null'\n description: Injection details for this route.\n items:\n type: string\n aggr_mtd:\n type:\n - string\n - 'null'\n description: Aggregation method for this route.\n aggr_bndry:\n type:\n - string\n - 'null'\n description: Aggregation boundary for this route.\n export_comps:\n type:\n - string\n - 'null'\n description: Export composition for this route.\n components:\n type:\n - string\n - 'null'\n description: Route components.\n organizations:\n type:\n - array\n - 'null'\n description: Handles of organization objects related to this route.\n items:\n type: string\n remarks:\n type:\n - array\n - 'null'\n description: Remarks for this route object.\n items:\n type: string\n notify:\n type:\n - array\n - 'null'\n description: Notify email addresses for this route object.\n items:\n type: string\n mnt_lower:\n type:\n - array\n - 'null'\n description: Lower-level maintainer handles for this route.\n items:\n type: string\n mnt_by:\n type:\n - array\n - 'null'\n description: Maintainer handles for this route object.\n items:\n type: string\n date_created:\n type:\n - string\n - 'null'\n format: date\n description: Registration date of this route object (YYYY-MM-DD).\n date_updated:\n type:\n - string\n - 'null'\n format: date\n description: Last update date of this route object (YYYY-MM-DD).\n source:\n type:\n - string\n - 'null'\n description: WHOIS data source for this route object.\n headers:\n X-AF-Credits-Cost:\n description: Specifies the number of credits consumed by the current request.\n schema:\n type: integer\nsecurity:\n - ApiKeyAuthHeader: []\n - ApiKeyAuthQuery: []\n",
64982
+ "whois-ip-lookup": "openapi: 3.1.1\ninfo:\n title: IP WHOIS Lookup API - Organization, CIDR & Abuse Contact Data\n version: 1.0.0\n description: Retrieve WHOIS registration and ownership data for any IPv4 or IPv6 address from the appropriate Regional Internet Registry (ARIN, RIPE NCC, APNIC, LACNIC, or AFRINIC). Returns the IP range (inet_num) with CIDR blocks, net name, allocation status, and parent blocks; the registering organization with full address and contact handles; technical and abuse contacts with email and phone; BGP route objects; and the raw WHOIS response. The irt (IRT) object is included when available, containing the internet response team's address, abuse mailbox, and linked contacts.\n contact:\n name: APIFreaks Support\n url: https://apifreaks.com/contact\n email: support@apifreaks.com\nservers:\n - url: https://api.apifreaks.com/v1.0\n description: IP WHOIS Lookup API Server\npaths:\n /ip/whois/live:\n get:\n tags:\n - WHOIS APIs\n summary: Retrieve WHOIS registration and ownership data for an IP address\n description: Returns WHOIS details for an IPv4 or IPv6 address including IP range, organization, contacts, routes, and raw WHOIS output.\n operationId: lookupIpWhois\n parameters:\n - name: format\n in: query\n required: false\n description: Format of the response.\n schema:\n type: string\n enum:\n - json\n - xml\n default: json\n - name: ip\n in: query\n required: true\n description: 'IPv4 or IPv6 address to look up. Private, loopback and reserved addresses are not rejected: they return a 200 with the IANA special-use record.'\n schema:\n type: string\n responses:\n '200':\n description: Successful WHOIS lookup response\n content:\n application/json:\n schema:\n $ref: '#/components/schemas/IpWhoisResponse'\n examples:\n typicalSuccess:\n summary: Typical successful response\n value:\n status: true\n ip_address: 8.8.8.8\n query_time: '2026-07-23 08:23:30'\n whois_server: whois.arin.net\n inet_nums:\n - start_ip: 8.8.8.0\n end_ip: 8.8.8.255\n cidr:\n - 8.8.8.0/24\n net_name: GOGL\n net_handle: NET-8-8-8-0-2\n status: Direct Allocation\n organization: Google LLC (GOGL)\n date_created: '2023-12-28'\n date_updated: '2023-12-28'\n source: https://rdap.arin.net/registry/ip/8.8.8.0\n parents:\n - NET8 (NET-8-0-0-0-0)\n organization:\n handle: GOGL\n name: Google LLC\n address:\n - 1600 Amphitheatre Parkway\n - Mountain View\n - CA\n - '94043'\n - US\n street: Amphitheatre Parkway\n city: Mountain View\n state: CA\n zip_code: '94043'\n country:\n - US\n date_created: '2000-03-30'\n date_updated: '2019-10-31'\n source: https://rdap.arin.net/registry/entity/GOGL\n technical_contacts:\n - handle: ZG39-ARIN\n name: Google LLC\n email:\n - arin-contact@google.com\n phone:\n - +1-650-253-0000\n source: https://rdap.arin.net/registry/entity/ZG39-ARIN\n abuse_contacts:\n - handle: ABUSE5250-ARIN\n name: Abuse\n email:\n - network-abuse@google.com\n phone:\n - +1-650-253-0000\n source: https://rdap.arin.net/registry/entity/ABUSE5250-ARIN\n routes:\n - source: https://rdap.arin.net/registry/ip/8.8.8.0\n whois_raw_response: |\n\n #\n # ARIN WHOIS data and services are subject to the Terms of Use\n # available at: https://www.arin.net/resources/registry/whois/tou/\n #\n # If you see inaccuracies in the results, please report at\n # https://www.arin.net/resources/registry/whois/inaccuracy_reporting/\n #\n # Copyright 1997-2026, American Registry for Internet Numbers, Ltd.\n #\n\n\n NetRange: 8.8.8.0 - 8.8.8.255\n CIDR: 8.8.8.0/24\n NetName: GOGL\n NetHandle: NET-8-8-8-0-2\n Parent: NET8 (NET-8-0-0-0-0)\n NetType: Direct Allocation\n OriginAS: \n Organization: Google LLC (GOGL)\n RegDate: 2023-12-28\n Updated: 2023-12-28\n Ref: https://rdap.arin.net/registry/ip/8.8.8.0\n\n\n\n OrgName: Google LLC\n OrgId: GOGL\n Address: 1600 Amphitheatre Parkway\n City: Mountain View\n StateProv: CA\n PostalCode: 94043\n Country: US\n RegDate: 2000-03-30\n Updated: 2019-10-31\n Comment: Please note that the recommended way to file abuse complaints are located in the following links. \n Comment: \n Comment: To report abuse and illegal activity: https://www.google.com/contact/\n Comment: \n Comment: For legal requests: http://support.google.com/legal \n Comment: \n Comment: Regards, \n Comment: The Google Team\n Ref: https://rdap.arin.net/registry/entity/GOGL\n\n\n OrgAbuseHandle: ABUSE5250-ARIN\n OrgAbuseName: Abuse\n OrgAbusePhone: +1-650-253-0000 \n OrgAbuseEmail: network-abuse@google.com\n OrgAbuseRef: https://rdap.arin.net/registry/entity/ABUSE5250-ARIN\n\n OrgTechHandle: ZG39-ARIN\n OrgTechName: Google LLC\n OrgTechPhone: +1-650-253-0000 \n OrgTechEmail: arin-contact@google.com\n OrgTechRef: https://rdap.arin.net/registry/entity/ZG39-ARIN\n\n\n #\n # ARIN WHOIS data and services are subject to the Terms of Use\n # available at: https://www.arin.net/resources/registry/whois/tou/\n #\n # If you see inaccuracies in the results, please report at\n # https://www.arin.net/resources/registry/whois/inaccuracy_reporting/\n #\n # Copyright 1997-2026, American Registry for Internet Numbers, Ltd.\n #\n headers:\n X-AF-Credits-Cost:\n $ref: '#/components/headers/X-AF-Credits-Cost'\n '206':\n description: Partial Content -- The registry query succeeded but the registrar query failed, so some details (for example contacts, routes or whois_raw_response) may be missing. Retry later for the full record.\n content:\n application/json:\n schema:\n $ref: '#/components/schemas/IpWhoisPartialResponse'\n examples:\n partialResponse:\n summary: Partial WHOIS response (inet_nums only)\n value:\n status: true\n ip_address: 8.8.8.8\n query_time: '2024-02-01 07:50:47'\n whois_server: whois.arin.net\n inet_nums:\n - start_ip: 8.8.8.0\n end_ip: 8.8.8.255\n cidr:\n - 8.8.8.0/24\n net_name: GOGL\n net_handle: NET-8-8-8-0-2\n status: Direct Allocation\n organization: Google LLC (GOGL)\n date_created: '2023-12-28'\n date_updated: '2023-12-28'\n source: https://rdap.arin.net/registry/ip/8.8.8.0\n parents:\n - NET8 (NET-8-0-0-0-0)\n headers:\n X-AF-Credits-Cost:\n $ref: '#/components/headers/X-AF-Credits-Cost'\n '400':\n description: Bad Request -- Missing or invalid ip parameter, or no apiKey\n content:\n application/json:\n schema:\n $ref: '#/components/schemas/ErrorResponse'\n examples:\n missingIp:\n summary: Missing ip parameter\n value:\n error: Invalid Param Exception\n message: please pass correct parameters\n path: /v1.0/ip/whois/live\n status: 400\n timestamp: '2026-07-23T07:50:28.230Z'\n invalidIp:\n summary: Invalid IP address format\n value:\n timestamp: '2026-07-23T08:03:38.179Z'\n status: 400\n error: Input parameter is not valid\n message: Request-param 'ip' (not-an-ip) is not an IP address\n path: /v1.0/ip-whois\n missingApiKey:\n summary: Missing apiKey\n value:\n error: Invalid Param Exception\n message: Please provide apiKey\n path: /v1.0/ip/whois/live\n status: 400\n timestamp: '2026-11-19T09:08:36.219Z'\n headers:\n X-AF-Credits-Cost:\n $ref: '#/components/headers/X-AF-Credits-Cost'\n '401':\n description: Unauthorized -- invalid apiKey\n content:\n application/json:\n schema:\n $ref: '#/components/schemas/ErrorResponse'\n examples:\n invalidApiKey:\n summary: Invalid apiKey\n value:\n error: API Access Exception\n message: 'Provided API key is invalid. [For Technical Support: support@apifreaks.com]'\n path: /v1.0/ip/whois/live\n status: 401\n timestamp: '2026-11-20T10:10:38.861Z'\n inactiveApiKey:\n summary: Inactive API key\n value:\n error: API Access Exception\n message: Provided API key is inactive.\n path: /v1.0/ip/whois/live\n status: 401\n timestamp: '2026-11-20T10:10:38.861Z'\n noSubscription:\n summary: No subscription or credits\n value:\n error: API Access Exception\n message: Please buy a subscription plan or add api credits, then use this api key.\n path: /v1.0/ip/whois/live\n status: 401\n timestamp: '2026-11-20T10:10:38.861Z'\n subscriptionDeactivated:\n summary: Subscription deactivated\n value:\n error: API Access Exception\n message: Your subscription is deactivated. Please buy new plan or add api credits for using apifreaks APIs.\n path: /v1.0/ip/whois/live\n status: 401\n timestamp: '2026-11-20T10:10:38.861Z'\n subscriptionPaymentFailure:\n summary: Subscription deactivated after payment failures\n value:\n error: API Access Exception\n message: Your subscription is deactivated due to much time payment failure. Please buy a new plan or add api credits for using apifreaks APIs.\n path: /v1.0/ip/whois/live\n status: 401\n timestamp: '2026-11-20T10:10:38.861Z'\n accountDeactivated:\n summary: Account deactivated\n value:\n error: API Access Exception\n message: Your account is deactivated.\n path: /v1.0/ip/whois/live\n status: 401\n timestamp: '2026-11-20T10:10:38.861Z'\n blockedSuspiciousActivity:\n summary: Blocked for suspicious activity\n value:\n error: API Access Exception\n message: You are blocked due to suspicious activity.\n path: /v1.0/ip/whois/live\n status: 401\n timestamp: '2026-11-20T10:10:38.861Z'\n apiRecordNotFound:\n summary: API record not found\n value:\n error: API Access Exception\n message: Api record not found.\n path: /v1.0/ip/whois/live\n status: 401\n timestamp: '2026-11-20T10:10:38.861Z'\n '404':\n description: Not Found -- Gateway response when the endpoint is called with an HTTP method other than GET (POST, PUT and DELETE were verified live)\n content:\n application/json:\n schema:\n $ref: '#/components/schemas/ErrorResponse'\n examples:\n resourceNotFound:\n summary: Wrong HTTP method or path\n value:\n error: Resource Not Found\n message: The requested resource could not be found. Please verify the URL and try again.\n path: /v1.0/ip/whois/live\n status: 404\n timestamp: '2026-11-20T11:13:06.175Z'\n '406':\n description: Not Acceptable -- format is not json or xml\n content:\n application/json:\n schema:\n $ref: '#/components/schemas/ErrorResponse'\n examples:\n invalidFormat:\n summary: Unsupported format\n value:\n error: Unsupported Media Type\n message: The media type specified in the request is not supported. For more details, please refer to the API documentation.\n path: /v1.0/ip/whois/live\n status: 406\n timestamp: '2026-11-19T09:08:38.549Z'\n headers:\n X-AF-Credits-Cost:\n $ref: '#/components/headers/X-AF-Credits-Cost'\n '408':\n description: Request Timeout -- The WHOIS data could not be fetched\n content:\n application/json:\n schema:\n $ref: '#/components/schemas/ErrorResponse'\n examples:\n fetchFailed:\n summary: Unable to fetch whois data\n value:\n timestamp: '2024-07-10T13:47:02.486Z'\n status: 408\n error: Fetching Whois Data Failed\n message: 'Unable to fetch whois data.Please try again [For Technical Support: support@apifreaks.com]'\n path: /v1.0/ip/whois/live\n '412':\n description: Precondition Failed -- The API plan request limit is exceeded and the subscription is canceled\n content:\n application/json:\n schema:\n $ref: '#/components/schemas/ErrorResponse'\n examples:\n planLimitExceeded:\n summary: API plan request limit exceeded\n value:\n timestamp: '2024-07-10T13:47:02.486Z'\n status: 412\n error: Fetching Whois Data Failed\n message: 'You have exceeded the limit of api plan requests and your subscription is canceled. [For Technical Support email at: support@apifreaks.com]'\n path: /v1.0/ip/whois/live\n '413':\n description: Payload Too Large -- A request or surcharge limit is exceeded\n content:\n application/json:\n schema:\n $ref: '#/components/schemas/ErrorResponse'\n examples:\n surchargeLimitExceeded:\n summary: Surcharge request limit exceeded\n value:\n timestamp: '2024-07-10T13:47:02.486Z'\n status: 413\n error: Fetching Whois Data Failed\n message: 'You have exceeded the limit of Surcharge Requests [allowed_surcharge_request_no]. Please upgrade your plan. [For Technical Support email at: support@apifreaks.com]'\n path: /v1.0/ip/whois/live\n '429':\n description: Too Many Requests -- The per-minute request limit is reached\n content:\n application/json:\n schema:\n $ref: '#/components/schemas/ErrorResponse'\n examples:\n rateLimited:\n summary: Per-minute request limit reached\n value:\n timestamp: '2024-07-10T13:47:02.486Z'\n status: 429\n error: Fetching Whois Data Failed\n message: Please slow down. Your maximum request limit per minute reached.\n path: /v1.0/ip/whois/live\n '499':\n description: Client Closed Request -- The request or connection timeout set by the client is too short\n content:\n application/json:\n schema:\n $ref: '#/components/schemas/ErrorResponse'\n examples:\n clientTimeoutTooShort:\n summary: Client timeout too short\n value:\n message: The request or connection timeout you\u2019ve set is too short, which is causing the server to close the connection before completing the response. Please increase the timeout duration to ensure successful communication with the server.\n '500':\n description: Internal Server Error\n content:\n application/json:\n schema:\n $ref: '#/components/schemas/ErrorResponse'\n examples:\n internalServerError:\n summary: Internal server error\n value:\n timestamp: '2024-07-10T13:47:02.486Z'\n status: 500\n error: Fetching Whois Data Failed\n message: 'Internal Server error occurred. [For Technical Support email at: support@apifreaks.com]'\n path: /v1.0/ip/whois/live\n '503':\n description: Service Unavailable\n content:\n application/json:\n schema:\n $ref: '#/components/schemas/ErrorResponse'\n examples:\n serviceUnavailable:\n summary: Service unavailable\n value:\n timestamp: '2024-07-10T13:47:02.486Z'\n status: 503\n error: Fetching Whois Data Failed\n message: 'Service is unavailable. Please try after some time. [For Technical Support email at: support@apifreaks.com]'\n path: /v1.0/ip/whois/live\n '504':\n description: Gateway Timeout -- The request timed out\n content:\n application/json:\n schema:\n $ref: '#/components/schemas/ErrorResponse'\n examples:\n requestTimedOut:\n summary: Request timed out\n value:\n timestamp: '2024-07-10T13:47:02.486Z'\n status: 504\n error: Fetching Whois Data Failed\n message: 'Request is timed-out. [For Technical Support email at: support@apifreaks.com]'\n path: /v1.0/ip/whois/live\n '505':\n description: HTTP Version Not Supported\n content:\n application/json:\n schema:\n $ref: '#/components/schemas/ErrorResponse'\n examples:\n httpVersionNotSupported:\n summary: Outdated HTTP version\n value:\n message: You might be using an outdated HTTP version.\ncomponents:\n securitySchemes:\n ApiKeyAuthHeader:\n type: apiKey\n in: header\n name: X-apiKey\n description: Pass your API key via the X-apiKey request header.\n ApiKeyAuthQuery:\n type: apiKey\n in: query\n name: apiKey\n description: Pass your API key via the apiKey query parameter.\n schemas:\n IpWhoisPartialResponse:\n type: object\n description: Partial WHOIS response (HTTP 206). Same shape as IpWhoisResponse, but only the fields the registry returned are present; whois_raw_response, the organization and the contact lists may be missing.\n required:\n - status\n - ip_address\n - query_time\n - whois_server\n - inet_nums\n properties:\n status:\n $ref: '#/components/schemas/IpWhoisResponse/properties/status'\n ip_address:\n $ref: '#/components/schemas/IpWhoisResponse/properties/ip_address'\n query_time:\n $ref: '#/components/schemas/IpWhoisResponse/properties/query_time'\n whois_server:\n $ref: '#/components/schemas/IpWhoisResponse/properties/whois_server'\n inet_nums:\n $ref: '#/components/schemas/IpWhoisResponse/properties/inet_nums'\n irt:\n $ref: '#/components/schemas/IpWhoisResponse/properties/irt'\n organization:\n $ref: '#/components/schemas/IpWhoisResponse/properties/organization'\n administrative_contacts:\n $ref: '#/components/schemas/IpWhoisResponse/properties/administrative_contacts'\n technical_contacts:\n $ref: '#/components/schemas/IpWhoisResponse/properties/technical_contacts'\n abuse_contacts:\n $ref: '#/components/schemas/IpWhoisResponse/properties/abuse_contacts'\n routes:\n $ref: '#/components/schemas/IpWhoisResponse/properties/routes'\n whois_raw_response:\n $ref: '#/components/schemas/IpWhoisResponse/properties/whois_raw_response'\n r_whois_raw_response:\n $ref: '#/components/schemas/IpWhoisResponse/properties/r_whois_raw_response'\n ErrorResponse:\n type: object\n required:\n - message\n properties:\n error:\n type: string\n description: Short error category or exception type.\n message:\n type: string\n description: Human-readable error message describing the failure.\n path:\n type: string\n description: API endpoint path that produced the error.\n status:\n type: integer\n description: HTTP status code returned with the error.\n timestamp:\n type: string\n format: date-time\n description: Timestamp when the error occurred (ISO 8601).\n IpWhoisResponse:\n type: object\n description: WHOIS lookup response containing IP registration data, organization, contacts, routes, and raw WHOIS output.\n required:\n - status\n - ip_address\n - query_time\n - whois_server\n - whois_raw_response\n properties:\n status:\n type: boolean\n description: true when the record from the WHOIS server is complete. A different field from status inside inet_nums.\n ip_address:\n type: string\n description: IP address (IPv4 or IPv6) that was queried.\n query_time:\n type: string\n description: Date and time of the WHOIS query in YYYY-MM-DD HH:mm:ss format.\n whois_server:\n type: string\n description: WHOIS host server used to query the IP address.\n inet_nums:\n type: array\n description: IP range allocations (inetnum/aut-num objects) associated with this IP address.\n items:\n $ref: '#/components/schemas/InetNum'\n irt:\n $ref: '#/components/schemas/IrtObject'\n organization:\n $ref: '#/components/schemas/IpWhoisOrganization'\n administrative_contacts:\n type: array\n description: Administrative contact persons or roles for this IP allocation. Returned by RIPE NCC, APNIC, LACNIC and AFRINIC; not returned by ARIN.\n items:\n $ref: '#/components/schemas/WhoisContactRef'\n technical_contacts:\n type: array\n description: Technical contact persons or roles for this IP allocation.\n items:\n $ref: '#/components/schemas/WhoisContactRef'\n abuse_contacts:\n type: array\n description: Abuse contact persons or roles for reporting network abuse.\n items:\n $ref: '#/components/schemas/WhoisContactRef'\n routes:\n type: array\n description: BGP route objects announced by this IP's network.\n items:\n $ref: '#/components/schemas/RouteObject'\n whois_raw_response:\n type: string\n description: Unparsed WHOIS response from the WHOIS server.\n InetNum:\n type: object\n description: IP range allocation record (inetnum object) containing the allocated block, network name, status, and organizational linkage.\n required:\n - start_ip\n - end_ip\n - cidr\n - net_name\n - source\n properties:\n start_ip:\n type: string\n description: Starting IP address of the allocated range.\n end_ip:\n type: string\n description: Ending IP address of the allocated range.\n cidr:\n type: array\n description: IP range in CIDR notation.\n items:\n type: string\n net_name:\n type: string\n description: Network name (unique identifier) of this inetnum in WHOIS data.\n net_handle:\n type:\n - string\n - 'null'\n description: Net-Handle (unique ID) of this inetnum, primarily from ARIN responses.\n description:\n type:\n - array\n - 'null'\n description: Description values from the inetnum object.\n items:\n type: string\n countries:\n type:\n - array\n - 'null'\n description: ISO 3166-1 alpha-2 country codes where the IP block is allocated.\n items:\n type: string\n geofeed:\n type:\n - string\n - 'null'\n description: URL to the geofeed (RFC 8805) for this prefix.\n status:\n type:\n - string\n - 'null'\n description: Allocation or assignment status (e.g., 'Direct Allocation').\n organization:\n type:\n - string\n - 'null'\n description: Handle (unique ID) of the organization managing this inetnum.\n remarks:\n type:\n - array\n - 'null'\n description: Remarks from the inetnum object.\n items:\n type: string\n assignment_size:\n type:\n - string\n - 'null'\n description: Allocation or assignment size of the IP network or block.\n notify:\n type:\n - array\n - 'null'\n description: Notify email addresses from the inetnum object.\n items:\n type: string\n mnt_by:\n type:\n - array\n - 'null'\n description: Maintainer handles from the inetnum object.\n items:\n type: string\n mnt_lower:\n type:\n - array\n - 'null'\n description: Lower-level maintainer handles from the inetnum object.\n items:\n type: string\n mnt_domains:\n type:\n - array\n - 'null'\n description: Domain maintainer handles from the inetnum object.\n items:\n type: string\n mnt_routes:\n type:\n - array\n - 'null'\n description: Route maintainer handles from the inetnum object.\n items:\n type: string\n mnt_irt:\n type:\n - array\n - 'null'\n description: IRT maintainer handles from the inetnum object.\n items:\n type: string\n date_created:\n type:\n - string\n - 'null'\n format: date\n description: Registration date of this inetnum object (YYYY-MM-DD).\n date_updated:\n type:\n - string\n - 'null'\n format: date\n description: Last update date of this inetnum object (YYYY-MM-DD).\n source:\n type: string\n description: WHOIS data source (RIR registry URL) for this object.\n parents:\n type:\n - array\n - 'null'\n description: Parent allocation or assignment blocks of this inetnum.\n items:\n type: string\n IrtObject:\n type: object\n description: IRT (Internet Response Team) object containing the response team's address, abuse mailbox, contacts, and linked organizations.\n required:\n - handle\n - address\n - email\n - abuse_mailbox\n - admin_contacts\n - tech_contacts\n - source\n properties:\n handle:\n type: string\n description: Handle or unique identifier of this IRT in WHOIS data.\n address:\n type: array\n description: Address lines of the IRT.\n items:\n type: string\n street:\n type:\n - string\n - 'null'\n description: Parsed street address from the address field.\n city:\n type:\n - string\n - 'null'\n description: Parsed city from the address field.\n state:\n type:\n - string\n - 'null'\n description: Parsed state from the address field.\n zip_code:\n type:\n - string\n - 'null'\n description: Parsed ZIP code from the address field.\n country:\n type:\n - string\n - 'null'\n description: Parsed country from the address field.\n email:\n type: array\n description: Email addresses for the IRT.\n items:\n type: string\n abuse_mailbox:\n type: array\n description: Abuse mailbox email addresses for the IRT.\n items:\n type: string\n phone:\n type:\n - array\n - 'null'\n description: Phone numbers for the IRT.\n items:\n type: string\n fax_no:\n type:\n - array\n - 'null'\n description: Fax numbers for the IRT.\n items:\n type: string\n admin_contacts:\n type: array\n description: Handles of admin persons or roles linked to this IRT.\n items:\n type: string\n tech_contacts:\n type: array\n description: Handles of technical persons or roles linked to this IRT.\n items:\n type: string\n remarks:\n type:\n - array\n - 'null'\n description: Remarks for this IRT object.\n items:\n type: string\n notify:\n type:\n - array\n - 'null'\n description: Notify email addresses for this IRT object.\n items:\n type: string\n irt_nfy:\n type:\n - array\n - 'null'\n description: IRT-specific notification email addresses.\n items:\n type: string\n mnt_by:\n type:\n - array\n - 'null'\n description: Maintainer handles for this IRT object.\n items:\n type: string\n date_updated:\n type:\n - string\n - 'null'\n format: date\n description: Last update date of this IRT object (YYYY-MM-DD).\n source:\n type: string\n description: WHOIS data source for this IRT object.\n IpWhoisOrganization:\n type: object\n description: Organization object containing the registrant's handle, name, address, contact details, and linked admin/tech/abuse contacts.\n required:\n - handle\n - name\n - source\n properties:\n handle:\n type: string\n description: Handle or unique identifier of this organization in WHOIS data.\n name:\n type: string\n description: Name of the organization.\n type:\n type:\n - string\n - 'null'\n description: Type of the organization (e.g., BUSINESS, REGISTRY).\n description:\n type:\n - array\n - 'null'\n description: Description values from the organization object.\n items:\n type: string\n address:\n type:\n - array\n - 'null'\n description: Full address lines of the organization.\n items:\n type: string\n street:\n type:\n - string\n - 'null'\n description: Parsed street address from the address field.\n city:\n type:\n - string\n - 'null'\n description: Parsed city from the address field.\n state:\n type:\n - string\n - 'null'\n description: Parsed state from the address field.\n zip_code:\n type:\n - string\n - 'null'\n description: Parsed ZIP code from the address field.\n country:\n type:\n - array\n - 'null'\n description: ISO 3166-1 alpha-2 country codes for the organization.\n items:\n type: string\n email:\n type:\n - array\n - 'null'\n description: Email addresses for the organization.\n items:\n type: string\n phone:\n type:\n - array\n - 'null'\n description: Phone numbers for the organization.\n items:\n type: string\n fax_no:\n type:\n - array\n - 'null'\n description: Fax numbers for the organization.\n items:\n type: string\n admin_contacts:\n type:\n - array\n - 'null'\n description: Handles of admin persons or roles linked to this organization.\n items:\n type: string\n tech_contacts:\n type:\n - array\n - 'null'\n description: Handles of technical persons or roles linked to this organization.\n items:\n type: string\n abuse_contacts:\n type:\n - array\n - 'null'\n description: Handles of abuse persons or roles linked to this organization.\n items:\n type: string\n remarks:\n type:\n - array\n - 'null'\n description: Remarks for this organization object.\n items:\n type: string\n mnt_by:\n type:\n - array\n - 'null'\n description: Maintainer handles for this organization object.\n items:\n type: string\n mnt_ref:\n type:\n - array\n - 'null'\n description: Referenced maintainer handles for this organization object.\n items:\n type: string\n date_created:\n type:\n - string\n - 'null'\n format: date\n description: Registration date of this organization object (YYYY-MM-DD).\n date_updated:\n type:\n - string\n - 'null'\n format: date\n description: Last update date of this organization object (YYYY-MM-DD).\n source:\n type: string\n description: WHOIS data source (RIR registry URL) for this object.\n WhoisContactRef:\n type: object\n description: Contact person or role object with handle, name, email, phone, and source reference.\n required:\n - handle\n - source\n properties:\n handle:\n type: string\n description: Handle or unique identifier of this contact in WHOIS data.\n name:\n type:\n - string\n - 'null'\n description: Name of the contact person or role.\n address:\n type:\n - array\n - 'null'\n description: Address lines for this contact.\n items:\n type: string\n street:\n type:\n - string\n - 'null'\n description: Parsed street address from the address field.\n city:\n type:\n - string\n - 'null'\n description: Parsed city from the address field.\n state:\n type:\n - string\n - 'null'\n description: Parsed state from the address field.\n zip_code:\n type:\n - string\n - 'null'\n description: Parsed ZIP code from the address field.\n country:\n type:\n - string\n - 'null'\n description: Parsed country from the address field.\n email:\n type:\n - array\n - 'null'\n description: Email addresses for this contact.\n items:\n type: string\n abuse_mailbox:\n type:\n - array\n - 'null'\n description: Abuse mailbox email addresses for this contact.\n items:\n type: string\n phone:\n type:\n - array\n - 'null'\n description: Phone numbers for this contact.\n items:\n type: string\n fax_no:\n type:\n - array\n - 'null'\n description: Fax numbers for this contact.\n items:\n type: string\n organizations:\n type:\n - array\n - 'null'\n description: Handles of organization objects managing this contact.\n items:\n type: string\n admin_contacts:\n type:\n - array\n - 'null'\n description: Handles of admin persons or roles linked to this contact.\n items:\n type: string\n tech_contacts:\n type:\n - array\n - 'null'\n description: Handles of technical persons or roles linked to this contact.\n items:\n type: string\n remarks:\n type:\n - array\n - 'null'\n description: Remarks for this contact object.\n items:\n type: string\n notify:\n type:\n - array\n - 'null'\n description: Notify email addresses for this contact object.\n items:\n type: string\n mnt_by:\n type:\n - array\n - 'null'\n description: Maintainer handles for this contact object.\n items:\n type: string\n mnt_ref:\n type:\n - array\n - 'null'\n description: Referenced maintainer handles for this contact object.\n items:\n type: string\n date_created:\n type:\n - string\n - 'null'\n format: date\n description: Registration date of this contact object (YYYY-MM-DD).\n date_updated:\n type:\n - string\n - 'null'\n format: date\n description: Last update date of this contact object (YYYY-MM-DD).\n source:\n type: string\n description: WHOIS data source (RIR registry URL) for this object.\n RouteObject:\n type: object\n description: BGP route object containing the route prefix, origin AS, and related metadata.\n required:\n - source\n properties:\n route:\n type:\n - string\n - 'null'\n description: BGP route prefix (e.g., 8.8.8.0/24).\n origin:\n type:\n - string\n - 'null'\n description: Origin AS number for this route.\n description:\n type:\n - array\n - 'null'\n description: Description values for this route object.\n items:\n type: string\n country:\n type:\n - string\n - 'null'\n description: Country of the organization managing this route.\n remarks:\n type:\n - array\n - 'null'\n description: Remarks for this route object.\n items:\n type: string\n mnt_by:\n type:\n - array\n - 'null'\n description: Maintainer handles for this route object.\n items:\n type: string\n date_created:\n type:\n - string\n - 'null'\n format: date\n description: Registration date of this route object (YYYY-MM-DD).\n date_updated:\n type:\n - string\n - 'null'\n format: date\n description: Last update date of this route object (YYYY-MM-DD).\n source:\n type:\n - string\n - 'null'\n description: WHOIS data source for this route object.\n headers:\n X-AF-Credits-Cost:\n description: Specifies the number of credits consumed by the current request.\n schema:\n type: integer\nsecurity:\n - ApiKeyAuthHeader: []\n - ApiKeyAuthQuery: []\n",
64909
64983
  "bulk-zip-code-lookup": "openapi: 3.1.1\ninfo:\n title: Bulk ZIP Code Lookup API Reference\n version: 1.0.0\n description: Look up multiple ZIP or postal codes in a single POST request, up to 100 codes per batch. Each matched code returns city, region, region code, locality, country code, latitude, and longitude. Accepts an optional `country` field in the request body to limit results to one country. Codes with no match are silently omitted from the `results` array instead of appearing as per-item error entries \u2014 the array can be shorter than the requested `codes` list. A malformed request body or invalid country code returns a 400; if none of the submitted codes match anything, the whole request returns a 404.\n contact:\n name: APIFreaks Support\n url: https://apifreaks.com/contact\n email: support@apifreaks.com\nservers:\n - url: https://api.apifreaks.com/v1.0\n description: Bulk ZIP Code Lookup API Server\npaths:\n /zipcode/lookup:\n post:\n tags:\n - ZIP Code APIs\n summary: Look up multiple ZIP/postal codes in one request\n operationId: bulkLookupZipCodes\n description: Looks up up to 100 ZIP/postal codes in a single request and returns matching location data for each code that resolves.\n parameters:\n - name: format\n in: query\n required: false\n schema:\n type: string\n enum:\n - json\n - xml\n default: json\n description: 'Format of the response. Possible values: json, xml.'\n requestBody:\n required: true\n content:\n application/json:\n schema:\n $ref: '#/components/schemas/BulkZipRequest'\n examples:\n typicalRequest:\n summary: Typical bulk lookup request\n value:\n codes:\n - '10001'\n - '90210'\n country: US\n responses:\n '200':\n description: Successful response. `results` contains one entry per code that matched, in match order \u2014 codes with no match are omitted rather than represented as error entries, so the array can be shorter than the requested `codes` list.\n content:\n application/json:\n schema:\n $ref: '#/components/schemas/ZipcodeLookupResponse'\n examples:\n typicalSuccess:\n summary: All requested codes matched\n value:\n results:\n - code: '10001'\n country_code: US\n region: New York\n region_code: NY\n city: New York County\n locality: Manhattan\n latitude: 40.748436\n longitude: -73.99402\n - code: '90210'\n country_code: US\n region: California\n region_code: CA\n city: Los Angeles\n locality: Beverly Hills (Beverly Hills)\n latitude: 34.10313\n longitude: -118.41625\n partialMatch:\n summary: One of two requested codes matched \u2014 the unmatched code is simply absent\n value:\n results:\n - code: '10001'\n country_code: US\n region: New York\n region_code: NY\n city: New York County\n locality: Manhattan\n latitude: 40.748436\n longitude: -73.99402\n headers:\n X-AF-Credits-Cost:\n $ref: '#/components/headers/X-AF-Credits-Cost'\n '400':\n description: Bad Request \u2014 Malformed body, invalid country code, or over the 100-code limit\n content:\n application/json:\n schema:\n $ref: '#/components/schemas/ErrorResponse'\n examples:\n InvalidBody:\n summary: codes field missing or malformed\n value:\n timestamp: '2026-07-27T11:18:38.639Z'\n path: /v1.0/zipcode/lookup\n status: 400\n error: Request Body Invalid\n message: Request body is missing required fields or is not in the expected format. Please refer to the API documentation.\n InvalidCountryCode:\n summary: country is not a valid ISO 3166-1 alpha-2 code\n value:\n timestamp: '2026-07-27T11:18:39.139Z'\n path: /v1.0/zipcode/lookup\n status: 400\n error: Invalid Country Code Provided\n message: Only ISO 3166-1 alpha-2 codes country codes are supported.\n BulkLimitExceeded:\n summary: More than 100 codes submitted\n value:\n timestamp: '2026-07-27T11:18:48.850Z'\n path: /v1.0/zipcode/lookup\n status: 400\n error: Maximum Postal/Zip Code Limit Exceeded\n message: A maximum of 100 postal/zip codes can be processed per request.\n headers:\n X-AF-Credits-Cost:\n $ref: '#/components/headers/X-AF-Credits-Cost'\n '404':\n description: Not Found \u2014 None of the submitted codes matched anything\n content:\n application/json:\n schema:\n $ref: '#/components/schemas/ErrorResponse'\n examples:\n ZipNotFound:\n summary: No codes matched\n value:\n timestamp: '2026-07-27T11:18:39.650Z'\n path: /v1.0/zipcode/lookup\n status: 404\n error: Postal/Zip Codes Not Found\n message: None of the provided postal/zip codes were found in our database.\n headers:\n X-AF-Credits-Cost:\n $ref: '#/components/headers/X-AF-Credits-Cost'\ncomponents:\n securitySchemes:\n ApiKeyAuthHeader:\n type: apiKey\n in: header\n name: X-apiKey\n description: Pass your API key via the X-apiKey request header.\n ApiKeyAuthQuery:\n type: apiKey\n in: query\n name: apiKey\n description: Pass your API key via the apiKey query parameter.\n schemas:\n ZipcodeLookupResponse:\n type: object\n description: ZIP code lookup result containing an array of matched postal codes with location details.\n required:\n - results\n properties:\n results:\n type: array\n description: Array of matched ZIP code results. Codes with no match are omitted, so this array can be shorter than the requested codes list.\n items:\n $ref: '#/components/schemas/ZipResultItem'\n ZipResultItem:\n type: object\n description: A ZIP code result containing location details.\n required:\n - code\n - country_code\n - region\n - region_code\n - city\n - latitude\n - longitude\n properties:\n code:\n type: string\n description: Postal/ZIP code of the location.\n country_code:\n type: string\n description: Country code in ISO 3166-1 alpha-2 format.\n region:\n type: string\n description: Region, state, or province associated with the postal code.\n region_code:\n type: string\n description: Region code or abbreviation.\n city:\n type: string\n description: City associated with the postal code.\n locality:\n type: string\n description: Locality or neighborhood associated with the postal code. Can be an empty string when no locality-level data exists.\n latitude:\n type: number\n format: float\n description: Latitude coordinate of the postal code location.\n longitude:\n type: number\n format: float\n description: Longitude coordinate of the postal code location.\n BulkZipRequest:\n type: object\n description: Request body for bulk ZIP/postal code lookup.\n required:\n - codes\n properties:\n codes:\n type: array\n description: Array of ZIP or postal codes to look up. Maximum 100 codes per request.\n items:\n type: string\n country:\n type: string\n description: ISO 3166-1 alpha-2 country code to limit the search to. Applies to every code in the batch.\n ErrorResponse:\n type: object\n description: Standard error envelope returned by the API on failed requests.\n required:\n - message\n properties:\n error:\n type: string\n description: Short error category or exception type.\n message:\n type: string\n description: Human-readable error message describing the failure.\n path:\n type: string\n description: API endpoint path that produced the error.\n status:\n type: integer\n description: HTTP status code returned with the error.\n timestamp:\n type: string\n format: date-time\n description: Timestamp when the error occurred (ISO 8601).\n headers:\n X-AF-Credits-Cost:\n description: Specifies the number of credits consumed by the current request.\n schema:\n type: integer\nsecurity:\n - ApiKeyAuthHeader: []\n - ApiKeyAuthQuery: []\n",
64910
64984
  "zip-code-api": "openapi: 3.1.1\ninfo:\n title: ZIP Code API - Global ZIP & Postal Code Lookup and Validation\n version: 1.0.0\n description: Look up and validate a single ZIP or postal code worldwide, returning every location that uses it. Returns city, region, region code, locality, country code, latitude, and longitude for each matching location. A postal code can map to multiple locations across different countries (e.g. \"90210\" matches places in the US, Ukraine, Kenya, Mexico, and Pakistan) unless the optional `country` parameter narrows the search to one country. Only one code is accepted per request \u2014 for multiple codes in one call, use the Bulk ZIP Code Lookup API instead. Invalid country codes return a 400, and codes with no match return a 404.\n contact:\n name: APIFreaks Support\n url: https://apifreaks.com/contact\n email: support@apifreaks.com\nservers:\n - url: https://api.apifreaks.com/v1.0\n description: ZIP Code Lookup API Server\npaths:\n /zipcode/lookup:\n get:\n tags:\n - ZIP Code APIs\n summary: Look up a ZIP/postal code\n description: Returns every location worldwide that matches the given postal/ZIP code, optionally narrowed to one country.\n operationId: lookupZipCode\n parameters:\n - name: format\n in: query\n required: false\n schema:\n type: string\n enum:\n - json\n - xml\n default: json\n description: 'Format of the response. Possible values: json, xml.'\n - name: code\n in: query\n required: true\n schema:\n type: string\n description: The postal/ZIP code to look up. Only one code is accepted per request.\n - name: country\n in: query\n required: false\n schema:\n type: string\n description: Country code in ISO 3166-1 alpha-2 format. Limits results to that country. If not provided, matching locations from all countries are returned.\n responses:\n '200':\n description: Successful response with matching ZIP code locations\n content:\n application/json:\n schema:\n $ref: '#/components/schemas/ZipcodeLookupResponse'\n examples:\n success:\n summary: Code matched in one country\n value:\n results:\n - code: '90210'\n country_code: US\n region: California\n region_code: CA\n city: Los Angeles\n locality: Beverly Hills (Beverly Hills)\n latitude: 34.10313\n longitude: -118.41625\n multipleCountryMatches:\n summary: Same code matched across multiple countries (no country filter)\n value:\n results:\n - code: '90210'\n country_code: US\n region: California\n region_code: CA\n city: Los Angeles\n locality: Beverly Hills (Beverly Hills)\n latitude: 34.10313\n longitude: -118.41625\n - code: '90210'\n country_code: UA\n region: Zakarpattia Oblast\n region_code: '21'\n city: Batovo Settlement Hromada\n locality: Svoboda\n latitude: 48.35717\n longitude: 22.367962\n - code: '90210'\n country_code: KE\n region: Kitui\n region_code: '18'\n city: Matinyani\n locality: Kalia\n latitude: -1.310763\n longitude: 37.969997\n headers:\n X-AF-Credits-Cost:\n $ref: '#/components/headers/X-AF-Credits-Cost'\n '400':\n description: Bad Request \u2014 Missing code or invalid country code\n content:\n application/json:\n schema:\n $ref: '#/components/schemas/ErrorResponse'\n examples:\n MissingCode:\n summary: Missing required code parameter\n value:\n error: Invalid Param Exception\n message: please pass correct parameters\n path: /v1.0/zipcode/lookup\n status: 400\n timestamp: '2026-07-27T11:17:13.351Z'\n InvalidCountryCode:\n summary: country is not a valid ISO 3166-1 alpha-2 code\n value:\n timestamp: '2026-07-27T11:17:13.872Z'\n path: /v1.0/zipcode/lookup\n status: 400\n error: Invalid Country Code Provided\n message: Only ISO 3166-1 alpha-2 codes country codes are supported.\n headers:\n X-AF-Credits-Cost:\n $ref: '#/components/headers/X-AF-Credits-Cost'\n '404':\n description: Not Found \u2014 No location matches the given code\n content:\n application/json:\n schema:\n $ref: '#/components/schemas/ErrorResponse'\n examples:\n ZipNotFound:\n summary: Postal/ZIP code not found\n value:\n timestamp: '2026-07-27T11:17:14.474Z'\n path: /v1.0/zipcode/lookup\n status: 404\n error: Postal/Zip Code Not Found\n message: Provided postal/zip code was not found in our database.\n headers:\n X-AF-Credits-Cost:\n $ref: '#/components/headers/X-AF-Credits-Cost'\ncomponents:\n securitySchemes:\n ApiKeyAuthHeader:\n type: apiKey\n in: header\n name: X-apiKey\n description: Pass your API key via the X-apiKey request header.\n ApiKeyAuthQuery:\n type: apiKey\n in: query\n name: apiKey\n description: Pass your API key via the apiKey query parameter.\n schemas:\n ZipcodeLookupResponse:\n type: object\n description: ZIP code lookup result containing an array of matching postal codes with location details.\n required:\n - results\n properties:\n results:\n type: array\n description: Array of ZIP code results matching the requested code. When multiple locations worldwide share the same postal code, each appears as a separate entry.\n items:\n $ref: '#/components/schemas/ZipResultItem'\n ZipResultItem:\n type: object\n description: A ZIP code result containing location details.\n required:\n - code\n - country_code\n - region\n - region_code\n - city\n - latitude\n - longitude\n properties:\n code:\n type: string\n description: Postal/ZIP code of the location.\n country_code:\n type: string\n description: Country code in ISO 3166-1 alpha-2 format.\n region:\n type: string\n description: Region, state, or province associated with the postal code.\n region_code:\n type: string\n description: Region code or abbreviation.\n city:\n type: string\n description: City associated with the postal code.\n locality:\n type: string\n description: Locality or neighborhood associated with the postal code. Can be an empty string when no locality-level data exists.\n latitude:\n type: number\n format: float\n description: Latitude coordinate of the postal code location.\n longitude:\n type: number\n format: float\n description: Longitude coordinate of the postal code location.\n ErrorResponse:\n type: object\n description: Standard error envelope returned by the API on failed requests.\n required:\n - message\n properties:\n error:\n type: string\n description: Short error category or exception type.\n message:\n type: string\n description: Human-readable error message describing the failure.\n path:\n type: string\n description: API endpoint path that produced the error.\n status:\n type: integer\n description: HTTP status code returned with the error.\n timestamp:\n type: string\n format: date-time\n description: Timestamp when the error occurred (ISO 8601).\n headers:\n X-AF-Credits-Cost:\n description: Specifies the number of credits consumed by the current request.\n schema:\n type: integer\nsecurity:\n - ApiKeyAuthHeader: []\n - ApiKeyAuthQuery: []\n",
64911
64985
  "zip-code-distance-match": "openapi: 3.1.1\ninfo:\n title: ZIP Code Distance Match API Reference\n version: 1.0.0\n description: 'Find all pairs of postal codes within a specified distance threshold from a list of up to 100 input codes. Specify a maximum distance and receive every pair of codes whose separation is at or below that value; if no pairs fall within the threshold, a 200 with an empty results array is returned rather than a 404. Supports six distance units: kilometers, miles, yards, meters, feet, and inches. A `country` code is always required. Results include each matched pair with its calculated distance.'\n contact:\n name: APIFreaks Support\n url: https://apifreaks.com/contact\n email: support@apifreaks.com\nservers:\n - url: https://api.apifreaks.com/v1.0\n description: ZIP Code Distance Match API Server\npaths:\n /zipcode/distance/match:\n post:\n tags:\n - ZIP Code APIs\n summary: Get matching ZIP/postal code pairs within a distance\n operationId: getZipcodeDistanceMatch\n description: Returns every pair of the requested ZIP/postal codes whose distance from each other is at or below the given threshold.\n parameters:\n - name: format\n in: query\n required: false\n schema:\n type: string\n enum:\n - json\n - xml\n default: json\n description: 'Format of the response. Possible values: json, xml.'\n requestBody:\n required: true\n description: The list of codes, their country, and an optional distance threshold and unit.\n content:\n application/json:\n schema:\n $ref: '#/components/schemas/DistanceMatchRequest'\n examples:\n typicalRequest:\n summary: Find pairs within 5km\n value:\n codes:\n - '90210'\n - '90211'\n - '90212'\n - '10001'\n country: US\n distance: 5\n responses:\n '200':\n description: Successful response with matching ZIP code pairs. If none of the codes are within the distance threshold of each other, results is an empty array \u2014 this is not a 404.\n content:\n application/json:\n schema:\n $ref: '#/components/schemas/ZipcodeDistanceMatchResponse'\n examples:\n success:\n summary: Pairs within threshold\n value:\n result_count: 2\n results:\n - code_1: '90211'\n code_2: '90212'\n distance: 1.958\n - code_1: '90210'\n code_2: '90212'\n distance: 4.704\n noPairsWithinThreshold:\n summary: No pairs within the threshold\n value:\n result_count: 0\n results: []\n headers:\n X-AF-Credits-Cost:\n $ref: '#/components/headers/X-AF-Credits-Cost'\n '400':\n description: Bad Request \u2014 Missing/invalid body, country, or unit, or over the 100-code limit\n content:\n application/json:\n schema:\n $ref: '#/components/schemas/ErrorResponse'\n examples:\n InvalidBody:\n summary: codes field missing or malformed\n value:\n timestamp: '2026-07-27T11:21:58.473Z'\n path: /v1.0/zipcode/distance/match\n status: 400\n error: Request Body Invalid\n message: Request body is missing required fields or is not in the expected format. Please refer to the API documentation.\n MissingCountry:\n summary: Missing required country field\n value:\n timestamp: '2026-07-27T11:21:42.483Z'\n path: /v1.0/zipcode/distance/match\n status: 400\n error: Country Code Missing\n message: Provide a valid ISO 3166-1 alpha-2 country code.\n BadCountry:\n summary: country is not a valid ISO 3166-1 alpha-2 code\n value:\n timestamp: '2026-07-27T11:21:57.332Z'\n path: /v1.0/zipcode/distance/match\n status: 400\n error: Invalid Country Code Provided\n message: Only ISO 3166-1 alpha-2 codes country codes are supported.\n InvalidUnit:\n summary: unit is not one of the supported symbols\n value:\n timestamp: '2026-07-27T11:21:56.749Z'\n path: /v1.0/zipcode/distance/match\n status: 400\n error: Invalid Unit Symbol\n message: The provided unit symbol is invalid. Please refer to the documentation for supported units.\n OverLimit:\n summary: More than 100 codes submitted\n value:\n timestamp: '2026-07-27T11:21:57.961Z'\n path: /v1.0/zipcode/distance/match\n status: 400\n error: Maximum Postal/Zip Code Limit Exceeded\n message: A maximum of 100 postal/zip codes can be processed per request.\n headers:\n X-AF-Credits-Cost:\n $ref: '#/components/headers/X-AF-Credits-Cost'\n '404':\n description: Not Found \u2014 None of the submitted codes matched anything\n content:\n application/json:\n schema:\n $ref: '#/components/schemas/ErrorResponse'\n examples:\n NotFound:\n summary: No codes matched\n value:\n timestamp: '2026-07-27T11:21:59.589Z'\n path: /v1.0/zipcode/distance/match\n status: 404\n error: Postal/Zip Codes Not Found\n message: None of the provided postal/zip codes were found in our database.\n headers:\n X-AF-Credits-Cost:\n $ref: '#/components/headers/X-AF-Credits-Cost'\ncomponents:\n securitySchemes:\n ApiKeyAuthHeader:\n type: apiKey\n in: header\n name: X-apiKey\n description: Pass your API key via the X-apiKey request header.\n ApiKeyAuthQuery:\n type: apiKey\n in: query\n name: apiKey\n description: Pass your API key via the apiKey query parameter.\n schemas:\n ZipcodeDistanceMatchResponse:\n type: object\n description: Matching ZIP/postal code pairs within the requested distance threshold.\n required:\n - result_count\n - results\n properties:\n result_count:\n type: integer\n description: Number of matching ZIP/postal code pairs returned. Zero when no pairs fall within the threshold.\n results:\n type: array\n description: Array of matching code pairs within the requested distance threshold.\n items:\n $ref: '#/components/schemas/ZipcodeDistanceMatchItem'\n ZipcodeDistanceMatchItem:\n type: object\n description: A single matched pair of ZIP/postal codes with the distance between them.\n required:\n - code_1\n - code_2\n - distance\n properties:\n code_1:\n type: string\n description: First ZIP/postal code in the pair.\n code_2:\n type: string\n description: Second ZIP/postal code in the pair.\n distance:\n type: number\n format: float\n description: Distance between the ZIP/postal code pair, in the unit specified by the unit field (default km).\n DistanceMatchRequest:\n type: object\n description: Request body specifying the codes, country, and distance threshold to match pairs within.\n required:\n - codes\n - country\n properties:\n codes:\n type: array\n description: List of ZIP or postal codes to find pairs within the specified distance. Maximum 100 codes.\n items:\n $ref: '#/components/schemas/DistanceMatchInputCode'\n country:\n type: string\n description: Country of the codes in ISO 3166-1 alpha-2 format. Required.\n distance:\n type: number\n format: float\n description: Maximum distance threshold. All pairs within this distance are returned. If omitted, the API applies a default threshold.\n unit:\n type: string\n enum:\n - km\n - mi\n - yd\n - m\n - ft\n - in\n default: km\n description: 'Distance unit. Default: km.'\n DistanceMatchInputCode:\n type: string\n description: A ZIP or postal code to find distance matches for.\n ErrorResponse:\n type: object\n description: Standard error envelope returned by the API on failed requests.\n required:\n - message\n properties:\n error:\n type: string\n description: Short error category or exception type.\n message:\n type: string\n description: Human-readable error message describing the failure.\n path:\n type: string\n description: API endpoint path that produced the error.\n status:\n type: integer\n description: HTTP status code returned with the error.\n timestamp:\n type: string\n format: date-time\n description: Timestamp when the error occurred (ISO 8601).\n headers:\n X-AF-Credits-Cost:\n description: Specifies the number of credits consumed by the current request.\n schema:\n type: integer\nsecurity:\n - ApiKeyAuthHeader: []\n - ApiKeyAuthQuery: []\n",