Skip to main content
Fetch a single image as raw PNG bytes
curl --request POST \
  --url https://api.scrapeunblocker.com/getImage \
  --header 'x-scrapeunblocker-key: <api-key>'
import requests

url = "https://api.scrapeunblocker.com/getImage"

headers = {"x-scrapeunblocker-key": "<api-key>"}

response = requests.post(url, headers=headers)

print(response.text)
const options = {method: 'POST', headers: {'x-scrapeunblocker-key': '<api-key>'}};

fetch('https://api.scrapeunblocker.com/getImage', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));
{
  "detail": [
    {
      "loc": [
        "<string>"
      ],
      "msg": "<string>",
      "type": "<string>"
    }
  ]
}

Authorizations

x-scrapeunblocker-key
string
header
required

Your ScrapeUnblocker API key. Apply on every request.

Query Parameters

url
string
required
proxy_country
string

Response

PNG bytes (image/png).