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