@apifreaks/openapi-specs 0.4.19 → 0.4.20

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -31104,7 +31104,7 @@ var bulk_screenshot_default = {
31104
31104
  info: {
31105
31105
  title: "Bulk Screenshot API - Capture Up to 50 URLs in a Single Request",
31106
31106
  version: "1.0.0",
31107
- 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.",
31107
+ 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.",
31108
31108
  contact: {
31109
31109
  name: "APIFreaks Support",
31110
31110
  url: "https://apifreaks.com/contact",
@@ -31159,6 +31159,23 @@ var bulk_screenshot_default = {
31159
31159
  }
31160
31160
  ]
31161
31161
  }
31162
+ },
31163
+ gifScrolling: {
31164
+ summary: "Scrolling GIF capture",
31165
+ value: {
31166
+ urls: [
31167
+ {
31168
+ url: "https://whoisfreaks.com/",
31169
+ file_type: "gif",
31170
+ width: 3840,
31171
+ height: 2160,
31172
+ fresh: true,
31173
+ image_quality: 100,
31174
+ scrolling_screenshot: true,
31175
+ duration: 10
31176
+ }
31177
+ ]
31178
+ }
31162
31179
  }
31163
31180
  }
31164
31181
  }
@@ -31464,6 +31481,38 @@ var bulk_screenshot_default = {
31464
31481
  }
31465
31482
  ]
31466
31483
  }
31484
+ },
31485
+ scrollingGif: {
31486
+ summary: "Scrolling GIF capture",
31487
+ value: {
31488
+ status: "success",
31489
+ meta_data: {
31490
+ total_urls: 1,
31491
+ successful_urls: 1,
31492
+ failed_urls: 0
31493
+ },
31494
+ results: [
31495
+ {
31496
+ url: {
31497
+ screenshot: "https://s3.eu-central-2.wasabisys.com/w.storage.apifreaks.com/whoisfreaks_com__a34071f0e507.gif",
31498
+ url: "https://whoisfreaks.com/",
31499
+ created_at: "2026-06-15T17:59:10.306Z",
31500
+ file_type: "gif",
31501
+ width: 3840,
31502
+ height: 2160,
31503
+ fresh: true,
31504
+ image_quality: 100,
31505
+ scrolling_screenshot: true,
31506
+ duration: 10,
31507
+ output: "json",
31508
+ ttl: "2026-07-15T17:58:43.853Z",
31509
+ sizes: null
31510
+ },
31511
+ status: "fulfilled",
31512
+ error_message: null
31513
+ }
31514
+ ]
31515
+ }
31467
31516
  }
31468
31517
  }
31469
31518
  }
@@ -31513,6 +31562,39 @@ var bulk_screenshot_default = {
31513
31562
  }
31514
31563
  }
31515
31564
  },
31565
+ "401": {
31566
+ description: "Unauthorized",
31567
+ content: {
31568
+ "application/json": {
31569
+ examples: {
31570
+ "401": {
31571
+ summary: "Unauthorized",
31572
+ value: {
31573
+ error: "API Access Exception",
31574
+ message: "Provided API key is invalid. [For Technical Support: support@apifreaks.com]",
31575
+ path: "/v1.0/screenshot",
31576
+ status: 401,
31577
+ timestamp: "2026-07-27T10:18:57.172Z"
31578
+ }
31579
+ }
31580
+ },
31581
+ schema: {
31582
+ $ref: "#/components/schemas/ErrorResponse"
31583
+ }
31584
+ }
31585
+ },
31586
+ headers: {
31587
+ "X-AF-Credits-Cost": {
31588
+ $ref: "#/components/headers/X-AF-Credits-Cost"
31589
+ },
31590
+ "X-Concurrent-Threads": {
31591
+ $ref: "#/components/headers/X-Concurrent-Threads"
31592
+ },
31593
+ "X-Concurrent-Threads-Active": {
31594
+ $ref: "#/components/headers/X-Concurrent-Threads-Active"
31595
+ }
31596
+ }
31597
+ },
31516
31598
  "413": {
31517
31599
  description: "Payload too large",
31518
31600
  content: {
@@ -31545,6 +31627,39 @@ var bulk_screenshot_default = {
31545
31627
  $ref: "#/components/headers/X-Concurrent-Threads-Active"
31546
31628
  }
31547
31629
  }
31630
+ },
31631
+ "500": {
31632
+ description: "Internal Server Error",
31633
+ content: {
31634
+ "application/json": {
31635
+ examples: {
31636
+ "500": {
31637
+ summary: "Internal server error",
31638
+ value: {
31639
+ error: "internal_server_error",
31640
+ message: "An internal server error occured while processing the request. Please try again or contact support if the issue persists.",
31641
+ path: "/v1.0/screenshot",
31642
+ status: 500,
31643
+ timestamp: "2026-07-27T10:18:57.172Z"
31644
+ }
31645
+ }
31646
+ },
31647
+ schema: {
31648
+ $ref: "#/components/schemas/ErrorResponse"
31649
+ }
31650
+ }
31651
+ },
31652
+ headers: {
31653
+ "X-AF-Credits-Cost": {
31654
+ $ref: "#/components/headers/X-AF-Credits-Cost"
31655
+ },
31656
+ "X-Concurrent-Threads": {
31657
+ $ref: "#/components/headers/X-Concurrent-Threads"
31658
+ },
31659
+ "X-Concurrent-Threads-Active": {
31660
+ $ref: "#/components/headers/X-Concurrent-Threads-Active"
31661
+ }
31662
+ }
31548
31663
  }
31549
31664
  }
31550
31665
  }
