all-about-apikey/abstract-website-screenshot
Muhammad Daffa 043959c57d Minor changes 2022-07-25 13:04:42 +07:00
..
README.md Minor changes 2022-07-25 13:04:42 +07:00

README.md

Abstract Website Screenshot

Description

Transform any URL into an image with Abstract's Website Screenshot API

Example Request

  • Curl
curl "https://screenshot.abstractapi.com/v1/?api_key={{token}}&url=https://www.apple.com" -o example.jpg
  • Raw
GET /v1/?api_key={{token}}&url=https://www.apple.com HTTP/1.1
Host: screenshot.abstractapi.com

Response

  • Success
The screenshot image will appear
  • Error
{
    "error":{
        "message":"Invalid API key provided.",
        "code":"unauthorized",
        "details":null
    }
}

Regex

[a-z0-9]{32}

Example API key

of3ab02f3xd12ldofxc3fosc129sd241