Endpoints
Images
Get every image on a page — including lazy-loaded ones — with its format, dimensions and file size.
GET
https://jsonlink.io/api/imagesParameters
urlstringRequiredThe full URL of the page.
api_keystringRequiredYour API key.
Response
An object with an images array. Each image has:
urlstringAbsolute URL of the image.
srcstringThe src as written in the page (may be relative).
formatstringjpg, png, svg, webp, gif, ico… Empty when unknown.
width / heightnumberDimensions as loaded in the page, in pixels.
basename / namestringFile name with and without extension.
sizenumberFile size in bytes, when the server reports it.
mime_typestringContent type reported by the image server.
Errors
Pages that can't be loaded return {"error": "UNABLE_TO_LOAD_PAGE"} and are not billed. SeeErrors.
Notes
- The page is scrolled to load lazy images, so large pages take a few seconds.
- The same image can appear more than once if the page uses it several times.
- CSS background images are not included.