Image Source Extractor avatar

Image Source Extractor

Pricing

$4.99/month + usage

Go to Apify Store
Image Source Extractor

Image Source Extractor

Image source extractor that pulls every image URL, alt text, file format, and lazy-load status from any web page, so SEO teams can find missing alt text and fix image issues fast.

Pricing

$4.99/month + usage

Rating

0.0

(0)

Developer

ZeroBreak

ZeroBreak

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

2 days ago

Last modified

Categories

Share

Image Source Extractor: Find and Audit Every Image on Any Web Page

Extract every image from a web page with its full URL, alt text, file format, lazy-load status, and Open Graph meta images. Built for SEO auditors who need a complete image inventory without clicking through source code.

Point it at one URL or a list of pages and get back a structured dataset: every <img> element on the page, resolved to an absolute URL, with all the metadata you need to audit image SEO in one pass.

Use cases

  • Alt text auditing: find every image on a site with missing or empty alt text and get a prioritized fix list without manual inspection
  • Image format analysis: identify pages still serving JPEG instead of WebP, which affects Core Web Vitals and page speed scores
  • Lazy-load verification: confirm that below-the-fold images use loading="lazy" so they are not blocking page load
  • Open Graph image audit: check that every page has an og:image and twitter:image set correctly for social sharing previews
  • Third-party image inventory: flag images loaded from external CDNs or domains that could affect privacy compliance or page performance
  • Content migration prep: export a full image list before migrating or redesigning a site so nothing gets missed

What data does this actor extract?

Each record in the output dataset represents one image on the page.

{
"pageUrl": "https://apify.com",
"pageTitle": "Apify: Full-Stack Web Scraping and Browser Automation Platform",
"imageUrl": "https://apify.com/img/apify-logo.svg",
"altText": "Apify logo",
"hasAltText": true,
"titleAttr": "",
"width": "120",
"height": "40",
"loading": "lazy",
"imageFormat": "svg",
"isExternal": false,
"ogImage": "https://apify.com/img/og-image.png",
"twitterImage": "https://apify.com/img/og-image.png",
"scrapedAt": "2026-03-01T08:45:12.345678+00:00"
}
FieldTypeDescription
pageUrlstringURL of the source page (final URL after redirects)
pageTitlestringTitle tag content of the source page
imageUrlstringFull absolute URL of the image
altTextstringAlt attribute value. Empty string if alt is present but blank. Check hasAltText to tell missing from intentionally empty.
hasAltTextbooleanTrue if the img element has an alt attribute at all. False means the attribute is missing entirely, which is an SEO issue.
titleAttrstringTitle attribute on the img element, if present
widthstringWidth attribute from the HTML (may be empty if not set)
heightstringHeight attribute from the HTML (may be empty if not set)
loadingstringLoading attribute: lazy, eager, or empty if not set
imageFormatstringImage file format from the URL extension: jpg, jpeg, png, gif, webp, svg, ico, avif, or other
isExternalbooleanTrue if the image is hosted on a different domain than the page
ogImagestringOpen Graph image from the page's og:image meta tag
twitterImagestringTwitter Card image from the page's twitter:image meta tag
errorstringError message if the page could not be fetched (present only on failure)
scrapedAtstringISO 8601 timestamp of when the page was scraped

Input

ParameterTypeDefaultDescription
urlstringrequiredSingle web page URL to extract images from
urlsarray[]List of page URLs. One per line. Use this to audit multiple pages in one run.
includeExternalImagesbooleantrueInclude images hosted on external domains. Disable to see only images from the same domain as the page.
maxUrlsinteger100Maximum number of pages to process. Hard cap is 1000.
requestTimeoutSecsinteger30Per-request timeout in seconds. Increase for slow sites.
timeoutSecsinteger300Overall actor run timeout in seconds.
proxyConfigurationobjectDatacenter (Anywhere)Proxy type and location for requests. Supports Datacenter, Residential, Special, and custom proxies. Optional.

Example input

{
"url": "https://apify.com",
"urls": [
"https://apify.com/about",
"https://apify.com/pricing"
],
"includeExternalImages": true,
"maxUrls": 100,
"requestTimeoutSecs": 30,
"proxyConfiguration": { "useApifyProxy": true }
}

How it works

  1. Accepts one or more page URLs from the input
  2. Deduplicates the URL list and caps at maxUrls
  3. Fetches each page using an async HTTP client with a realistic browser User-Agent
  4. Parses the HTML with BeautifulSoup and finds every <img> element
  5. Resolves each image src to an absolute URL
  6. Checks for the alt, title, width, height, and loading attributes
  7. Detects the file format from the URL extension
  8. Extracts Open Graph and Twitter Card meta images from the page head
  9. Pushes one record per image to the output dataset
  10. Rotates proxy per page when proxy configuration is enabled

FAQ

Can this actor check alt text on JavaScript-rendered pages? No. It uses a plain HTTP request and parses the raw HTML. If images are injected by JavaScript after the page loads, they will not appear in the output. For JS-rendered sites, you would need a browser-based actor using Playwright.

What is the difference between hasAltText false and altText being an empty string? hasAltText: false means the alt attribute is completely missing from the img element. This is an SEO and accessibility problem. altText: "" with hasAltText: true means the attribute is present but intentionally empty, which is correct markup for decorative images.

How many images can it extract per run? There is no hard limit on images per page. The maxUrls setting caps the number of pages processed, not the number of images per page. A single page might have 5 images or 500.

Does it follow links and crawl the entire site? No. It only extracts images from the URLs you provide. It does not crawl to new pages. To audit a full site, export your URL list from a sitemap or crawl tool first and then feed it as the urls input.

What formats does it detect? It detects jpg, jpeg, png, gif, webp, svg, ico, bmp, tiff, avif, and apng from the URL extension. If the extension is missing or unknown it returns other.

Integrations

Connect Image Source Extractor with other apps and services using Apify integrations. You can integrate with Make, Zapier, Slack, Airbyte, GitHub, Google Sheets, Google Drive, and many more. You can also use webhooks to trigger actions whenever the image audit is complete.