Scraping

Fetch an image in its original format

Downloads the image at url through rotating proxies and returns its bytes exactly as the image host serves them, with the host's own Content-Type (JPEG, PNG, WebP, AVIF, GIF incl. animation, SVG, ICO, ...). Nothing is re-encoded. When the host answers with a bot challenge, a real browser opens the image and clears it. url must point at the image itself - for a page, use /getPageSource and take the image URL from its HTML.

post/getImage

Request

  • Base URL: https://api.scrapeunblocker.com
  • URL: https://api.scrapeunblocker.com/getImage
  • Auth: API key in header x-scrapeunblocker-key

Query parameters

urlstring required
proxy_countrystring

Response

The image bytes, unchanged, with the image's own Content-Type. X-Destination-URL carries the final URL after redirects. Billed.

unknown required

Changes

No recorded changes to this operation across all 1 revision of this API.