@@ -31573,7 +31688,7 @@ var bulk_screenshot_default = {
31573
31688
  properties: {
31574
31689
  status: {
31575
31690
  type: "string",
31576
- description: "Processing status for this item (fulfilled)."
31691
+ description: "Processing status of the individual URL. Usually `fulfilled`."
31577
31692
  },
31578
31693
  url: {
31579
31694
  description: "Screenshot metadata for this URL, or an error object if this specific URL could not be captured.",
@@ -31590,7 +31705,7 @@ var bulk_screenshot_default = {
31590
31705
  },
31591
31706
  error_message: {
31592
31707
  type: ["string", "null"],
31593
- description: "Observed to always be null; per-item error details are returned inside `url` instead."
31708
+ description: "Error message if processing failed, null if successful."
31594
31709
  }
31595
31710
  }
31596
31711
  },
@@ -31602,7 +31717,7 @@ var bulk_screenshot_default = {
31602
31717
  screenshot: {
31603
31718
  type: "string",
31604
31719
  format: "uri",
31605
- description: "URL of the captured screenshot image."
31720
+ description: "URL of the captured screenshot image file."
31606
31721
  },
31607
31722
  url: {
31608
31723
  type: "string",
@@ -31638,19 +31753,19 @@ var bulk_screenshot_default = {
31638
31753
  },
31639
31754
  enable_caching: {
31640
31755
  type: "boolean",
31641
- description: "Whether caching was enabled."
31756
+ description: "Whether caching was enabled (`true`/`false`)."
31642
31757
  },
31643
31758
  omit_background: {
31644
31759
  type: "boolean",
31645
- description: "Whether background was removed."
31760
+ description: "Whether background was removed (`true`/`false`)."
31646
31761
  },
31647
31762
  destroy_screenshot: {
31648
31763
  type: "boolean",
31649
- description: "Whether the screenshot was destroyed after generation."
31764
+ description: "Whether the screenshot was destroyed after generation (`true`/`false`)."
31650
31765
  },
31651
31766
  fail_on_error: {
31652
31767
  type: "boolean",
31653
- description: "Whether the request failed on error."
31768
+ description: "Whether the request failed on error (`true`/`false`)."
31654
31769
  },
31655
31770
  longitude: {
31656
31771
  type: "number",
@@ -31664,243 +31779,260 @@ var bulk_screenshot_default = {
31664
31779
  },
31665
31780
  proxy: {
31666
31781
  type: "string",
31667
- description: "The proxy configuration used."
31782
+ description: "The proxy configuration used for the request."
31668
31783
  },
31669
31784
  no_cookie_banners: {
31670
31785
  type: "boolean",
31671
- description: "Whether cookie banners were blocked."
31786
+ description: "Whether cookie banners were blocked (`true`/`false`)."
31672
31787
  },
31673
31788
  block_ads: {
31674
31789
  type: "boolean",
31675
- description: "Whether ads were blocked."
31790
+ description: "Whether ads were blocked (`true`/`false`)."
31676
31791
  },
31677
31792
  headers: {
31678
31793
  type: "string",
31679
- description: "Custom headers included in the request."
31794
+ description: "The custom headers that were included in the request."
31680
31795
  },
31681
31796
  cookies: {
31682
31797
  type: "string",
31683
- description: "Cookies included in the request."
31798
+ description: "The cookies that were included in the request."
31684
31799
  },
31685
31800
  scroll_to_element: {
31686
31801
  type: "string",
31687
- description: "Element scrolled to before rendering."
31802
+ description: "The element that was scrolled to before rendering."
31688
31803
  },
31689
31804
  selector: {
31690
31805
  type: "string",
31691
- description: "Element selected for rendering."
31806
+ description: "The element that was selected for rendering."
31692
31807
  },
31693
31808
  blur_selector: {
31694
31809
  type: "string",
31695
- description: "Elements blurred in the output."
31810
+ description: "The elements that were blurred in the output."
31696
31811
  },
31697
31812
  remove_selector: {
31698
31813
  type: "string",
31699
- description: "Elements removed from the output."
31814
+ description: "The elements that were removed from the output."
31700
31815
  },
31701
31816
  css: {
31702
31817
  type: "string",
31703
- description: "Custom CSS injected into the page."
31818
+ description: "The custom CSS that was injected into the page."
31704
31819
  },
31705
31820
  css_url: {
31706
31821
  type: "string",
31707
31822
  format: "uri",
31708
- description: "External CSS URL that was loaded."
31823
+ description: "The external CSS URL that was loaded."
31709
31824
  },
31710
31825
  js: {
31711
31826
  type: "string",
31712
- description: "Custom JavaScript that was injected."
31827
+ description: "The custom JavaScript that was injected."
31713
31828
  },
31714
31829
  js_url: {
31715
31830
  type: "string",
31716
31831
  format: "uri",
31717
- description: "External JavaScript URL that was loaded."
31832
+ description: "The external JavaScript URL that was loaded."
31718
31833
  },
31719
31834
  user_agent: {
31720
31835
  type: "string",
31721
- description: "User-Agent string that was used."
31836
+ description: "The User-Agent string that was used."
31722
31837
  },
31723
31838
  accept_languages: {
31724
31839
  type: "string",
31725
- description: "Accept-Language header that was used."
31840
+ description: "The Accept-Language header that was used."
31726
31841
  },
31727
31842
  delay: {
31728
31843
  type: "integer",
31729
- description: "Delay duration in milliseconds."
31844
+ description: "The delay duration that was applied in milliseconds."
31730
31845
  },
31731
31846
  thumbnail_width: {
31732
31847
  type: "integer",
31733
- description: "Thumbnail width in pixels."
31848
+ description: "The thumbnail width that was used in pixels."
31734
31849
  },
31735
31850
  output: {
31736
31851
  type: "string",
31737
- description: "Output type used."
31852
+ description: "The output type that was used."
31738
31853
  },
31739
31854
  fresh: {
31740
31855
  type: "boolean",
31741
- description: "Whether a fresh render was performed."
31856
+ description: "Whether a fresh render was performed (`true`/`false`)."
31742
31857
  },
31743
31858
  lazy_load: {
31744
31859
  type: "boolean",
31745
- description: "Whether lazy loading was triggered."
31860
+ description: "Whether lazy loading was triggered (`true`/`false`)."
31746
31861
  },
31747
31862
  full_page: {
31748
31863
  type: "boolean",
31749
- description: "Whether full page capture was used."
31864
+ description: "Whether full page capture was used (`true`/`false`)."
31750
31865
  },
31751
31866
  retina: {
31752
31867
  type: "boolean",
31753
- description: "Whether retina capture was used."
31868
+ description: "Whether retina capture was used (`true`/`false`)."
31754
31869
  },
31755
31870
  height: {
31756
31871
  type: "integer",
31757
- description: "Viewport height used in pixels."
31872
+ description: "The viewport height that was used in pixels."
31758
31873
  },
31759
31874
  width: {
31760
31875
  type: "integer",
31761
- description: "Viewport width used in pixels."
31876
+ description: "The viewport width that was used in pixels."
31762
31877
  },
31763
31878
  custom_html: {
31764
31879
  type: "string",
31765
- description: "Custom HTML content rendered."
31880
+ description: "The custom HTML content that was rendered."
31766
31881
  },
31767
31882
  block_chat_widgets: {
31768
31883
  type: "boolean",
31769
- description: "Whether chat widgets were blocked."
31884
+ description: "Whether chat widgets were blocked (`true`/`false`)."
31770
31885
  },
31771
31886
  block_js: {
31772
31887
  type: "boolean",
31773
- description: "Whether JavaScript was blocked."
31888
+ description: "Whether JavaScript was blocked (`true`/`false`)."
31774
31889
  },
31775
31890
  block_stylesheets: {
31776
31891
  type: "boolean",
31777
- description: "Whether stylesheets were blocked."
31892
+ description: "Whether stylesheets were blocked (`true`/`false`)."
31778
31893
  },
31779
31894
  block_images: {
31780
31895
  type: "boolean",
31781
- description: "Whether images were blocked."
31896
+ description: "Whether images were blocked (`true`/`false`)."
31782
31897
  },
31783
31898
  block_media: {
31784
31899
  type: "boolean",
31785
- description: "Whether media files were blocked."
31900
+ description: "Whether media files were blocked (`true`/`false`)."
31786
31901
  },
31787
31902
  block_font: {
31788
31903
  type: "boolean",
31789
- description: "Whether fonts were blocked."
31904
+ description: "Whether fonts were blocked (`true`/`false`)."
31790
31905
  },
31791
31906
  block_text_track: {
31792
31907
  type: "boolean",
31793
- description: "Whether text tracks were blocked."
31908
+ description: "Whether text tracks were blocked (`true`/`false`)."
31794
31909
  },
31795
31910
  block_xhr: {
31796
31911
  type: "boolean",
31797
- description: "Whether XHR requests were blocked."
31912
+ description: "Whether XHR requests were blocked (`true`/`false`)."
31798
31913
  },
31799
31914
  block_fetch: {
31800
31915
  type: "boolean",
31801
- description: "Whether Fetch API requests were blocked."
31916
+ description: "Whether Fetch API requests were blocked (`true`/`false`)."
31802
31917
  },
31803
31918
  block_event_source: {
31804
31919
  type: "boolean",
31805
- description: "Whether EventSource connections were blocked."
31920
+ description: "Whether EventSource connections were blocked (`true`/`false`)."
31806
31921
  },
31807
31922
  block_web_socket: {
31808
31923
  type: "boolean",
31809
- description: "Whether WebSocket connections were blocked."
31924
+ description: "Whether WebSocket connections were blocked (`true`/`false`)."
31810
31925
  },
31811
31926
  block_manifest: {
31812
31927
  type: "boolean",
31813
- description: "Whether manifest files were blocked."
31928
+ description: "Whether manifest files were blocked (`true`/`false`)."
31814
31929
  },
31815
31930
  block_specific_requests: {
31816
31931
  type: "string",
31817
- description: "Specific requests that were blocked."
31932
+ description: "The specific requests that were blocked."
31818
31933
  },
31819
31934
  adjust_top: {
31820
31935
  type: "integer",
31821
- description: "Vertical position scrolled to in pixels."
31936
+ description: "The vertical position that was scrolled to in pixels."
31822
31937
  },
31823
31938
  image_quality: {
31824
31939
  type: "integer",
31825
- description: "Image quality level applied."
31940
+ description: "The image quality level that was applied."
31826
31941
  },
31827
31942
  extract_html: {
31828
31943
  type: "boolean",
31829
- description: "Whether HTML content was extracted."
31944
+ description: "Whether HTML content was extracted (`true`/`false`)."
31830
31945
  },
31831
31946
  extract_text: {
31832
31947
  type: "boolean",
31833
- description: "Whether text content was extracted."
31948
+ description: "Whether text content was extracted (`true`/`false`)."
31834
31949
  },
31835
31950
  dark_mode: {
31836
31951
  type: "boolean",
31837
- description: "Whether dark mode was enabled."
31952
+ description: "Whether dark mode was enabled (`true`/`false`)."
31838
31953
  },
31839
31954
  block_tracking: {
31840
31955
  type: "boolean",
31841
- description: "Whether tracking scripts were blocked."
31956
+ description: "Whether tracking scripts were blocked (`true`/`false`)."
31842
31957
  },
31843
31958
  wait_for_event: {
31844
31959
  type: "string",
31845
- description: "The event that triggered rendering."
31960
+ description: "The event that triggered the rendering to start."
31846
31961
  },
31847
31962
  grayscale: {
31848
31963
  type: "integer",
31849
- description: "Grayscale level applied (0-100)."
31964
+ description: "The grayscale level that was applied (0-100)."
31850
31965
  },
31851
31966
  clip: {
31852
- $ref: "#/components/schemas/ClipRect"
31967
+ $ref: "#/components/schemas/ClipRect",
31968
+ description: "The dimensions of the clipped area that was captured."
31853
31969
  },
31854
31970
  result_file_name: {
31855
31971
  type: "string",
31856
- description: "Final filename used for the output."
31972
+ description: "The final filename used for the output file."
31857
31973
  },
31858
31974
  enable_incognito: {
31859
31975
  type: "boolean",
31860
- description: "Whether incognito mode was enabled."
31976
+ description: "Whether incognito mode was enabled (`true`/`false`)."
31861
31977
  },
31862
31978
  timeout: {
31863
31979
  type: "integer",
31864
- description: "Actual timeout duration in milliseconds."
31980
+ description: "The actual timeout duration that was applied in milliseconds."
31865
31981
  },
31866
31982
  scrolling_screenshot: {
31867
31983
  type: "boolean",
31868
- description: "Whether scrolling screenshot mode was enabled."
31984
+ description: "Whether scrolling screenshot mode was enabled (`true`/`false`)."
31869
31985
  },
31870
31986
  multiple_scrolling: {
31871
31987
  type: "boolean",
31872
- description: "Whether multiple scrolling captures were performed."
31988
+ description: "Whether multiple scrolling captures were performed (`true`/`false`)."
31873
31989
  },
31874
31990
  sizes: {
31875
31991
  type: "array",
31876
31992
  items: {
31877
31993
  type: "string"
31878
31994
  },
31879
- description: "Dimensions used for each capture."
31995
+ description: "The dimensions used for each capture in the array."
31880
31996
  },
31881
31997
  extract_markdown: {
31882
31998
  type: "boolean",
31883
- description: "Whether markdown extraction was enabled."
31999
+ description: "Whether markdown extraction was enabled (`true`/`false`)."
31884
32000
  },
31885
32001
  get_image_urls: {
31886
32002
  type: "boolean",
31887
- description: "Whether image URL extraction was enabled."
32003
+ description: "Whether image URL extraction was enabled (`true`/`false`)."
31888
32004
  },
31889
32005
  scroll_delay: {
31890
32006
  type: "integer",
31891
- description: "Delay between scroll steps in milliseconds."
32007
+ description: "The delay between scroll steps that was applied in milliseconds."
31892
32008
  },
31893
32009
  selector_to_click: {
31894
32010
  type: "string",
31895
- description: "CSS selector clicked before capture."
32011
+ description: "The CSS selector of the element that was clicked before capture."
31896
32012
  },
31897
32013
  click_recursion: {
31898
32014
  type: "integer",
31899
- description: "Number of times the selector was clicked."
32015
+ description: "The number of times the selector was clicked."
31900
32016
  },
31901
32017
  video: {
31902
32018
  type: "boolean",
31903
- description: "Whether viewport recording mode was enabled."
32019
+ description: "Whether viewport recording mode was enabled (`true`/`false`)."
32020
+ },
32021
+ scroll_speed: {
32022
+ type: "string",
32023
+ description: "Scrolling speed that was used."
32024
+ },
32025
+ scroll_back: {
32026
+ type: "boolean",
32027
+ description: "Whether scroll back was enabled."
32028
+ },
32029
+ start_immediately: {
32030
+ type: "boolean",
32031
+ description: "Whether recording started immediately."
32032
+ },
32033
+ duration: {
32034
+ type: "integer",
32035
+ description: "Duration of scrolling capture in seconds."
31904
32036
  }
31905
32037
  }
31906
32038
  },
@@ -31950,307 +32082,480 @@ var bulk_screenshot_default = {
31950
32082
  url: {
31951
32083
  type: "string",
31952
32084
  format: "uri",
31953
- description: "URL of the website to capture."
32085
+ description: "URL of the website to be rendered as a screenshot or other format."
31954
32086
  },
31955
32087
  file_type: {
31956
32088
  type: "string",
31957
- enum: ["PNG", "JPEG", "WEBP", "PDF", "mp4", "gif", "webm"],
31958
- description: "Output format for this URL."
31959
- },
31960
- width: {
31961
- type: "integer",
31962
- description: "Viewport width in pixels."
32089
+ enum: [
32090
+ "PNG",
32091
+ "JPEG",
32092
+ "WEBP",
32093
+ "PDF",
32094
+ "MP4",
32095
+ "GIF",
32096
+ "WEBM",
32097
+ "mp4",
32098
+ "gif",
32099
+ "webm"
32100
+ ],
32101
+ 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).",
32102
+ default: "PNG"
31963
32103
  },
31964
- height: {
32104
+ image_quality: {
31965
32105
  type: "integer",
31966
- description: "Viewport height in pixels."
31967
- },
31968
- full_page: {
31969
- type: "boolean",
31970
- description: "Capture a full-page screenshot."
32106
+ description: "Compression level for JPEG output (0-100). Lower = smaller file, higher = better quality. Only applies to JPEG.",
32107
+ default: 80
31971
32108
  },
31972
- fresh: {
32109
+ omit_background: {
31973
32110
  type: "boolean",
31974
- description: "Bypass cache."
32111
+ description: "Replaces simple white/plain backgrounds with transparency for a cut-out effect. Only works with PNG output.",
32112
+ default: false
31975
32113
  },
31976
- no_cookie_banners: {
31977
- type: "boolean",
31978
- description: "Remove cookie banners."
32114
+ pdf_options: {
32115
+ type: "object",
32116
+ description: "PDF output options. Applies when file_type is PDF.",
32117
+ properties: {
32118
+ format: {
32119
+ type: "string",
32120
+ enum: [
32121
+ "A0",
32122
+ "A1",
32123
+ "A2",
32124
+ "A3",
32125
+ "A4",
32126
+ "A5",
32127
+ "A6",
32128
+ "Letter",
32129
+ "Legal",
32130
+ "Tabloid",
32131
+ "Ledger"
32132
+ ],
32133
+ 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."
32134
+ },
32135
+ landscape: {
32136
+ type: "boolean",
32137
+ description: "Renders the PDF in landscape orientation, swapping the width and height of the paper size. Applies when file_type is PDF.",
32138
+ default: false
32139
+ },
32140
+ page_range: {
32141
+ type: "string",
32142
+ 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."
32143
+ },
32144
+ media: {
32145
+ type: "string",
32146
+ enum: ["print", "screen"],
32147
+ description: "CSS media type used to render the PDF: print or screen."
32148
+ },
32149
+ print_background: {
32150
+ type: "boolean",
32151
+ description: "Includes background colors and images in the PDF. Applies when file_type is PDF.",
32152
+ default: false
32153
+ }
32154
+ }
31979
32155
  },
31980
- enable_caching: {
31981
- type: "boolean",
31982
- description: "Enable caching."
32156
+ result_file_name: {
32157
+ type: "string",
32158
+ description: "Custom name for the output file. Helps with organized storage and retrieval. Note: non-unique names may overwrite existing files."
31983
32159
  },
31984
- block_ads: {
31985
- type: "boolean",
31986
- description: "Block ads."
32160
+ ttl: {
32161
+ type: "integer",
32162
+ 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).",
32163
+ default: 2592e3
31987
32164
  },
31988
- block_chat_widgets: {
32165
+ fresh: {
31989
32166
  type: "boolean",
31990
- description: "Block chat widgets."
32167
+ description: "If `true`, bypasses cache and captures a fresh render. If `false`, returns cached version when available.",
32168
+ default: true
31991
32169
  },
31992
- extract_text: {
32170
+ enable_caching: {
31993
32171
  type: "boolean",
31994
- description: "Extract visible text."
32172
+ description: "Stores the render in cache for reuse on subsequent identical requests.",
32173
+ default: false
31995
32174
  },
31996
- extract_html: {
32175
+ destroy_screenshot: {
31997
32176
  type: "boolean",
31998
- description: "Extract HTML."
32177
+ description: "If `true`, screenshot/PDF is not stored on server and must be downloaded immediately.",
32178
+ default: false
31999
32179
  },
32000
- extract_markdown: {
32180
+ fail_on_error: {
32001
32181
  type: "boolean",
32002
- description: "Extract markdown."
32182
+ description: "If `true`, returns an error when the target page responds with 4xx or 5xx status.",
32183
+ default: false
32003
32184
  },
32004
- get_image_urls: {
32005
- type: "boolean",
32006
- description: "Extract image URLs."
32185
+ width: {
32186
+ type: "integer",
32187
+ description: "Viewport width in pixels. Simulates device screen sizes. Max: 7680.",
32188
+ default: 1680
32007
32189
  },
32008
- destroy_screenshot: {
32009
- type: "boolean",
32010
- description: "Auto-destroy after fetch."
32190
+ height: {
32191
+ type: "integer",
32192
+ description: "Viewport height in pixels. Controls how much vertical area is visible. Max: 4320.",
32193
+ default: 867
32011
32194
  },
32012
- lazy_load: {
32195
+ full_page: {
32013
32196
  type: "boolean",
32014
- description: "Lazy-load content."
32197
+ description: "Captures the entire webpage from top to bottom, including scrollable content outside the viewport. Ideal for long-form pages.",
32198
+ default: false
32015
32199
  },
32016
- scroll_delay: {
32200
+ thumbnail_width: {
32017
32201
  type: "integer",
32018
- description: "Delay in ms between scroll steps."
32202
+ 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)."
32019
32203
  },
32020
32204
  retina: {
32021
32205
  type: "boolean",
32022
- description: "2x resolution."
32023
- },
32024
- dark_mode: {
32025
- type: "boolean",
32026
- description: "Dark mode."
32206
+ description: "Captures at 2x resolution for sharper, high-DPI output. Increases file size.",
32207
+ default: false
32027
32208
  },
32028
- block_tracking: {
32029
- type: "boolean",
32030
- description: "Block tracking."
32209
+ "clip[x]": {
32210
+ type: "integer",
32211
+ description: "X coordinate (in pixels) for the top-left corner of the clip area. Default: null."
32031
32212
  },
32032
- enable_incognito: {
32033
- type: "boolean",
32034
- description: "Incognito mode."
32213
+ "clip[y]": {
32214
+ type: "integer",
32215
+ description: "Y coordinate (in pixels) for the top-left corner of the clip area. Default: null."
32035
32216
  },
32036
- omit_background: {
32037
- type: "boolean",
32038
- description: "Transparent background."
32217
+ "clip[width]": {
32218
+ type: "integer",
32219
+ description: "Width of the clip area in pixels. Default: null."
32039
32220
  },
32040
- thumbnail_width: {
32221
+ "clip[height]": {
32041
32222
  type: "integer",
32042
- description: "Thumbnail width."
32223
+ description: "Height of the clip area in pixels. Default: null."
32043
32224
  },
32044
32225
  adjust_top: {
32045
32226
  type: "integer",
32046
- description: "Vertical scroll position."
32227
+ description: "Initial vertical scroll position in pixels before capture. Use to position mid-page content in viewport. Not supported for PDF.",
32228
+ default: 0
32047
32229
  },
32048
32230
  wait_for_event: {
32049
32231
  type: "string",
32050
32232
  enum: ["load", "domcontentloaded", "networkidle"],
32051
- description: "Wait for event."
32052
- },
32053
- grayscale: {
32054
- type: "integer",
32055
- description: "Grayscale (0-100)."
32233
+ description: "Controls when rendering starts based on page load lifecycle. `load` (all resources), `domcontentloaded` (HTML parsed), `networkidle` (no network activity for 500ms).",
32234
+ default: "load"
32056
32235
  },
32057
32236
  delay: {
32058
32237
  type: "integer",
32059
- description: "Delay in ms."
32238
+ description: "Wait period in milliseconds before capture. Allows animations, API responses, and dynamic elements to finish rendering.",
32239
+ default: 0
32060
32240
  },
32061
- timeout: {
32062
- type: "integer",
32063
- description: "Timeout in ms."
32241
+ lazy_load: {
32242
+ type: "boolean",
32243
+ description: "Automatically scrolls the page to trigger lazy-loaded images and components. Ensures complete content capture.",
32244
+ default: false
32064
32245
  },
32065
- ttl: {
32246
+ scroll_delay: {
32066
32247
  type: "integer",
32067
- description: "Cache TTL in seconds."
32248
+ description: "Delay in milliseconds between scroll steps when `lazy_load` is enabled. Use higher values for heavy pages.",
32249
+ default: 500
32068
32250
  },
32069
- image_quality: {
32251
+ timeout: {
32070
32252
  type: "integer",
32071
- description: "JPEG quality (0-100)."
32253
+ description: "Maximum wait in milliseconds for page load before aborting. Adjust for slow/heavy pages. Default: 100000 (100s).",
32254
+ default: 1e5
32072
32255
  },
32073
- "clip[x]": {
32074
- type: "integer",
32075
- description: "Clip X."
32256
+ selector: {
32257
+ type: "string",
32258
+ description: "CSS selector to capture a specific element. Only that element is rendered. Falls back to full page if not found. Default: empty."
32076
32259
  },
32077
- "clip[y]": {
32078
- type: "integer",
32079
- description: "Clip Y."
32260
+ scroll_to_element: {
32261
+ type: "string",
32262
+ description: "Scrolls the page to bring the specified CSS selector into view before capture. Ideal for below-the-fold content. Default: empty."
32080
32263
  },
32081
- "clip[width]": {
32082
- type: "integer",
32083
- description: "Clip width."
32264
+ selector_to_click: {
32265
+ type: "string",
32266
+ description: "CSS selector for an element to click before capturing the screenshot. Useful for opening dropdowns, modals, or triggering content."
32084
32267
  },
32085
- "clip[height]": {
32268
+ click_recursion: {
32086
32269
  type: "integer",
32087
- description: "Clip height."
32270
+ description: "Number of times to click the selector (when set via `selector_to_click`).",
32271
+ default: 1
32088
32272
  },
32089
- css_url: {
32273
+ blur_selector: {
32274
+ type: "string",
32275
+ description: "CSS selectors to blur before capture. Masks sensitive data like emails, payments, or personal info. Multiple selectors supported. Default: empty."
32276
+ },
32277
+ remove_selector: {
32090
32278
  type: "string",
32091
- description: "CSS file URL."
32279
+ description: "CSS selectors to remove before capture. Deletes matched elements from DOM. Ideal for cleaning ads, popups, sidebars. Multiple selectors supported. Default: empty."
32092
32280
  },
32093
32281
  css: {
32094
32282
  type: "string",
32095
- description: "Custom CSS."
32283
+ description: "Allows injecting custom CSS code into the page before rendering. Pass the CSS code directly as a string."
32096
32284
  },
32097
- js_url: {
32285
+ css_url: {
32098
32286
  type: "string",
32099
- description: "JS file URL."
32287
+ description: "Allows loading external CSS into the page. Provide a URL pointing to the CSS file."
32100
32288
  },
32101
32289
  js: {
32102
32290
  type: "string",
32103
- description: "Custom JS."
32291
+ description: "Allows injecting custom JavaScript code into the page before rendering. Pass the JavaScript code directly as a string."
32104
32292
  },
32105
- block_js: {
32106
- type: "boolean",
32107
- description: "Block JS."
32293
+ js_url: {
32294
+ type: "string",
32295
+ description: "Allows loading external JavaScript into the page. Provide a URL pointing to the script file."
32108
32296
  },
32109
- block_stylesheets: {
32110
- type: "boolean",
32111
- description: "Block stylesheets."
32297
+ custom_html: {
32298
+ type: "string",
32299
+ description: "Custom HTML to render instead of loading a URL. Overrides the url option. Use for capturing specific HTML structures or dynamic content."
32112
32300
  },
32113
- block_images: {
32114
- type: "boolean",
32115
- description: "Block images."
32301
+ markdown: {
32302
+ type: "string",
32303
+ 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."
32116
32304
  },
32117
- block_media: {
32118
- type: "boolean",
32119
- description: "Block media."
32305
+ user_agent: {
32306
+ type: "string",
32307
+ description: "Custom User-Agent string sent in the request headers."
32120
32308
  },
32121
- block_font: {
32122
- type: "boolean",
32123
- description: "Block fonts."
32309
+ accept_languages: {
32310
+ type: "string",
32311
+ description: "Sets the accepted languages for the HTTP request. This is sent as the Accept-Language header.",
32312
+ default: "en-US,en;q=0.8"
32124
32313
  },
32125
- block_text_track: {
32314
+ dark_mode: {
32126
32315
  type: "boolean",
32127
- description: "Block text tracks."
32316
+ description: "When set to `true`, websites that support prefers-color-scheme: dark will render in dark mode.",
32317
+ default: false
32318
+ },
32319
+ grayscale: {
32320
+ type: "integer",
32321
+ description: "Applies a grayscale filter to the screenshot. Requires a value from 0 (no effect) to 100 (fully grayscale).",
32322
+ default: 0
32323
+ },
32324
+ enable_incognito: {
32325
+ type: "boolean",
32326
+ description: "Enables private/incognito browsing. Each render starts with a clean slate - no cookies, cache, or session data persisted.",
32327
+ default: false
32328
+ },
32329
+ headers: {
32330
+ type: "string",
32331
+ description: "Custom HTTP headers to include as key=value pairs. Use a semicolon to separate multiple headers (e.g., `key1=value1;key2=value2`)."
32332
+ },
32333
+ cookies: {
32334
+ type: "string",
32335
+ description: "Cookies to include in the request before rendering. Supports single or multiple cookies. Example: `cookie=value; otherCookie=otherValue;`."
32336
+ },
32337
+ longitude: {
32338
+ type: "number",
32339
+ format: "float",
32340
+ description: "Specify longitude for the browser Geolocation API. Provide a numeric value. Default: null (not set)."
32341
+ },
32342
+ latitude: {
32343
+ type: "number",
32344
+ format: "float",
32345
+ description: "Specify latitude for the browser Geolocation API. Provide a numeric value. Default: null (not set)."
32346
+ },
32347
+ timezone: {
32348
+ type: "string",
32349
+ description: "IANA timezone the browser uses while rendering, such as Asia/Karachi or Europe/London. Useful for clocks and localized dates."
32350
+ },
32351
+ block_ads: {
32352
+ type: "boolean",
32353
+ description: "Blocks requests to known ad networks for cleaner, distraction-free screenshots.",
32354
+ default: false
32355
+ },
32356
+ block_chat_widgets: {
32357
+ type: "boolean",
32358
+ description: "Blocks live chat popups, support bubbles, and messaging interfaces.",
32359
+ default: false
32360
+ },
32361
+ block_tracking: {
32362
+ type: "boolean",
32363
+ description: "Blocks tracking scripts and analytics services for cleaner, privacy-oriented renders.",
32364
+ default: false
32365
+ },
32366
+ no_cookie_banners: {
32367
+ type: "boolean",
32368
+ description: "Hides or blocks cookie consent banners and popups before capture.",
32369
+ default: false
32370
+ },
32371
+ block_js: {
32372
+ type: "boolean",
32373
+ description: "Disables all JavaScript execution. Renders a static version of the page. Speeds up capture but may break dynamic content.",
32374
+ default: false
32375
+ },
32376
+ block_stylesheets: {
32377
+ type: "boolean",
32378
+ description: "Blocks all stylesheets - page renders as raw HTML without visual formatting.",
32379
+ default: false
32380
+ },
32381
+ block_images: {
32382
+ type: "boolean",
32383
+ description: "Blocks all image resources (jpg, png, gif, webp, svg, etc.) for faster rendering.",
32384
+ default: false
32385
+ },
32386
+ block_media: {
32387
+ type: "boolean",
32388
+ description: "Blocks audio and video resources (mp3, mp4, webm, etc.) from loading.",
32389
+ default: false
32390
+ },
32391
+ block_font: {
32392
+ type: "boolean",
32393
+ description: "Blocks external font files - page falls back to system defaults. Supported: woff, woff2, ttf, otf, eot.",
32394
+ default: false
32395
+ },
32396
+ block_text_track: {
32397
+ type: "boolean",
32398
+ description: "Blocks subtitles and caption overlays from loading.",
32399
+ default: false
32128
32400
  },
32129
32401
  block_xhr: {
32130
32402
  type: "boolean",
32131
- description: "Block XHR."
32403
+ description: "Blocks all XMLHttpRequest (AJAX) calls - prevents dynamic API-driven content.",
32404
+ default: false
32132
32405
  },
32133
32406
  block_fetch: {
32134
32407
  type: "boolean",
32135
- description: "Block Fetch."
32408
+ description: "Blocks all Fetch API requests - stops async data loading.",
32409
+ default: false
32136
32410
  },
32137
32411
  block_event_source: {
32138
32412
  type: "boolean",
32139
- description: "Block EventSource."
32413
+ description: "Blocks EventSource (SSE) connections - prevents real-time data streams.",
32414
+ default: false
32140
32415
  },
32141
32416
  block_web_socket: {
32142
32417
  type: "boolean",
32143
- description: "Block WebSocket."
32418
+ description: "Blocks WebSocket connections - prevents real-time bidirectional communication.",
32419
+ default: false
32144
32420
  },
32145
32421
  block_manifest: {
32146
32422
  type: "boolean",
32147
- description: "Block manifest."
32423
+ description: "Blocks manifest files (.json, .webmanifest) - disables PWA-related functionality.",
32424
+ default: false
32148
32425
  },
32149
32426
  block_specific_requests: {
32150
32427
  type: "string",
32151
- description: "Specific requests to block."
32428
+ description: "Fine-grained blocking of specific URLs or patterns. Separate multiple rules by comma, space, or newline. Default: empty."
32152
32429
  },
32153
- blur_selector: {
32154
- type: "string",
32155
- description: "CSS selectors to blur."
32430
+ extract_text: {
32431
+ type: "boolean",
32432
+ description: "Strips all HTML and returns visible text as a .txt file. Ideal for text analysis, indexing, or AI pipelines. Only with output=json.",
32433
+ default: false
32156
32434
  },
32157
- remove_selector: {
32158
- type: "string",
32159
- description: "CSS selectors to remove."
32435
+ extract_html: {
32436
+ type: "boolean",
32437
+ description: "Returns rendered HTML as a .html file (includes JS-executed DOM). Only available with output=json.",
32438
+ default: false
32160
32439
  },
32161
- scroll_to_element: {
32162
- type: "string",
32163
- description: "Element to scroll to."
32440
+ extract_markdown: {
32441
+ type: "boolean",
32442
+ description: "Extracts rendered page content as a structured .md (Markdown) file. Preserves headings, lists, links. Only with output=json.",
32443
+ default: false
32164
32444
  },
32165
- selector: {
32166
- type: "string",
32167
- description: "CSS selector to capture."
32445
+ get_image_urls: {
32446
+ type: "boolean",
32447
+ description: "Extracts all image URLs from the rendered DOM and returns them in structured format. Only with output=json.",
32448
+ default: false
32168
32449
  },
32169
- selector_to_click: {
32170
- type: "string",
32171
- description: "Element to click."
32450
+ stealth: {
32451
+ type: "boolean",
32452
+ description: "Makes the browser look like a regular visitor for pages that block automated traffic. No extra credits.",
32453
+ default: false
32172
32454
  },
32173
- click_recursion: {
32174
- type: "integer",
32175
- description: "Click count."
32455
+ gpu: {
32456
+ type: "boolean",
32457
+ description: "Renders the page with a GPU, including WebGL and canvas content. Adds 20 credits per request.",
32458
+ default: false
32176
32459
  },
32177
- result_file_name: {
32460
+ proxy: {
32178
32461
  type: "string",
32179
- description: "Custom filename."
32462
+ description: "Allows defining a proxy for the connection. Provide a JSON string with keys: server (include port number), username, and password."
32180
32463
  },
32181
- user_agent: {
32182
- type: "string",
32183
- description: "Custom User-Agent."
32464
+ classic_proxy: {
32465
+ type: "boolean",
32466
+ 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.",
32467
+ default: false
32184
32468
  },
32185
- accept_languages: {
32469
+ premium_proxy: {
32470
+ type: "boolean",
32471
+ description: "Loads the page through a residential proxy. Adds 200 credits per request. Used instead of classic_proxy.",
32472
+ default: false
32473
+ },
32474
+ country: {
32186
32475
  type: "string",
32187
- description: "Accept-Language."
32476
+ 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."
32188
32477
  },
32189
- proxy: {
32478
+ solve_captcha: {
32479
+ type: "boolean",
32480
+ 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.",
32481
+ default: false
32482
+ },
32483
+ captcha_image: {
32190
32484
  type: "string",
32191
- description: "Proxy config."
32485
+ description: "CSS selector of the captcha picture. Required when solve_captcha is true."
32192
32486
  },
32193
- headers: {
32487
+ captcha_input: {
32194
32488
  type: "string",
32195
- description: "Custom headers."
32489
+ description: "CSS selector of the box the answer is typed into. Required when solve_captcha is true."
32196
32490
  },
32197
- cookies: {
32491
+ captcha_submit: {
32198
32492
  type: "string",
32199
- description: "Cookies."
32493
+ description: "CSS selector of the button to click after the answer is typed."
32200
32494
  },
32201
- custom_html: {
32495
+ captcha_error: {
32202
32496
  type: "string",
32203
- description: "Custom HTML."
32497
+ description: "CSS selector of the message shown for a wrong answer. While it is visible, the solver tries again."
32204
32498
  },
32205
- fail_on_error: {
32206
- type: "boolean",
32207
- description: "Fail on 4xx/5xx."
32499
+ captcha_refresh: {
32500
+ type: "string",
32501
+ description: "CSS selector of the control that loads a new captcha picture before the next try."
32208
32502
  },
32209
- longitude: {
32210
- type: "number",
32211
- format: "float",
32212
- description: "Geolocation longitude."
32503
+ captcha_retries: {
32504
+ type: "integer",
32505
+ minimum: 1,
32506
+ maximum: 5,
32507
+ default: 3,
32508
+ description: "Number of guesses the solver makes, from 1 to 5."
32213
32509
  },
32214
- latitude: {
32215
- type: "number",
32216
- format: "float",
32217
- description: "Geolocation latitude."
32510
+ ocr_model: {
32511
+ type: "string",
32512
+ enum: ["mini-ocr-v1", "ocr-v1"],
32513
+ default: "mini-ocr-v1",
32514
+ description: "Recognition model used by the captcha solver: mini-ocr-v1 (default) or ocr-v1."
32218
32515
  },
32219
32516
  scrolling_screenshot: {
32220
32517
  type: "boolean",
32221
- description: "Scrolling mode."
32518
+ description: "Enables scrolling screenshot mode to capture a video (webm, gif, mp4) of the webpage.",
32519
+ default: false
32222
32520
  },
32223
32521
  scroll_speed: {
32224
32522
  type: "string",
32225
32523
  enum: ["normal", "fast", "slow"],
32226
- description: "Scroll speed."
32524
+ description: "Scrolling speed: fast, normal (default), or slow. Affects render time and output pacing.",
32525
+ default: "normal"
32227
32526
  },
32228
32527
  duration: {
32229
- type: "number",
32230
- description: "Duration in seconds."
32528
+ type: "integer",
32529
+ description: "Duration of scrolling action in seconds (0-60). Higher = longer video. Default: null (full page scroll).",
32530
+ minimum: 0,
32531
+ maximum: 60
32231
32532
  },
32232
32533
  scroll_back: {
32233
32534
  type: "boolean",
32234
- description: "Scroll back."
32535
+ description: "If `true`, scrolls to bottom then back to top, creating a seamless loop.",
32536
+ default: false
32235
32537
  },
32236
32538
  start_immediately: {
32237
32539
  type: "boolean",
32238
- description: "Start immediately."
32540
+ description: "Starts recording immediately without waiting for full page load.",
32541
+ default: false
32239
32542
  },
32240
- multiple_scrolling: {
32543
+ video: {
32241
32544
  type: "boolean",
32242
- description: "Multiple scrolling."
32545
+ description: "Records visible viewport only for a specified duration. Use with `duration` parameter. Ideal for dashboards and animations.",
32546
+ default: false
32243
32547
  },
32244
- sizes: {
32245
- type: "array",
32246
- items: {
32247
- type: "string"
32248
- },
32249
- description: "Viewport sizes."
32548
+ output: {
32549
+ type: "string",
32550
+ enum: ["json", "image"],
32551
+ default: "json",
32552
+ description: "Set the output format. `json` returns metadata with a hosted file URL. `image` streams the raw file bytes directly."
32250
32553
  },
32251
- video: {
32252
- type: "boolean",
32253
- description: "Video recording."
32554
+ format: {
32555
+ type: "string",
32556
+ enum: ["json"],
32557
+ default: "json",
32558
+ description: "Response format: json (default)."
32254
32559
  }
32255
32560
  }
32256
32561
  },
@@ -32261,11 +32566,11 @@ var bulk_screenshot_default = {
32261
32566
  properties: {
32262
32567
  total_urls: {
32263
32568
  type: "integer",
32264
- description: "Total number of URLs processed."
32569
+ description: "Total number of URLs processed in the bulk request."
32265
32570
  },
32266
32571
  successful_urls: {
32267
32572
  type: "integer",
32268
- description: "Number of URLs successfully processed."
32573
+ description: "Number of URLs that were successfully processed."
32269
32574
  },
32270
32575
  failed_urls: {
32271
32576
  type: "integer",
@@ -32280,7 +32585,7 @@ var bulk_screenshot_default = {
32280
32585
  properties: {
32281
32586
  status: {
32282
32587
  type: "string",
32283
- description: "API request status indicator (success)."
32588
+ description: "API request status indicator. `success` for successful requests."
32284
32589
  },
32285
32590
  meta_data: {
32286
32591
  $ref: "#/components/schemas/BulkScreenshotMetaData"
@@ -32363,7 +32668,7 @@ var website_screenshot_default = {
32363
32668
  info: {
32364
32669
  title: "Website Screenshot API - Full-Page Captures, Scrolling Video & PDF Output",
32365
32670
  version: "1.0.0",
32366
- 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.",
32671
+ 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.",
32367
32672
  contact: {
32368
32673
  name: "APIFreaks Support",
32369
32674
  url: "https://apifreaks.com/contact",
@@ -32384,6 +32689,26 @@ var website_screenshot_default = {
32384
32689
  description: "Capture full-page screenshots and videos of websites with advanced options like device simulation, custom code injection, cookie banner blocking, and scrollable content recording.\nSupports multiple output formats including JSON, image, GIF, MP4, and WebM.\n",
32385
32690
  operationId: "websiteScreenshot",
32386
32691
  parameters: [
32692
+ {
32693
+ name: "url",
32694
+ in: "query",
32695
+ required: true,
32696
+ schema: {
32697
+ type: "string"
32698
+ },
32699
+ description: "URL of the website to be rendered as a screenshot or other format."
32700
+ },
32701
+ {
32702
+ name: "output",
32703
+ in: "query",
32704
+ required: false,
32705
+ schema: {
32706
+ type: "string",
32707
+ enum: ["json", "image"],
32708
+ default: "json"
32709
+ },
32710
+ description: "Set the output format. `json` returns metadata with a hosted file URL. `image` streams the raw file bytes directly."
32711
+ },
32387
32712
  {
32388
32713
  name: "format",
32389
32714
  in: "query",
@@ -32393,424 +32718,672 @@ var website_screenshot_default = {
32393
32718
  enum: ["json"],
32394
32719
  default: "json"
32395
32720
  },
32396
- description: "Response format: 'json'."
32721
+ description: "Response format: json (default)."
32397
32722
  },
32398
32723
  {
32399
- name: "output",
32724
+ name: "file_type",
32400
32725
  in: "query",
32401
32726
  required: false,
32402
32727
  schema: {
32403
32728
  type: "string",
32404
- enum: ["json", "image"]
32729
+ enum: [
32730
+ "PNG",
32731
+ "JPEG",
32732
+ "WEBP",
32733
+ "PDF",
32734
+ "MP4",
32735
+ "GIF",
32736
+ "WEBM",
32737
+ "mp4",
32738
+ "gif",
32739
+ "webm"
32740
+ ],
32741
+ default: "PNG"
32405
32742
  },
32406
- description: "Output format for screenshot results"
32743
+ 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)."
32407
32744
  },
32408
32745
  {
32409
- name: "file_type",
32746
+ name: "image_quality",
32747
+ in: "query",
32748
+ required: false,
32749
+ schema: {
32750
+ type: "integer",
32751
+ default: 80
32752
+ },
32753
+ description: "Compression level for JPEG output (0-100). Lower = smaller file, higher = better quality. Only applies to JPEG."
32754
+ },
32755
+ {
32756
+ name: "omit_background",
32757
+ in: "query",
32758
+ required: false,
32759
+ schema: {
32760
+ type: "boolean",
32761
+ default: false
32762
+ },
32763
+ description: "Replaces simple white/plain backgrounds with transparency for a cut-out effect. Only works with PNG output."
32764
+ },
32765
+ {
32766
+ name: "pdf_options[format]",
32410
32767
  in: "query",
32411
32768
  required: false,
32412
32769
  schema: {
32413
32770
  type: "string",
32414
- enum: ["PNG", "JPEG", "WEBP", "PDF", "mp4", "gif", "webm"]
32771
+ enum: [
32772
+ "A0",
32773
+ "A1",
32774
+ "A2",
32775
+ "A3",
32776
+ "A4",
32777
+ "A5",
32778
+ "A6",
32779
+ "Letter",
32780
+ "Legal",
32781
+ "Tabloid",
32782
+ "Ledger"
32783
+ ]
32415
32784
  },
32416
- description: "File type for screenshot output"
32785
+ 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."
32417
32786
  },
32418
32787
  {
32419
- name: "url",
32788
+ name: "pdf_options[landscape]",
32420
32789
  in: "query",
32421
- required: true,
32790
+ required: false,
32791
+ schema: {
32792
+ type: "boolean",
32793
+ default: false
32794
+ },
32795
+ description: "Renders the PDF in landscape orientation, swapping the width and height of the paper size. Applies when file_type is PDF."
32796
+ },
32797
+ {
32798
+ name: "pdf_options[page_range]",
32799
+ in: "query",
32800
+ required: false,
32801
+ schema: {
32802
+ type: "string"
32803
+ },
32804
+ 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."
32805
+ },
32806
+ {
32807
+ name: "pdf_options[media]",
32808
+ in: "query",
32809
+ required: false,
32810
+ schema: {
32811
+ type: "string",
32812
+ enum: ["print", "screen"]
32813
+ },
32814
+ description: "CSS media type used to render the PDF: print or screen."
32815
+ },
32816
+ {
32817
+ name: "pdf_options[print_background]",
32818
+ in: "query",
32819
+ required: false,
32820
+ schema: {
32821
+ type: "boolean",
32822
+ default: false
32823
+ },
32824
+ description: "Includes background colors and images in the PDF. Applies when file_type is PDF."
32825
+ },
32826
+ {
32827
+ name: "result_file_name",
32828
+ in: "query",
32829
+ required: false,
32422
32830
  schema: {
32423
32831
  type: "string"
32424
32832
  },
32425
- description: "URLs to capture screenshots of"
32833
+ description: "Custom name for the output file. Helps with organized storage and retrieval. Note: non-unique names may overwrite existing files."
32834
+ },
32835
+ {
32836
+ name: "ttl",
32837
+ in: "query",
32838
+ required: false,
32839
+ schema: {
32840
+ type: "integer",
32841
+ default: 2592e3
32842
+ },
32843
+ 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)."
32844
+ },
32845
+ {
32846
+ name: "fresh",
32847
+ in: "query",
32848
+ required: false,
32849
+ schema: {
32850
+ type: "boolean",
32851
+ default: true
32852
+ },
32853
+ description: "If `true`, bypasses cache and captures a fresh render. If `false`, returns cached version when available."
32854
+ },
32855
+ {
32856
+ name: "enable_caching",
32857
+ in: "query",
32858
+ required: false,
32859
+ schema: {
32860
+ type: "boolean",
32861
+ default: false
32862
+ },
32863
+ description: "Stores the render in cache for reuse on subsequent identical requests."
32864
+ },
32865
+ {
32866
+ name: "destroy_screenshot",
32867
+ in: "query",
32868
+ required: false,
32869
+ schema: {
32870
+ type: "boolean",
32871
+ default: false
32872
+ },
32873
+ description: "If `true`, screenshot/PDF is not stored on server and must be downloaded immediately."
32874
+ },
32875
+ {
32876
+ name: "fail_on_error",
32877
+ in: "query",
32878
+ required: false,
32879
+ schema: {
32880
+ type: "boolean",
32881
+ default: false
32882
+ },
32883
+ description: "If `true`, returns an error when the target page responds with 4xx or 5xx status."
32426
32884
  },
32427
32885
  {
32428
32886
  name: "width",
32429
32887
  in: "query",
32430
32888
  required: false,
32431
32889
  schema: {
32432
- type: "integer"
32890
+ type: "integer",
32891
+ default: 1680
32433
32892
  },
32434
- description: "Browser viewport width in pixels"
32893
+ description: "Viewport width in pixels. Simulates device screen sizes. Max: 7680."
32435
32894
  },
32436
32895
  {
32437
32896
  name: "height",
32438
32897
  in: "query",
32439
32898
  required: false,
32440
32899
  schema: {
32441
- type: "integer"
32900
+ type: "integer",
32901
+ default: 867
32442
32902
  },
32443
- description: "Browser viewport height in pixels"
32903
+ description: "Viewport height in pixels. Controls how much vertical area is visible. Max: 4320."
32444
32904
  },
32445
32905
  {
32446
32906
  name: "full_page",
32447
32907
  in: "query",
32448
32908
  required: false,
32449
32909
  schema: {
32450
- type: "boolean"
32910
+ type: "boolean",
32911
+ default: false
32451
32912
  },
32452
- description: "Capture a full-page screenshot"
32913
+ description: "Captures the entire webpage from top to bottom, including scrollable content outside the viewport. Ideal for long-form pages."
32453
32914
  },
32454
32915
  {
32455
- name: "fresh",
32916
+ name: "thumbnail_width",
32456
32917
  in: "query",
32457
32918
  required: false,
32458
32919
  schema: {
32459
- type: "boolean"
32920
+ type: "integer"
32460
32921
  },
32461
- description: "Bypass cache and take a fresh screenshot"
32922
+ 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)."
32462
32923
  },
32463
32924
  {
32464
- name: "no_cookie_banners",
32925
+ name: "retina",
32465
32926
  in: "query",
32466
32927
  required: false,
32467
32928
  schema: {
32468
- type: "boolean"
32929
+ type: "boolean",
32930
+ default: false
32469
32931
  },
32470
- description: "Remove cookie banners from the screenshot"
32932
+ description: "Captures at 2x resolution for sharper, high-DPI output. Increases file size."
32471
32933
  },
32472
32934
  {
32473
- name: "enable_caching",
32935
+ name: "clip[x]",
32474
32936
  in: "query",
32475
32937
  required: false,
32476
32938
  schema: {
32477
- type: "boolean"
32939
+ type: "integer"
32478
32940
  },
32479
- description: "Enable caching for repeated requests"
32941
+ description: "X coordinate (in pixels) for the top-left corner of the clip area. Default: null."
32480
32942
  },
32481
32943
  {
32482
- name: "block_ads",
32944
+ name: "clip[y]",
32483
32945
  in: "query",
32484
32946
  required: false,
32485
32947
  schema: {
32486
- type: "boolean"
32948
+ type: "integer"
32487
32949
  },
32488
- description: "Block advertisements on the page"
32950
+ description: "Y coordinate (in pixels) for the top-left corner of the clip area. Default: null."
32489
32951
  },
32490
32952
  {
32491
- name: "block_chat_widgets",
32953
+ name: "clip[width]",
32492
32954
  in: "query",
32493
32955
  required: false,
32494
32956
  schema: {
32495
- type: "boolean"
32957
+ type: "integer"
32496
32958
  },
32497
- description: "Block chat widget scripts from loading"
32959
+ description: "Width of the clip area in pixels. Default: null."
32498
32960
  },
32499
32961
  {
32500
- name: "extract_text",
32962
+ name: "clip[height]",
32501
32963
  in: "query",
32502
32964
  required: false,
32503
32965
  schema: {
32504
- type: "boolean"
32966
+ type: "integer"
32505
32967
  },
32506
- description: "Extract visible text from the page"
32968
+ description: "Height of the clip area in pixels. Default: null."
32507
32969
  },
32508
32970
  {
32509
- name: "extract_html",
32971
+ name: "adjust_top",
32510
32972
  in: "query",
32511
32973
  required: false,
32512
32974
  schema: {
32513
- type: "boolean"
32975
+ type: "integer",
32976
+ default: 0
32514
32977
  },
32515
- description: "Extract HTML content of the page"
32978
+ description: "Initial vertical scroll position in pixels before capture. Use to position mid-page content in viewport. Not supported for PDF."
32516
32979
  },
32517
32980
  {
32518
- name: "destroy_screenshot",
32981
+ name: "wait_for_event",
32519
32982
  in: "query",
32520
32983
  required: false,
32521
32984
  schema: {
32522
- type: "boolean"
32985
+ type: "string",
32986
+ enum: ["load", "domcontentloaded", "networkidle"],
32987
+ default: "load"
32988
+ },
32989
+ description: "Controls when rendering starts based on page load lifecycle. `load` (all resources), `domcontentloaded` (HTML parsed), `networkidle` (no network activity for 500ms)."
32990
+ },
32991
+ {
32992
+ name: "delay",
32993
+ in: "query",
32994
+ required: false,
32995
+ schema: {
32996
+ type: "integer",
32997
+ default: 0
32523
32998
  },
32524
- description: "Auto-destroy screenshot after fetch"
32999
+ description: "Wait period in milliseconds before capture. Allows animations, API responses, and dynamic elements to finish rendering."
32525
33000
  },
32526
33001
  {
32527
33002
  name: "lazy_load",
32528
33003
  in: "query",
32529
33004
  required: false,
32530
33005
  schema: {
32531
- type: "boolean"
33006
+ type: "boolean",
33007
+ default: false
32532
33008
  },
32533
- description: "Enable lazy-loading content before screenshot"
33009
+ description: "Automatically scrolls the page to trigger lazy-loaded images and components. Ensures complete content capture."
32534
33010
  },
32535
33011
  {
32536
- name: "retina",
33012
+ name: "scroll_delay",
32537
33013
  in: "query",
32538
33014
  required: false,
32539
33015
  schema: {
32540
- type: "boolean"
33016
+ type: "integer",
33017
+ default: 500
32541
33018
  },
32542
- description: "Capture screenshot in high-DPI (Retina) mode"
33019
+ description: "Delay in milliseconds between scroll steps when `lazy_load` is enabled. Use higher values for heavy pages."
32543
33020
  },
32544
33021
  {
32545
- name: "dark_mode",
33022
+ name: "timeout",
32546
33023
  in: "query",
32547
33024
  required: false,
32548
33025
  schema: {
32549
- type: "boolean"
33026
+ type: "integer",
33027
+ default: 1e5
32550
33028
  },
32551
- description: "Render page in dark mode"
33029
+ description: "Maximum wait in milliseconds for page load before aborting. Adjust for slow/heavy pages. Default: 100000 (100s)."
32552
33030
  },
32553
33031
  {
32554
- name: "block_tracking",
33032
+ name: "selector",
32555
33033
  in: "query",
32556
33034
  required: false,
32557
33035
  schema: {
32558
- type: "boolean"
33036
+ type: "string"
32559
33037
  },
32560
- description: "Block common user-tracking scripts"
33038
+ description: "CSS selector to capture a specific element. Only that element is rendered. Falls back to full page if not found. Default: empty."
32561
33039
  },
32562
33040
  {
32563
- name: "enable_incognito",
33041
+ name: "scroll_to_element",
32564
33042
  in: "query",
32565
33043
  required: false,
32566
33044
  schema: {
32567
- type: "boolean"
33045
+ type: "string"
32568
33046
  },
32569
- description: "Enable private/incognito mode for browser session"
33047
+ description: "Scrolls the page to bring the specified CSS selector into view before capture. Ideal for below-the-fold content. Default: empty."
32570
33048
  },
32571
33049
  {
32572
- name: "omit_background",
33050
+ name: "selector_to_click",
32573
33051
  in: "query",
32574
33052
  required: false,
32575
33053
  schema: {
32576
- type: "boolean"
33054
+ type: "string"
32577
33055
  },
32578
- description: "Omit background color (transparent background)"
33056
+ description: "CSS selector for an element to click before capturing the screenshot. Useful for opening dropdowns, modals, or triggering content."
32579
33057
  },
32580
33058
  {
32581
- name: "thumbnail_width",
33059
+ name: "click_recursion",
32582
33060
  in: "query",
32583
33061
  required: false,
32584
33062
  schema: {
32585
- type: "integer"
33063
+ type: "integer",
33064
+ default: 1
33065
+ },
33066
+ description: "Number of times to click the selector (when set via `selector_to_click`)."
33067
+ },
33068
+ {
33069
+ name: "blur_selector",
33070
+ in: "query",
33071
+ required: false,
33072
+ style: "form",
33073
+ explode: false,
33074
+ schema: {
33075
+ type: "string"
33076
+ },
33077
+ description: "CSS selectors to blur before capture. Masks sensitive data like emails, payments, or personal info. Multiple selectors supported. Default: empty."
33078
+ },
33079
+ {
33080
+ name: "remove_selector",
33081
+ in: "query",
33082
+ required: false,
33083
+ style: "form",
33084
+ explode: false,
33085
+ schema: {
33086
+ type: "string"
33087
+ },
33088
+ description: "CSS selectors to remove before capture. Deletes matched elements from DOM. Ideal for cleaning ads, popups, sidebars. Multiple selectors supported. Default: empty."
33089
+ },
33090
+ {
33091
+ name: "css",
33092
+ in: "query",
33093
+ required: false,
33094
+ schema: {
33095
+ type: "string"
33096
+ },
33097
+ description: "Allows injecting custom CSS code into the page before rendering. Pass the CSS code directly as a string."
33098
+ },
33099
+ {
33100
+ name: "css_url",
33101
+ in: "query",
33102
+ required: false,
33103
+ schema: {
33104
+ type: "string"
33105
+ },
33106
+ description: "Allows loading external CSS into the page. Provide a URL pointing to the CSS file."
33107
+ },
33108
+ {
33109
+ name: "js",
33110
+ in: "query",
33111
+ required: false,
33112
+ schema: {
33113
+ type: "string"
33114
+ },
33115
+ description: "Allows injecting custom JavaScript code into the page before rendering. Pass the JavaScript code directly as a string."
33116
+ },
33117
+ {
33118
+ name: "js_url",
33119
+ in: "query",
33120
+ required: false,
33121
+ schema: {
33122
+ type: "string"
33123
+ },
33124
+ description: "Allows loading external JavaScript into the page. Provide a URL pointing to the script file."
33125
+ },
33126
+ {
33127
+ name: "custom_html",
33128
+ in: "query",
33129
+ required: false,
33130
+ schema: {
33131
+ type: "string"
33132
+ },
33133
+ description: "Custom HTML to render instead of loading a URL. Overrides the url option. Use for capturing specific HTML structures or dynamic content."
33134
+ },
33135
+ {
33136
+ name: "markdown",
33137
+ in: "query",
33138
+ required: false,
33139
+ schema: {
33140
+ type: "string"
32586
33141
  },
32587
- description: "Thumbnail width in pixels"
33142
+ 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."
32588
33143
  },
32589
33144
  {
32590
- name: "adjust_top",
33145
+ name: "user_agent",
32591
33146
  in: "query",
32592
33147
  required: false,
32593
33148
  schema: {
32594
- type: "integer"
33149
+ type: "string"
32595
33150
  },
32596
- description: "Adjust top in pixels"
33151
+ description: "Custom User-Agent string sent in the request headers."
32597
33152
  },
32598
33153
  {
32599
- name: "wait_for_event",
33154
+ name: "accept_languages",
32600
33155
  in: "query",
32601
33156
  required: false,
32602
33157
  schema: {
32603
33158
  type: "string",
32604
- enum: ["load", "domcontentloaded", "networkidle"]
33159
+ default: "en-US,en;q=0.8"
32605
33160
  },
32606
- description: "Wait for a specific load event before capturing the screenshot."
33161
+ description: "Sets the accepted languages for the HTTP request. This is sent as the Accept-Language header."
32607
33162
  },
32608
33163
  {
32609
- name: "grayscale",
33164
+ name: "dark_mode",
32610
33165
  in: "query",
32611
33166
  required: false,
32612
33167
  schema: {
32613
- type: "integer"
33168
+ type: "boolean",
33169
+ default: false
32614
33170
  },
32615
- description: "Range:0 to 100 for grayscale filter"
33171
+ description: "When set to `true`, websites that support prefers-color-scheme: dark will render in dark mode."
32616
33172
  },
32617
33173
  {
32618
- name: "delay",
33174
+ name: "grayscale",
32619
33175
  in: "query",
32620
33176
  required: false,
32621
33177
  schema: {
32622
- type: "integer"
33178
+ type: "integer",
33179
+ default: 0
32623
33180
  },
32624
- description: "How many milliseconds to wait before taking the screenshot"
33181
+ description: "Applies a grayscale filter to the screenshot. Requires a value from 0 (no effect) to 100 (fully grayscale)."
32625
33182
  },
32626
33183
  {
32627
- name: "timeout",
33184
+ name: "enable_incognito",
32628
33185
  in: "query",
32629
33186
  required: false,
32630
33187
  schema: {
32631
- type: "integer"
33188
+ type: "boolean",
33189
+ default: false
32632
33190
  },
32633
- description: "Maximum timeout in milliseconds. Defalut is `10,000`"
33191
+ description: "Enables private/incognito browsing. Each render starts with a clean slate - no cookies, cache, or session data persisted."
32634
33192
  },
32635
33193
  {
32636
- name: "ttl",
33194
+ name: "headers",
32637
33195
  in: "query",
32638
33196
  required: false,
32639
33197
  schema: {
32640
- type: "integer"
33198
+ type: "string"
32641
33199
  },
32642
- description: "Number of seconds the screenshot should be cached"
33200
+ description: "Custom HTTP headers to include as key=value pairs. Use a semicolon to separate multiple headers (e.g., `key1=value1;key2=value2`)."
32643
33201
  },
32644
33202
  {
32645
- name: "clip[x]",
33203
+ name: "cookies",
32646
33204
  in: "query",
32647
33205
  required: false,
32648
33206
  schema: {
32649
- type: "integer"
33207
+ type: "string"
32650
33208
  },
32651
- description: "X position of the clipping rectangle in pixels"
33209
+ description: "Cookies to include in the request before rendering. Supports single or multiple cookies. Example: `cookie=value; otherCookie=otherValue;`."
32652
33210
  },
32653
33211
  {
32654
- name: "clip[y]",
33212
+ name: "longitude",
32655
33213
  in: "query",
32656
33214
  required: false,
32657
33215
  schema: {
32658
- type: "integer"
33216
+ type: "number"
32659
33217
  },
32660
- description: "Y position of the clipping rectangle in pixels"
33218
+ description: "Specify longitude for the browser Geolocation API. Provide a numeric value. Default: null (not set)."
32661
33219
  },
32662
33220
  {
32663
- name: "clip[width]",
33221
+ name: "latitude",
32664
33222
  in: "query",
32665
33223
  required: false,
32666
33224
  schema: {
32667
- type: "integer"
33225
+ type: "number"
32668
33226
  },
32669
- description: "Width of the clipping rectangle in pixels"
33227
+ description: "Specify latitude for the browser Geolocation API. Provide a numeric value. Default: null (not set)."
32670
33228
  },
32671
33229
  {
32672
- name: "clip[height]",
33230
+ name: "timezone",
32673
33231
  in: "query",
32674
33232
  required: false,
32675
33233
  schema: {
32676
- type: "integer"
33234
+ type: "string"
32677
33235
  },
32678
- description: "Height of the clipping rectangle in pixels"
33236
+ description: "IANA timezone the browser uses while rendering, such as Asia/Karachi or Europe/London. Useful for clocks and localized dates."
32679
33237
  },
32680
33238
  {
32681
- name: "css_url",
33239
+ name: "block_ads",
32682
33240
  in: "query",
32683
33241
  required: false,
32684
33242
  schema: {
32685
- type: "string"
33243
+ type: "boolean",
33244
+ default: false
32686
33245
  },
32687
- description: "URL to CSS file"
33246
+ description: "Blocks requests to known ad networks for cleaner, distraction-free screenshots."
32688
33247
  },
32689
33248
  {
32690
- name: "css",
33249
+ name: "block_chat_widgets",
32691
33250
  in: "query",
32692
33251
  required: false,
32693
33252
  schema: {
32694
- type: "string"
33253
+ type: "boolean",
33254
+ default: false
32695
33255
  },
32696
- description: "Your custom CSS code"
33256
+ description: "Blocks live chat popups, support bubbles, and messaging interfaces."
32697
33257
  },
32698
33258
  {
32699
- name: "js_url",
33259
+ name: "block_tracking",
32700
33260
  in: "query",
32701
33261
  required: false,
32702
33262
  schema: {
32703
- type: "string"
33263
+ type: "boolean",
33264
+ default: false
32704
33265
  },
32705
- description: "URL to JS file"
33266
+ description: "Blocks tracking scripts and analytics services for cleaner, privacy-oriented renders."
32706
33267
  },
32707
33268
  {
32708
- name: "js",
33269
+ name: "no_cookie_banners",
32709
33270
  in: "query",
32710
33271
  required: false,
32711
33272
  schema: {
32712
- type: "string"
33273
+ type: "boolean",
33274
+ default: false
32713
33275
  },
32714
- description: "Your JS code"
33276
+ description: "Hides or blocks cookie consent banners and popups before capture."
32715
33277
  },
32716
33278
  {
32717
33279
  name: "block_js",
32718
33280
  in: "query",
32719
33281
  required: false,
32720
33282
  schema: {
32721
- type: "boolean"
33283
+ type: "boolean",
33284
+ default: false
32722
33285
  },
32723
- description: "Block Scripts"
33286
+ description: "Disables all JavaScript execution. Renders a static version of the page. Speeds up capture but may break dynamic content."
32724
33287
  },
32725
33288
  {
32726
33289
  name: "block_stylesheets",
32727
33290
  in: "query",
32728
33291
  required: false,
32729
33292
  schema: {
32730
- type: "boolean"
33293
+ type: "boolean",
33294
+ default: false
32731
33295
  },
32732
- description: "Block Stylesheets"
33296
+ description: "Blocks all stylesheets - page renders as raw HTML without visual formatting."
32733
33297
  },
32734
33298
  {
32735
33299
  name: "block_images",
32736
33300
  in: "query",
32737
33301
  required: false,
32738
33302
  schema: {
32739
- type: "boolean"
33303
+ type: "boolean",
33304
+ default: false
32740
33305
  },
32741
- description: "Block Images"
33306
+ description: "Blocks all image resources (jpg, png, gif, webp, svg, etc.) for faster rendering."
32742
33307
  },
32743
33308
  {
32744
33309
  name: "block_media",
32745
33310
  in: "query",
32746
33311
  required: false,
32747
33312
  schema: {
32748
- type: "boolean"
33313
+ type: "boolean",
33314
+ default: false
32749
33315
  },
32750
- description: "Block Media"
33316
+ description: "Blocks audio and video resources (mp3, mp4, webm, etc.) from loading."
32751
33317
  },
32752
33318
  {
32753
33319
  name: "block_font",
32754
33320
  in: "query",
32755
33321
  required: false,
32756
33322
  schema: {
32757
- type: "boolean"
33323
+ type: "boolean",
33324
+ default: false
32758
33325
  },
32759
- description: "Block Fonts"
33326
+ description: "Blocks external font files - page falls back to system defaults. Supported: woff, woff2, ttf, otf, eot."
32760
33327
  },
32761
33328
  {
32762
33329
  name: "block_text_track",
32763
33330
  in: "query",
32764
33331
  required: false,
32765
33332
  schema: {
32766
- type: "boolean"
33333
+ type: "boolean",
33334
+ default: false
32767
33335
  },
32768
- description: "Block Text Tracks"
33336
+ description: "Blocks subtitles and caption overlays from loading."
32769
33337
  },
32770
33338
  {
32771
33339
  name: "block_xhr",
32772
33340
  in: "query",
32773
33341
  required: false,
32774
33342
  schema: {
32775
- type: "boolean"
33343
+ type: "boolean",
33344
+ default: false
32776
33345
  },
32777
- description: "Block XHR Requests"
33346
+ description: "Blocks all XMLHttpRequest (AJAX) calls - prevents dynamic API-driven content."
32778
33347
  },
32779
33348
  {
32780
33349
  name: "block_fetch",
32781
33350
  in: "query",
32782
33351
  required: false,
32783
33352
  schema: {
32784
- type: "boolean"
33353
+ type: "boolean",
33354
+ default: false
32785
33355
  },
32786
- description: "Block Fetch Requests"
33356
+ description: "Blocks all Fetch API requests - stops async data loading."
32787
33357
  },
32788
33358
  {
32789
33359
  name: "block_event_source",
32790
33360
  in: "query",
32791
33361
  required: false,
32792
33362
  schema: {
32793
- type: "boolean"
33363
+ type: "boolean",
33364
+ default: false
32794
33365
  },
32795
- description: "Block Event Source"
33366
+ description: "Blocks EventSource (SSE) connections - prevents real-time data streams."
32796
33367
  },
32797
33368
  {
32798
33369
  name: "block_web_socket",
32799
33370
  in: "query",
32800
33371
  required: false,
32801
33372
  schema: {
32802
- type: "boolean"
33373
+ type: "boolean",
33374
+ default: false
32803
33375
  },
32804
- description: "Block Web Sockets"
33376
+ description: "Blocks WebSocket connections - prevents real-time bidirectional communication."
32805
33377
  },
32806
33378
  {
32807
33379
  name: "block_manifest",
32808
33380
  in: "query",
32809
33381
  required: false,
32810
33382
  schema: {
32811
- type: "boolean"
33383
+ type: "boolean",
33384
+ default: false
32812
33385
  },
32813
- description: "Block Manifest"
33386
+ description: "Blocks manifest files (.json, .webmanifest) - disables PWA-related functionality."
32814
33387
  },
32815
33388
  {
32816
33389
  name: "block_specific_requests",
@@ -32819,259 +33392,266 @@ var website_screenshot_default = {
32819
33392
  schema: {
32820
33393
  type: "string"
32821
33394
  },
32822
- description: "Comma- or newline-separated list of specific requests to block. Each line and comma are treated as separate requests for processing. Example: https://example.com, https://example.js"
32823
- },
32824
- {
32825
- name: "blur_selector",
32826
- in: "query",
32827
- required: false,
32828
- style: "form",
32829
- explode: false,
32830
- schema: {
32831
- type: "string"
32832
- },
32833
- description: "Comma-separated list of indexed CSS selectors to blur. Format: index:<selector>, e.g., 0:.banner,1:#ads."
33395
+ description: "Fine-grained blocking of specific URLs or patterns. Separate multiple rules by comma, space, or newline. Default: empty."
32834
33396
  },
32835
33397
  {
32836
- name: "remove_selector",
33398
+ name: "extract_text",
32837
33399
  in: "query",
32838
33400
  required: false,
32839
- style: "form",
32840
- explode: false,
32841
33401
  schema: {
32842
- type: "string"
33402
+ type: "boolean",
33403
+ default: false
32843
33404
  },
32844
- description: "Comma-separated list of indexed CSS selectors to remove. Format: index:<selector>, e.g., 0:.banner,1:#ads."
33405
+ description: "Strips all HTML and returns visible text as a .txt file. Ideal for text analysis, indexing, or AI pipelines. Only with output=json."
32845
33406
  },
32846
33407
  {
32847
- name: "result_file_name",
33408
+ name: "extract_html",
32848
33409
  in: "query",
32849
33410
  required: false,
32850
33411
  schema: {
32851
- type: "string"
33412
+ type: "boolean",
33413
+ default: false
32852
33414
  },
32853
- description: "Specify a meaningful and unique file name to easily identify the screenshot result. Avoid using spaces or special characters; use hyphens or underscores to separate words."
33415
+ description: "Returns rendered HTML as a .html file (includes JS-executed DOM). Only available with output=json."
32854
33416
  },
32855
33417
  {
32856
- name: "scrolling_screenshot",
33418
+ name: "extract_markdown",
32857
33419
  in: "query",
32858
33420
  required: false,
32859
33421
  schema: {
32860
- type: "boolean"
33422
+ type: "boolean",
33423
+ default: false
32861
33424
  },
32862
- description: "**`Scrolling Screenshot`**: Capture a long scrolling screenshot. When true, disable `fullPage` and `freshScreenshot`."
33425
+ description: "Extracts rendered page content as a structured .md (Markdown) file. Preserves headings, lists, links. Only with output=json."
32863
33426
  },
32864
33427
  {
32865
- name: "scroll_speed",
33428
+ name: "get_image_urls",
32866
33429
  in: "query",
32867
33430
  required: false,
32868
33431
  schema: {
32869
- type: "string",
32870
- enum: ["normal", "fast", "slow"]
33432
+ type: "boolean",
33433
+ default: false
32871
33434
  },
32872
- description: "Speed of scrolling during the screenshot."
33435
+ description: "Extracts all image URLs from the rendered DOM and returns them in structured format. Only with output=json."
32873
33436
  },
32874
33437
  {
32875
- name: "scroll_back",
33438
+ name: "stealth",
32876
33439
  in: "query",
32877
33440
  required: false,
32878
33441
  schema: {
32879
- type: "boolean"
33442
+ type: "boolean",
33443
+ default: false
32880
33444
  },
32881
- description: "If true, the scroll will reverse back to the top after reaching the bottom."
33445
+ description: "Makes the browser look like a regular visitor for pages that block automated traffic. No extra credits."
32882
33446
  },
32883
33447
  {
32884
- name: "start_immediately",
33448
+ name: "gpu",
32885
33449
  in: "query",
32886
33450
  required: false,
32887
33451
  schema: {
32888
- type: "boolean"
33452
+ type: "boolean",
33453
+ default: false
32889
33454
  },
32890
- description: "If true, the scrolling capture will start immediately upon page load."
33455
+ description: "Renders the page with a GPU, including WebGL and canvas content. Adds 20 credits per request."
32891
33456
  },
32892
33457
  {
32893
- name: "multiple_scrolling",
33458
+ name: "proxy",
32894
33459
  in: "query",
32895
33460
  required: false,
32896
33461
  schema: {
32897
- type: "boolean"
33462
+ type: "string"
32898
33463
  },
32899
- description: "If true, multiple scrolling screenshots will be taken at different viewport sizes."
33464
+ description: "Allows defining a proxy for the connection. Provide a JSON string with keys: server (include port number), username, and password."
32900
33465
  },
32901
33466
  {
32902
- name: "sizes",
33467
+ name: "classic_proxy",
32903
33468
  in: "query",
32904
33469
  required: false,
32905
- style: "form",
32906
- explode: false,
32907
33470
  schema: {
32908
- type: "string"
33471
+ type: "boolean",
33472
+ default: false
32909
33473
  },
32910
- description: "Comma-separated list of viewport sizes in format index:XXw:YYh. Example: sizes=0:120w:300h,1:240w:500h"
33474
+ 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."
32911
33475
  },
32912
33476
  {
32913
- name: "duration",
33477
+ name: "premium_proxy",
32914
33478
  in: "query",
32915
33479
  required: false,
32916
33480
  schema: {
32917
- type: "number",
32918
- minimum: 0,
32919
- maximum: 60
33481
+ type: "boolean",
33482
+ default: false
32920
33483
  },
32921
- description: "Duration in seconds for the scrolling capture. Acceptable range is 0 to 60 seconds."
33484
+ description: "Loads the page through a residential proxy. Adds 200 credits per request. Used instead of classic_proxy."
32922
33485
  },
32923
33486
  {
32924
- name: "fail_on_error",
33487
+ name: "country",
32925
33488
  in: "query",
32926
33489
  required: false,
32927
33490
  schema: {
32928
- type: "boolean"
33491
+ type: "string"
32929
33492
  },
32930
- description: "If true, returns an error when the target page responds with 4xx or 5xx status."
33493
+ 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."
32931
33494
  },
32932
33495
  {
32933
- name: "longitude",
33496
+ name: "solve_captcha",
32934
33497
  in: "query",
32935
33498
  required: false,
32936
33499
  schema: {
32937
- type: "number"
33500
+ type: "boolean",
33501
+ default: false
32938
33502
  },
32939
- description: "Specify longitude for the browser Geolocation API."
33503
+ 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."
32940
33504
  },
32941
33505
  {
32942
- name: "latitude",
33506
+ name: "captcha_image",
32943
33507
  in: "query",
32944
33508
  required: false,
32945
33509
  schema: {
32946
- type: "number"
33510
+ type: "string"
32947
33511
  },
32948
- description: "Specify latitude for the browser Geolocation API."
33512
+ description: "CSS selector of the captcha picture. Required when solve_captcha is true."
32949
33513
  },
32950
33514
  {
32951
- name: "proxy",
33515
+ name: "captcha_input",
32952
33516
  in: "query",
32953
33517
  required: false,
32954
33518
  schema: {
32955
33519
  type: "string"
32956
33520
  },
32957
- description: "Allows defining a proxy for the connection. Provide a JSON string with keys: server (include port number), username, and password."
33521
+ description: "CSS selector of the box the answer is typed into. Required when solve_captcha is true."
32958
33522
  },
32959
33523
  {
32960
- name: "headers",
33524
+ name: "captcha_submit",
32961
33525
  in: "query",
32962
33526
  required: false,
32963
33527
  schema: {
32964
33528
  type: "string"
32965
33529
  },
32966
- description: "Custom HTTP headers to include as key=value pairs. Use a semicolon to separate multiple headers (e.g., key1=value1;key2=value2)."
33530
+ description: "CSS selector of the button to click after the answer is typed."
32967
33531
  },
32968
33532
  {
32969
- name: "cookies",
33533
+ name: "captcha_error",
32970
33534
  in: "query",
32971
33535
  required: false,
32972
33536
  schema: {
32973
33537
  type: "string"
32974
33538
  },
32975
- description: "Cookies to include in the request before rendering. Supports single or multiple cookies. Example: cookie=value; otherCookie=otherValue;"
33539
+ description: "CSS selector of the message shown for a wrong answer. While it is visible, the solver tries again."
32976
33540
  },
32977
33541
  {
32978
- name: "scroll_to_element",
33542
+ name: "captcha_refresh",
32979
33543
  in: "query",
32980
33544
  required: false,
32981
33545
  schema: {
32982
33546
  type: "string"
32983
33547
  },
32984
- description: "Scrolls the page to bring the specified CSS selector into view before capture."
33548
+ description: "CSS selector of the control that loads a new captcha picture before the next try."
32985
33549
  },
32986
33550
  {
32987
- name: "selector",
33551
+ name: "captcha_retries",
32988
33552
  in: "query",
32989
33553
  required: false,
32990
33554
  schema: {
32991
- type: "string"
33555
+ type: "integer",
33556
+ minimum: 1,
33557
+ maximum: 5,
33558
+ default: 3
32992
33559
  },
32993
- description: "CSS selector to capture a specific element. Only that element is rendered."
33560
+ description: "Number of guesses the solver makes, from 1 to 5."
32994
33561
  },
32995
33562
  {
32996
- name: "selector_to_click",
33563
+ name: "ocr_model",
32997
33564
  in: "query",
32998
33565
  required: false,
32999
33566
  schema: {
33000
- type: "string"
33567
+ type: "string",
33568
+ enum: ["mini-ocr-v1", "ocr-v1"],
33569
+ default: "mini-ocr-v1"
33001
33570
  },
33002
- description: "CSS selector for an element to click before capturing the screenshot."
33571
+ description: "Recognition model used by the captcha solver: mini-ocr-v1 (default) or ocr-v1."
33003
33572
  },
33004
33573
  {
33005
- name: "click_recursion",
33574
+ name: "scrolling_screenshot",
33006
33575
  in: "query",
33007
33576
  required: false,
33008
33577
  schema: {
33009
- type: "integer"
33578
+ type: "boolean",
33579
+ default: false
33010
33580
  },
33011
- description: "Number of times to click the selector (when set via selector_to_click). Default: 1."
33581
+ description: "Enables scrolling screenshot mode to capture a video (webm, gif, mp4) of the webpage."
33012
33582
  },
33013
33583
  {
33014
- name: "user_agent",
33584
+ name: "video",
33015
33585
  in: "query",
33016
33586
  required: false,
33017
33587
  schema: {
33018
- type: "string"
33588
+ type: "boolean",
33589
+ default: false
33019
33590
  },
33020
- description: "Custom User-Agent string sent in the request headers."
33591
+ description: "Records visible viewport only for a specified duration. Use with `duration` parameter. Ideal for dashboards and animations."
33021
33592
  },
33022
33593
  {
33023
- name: "accept_languages",
33594
+ name: "scroll_speed",
33024
33595
  in: "query",
33025
33596
  required: false,
33026
33597
  schema: {
33027
- type: "string"
33598
+ type: "string",
33599
+ enum: ["normal", "fast", "slow"],
33600
+ default: "normal"
33028
33601
  },
33029
- description: "Sets the accepted languages for the HTTP request. Sent as the Accept-Language header."
33602
+ description: "Scrolling speed: fast, normal (default), or slow. Affects render time and output pacing."
33030
33603
  },
33031
33604
  {
33032
- name: "scroll_delay",
33605
+ name: "scroll_back",
33033
33606
  in: "query",
33034
33607
  required: false,
33035
33608
  schema: {
33036
- type: "integer"
33609
+ type: "boolean",
33610
+ default: false
33037
33611
  },
33038
- description: "Delay in milliseconds between scroll steps when lazy_load is enabled."
33612
+ description: "If `true`, scrolls to bottom then back to top, creating a seamless loop."
33039
33613
  },
33040
33614
  {
33041
- name: "custom_html",
33615
+ name: "start_immediately",
33042
33616
  in: "query",
33043
33617
  required: false,
33044
33618
  schema: {
33045
- type: "string"
33619
+ type: "boolean",
33620
+ default: false
33046
33621
  },
33047
- description: "Custom HTML to render instead of loading a URL. Overrides the url option."
33622
+ description: "Starts recording immediately without waiting for full page load."
33048
33623
  },
33049
33624
  {
33050
- name: "image_quality",
33625
+ name: "multiple_scrolling",
33051
33626
  in: "query",
33052
33627
  required: false,
33053
33628
  schema: {
33054
- type: "integer"
33629
+ type: "boolean",
33630
+ default: false
33055
33631
  },
33056
- description: "Compression level for JPEG output (0\u2013100). Lower = smaller file, higher = better quality. Only applies to JPEG."
33632
+ description: "Captures multiple scrolling screenshots at different viewport sizes in one request. Requires the `sizes` parameter."
33057
33633
  },
33058
33634
  {
33059
- name: "extract_markdown",
33635
+ name: "sizes",
33060
33636
  in: "query",
33061
33637
  required: false,
33638
+ style: "form",
33639
+ explode: false,
33062
33640
  schema: {
33063
- type: "boolean"
33641
+ type: "string"
33064
33642
  },
33065
- description: "Extracts rendered page content as a structured .md (Markdown) file."
33643
+ 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`."
33066
33644
  },
33067
33645
  {
33068
- name: "get_image_urls",
33646
+ name: "duration",
33069
33647
  in: "query",
33070
33648
  required: false,
33071
33649
  schema: {
33072
- type: "boolean"
33650
+ type: "integer",
33651
+ minimum: 0,
33652
+ maximum: 60
33073
33653
  },
33074
- description: "Extracts all image URLs from the rendered DOM and returns them in structured format."
33654
+ description: "Duration of scrolling action in seconds (0-60). Higher = longer video. Default: null (full page scroll)."
33075
33655
  }
33076
33656
  ],
33077
33657
  responses: {
@@ -33311,6 +33891,16 @@ var website_screenshot_default = {
33311
33891
  message: "The request was aborted before it completed, for example due to a timeout or cancellation.",
33312
33892
  path: "/v3/screenshot"
33313
33893
  }
33894
+ },
33895
+ errAddressUnreachable: {
33896
+ summary: "Target address unreachable",
33897
+ value: {
33898
+ timestamp: "2026-07-27T10:19:12.500Z",
33899
+ status: 400,
33900
+ error: "ERR_ADDRESS_UNREACHABLE",
33901
+ message: "Target address is unreachable. Please check the URL or network connectivity.",
33902
+ path: "/v3/screenshot"
33903
+ }
33314
33904
  }
33315
33905
  },
33316
33906
  schema: {
@@ -33575,119 +34165,119 @@ var website_screenshot_default = {
33575
34165
  },
33576
34166
  file_type: {
33577
34167
  type: "string",
33578
- description: "The file type of the output (e.g., PNG, JPEG)."
34168
+ description: "The file type of the output."
33579
34169
  },
33580
34170
  width: {
33581
34171
  type: "integer",
33582
- description: "Viewport width used for capture in pixels."
34172
+ description: "The viewport width that was used in pixels."
33583
34173
  },
33584
34174
  height: {
33585
34175
  type: "integer",
33586
- description: "Viewport height used for capture in pixels."
34176
+ description: "The viewport height that was used in pixels."
33587
34177
  },
33588
34178
  fresh: {
33589
34179
  type: "boolean",
33590
- description: "Whether a fresh render was performed."
34180
+ description: "Whether a fresh render was performed (`true`/`false`)."
33591
34181
  },
33592
34182
  full_page: {
33593
34183
  type: "boolean",
33594
- description: "Whether full page capture was used."
34184
+ description: "Whether full page capture was used (`true`/`false`)."
33595
34185
  },
33596
34186
  lazy_load: {
33597
34187
  type: "boolean",
33598
- description: "Whether lazy loading was triggered."
34188
+ description: "Whether lazy loading was triggered (`true`/`false`)."
33599
34189
  },
33600
34190
  retina: {
33601
34191
  type: "boolean",
33602
- description: "Whether retina capture was used."
34192
+ description: "Whether retina capture was used (`true`/`false`)."
33603
34193
  },
33604
34194
  dark_mode: {
33605
34195
  type: "boolean",
33606
- description: "Whether dark mode was enabled."
34196
+ description: "Whether dark mode was enabled (`true`/`false`)."
33607
34197
  },
33608
34198
  enable_caching: {
33609
34199
  type: "boolean",
33610
- description: "Whether caching was enabled."
34200
+ description: "Whether caching was enabled (`true`/`false`)."
33611
34201
  },
33612
34202
  omit_background: {
33613
34203
  type: "boolean",
33614
- description: "Whether background was removed."
34204
+ description: "Whether background was removed (`true`/`false`)."
33615
34205
  },
33616
34206
  destroy_screenshot: {
33617
34207
  type: "boolean",
33618
- description: "Whether the screenshot was destroyed after generation."
34208
+ description: "Whether the screenshot was destroyed after generation (`true`/`false`)."
33619
34209
  },
33620
34210
  fail_on_error: {
33621
34211
  type: "boolean",
33622
- description: "Whether the request failed on error."
34212
+ description: "Whether the request failed on error (`true`/`false`)."
33623
34213
  },
33624
34214
  block_ads: {
33625
34215
  type: "boolean",
33626
- description: "Whether ads were blocked."
34216
+ description: "Whether ads were blocked (`true`/`false`)."
33627
34217
  },
33628
34218
  no_cookie_banners: {
33629
34219
  type: "boolean",
33630
- description: "Whether cookie banners were blocked."
34220
+ description: "Whether cookie banners were blocked (`true`/`false`)."
33631
34221
  },
33632
34222
  block_chat_widgets: {
33633
34223
  type: "boolean",
33634
- description: "Whether chat widgets were blocked."
34224
+ description: "Whether chat widgets were blocked (`true`/`false`)."
33635
34225
  },
33636
34226
  block_tracking: {
33637
34227
  type: "boolean",
33638
- description: "Whether tracking scripts were blocked."
34228
+ description: "Whether tracking scripts were blocked (`true`/`false`)."
33639
34229
  },
33640
34230
  block_js: {
33641
34231
  type: "boolean",
33642
- description: "Whether JavaScript was blocked."
34232
+ description: "Whether JavaScript was blocked (`true`/`false`)."
33643
34233
  },
33644
34234
  block_stylesheets: {
33645
34235
  type: "boolean",
33646
- description: "Whether stylesheets were blocked."
34236
+ description: "Whether stylesheets were blocked (`true`/`false`)."
33647
34237
  },
33648
34238
  block_images: {
33649
34239
  type: "boolean",
33650
- description: "Whether images were blocked."
34240
+ description: "Whether images were blocked (`true`/`false`)."
33651
34241
  },
33652
34242
  block_media: {
33653
34243
  type: "boolean",
33654
- description: "Whether media files were blocked."
34244
+ description: "Whether media files were blocked (`true`/`false`)."
33655
34245
  },
33656
34246
  block_font: {
33657
34247
  type: "boolean",
33658
- description: "Whether fonts were blocked."
34248
+ description: "Whether fonts were blocked (`true`/`false`)."
33659
34249
  },
33660
34250
  block_xhr: {
33661
34251
  type: "boolean",
33662
- description: "Whether XHR requests were blocked."
34252
+ description: "Whether XHR requests were blocked (`true`/`false`)."
33663
34253
  },
33664
34254
  block_fetch: {
33665
34255
  type: "boolean",
33666
- description: "Whether Fetch API requests were blocked."
34256
+ description: "Whether Fetch API requests were blocked (`true`/`false`)."
33667
34257
  },
33668
34258
  block_web_socket: {
33669
34259
  type: "boolean",
33670
- description: "Whether WebSocket connections were blocked."
34260
+ description: "Whether WebSocket connections were blocked (`true`/`false`)."
33671
34261
  },
33672
34262
  block_manifest: {
33673
34263
  type: "boolean",
33674
- description: "Whether manifest files were blocked."
34264
+ description: "Whether manifest files were blocked (`true`/`false`)."
33675
34265
  },
33676
34266
  extract_text: {
33677
34267
  type: "boolean",
33678
- description: "Whether text content was extracted."
34268
+ description: "Whether text content was extracted (`true`/`false`)."
33679
34269
  },
33680
34270
  extract_html: {
33681
34271
  type: "boolean",
33682
- description: "Whether HTML content was extracted."
34272
+ description: "Whether HTML content was extracted (`true`/`false`)."
33683
34273
  },
33684
34274
  extract_markdown: {
33685
34275
  type: "boolean",
33686
- description: "Whether markdown extraction was enabled."
34276
+ description: "Whether markdown extraction was enabled (`true`/`false`)."
33687
34277
  },
33688
34278
  get_image_urls: {
33689
34279
  type: "boolean",
33690
- description: "Whether image URL extraction was enabled."
34280
+ description: "Whether image URL extraction was enabled (`true`/`false`)."
33691
34281
  },
33692
34282
  longitude: {
33693
34283
  type: "number",
@@ -33721,7 +34311,7 @@ var website_screenshot_default = {
33721
34311
  },
33722
34312
  selector_to_click: {
33723
34313
  type: "string",
33724
- description: "The CSS selector that was clicked before capture."
34314
+ description: "The CSS selector of the element that was clicked before capture."
33725
34315
  },
33726
34316
  click_recursion: {
33727
34317
  type: "integer",
@@ -33795,18 +34385,18 @@ var website_screenshot_default = {
33795
34385
  },
33796
34386
  scrolling_screenshot: {
33797
34387
  type: "boolean",
33798
- description: "Whether scrolling screenshot mode was enabled."
34388
+ description: "Whether scrolling screenshot mode was enabled (`true`/`false`)."
33799
34389
  },
33800
34390
  multiple_scrolling: {
33801
34391
  type: "boolean",
33802
- description: "Whether multiple scrolling captures were performed."
34392
+ description: "Whether multiple scrolling captures were performed (`true`/`false`)."
33803
34393
  },
33804
34394
  sizes: {
33805
34395
  type: "array",
33806
34396
  items: {
33807
34397
  type: "string"
33808
34398
  },
33809
- description: "The dimensions used for each capture."
34399
+ description: "The dimensions used for each capture in the array."
33810
34400
  },
33811
34401
  scroll_speed: {
33812
34402
  type: "string",
@@ -33830,7 +34420,59 @@ var website_screenshot_default = {
33830
34420
  },
33831
34421
  enable_incognito: {
33832
34422
  type: "boolean",
33833
- description: "Whether incognito mode was enabled."
34423
+ description: "Whether incognito mode was enabled (`true`/`false`)."
34424
+ },
34425
+ extracted_html: {
34426
+ type: "string",
34427
+ description: "URL of the extracted HTML from the webpage.",
34428
+ format: "uri"
34429
+ },
34430
+ extracted_text: {
34431
+ type: "string",
34432
+ description: "URL of the extracted plain text from the webpage.",
34433
+ format: "uri"
34434
+ },
34435
+ custom_html: {
34436
+ type: "string",
34437
+ description: "The custom HTML content that was rendered."
34438
+ },
34439
+ block_text_track: {
34440
+ type: "boolean",
34441
+ description: "Whether text tracks were blocked (`true`/`false`)."
34442
+ },
34443
+ block_event_source: {
34444
+ type: "boolean",
34445
+ description: "Whether EventSource connections were blocked (`true`/`false`)."
34446
+ },
34447
+ block_specific_requests: {
34448
+ type: "string",
34449
+ description: "The specific requests that were blocked."
34450
+ },
34451
+ clip: {
34452
+ type: "object",
34453
+ description: "The dimensions of the clipped area that was captured.",
34454
+ properties: {
34455
+ x: {
34456
+ type: "integer"
34457
+ },
34458
+ y: {
34459
+ type: "integer"
34460
+ },
34461
+ width: {
34462
+ type: "integer"
34463
+ },
34464
+ height: {
34465
+ type: "integer"
34466
+ }
34467
+ }
34468
+ },
34469
+ scroll_delay: {
34470
+ type: "integer",
34471
+ description: "The delay between scroll steps that was applied in milliseconds."
34472
+ },
34473
+ video: {
34474
+ type: "boolean",
34475
+ description: "Whether viewport recording mode was enabled (`true`/`false`)."
33834
34476
  }
33835
34477
  }
33836
34478
  },
@@ -59106,8 +59748,8 @@ security:
59106
59748
  - ApiKeyAuthHeader: []
59107
59749
  - ApiKeyAuthQuery: []
59108
59750
  `,
59109
- "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.\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 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 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 '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'\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 for this item (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: Observed to always be null; per-item error details are returned inside `url` instead.\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.\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.\n omit_background:\n type: boolean\n description: Whether background was removed.\n destroy_screenshot:\n type: boolean\n description: Whether the screenshot was destroyed after generation.\n fail_on_error:\n type: boolean\n description: Whether the request failed on error.\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.\n no_cookie_banners:\n type: boolean\n description: Whether cookie banners were blocked.\n block_ads:\n type: boolean\n description: Whether ads were blocked.\n headers:\n type: string\n description: Custom headers included in the request.\n cookies:\n type: string\n description: Cookies included in the request.\n scroll_to_element:\n type: string\n description: Element scrolled to before rendering.\n selector:\n type: string\n description: Element selected for rendering.\n blur_selector:\n type: string\n description: Elements blurred in the output.\n remove_selector:\n type: string\n description: Elements removed from the output.\n css:\n type: string\n description: Custom CSS injected into the page.\n css_url:\n type: string\n format: uri\n description: External CSS URL that was loaded.\n js:\n type: string\n description: Custom JavaScript that was injected.\n js_url:\n type: string\n format: uri\n description: External JavaScript URL that was loaded.\n user_agent:\n type: string\n description: User-Agent string that was used.\n accept_languages:\n type: string\n description: Accept-Language header that was used.\n delay:\n type: integer\n description: Delay duration in milliseconds.\n thumbnail_width:\n type: integer\n description: Thumbnail width in pixels.\n output:\n type: string\n description: Output type used.\n fresh:\n type: boolean\n description: Whether a fresh render was performed.\n lazy_load:\n type: boolean\n description: Whether lazy loading was triggered.\n full_page:\n type: boolean\n description: Whether full page capture was used.\n retina:\n type: boolean\n description: Whether retina capture was used.\n height:\n type: integer\n description: Viewport height used in pixels.\n width:\n type: integer\n description: Viewport width used in pixels.\n custom_html:\n type: string\n description: Custom HTML content rendered.\n block_chat_widgets:\n type: boolean\n description: Whether chat widgets were blocked.\n block_js:\n type: boolean\n description: Whether JavaScript was blocked.\n block_stylesheets:\n type: boolean\n description: Whether stylesheets were blocked.\n block_images:\n type: boolean\n description: Whether images were blocked.\n block_media:\n type: boolean\n description: Whether media files were blocked.\n block_font:\n type: boolean\n description: Whether fonts were blocked.\n block_text_track:\n type: boolean\n description: Whether text tracks were blocked.\n block_xhr:\n type: boolean\n description: Whether XHR requests were blocked.\n block_fetch:\n type: boolean\n description: Whether Fetch API requests were blocked.\n block_event_source:\n type: boolean\n description: Whether EventSource connections were blocked.\n block_web_socket:\n type: boolean\n description: Whether WebSocket connections were blocked.\n block_manifest:\n type: boolean\n description: Whether manifest files were blocked.\n block_specific_requests:\n type: string\n description: Specific requests that were blocked.\n adjust_top:\n type: integer\n description: Vertical position scrolled to in pixels.\n image_quality:\n type: integer\n description: Image quality level applied.\n extract_html:\n type: boolean\n description: Whether HTML content was extracted.\n extract_text:\n type: boolean\n description: Whether text content was extracted.\n dark_mode:\n type: boolean\n description: Whether dark mode was enabled.\n block_tracking:\n type: boolean\n description: Whether tracking scripts were blocked.\n wait_for_event:\n type: string\n description: The event that triggered rendering.\n grayscale:\n type: integer\n description: Grayscale level applied (0-100).\n clip:\n $ref: '#/components/schemas/ClipRect'\n result_file_name:\n type: string\n description: Final filename used for the output.\n enable_incognito:\n type: boolean\n description: Whether incognito mode was enabled.\n timeout:\n type: integer\n description: Actual timeout duration in milliseconds.\n scrolling_screenshot:\n type: boolean\n description: Whether scrolling screenshot mode was enabled.\n multiple_scrolling:\n type: boolean\n description: Whether multiple scrolling captures were performed.\n sizes:\n type: array\n items:\n type: string\n description: Dimensions used for each capture.\n extract_markdown:\n type: boolean\n description: Whether markdown extraction was enabled.\n get_image_urls:\n type: boolean\n description: Whether image URL extraction was enabled.\n scroll_delay:\n type: integer\n description: Delay between scroll steps in milliseconds.\n selector_to_click:\n type: string\n description: CSS selector clicked before capture.\n click_recursion:\n type: integer\n description: Number of times the selector was clicked.\n video:\n type: boolean\n description: Whether viewport recording mode was enabled.\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 capture.\n file_type:\n type: string\n enum:\n - PNG\n - JPEG\n - WEBP\n - PDF\n - mp4\n - gif\n - webm\n description: Output format for this URL.\n width:\n type: integer\n description: Viewport width in pixels.\n height:\n type: integer\n description: Viewport height in pixels.\n full_page:\n type: boolean\n description: Capture a full-page screenshot.\n fresh:\n type: boolean\n description: Bypass cache.\n no_cookie_banners:\n type: boolean\n description: Remove cookie banners.\n enable_caching:\n type: boolean\n description: Enable caching.\n block_ads:\n type: boolean\n description: Block ads.\n block_chat_widgets:\n type: boolean\n description: Block chat widgets.\n extract_text:\n type: boolean\n description: Extract visible text.\n extract_html:\n type: boolean\n description: Extract HTML.\n extract_markdown:\n type: boolean\n description: Extract markdown.\n get_image_urls:\n type: boolean\n description: Extract image URLs.\n destroy_screenshot:\n type: boolean\n description: Auto-destroy after fetch.\n lazy_load:\n type: boolean\n description: Lazy-load content.\n scroll_delay:\n type: integer\n description: Delay in ms between scroll steps.\n retina:\n type: boolean\n description: 2x resolution.\n dark_mode:\n type: boolean\n description: Dark mode.\n block_tracking:\n type: boolean\n description: Block tracking.\n enable_incognito:\n type: boolean\n description: Incognito mode.\n omit_background:\n type: boolean\n description: Transparent background.\n thumbnail_width:\n type: integer\n description: Thumbnail width.\n adjust_top:\n type: integer\n description: Vertical scroll position.\n wait_for_event:\n type: string\n enum:\n - load\n - domcontentloaded\n - networkidle\n description: Wait for event.\n grayscale:\n type: integer\n description: Grayscale (0-100).\n delay:\n type: integer\n description: Delay in ms.\n timeout:\n type: integer\n description: Timeout in ms.\n ttl:\n type: integer\n description: Cache TTL in seconds.\n image_quality:\n type: integer\n description: JPEG quality (0-100).\n clip[x]:\n type: integer\n description: Clip X.\n clip[y]:\n type: integer\n description: Clip Y.\n clip[width]:\n type: integer\n description: Clip width.\n clip[height]:\n type: integer\n description: Clip height.\n css_url:\n type: string\n description: CSS file URL.\n css:\n type: string\n description: Custom CSS.\n js_url:\n type: string\n description: JS file URL.\n js:\n type: string\n description: Custom JS.\n block_js:\n type: boolean\n description: Block JS.\n block_stylesheets:\n type: boolean\n description: Block stylesheets.\n block_images:\n type: boolean\n description: Block images.\n block_media:\n type: boolean\n description: Block media.\n block_font:\n type: boolean\n description: Block fonts.\n block_text_track:\n type: boolean\n description: Block text tracks.\n block_xhr:\n type: boolean\n description: Block XHR.\n block_fetch:\n type: boolean\n description: Block Fetch.\n block_event_source:\n type: boolean\n description: Block EventSource.\n block_web_socket:\n type: boolean\n description: Block WebSocket.\n block_manifest:\n type: boolean\n description: Block manifest.\n block_specific_requests:\n type: string\n description: Specific requests to block.\n blur_selector:\n type: string\n description: CSS selectors to blur.\n remove_selector:\n type: string\n description: CSS selectors to remove.\n scroll_to_element:\n type: string\n description: Element to scroll to.\n selector:\n type: string\n description: CSS selector to capture.\n selector_to_click:\n type: string\n description: Element to click.\n click_recursion:\n type: integer\n description: Click count.\n result_file_name:\n type: string\n description: Custom filename.\n user_agent:\n type: string\n description: Custom User-Agent.\n accept_languages:\n type: string\n description: Accept-Language.\n proxy:\n type: string\n description: Proxy config.\n headers:\n type: string\n description: Custom headers.\n cookies:\n type: string\n description: Cookies.\n custom_html:\n type: string\n description: Custom HTML.\n fail_on_error:\n type: boolean\n description: Fail on 4xx/5xx.\n longitude:\n type: number\n format: float\n description: Geolocation longitude.\n latitude:\n type: number\n format: float\n description: Geolocation latitude.\n scrolling_screenshot:\n type: boolean\n description: Scrolling mode.\n scroll_speed:\n type: string\n enum:\n - normal\n - fast\n - slow\n description: Scroll speed.\n duration:\n type: number\n description: Duration in seconds.\n scroll_back:\n type: boolean\n description: Scroll back.\n start_immediately:\n type: boolean\n description: Start immediately.\n multiple_scrolling:\n type: boolean\n description: Multiple scrolling.\n sizes:\n type: array\n items:\n type: string\n description: Viewport sizes.\n video:\n type: boolean\n description: Video recording.\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.\n successful_urls:\n type: integer\n description: Number of URLs 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).\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",
59110
- "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.\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: format\n in: query\n required: false\n schema:\n type: string\n enum:\n - json\n default: json\n description: 'Response format: ''json''.'\n - name: output\n in: query\n required: false\n schema:\n type: string\n enum:\n - json\n - image\n description: Output format for screenshot results\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 description: File type for screenshot output\n - name: url\n in: query\n required: true\n schema:\n type: string\n description: URLs to capture screenshots of\n - name: width\n in: query\n required: false\n schema:\n type: integer\n description: Browser viewport width in pixels\n - name: height\n in: query\n required: false\n schema:\n type: integer\n description: Browser viewport height in pixels\n - name: full_page\n in: query\n required: false\n schema:\n type: boolean\n description: Capture a full-page screenshot\n - name: fresh\n in: query\n required: false\n schema:\n type: boolean\n description: Bypass cache and take a fresh screenshot\n - name: no_cookie_banners\n in: query\n required: false\n schema:\n type: boolean\n description: Remove cookie banners from the screenshot\n - name: enable_caching\n in: query\n required: false\n schema:\n type: boolean\n description: Enable caching for repeated requests\n - name: block_ads\n in: query\n required: false\n schema:\n type: boolean\n description: Block advertisements on the page\n - name: block_chat_widgets\n in: query\n required: false\n schema:\n type: boolean\n description: Block chat widget scripts from loading\n - name: extract_text\n in: query\n required: false\n schema:\n type: boolean\n description: Extract visible text from the page\n - name: extract_html\n in: query\n required: false\n schema:\n type: boolean\n description: Extract HTML content of the page\n - name: destroy_screenshot\n in: query\n required: false\n schema:\n type: boolean\n description: Auto-destroy screenshot after fetch\n - name: lazy_load\n in: query\n required: false\n schema:\n type: boolean\n description: Enable lazy-loading content before screenshot\n - name: retina\n in: query\n required: false\n schema:\n type: boolean\n description: Capture screenshot in high-DPI (Retina) mode\n - name: dark_mode\n in: query\n required: false\n schema:\n type: boolean\n description: Render page in dark mode\n - name: block_tracking\n in: query\n required: false\n schema:\n type: boolean\n description: Block common user-tracking scripts\n - name: enable_incognito\n in: query\n required: false\n schema:\n type: boolean\n description: Enable private/incognito mode for browser session\n - name: omit_background\n in: query\n required: false\n schema:\n type: boolean\n description: Omit background color (transparent background)\n - name: thumbnail_width\n in: query\n required: false\n schema:\n type: integer\n description: Thumbnail width in pixels\n - name: adjust_top\n in: query\n required: false\n schema:\n type: integer\n description: Adjust top in pixels\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 description: Wait for a specific load event before capturing the screenshot.\n - name: grayscale\n in: query\n required: false\n schema:\n type: integer\n description: Range:0 to 100 for grayscale filter\n - name: delay\n in: query\n required: false\n schema:\n type: integer\n description: How many milliseconds to wait before taking the screenshot\n - name: timeout\n in: query\n required: false\n schema:\n type: integer\n description: Maximum timeout in milliseconds. Defalut is `10,000`\n - name: ttl\n in: query\n required: false\n schema:\n type: integer\n description: Number of seconds the screenshot should be cached\n - name: clip[x]\n in: query\n required: false\n schema:\n type: integer\n description: X position of the clipping rectangle in pixels\n - name: clip[y]\n in: query\n required: false\n schema:\n type: integer\n description: Y position of the clipping rectangle in pixels\n - name: clip[width]\n in: query\n required: false\n schema:\n type: integer\n description: Width of the clipping rectangle in pixels\n - name: clip[height]\n in: query\n required: false\n schema:\n type: integer\n description: Height of the clipping rectangle in pixels\n - name: css_url\n in: query\n required: false\n schema:\n type: string\n description: URL to CSS file\n - name: css\n in: query\n required: false\n schema:\n type: string\n description: Your custom CSS code\n - name: js_url\n in: query\n required: false\n schema:\n type: string\n description: URL to JS file\n - name: js\n in: query\n required: false\n schema:\n type: string\n description: Your JS code\n - name: block_js\n in: query\n required: false\n schema:\n type: boolean\n description: Block Scripts\n - name: block_stylesheets\n in: query\n required: false\n schema:\n type: boolean\n description: Block Stylesheets\n - name: block_images\n in: query\n required: false\n schema:\n type: boolean\n description: Block Images\n - name: block_media\n in: query\n required: false\n schema:\n type: boolean\n description: Block Media\n - name: block_font\n in: query\n required: false\n schema:\n type: boolean\n description: Block Fonts\n - name: block_text_track\n in: query\n required: false\n schema:\n type: boolean\n description: Block Text Tracks\n - name: block_xhr\n in: query\n required: false\n schema:\n type: boolean\n description: Block XHR Requests\n - name: block_fetch\n in: query\n required: false\n schema:\n type: boolean\n description: Block Fetch Requests\n - name: block_event_source\n in: query\n required: false\n schema:\n type: boolean\n description: Block Event Source\n - name: block_web_socket\n in: query\n required: false\n schema:\n type: boolean\n description: Block Web Sockets\n - name: block_manifest\n in: query\n required: false\n schema:\n type: boolean\n description: Block Manifest\n - name: block_specific_requests\n in: query\n required: false\n schema:\n type: string\n description: 'Comma- or newline-separated list of specific requests to block. Each line and comma are treated as separate requests for processing. Example: https://example.com, https://example.js'\n - name: blur_selector\n in: query\n required: false\n style: form\n explode: false\n schema:\n type: string\n description: 'Comma-separated list of indexed CSS selectors to blur. Format: index:<selector>, e.g., 0:.banner,1:#ads.'\n - name: remove_selector\n in: query\n required: false\n style: form\n explode: false\n schema:\n type: string\n description: 'Comma-separated list of indexed CSS selectors to remove. Format: index:<selector>, e.g., 0:.banner,1:#ads.'\n - name: result_file_name\n in: query\n required: false\n schema:\n type: string\n description: Specify a meaningful and unique file name to easily identify the screenshot result. Avoid using spaces or special characters; use hyphens or underscores to separate words.\n - name: scrolling_screenshot\n in: query\n required: false\n schema:\n type: boolean\n description: '**`Scrolling Screenshot`**: Capture a long scrolling screenshot. When true, disable `fullPage` and `freshScreenshot`.'\n - name: scroll_speed\n in: query\n required: false\n schema:\n type: string\n enum:\n - normal\n - fast\n - slow\n description: Speed of scrolling during the screenshot.\n - name: scroll_back\n in: query\n required: false\n schema:\n type: boolean\n description: If true, the scroll will reverse back to the top after reaching the bottom.\n - name: start_immediately\n in: query\n required: false\n schema:\n type: boolean\n description: If true, the scrolling capture will start immediately upon page load.\n - name: multiple_scrolling\n in: query\n required: false\n schema:\n type: boolean\n description: If true, multiple scrolling screenshots will be taken at different viewport sizes.\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 viewport sizes in format index:XXw:YYh. Example: sizes=0:120w:300h,1:240w:500h'\n - name: duration\n in: query\n required: false\n schema:\n type: number\n minimum: 0\n maximum: 60\n description: Duration in seconds for the scrolling capture. Acceptable range is 0 to 60 seconds.\n - name: fail_on_error\n in: query\n required: false\n schema:\n type: boolean\n description: If true, returns an error when the target page responds with 4xx or 5xx status.\n - name: longitude\n in: query\n required: false\n schema:\n type: number\n description: Specify longitude for the browser Geolocation API.\n - name: latitude\n in: query\n required: false\n schema:\n type: number\n description: Specify latitude for the browser Geolocation API.\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: 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: 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.\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.\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.\n - name: click_recursion\n in: query\n required: false\n schema:\n type: integer\n description: 'Number of times to click the selector (when set via selector_to_click). Default: 1.'\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 description: Sets the accepted languages for the HTTP request. Sent as the Accept-Language header.\n - name: scroll_delay\n in: query\n required: false\n schema:\n type: integer\n description: Delay in milliseconds between scroll steps when lazy_load is enabled.\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.\n - name: image_quality\n in: query\n required: false\n schema:\n type: integer\n description: Compression level for JPEG output (0\u2013100). Lower = smaller file, higher = better quality. Only applies to JPEG.\n - name: extract_markdown\n in: query\n required: false\n schema:\n type: boolean\n description: Extracts rendered page content as a structured .md (Markdown) file.\n - name: get_image_urls\n in: query\n required: false\n schema:\n type: boolean\n description: Extracts all image URLs from the rendered DOM and returns them in structured format.\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 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 (e.g., PNG, JPEG).\n width:\n type: integer\n description: Viewport width used for capture in pixels.\n height:\n type: integer\n description: Viewport height used for capture in pixels.\n fresh:\n type: boolean\n description: Whether a fresh render was performed.\n full_page:\n type: boolean\n description: Whether full page capture was used.\n lazy_load:\n type: boolean\n description: Whether lazy loading was triggered.\n retina:\n type: boolean\n description: Whether retina capture was used.\n dark_mode:\n type: boolean\n description: Whether dark mode was enabled.\n enable_caching:\n type: boolean\n description: Whether caching was enabled.\n omit_background:\n type: boolean\n description: Whether background was removed.\n destroy_screenshot:\n type: boolean\n description: Whether the screenshot was destroyed after generation.\n fail_on_error:\n type: boolean\n description: Whether the request failed on error.\n block_ads:\n type: boolean\n description: Whether ads were blocked.\n no_cookie_banners:\n type: boolean\n description: Whether cookie banners were blocked.\n block_chat_widgets:\n type: boolean\n description: Whether chat widgets were blocked.\n block_tracking:\n type: boolean\n description: Whether tracking scripts were blocked.\n block_js:\n type: boolean\n description: Whether JavaScript was blocked.\n block_stylesheets:\n type: boolean\n description: Whether stylesheets were blocked.\n block_images:\n type: boolean\n description: Whether images were blocked.\n block_media:\n type: boolean\n description: Whether media files were blocked.\n block_font:\n type: boolean\n description: Whether fonts were blocked.\n block_xhr:\n type: boolean\n description: Whether XHR requests were blocked.\n block_fetch:\n type: boolean\n description: Whether Fetch API requests were blocked.\n block_web_socket:\n type: boolean\n description: Whether WebSocket connections were blocked.\n block_manifest:\n type: boolean\n description: Whether manifest files were blocked.\n extract_text:\n type: boolean\n description: Whether text content was extracted.\n extract_html:\n type: boolean\n description: Whether HTML content was extracted.\n extract_markdown:\n type: boolean\n description: Whether markdown extraction was enabled.\n get_image_urls:\n type: boolean\n description: Whether image URL extraction was enabled.\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 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.\n multiple_scrolling:\n type: boolean\n description: Whether multiple scrolling captures were performed.\n sizes:\n type: array\n items:\n type: string\n description: The dimensions used for each capture.\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.\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",
59751
+ "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",
59752
+ "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",
59111
59753
  "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",
59112
59754
  "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",
59113
59755
  "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 parameter combination, invalid timezone name, invalid coordinates, or location address not found\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 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 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'\n '404':\n description: Not Found \u2014 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 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",