
Extract Images from {Website}
Get every image from any website with one API call.
No CSS-selector hunting, no headless-browser scripting. Captures img tags, inline SVGs, base64 data URIs, picture/source variants, favicons, and video posters — with alt text and source element metadata.
What You Get
Each request returns a structured array of every image on the page.
All image types
img, svg, picture/source, link (favicon), and video poster
Source format identified
Each image tagged as url, html (inline SVG), or base64
Alt text included
Accessibility text returned where present for context and labeling
Element source tracked
Know exactly which HTML element each image came from
How It Works
We capture images from every HTML element and return a clean, structured payload.
Send a URL
Point the API at any public webpage you want to extract images from
Page fetched and parsed
The full HTML is retrieved and all image-bearing elements are identified
Images extracted and classified
Each image gets its src, element type, format (url/html/base64), and alt text
Structured array returned
A clean JSON array of image objects ready for display, analysis, or storage
API Response
Extracted images for context.dev
GET /v1/web/scrape/images?url=https://context.dev{
"success": true,
"url": "https://context.dev",
"images": [
{
"src": "https://context.dev/logo.svg",
"element": "img",
"type": "url",
"alt": "Context.dev logo"
},
{
"src": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\">...</svg>",
"element": "svg",
"type": "html",
"alt": null
},
{
"src": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAA...",
"element": "img",
"type": "base64",
"alt": "Hero background"
}
]
}Frequently asked questions
Common questions about extracting images from a website.
Am I billed for failed requests?
How do I extract all images from a website?
What types of images are extracted?
Does the image extractor return alt text?
Can I download all images from a website with this API?
How is this different from "right-click → save image as"?
Can I use this to scrape product images for a catalog?
Is the image scraper API free?
Ship an agent that actually knows things.
Free tier, 10-minute integration, and the same API powering agents at Mintlify, daily.dev, and Propane. No credit card to start.













