https://api.apifreaks.com/v1.0/screenshot
$ pip install requests
Click Test it to start the request and see the response here!
| Field | Type | Requirement | Description |
|---|---|---|---|
| screenshot | String | Mandatory | Specifies the file type for the output. |
| url | String | Mandatory | The original URL that was captured. |
| created_at | String | Mandatory | Timestamp when the screenshot was created (ISO 8601 format). |
| format | String | Mandatory | Response format type. |
| ttl | String | Mandatory | Time until the screenshot expires (ISO 8601 format). |
| file_type | String | Optional | The file type of the output. |
| url.extracted_html | String | Optional | URL of the extracted HTML from the webpage |
| omit_background | Boolean | Optional | Whether background was removed (true/false). |
| destroy_screenshot | Boolean | Optional | Whether the screenshot was destroyed after generation (true/false). |
| fail_on_error | Boolean | Optional | Whether the request failed on error (true/false). |
| longitude | Number | Optional | The longitude value used for geolocation. |
| latitude | Number | Optional | The latitude value used for geolocation. |
| proxy | String | Optional | The proxy configuration used for the request. |
| no_cookie_banners | Boolean | Optional | Whether cookie banners were blocked (true/false). |
| block_ads | Boolean | Optional | Whether ads were blocked (true/false). |
| headers | String | Optional | The custom headers that were included in the request. |
| cookies | String | Optional | The cookies that were included in the request. |
| scroll_to_element | String | Optional | The element that was scrolled to before rendering. |
| selector | String | Optional | The element that was selected for rendering. |
| blur_selector | String | Optional | The elements that were blurred in the output. |
| remove_selector | String | Optional | The elements that were removed from the output. |
| css | String | Optional | The custom CSS that was injected into the page. |
| css_url | String | Optional | The external CSS URL that was loaded. |
| js | String | Optional | The custom JavaScript that was injected. |
| js_url | String | Optional | The external JavaScript URL that was loaded. |
| ttl | Number | Optional | The cache duration that was set in seconds. |
| user_agent | String | Optional | The User-Agent string that was used. |
| accept_languages | String | Optional | The Accept-Language header that was used. |
| delay | Number | Optional | The delay duration that was applied in milliseconds. |
| thumbnail_width | Number | Optional | The thumbnail width that was used in pixels. |
| output | String | Optional | The output type that was used. |
| fresh | Boolean | Optional | Whether a fresh render was performed (true/false). |
| enable_caching | Boolean | Optional | Whether caching was enabled (true/false). |
| lazy_load | Boolean | Optional | Whether lazy loading was triggered (true/false). |
| full_page | Boolean | Optional | Whether full page capture was used (true/false). |
| retina | Boolean | Optional | Whether retina capture was used (true/false). |
| height | Number | Optional | The viewport height that was used in pixels. |
| width | Number | Optional | The viewport width that was used in pixels. |
| custom_html | String | Optional | The custom HTML content that was rendered. |
| block_chat_widgets | Boolean | Optional | Whether chat widgets were blocked (true/false). |
| block_js | Boolean | Optional | Whether JavaScript was blocked (true/false). |
| block_stylesheets | Boolean | Optional | Whether stylesheets were blocked (true/false). |
| block_images | Boolean | Optional | Whether images were blocked (true/false). |
| block_media | Boolean | Optional | Whether media files were blocked (true/false). |
| block_fonts | Boolean | Optional | Whether fonts were blocked (true/false). |
| block_text_track | Boolean | Optional | Whether text tracks were blocked (true/false). |
| block_xhr | Boolean | Optional | Whether XHR requests were blocked (true/false). |
| block_fetch | Boolean | Optional | Whether Fetch API requests were blocked (true/false). |
| block_event_source | Boolean | Optional | Whether EventSource connections were blocked (true/false). |
| block_web_socket | Boolean | Optional | Whether WebSocket connections were blocked (true/false). |
| block_manifest | Boolean | Optional | Whether manifest files were blocked (true/false). |
| block_specific_requests | String | Optional | The specific requests that were blocked. |
| adjust_top | Number | Optional | The vertical position that was scrolled to in pixels. |
| image_quality | Number | Optional | The image quality level that was applied. |
| extract_html | Boolean | Optional | Whether HTML content was extracted (true/false). |
| extract_text | Boolean | Optional | Whether text content was extracted (true/false). |
| dark_mode | Boolean | Optional | Whether dark mode was enabled (true/false). |
| block_tracking | Boolean | Optional | Whether tracking scripts were blocked (true/false). |
| wait_for_event | String | Optional | The event that triggered the rendering to start. |
| grayscale | Number | Optional | The grayscale level that was applied (0-100). |
| clip | object | Optional | The dimensions of the clipped area that was captured. |
| result_file_name | String | Optional | The final filename used for the output file. |
| incognito_mode | Boolean | Optional | Whether incognito mode was enabled (true/false). |
| timeout | Number | Optional | The actual timeout duration that was applied in milliseconds. |
| scrolling_screenshot | Boolean | Optional | Whether scrolling screenshot mode was enabled (true/false). |
| multiple_scrolling | Boolean | Optional | Whether multiple scrolling captures were performed (true/false). |
| sizes | Array | Optional | The dimensions used for each capture in the array. |
| scroll_speed | String | Optional | The scroll speed that was applied during capture. |
| duration | Number | Optional | The actual duration of the scrolling capture in seconds. |
| scroll_back | Boolean | Optional | Whether the scroll back feature was enabled (true/false). |
| start_immediately | Boolean | Optional | Whether immediate recording was enabled (true/false). |