Capturing! Please wait ...
This API provides screenshot of any website.
Website Screenshot Generator requires an api key.
https://api.iplocation.net/generate-screenshot?api_key=XXXXX&url=www.com&type=full
Name | Required | Description | Default |
---|---|---|---|
url | yes | URL of the website for the screenshot | - |
api_key | yes | API key is required. | - |
type | no | Screenshot Format: partial full |
partial |
image_format | no | Format of the image that will be generated as screenshot. Supported Format: png jpeg |
png |
resolution | no | Dimension of the the screenshot. The following parameters are used:desktop - for Desktop view. mobile - for Mobile view. custom - for custom dimension. |
desktop |
width | yes | Width of the screenshot. Required when resolution is selected as custom |
1440 |
height | yes | Height of the screenshot. Required when resolution is selected as custom |
1129 |
Name | Description |
---|---|
created_on | Screenshot generated date. |
image | Base64 screenshot image. |
width | Width of screenshot image. |
height | Height of Screenshot image. |
full_size | true if the screenshot is full page, Otherwise false . |
layout | Layout of screenshot. |
image_format | Image file format. |
response_code | Response status code to indicate success or failed completion of the API call. |
response_message | Response message to indicate success or failed completion of the API call. |
Name | Message | Description |
---|---|---|
200 | OK | Successfully processed the request. |
400 | Bad Request | Failed to complete the request. |
404 | Not Found | Command not found. |
https://api.iplocation.net/generate-screenshot?api_key=Sm7kqIpmfRIN...&url=https://iplocation.net&type=full
{ "created_on": "2024-06-30T11:10:31.000Z", "image": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAACNIAAD2eCAIAAAC7FubVAAABK2lDQ1BTa2l... "response_code": 200, "response_message": "success", "screenshot_parameters": { "width": 1440, "height": 1129, "full_size": 1, "layout": "desktop", "image_format": "png" } }