# Ecosia Search Scraper (`rainminer/ecosia-search-scraper`) Actor

Extract public organic web results from Ecosia green search. Get rank, title, URL, display URL, snippet, and thumbnail when shown — no login. Schedule runs, export JSON, CSV, or Excel, and pull SERP data through the Apify API.

- **URL**: https://apify.com/rainminer/ecosia-search-scraper.md
- **Developed by:** [rainminer](https://apify.com/rainminer) (community)
- **Categories:** SEO tools, Other
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.49 / 1,000 result items

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

![Ecosia](https://cdn-static.ecosia.org/static/icons/favicon-192.png)

### What does Ecosia Search Scraper do?

**Ecosia Search Scraper** extracts **public organic web results** from [Ecosia](https://www.ecosia.org/) (`ecosia.org`). Paste a web search URL and export **rank, title, result URL, display URL, snippet, and thumbnail**.

No Ecosia account and no coding. Run it on the **Apify platform** to schedule crawls, export JSON, CSV, or Excel, and pull results through the API.

### Why scrape Ecosia search results?

Ecosia is a **green search engine** that plants trees from ad revenue. SEO teams, agencies, and researchers use it to track how queries appear outside Google and Bing.

- **Green SERP tracking** — Store organic ranks for branded and non-branded queries on Ecosia.
- **Share-of-voice** — Compare which domains appear for a keyword on Ecosia.
- **Snippet research** — Capture titles and descriptions Ecosia actually shows.
- **Engine comparison** — Check how Ecosia results differ from Google or Bing.
- **Content gaps** — Find pages that rank on Ecosia but not in your own list.
- **Monitoring** — Schedule the Actor and diff datasets over time.
- **Reporting** — Feed rank, URL, and snippet into Sheets, Looker, or a rank-tracking warehouse.

### How to scrape Ecosia Search

1. Open **Ecosia Search Scraper** in Apify Console.
2. Add one or more start URLs. The default is `https://www.ecosia.org/search?q=berlin`.
3. Set **Maximum items** (results per start URL). Use a small number for a test, then raise it for a full export.
4. Run the Actor and download the dataset as JSON, CSV, Excel, or HTML.

Copy the URL from Ecosia after you type a query, including any `&p=` pagination parameter, and paste it into **Start URLs**.

### What data can you extract from Ecosia Search?

| Field | Description |
| --- | --- |
| position | Organic rank in the run for that start URL |
| title | Result title |
| url | Destination URL |
| displayUrl | Visible site / display URL |
| snippet | Result description |
| imageUrl | Result thumbnail when Ecosia shows one |
| query | Search query from the start URL |
| page | Result page number |
| searchUrl | Start URL that produced the row |

### How much does it cost to scrape Ecosia Search?

The Actor opens the public Ecosia results page in a browser (results are not in the first HTML response). You pay for each result saved to the dataset (pay per result), plus compute for the browser run. A short test with the default maximum of 5 results is enough to confirm the fields before a larger export.

You can schedule runs, send results to Google Sheets or webhooks, and call the Actor through the Apify API. The same dataset is available as JSON, CSV, Excel, or HTML.

### Input

**Start URLs**, **Maximum items** (per start URL), and an optional **proxy configuration**. **Apify Proxy with the RESIDENTIAL group is on by default** because Ecosia uses Cloudflare and blocks most datacenter IPs. See the Input tab for the form.

Supported start URLs:

- Search: `https://www.ecosia.org/search?q=berlin`
- Paginated search: `https://www.ecosia.org/search?q=berlin&p=1` (page 2; `p` is zero-indexed)
- Localized: `https://www.ecosia.org/search?q=berlin&addon=manualopensearch`

`maxItems` applies **per start URL**. Two queries with a maximum of 20 can return up to 40 results.

### Output

You can download the dataset extracted by Ecosia Search Scraper in JSON, HTML, CSV, or Excel.

```json
{
  "id": "https://en.wikipedia.org/wiki/Berlin",
  "position": 1,
  "title": "Berlin - Wikipedia",
  "url": "https://en.wikipedia.org/wiki/Berlin",
  "displayUrl": "en.wikipedia.org",
  "snippet": "Berlin is the capital and largest city of Germany.",
  "imageUrl": null,
  "query": "berlin",
  "page": 1,
  "searchUrl": "https://www.ecosia.org/search?q=berlin"
}
```

### FAQ

#### Is it legal to scrape Ecosia Search?

This Actor collects **public search result cards** shown on Ecosia web search. It does not log in and it does not collect account or private data. Use the data only when you have a legitimate reason, and get advice if you are unsure.

#### Do I need an Ecosia account?

No. The Actor reads public search pages only.

#### Why are some snippets or images empty?

Ecosia does not always show a description or thumbnail. Empty snippet or `imageUrl` fields are expected for those rows.

#### Can I export more than one page?

Yes. Raise **Maximum items** above 10. The Actor follows Ecosia pagination (`p=1`, `p=2`, …) until the limit or the last page.

#### Where can I get help?

Open the **Issues** tab on the Actor page if a URL returns nothing or a field looks wrong.

### Image Credit

Image credit: [ecosia.org](https://www.ecosia.org/)

# Actor input Schema

## `startUrls` (type: `array`):

Ecosia web search result URLs (https://www.ecosia.org/search?q=...). Use \&p=1 for page 2 (p is zero-indexed).

## `maxItems` (type: `integer`):

Maximum number of organic results to return per start URL.

## `proxyConfiguration` (type: `object`):

Ecosia is protected by Cloudflare and blocks most datacenter IPs. Apify Proxy with RESIDENTIAL group is on by default.

## Actor input object example

```json
{
  "startUrls": [
    {
      "url": "https://www.ecosia.org/search?q=berlin"
    }
  ],
  "maxItems": 5,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ]
  }
}
```

# Actor output Schema

## `overview` (type: `string`):

No description

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "startUrls": [
        {
            "url": "https://www.ecosia.org/search?q=berlin"
        }
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("rainminer/ecosia-search-scraper").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = { "startUrls": [{ "url": "https://www.ecosia.org/search?q=berlin" }] }

# Run the Actor and wait for it to finish
run = client.actor("rainminer/ecosia-search-scraper").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "startUrls": [
    {
      "url": "https://www.ecosia.org/search?q=berlin"
    }
  ]
}' |
apify call rainminer/ecosia-search-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,rainminer/ecosia-search-scraper"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/BCxLtS7AUmuh5absW/builds/gFQV9BadgcXm6Mssy/openapi.json
