Skip to content

Latest commit

 

History

History

screenshot-api

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 

Description

Create pixel-perfect website screenshots

Example Request

  • Curl
curl "https://shot.screenshotapi.net/screenshot?token={{token}}&url=https://example.com"
  • Raw
GET /screenshot?token={{token}}&url=https://example.com HTTP/1.1
Host: shot.screenshotapi.net

Response

  • Success
{
    "screenshot":"https://screenshoapi.....",
    "url":"https://example.com",
    "created_at":"2022-06-17T16:06:29.435Z",
    "is_fresh":true,
    "token":"{{token}}",
    "ttl":"2022-07-17T16:06:25.255Z"
}
  • Error
{
    "error":"Unuathorized 2"
}

Regex

[A-Z0-9]{7}-[A-Z0-9]{7}-[A-Z0-9]{7}-[A-Z0-9]{7}

Example API key

03S7N6P-VDGM7JT-Q6F7XQW-31K8Q32