Ecosia Images Scraper avatar

Ecosia Images Scraper

Pricing

from $1.99 / 1,000 search results

Go to Apify Store
Ecosia Images Scraper

Ecosia Images Scraper

Scrapes normalized image search results from Ecosia.

Pricing

from $1.99 / 1,000 search results

Rating

0.0

(0)

Developer

Search API

Search API

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

2 days ago

Last modified

Features

Limited permissions

Share

Collect source-backed image results from the public Ecosia Images page.

Input

FieldTypeDefaultDescription
querystring—Image-search keywords.
maxItemsinteger20Global record limit (1–500).
maxPagesinteger1Maximum pages to inspect (1–50).
sitestring—Applied locally after collection; not sent to the target. Keeps images whose source page host is that domain or a subdomain.
minWidthinteger—Applied locally after collection; not sent to the target. Drops images narrower than this (payload width, in pixels).
minHeightinteger—Applied locally after collection; not sent to the target. Drops images shorter than this (payload height, in pixels).
proxyConfigurationobject—Optional Apify proxy settings when direct access is limited.

The complete input contract is in .actor/input_schema.json.

Local filters

site, minWidth and minHeight narrow the parsed image list after Ecosia has answered and are never added to the request URL or sent to the target. Ecosia's public /images route accepts only q and p, and the page's payload exposes width/height/sourceUrl on the results rather than as a query, so no request-level filter is promised.

  • site matches the source-page host (sourceUrl) exactly or as a subdomain; pixabay.com keeps www.pixabay.com and cdn.pixabay.com.
  • minWidth/minHeight compare against the payload's exact pixel dimensions (the same values written to width/height), not the thumbnail size.
  • Per-reason drop counts are reported in the run log (filterDrops), so a smaller page is explainable instead of looking like a selector miss.

Output

Each record includes a stable ID, image and thumbnail URLs, title and alt text, source page URLs and domains, dimensions, aspect ratio, pixel count, file format and MIME type, the provider's accent colour, query and market context, retrieval provenance, nested search metadata, and scrapedAt. Empty optional fields are omitted. CAPTCHA and access boundaries fail the run without creating placeholder rows.

The default dataset has an Overview view and a Full details view. Complete field definitions, types, and requiredness are in .actor/dataset_schema.json.

How the page is read

The rendered cards (article.image-feed__item.image-result) are the enumerator: they fix the result order, position, the source-page link and the host label. Each card is then enriched from the structured payload the page itself ships, inside <script id="vike_pageContext" type="application/json">:

payload pathdataset field
data.results.mainline[].width / .heightwidth / height (exact, not the card's rounded overlay)
data.results.mainline[].thumbnailWidth / .thumbnailHeightthumbnailWidth / thumbnailHeight
data.results.mainline[].formatfileFormat (and therefore mimeType)
data.results.mainline[].accentColorcolorHex (23290E → #23290E)
data.results.mainline[].id + mainResultsProvider + context.marketengineData
data.results.pagination.totalNumberOfResultstotalResults

Cards are matched to payload entries by the provider result id the card carries (aria-controls="image-preview-<id>"), then by the exact image URL. Matching by source page URL is deliberately not used: one host page can appear on several cards, which would copy another result's dimensions and image URL. If the page renders no cards at all, the payload entries become the records, so a markup refactor degrades to the page's own structured data instead of an empty dataset.

Fields Ecosia does not publish

https://www.ecosia.org/images?q=… carries no data for these dataset fields, so they stay empty instead of being defaulted or invented. Evidence (2026-10-25, query cat, 24 payload entries and 84 rendered cards):

  • Every data.results.mainline[] entry carried exactly the same 11 keys — id, title, thumbnailUrl, thumbnailWidth, thumbnailHeight, width, height, imageUrl, sourceUrl, accentColor, format — so the payload has no byte size, license, copyright, creator, caption, tag, similar-image, page-title, favicon or animation flag.
  • The payload's other groups are queryExpansions (related queries, not image tags), context, pagination, adTracking and productAds; none carries those fields.
  • The rendered card contains one <img> (the thumbnail), one h2 (the image title) and one [data-test-id="image-result-source"] (the host label). There is no rel="icon", no favicon <img>, and no license/copyright/creator/size marker (favicon appears on the page only as Ecosia's own site icon and its faviconProxyUrl config string).

Left empty for that reason: color (the payload exposes a hex value only, which is colorHex), fileSize, fileSizeFormatted, isAnimated, creator, creatorUrl, creatorAvatar, license, copyright, source (the host label is already sourceName/sourceDomain/hostPageDomain), pageTitle, favicon, caption, tags, similarImages.

Robots.txt and access policy

https://www.ecosia.org/robots.txt serves User-agent: * with Disallow: /images (alongside /search, /news, /videos, /shopping) and Crawl-delay: 10. This Actor reads only the publicly rendered page in a browser session — the same public document any visitor sees — and does not bypass, solve or answer Ecosia's firewall challenge. The rule is disclosed here rather than worked around; if Ecosia serves the challenge instead of the page, the run fails closed and records nothing.

Runtime

The Actor uses the current Ecosia Images page in a Chrome Playwright runtime and does not download or upload source media. Ecosia answers /images with a Cloudflare managed challenge (HTTP 403) from some exits, so the crawler keeps blockedStatusCodes: [] and gives the challenge a bounded 20 s observation window to clear on its own. Nothing is clicked, injected or answered; a challenge that does not clear fails the run with the observed status, title and card count in the log.

How to use

Enter an image query and result limits in the Apify Input tab, then start the Actor and inspect the records in the Output dataset.