# Erasmus+ Organisation Scraper (`lhotanova/erasmus-plus-organisation-scraper`)

Data extraction tool for Erasmus+ and European Solidarity Corps organisations. Search for organisations by their legal name, business name, country, city and more! 🌐

- **URL**: https://beta-securitybyobscurity.apify.com/lhotanova/erasmus-plus-organisation-scraper.md
- **Developed by:** [Kristýna Lhoťanová](https://beta-securitybyobscurity.apify.com/lhotanova) (community)
- **Categories:** Other, Open source
- **Stats:** 24 total users, 4 monthly users, 100.0% runs succeeded, 4 bookmarks
- **User rating**: No ratings yet

## Pricing

Pay per usage

This Actor is paid per platform usage. The Actor is free to use, and you only pay for the Apify platform usage, which gets cheaper the higher subscription plan you have.

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

# README

## Erasmus+ and European Solidarity Corps Organisations Search - Data Extraction Tool

**Erasmus+ Organisation Scraper** is a data extraction tool designed to help you discover valuable information from the Erasmus+ and European Solidarity Corps programmes. It allows you to efficiently search for organizations based on various criteria, such as legal name, business name, hyperlink, PIC, or OID, directly from the official website: [Erasmus+ and European Solidarity Corps Organisations Search](https://webgate.ec.europa.eu/erasmus-esc/index/organisations/search-for-an-organisation).

### Simple and Advanced Search Options

This data extraction tool provides two search options:

**1. Simple Search**: Quickly enter a search query using legal name, business name, hyperlink, PIC, or OID, and receive instant results.

**2. Advanced Search**: Customize your search by combining multiple criteria, including legal name, business name, country, city, website, PIC, organization ID, registration number, VAT number, or Erasmus Charter for Higher Education Code, to refine your search and get more specific results.

### Example Output

Below are two sample organizations along with the extracted data in JSON format.

```json
[
  {
    "name": " The Edge Foundation",
    "legalName": " The Edge Foundation",
    "businessName": " The Edge Foundation",
    "country": "UK",
    "city": "London",
    "website": "https://www.edge.co.uk/",
    "goTolink": "https://webgate.ec.europa.eu/organisation-registration/register/screen/home/organisation/organisationData/10260330",
    "goTolinkShow": "https://webgate.ec.europa.eu/organisation-registration/register/screen/home/organisation/organisationData/10260330",
    "websiteShow": "https://www.edge.co.uk/",
    "registration": "1686164",
    "organisationId": "E10260330",
    "pic": null,
    "institutionCode": null,
    "validityType": "42284353",
    "vat": null
  },
  {
    "name": "Raabeschule",
    "legalName": "Gymnasium Raabeschule",
    "businessName": "Raabeschule",
    "country": "DE",
    "city": "Braunschweig",
    "website": "http://www.raabeschule.de",
    "goTolink": "https://webgate.ec.europa.eu/organisation-registration/register/screen/home/organisation/organisationData/10206959",
    "goTolinkShow": "https://webgate.ec.europa.eu/organisation-registration/register/screen/home/organisation/organisationData/10206959",
    "websiteShow": "www.raabeschule.de",
    "registration": "67891",
    "organisationId": "E10206959",
    "pic": "941588119",
    "institutionCode": null,
    "validityType": "42284356",
    "vat": null
  }
]
```

### Integrations and Automation

The tool seamlessly integrates with popular cloud services and web apps through the <a href="https://apify.com/integrations" target="_blank">integrations on the Apify platform</a>. You can connect it with Make, Zapier, Slack, Airbyte, GitHub, Google Sheets, Google Drive, and many more. Moreover, you can leverage <a href="https://docs.apify.com/integrations/webhooks" target="_blank">webhooks</a> to automate actions when specific events occur, such as receiving search results.

### Using the Apify API

For more advanced users, the Apify API provides programmatic access to the platform. You can manage, schedule, and run tasks with ease. Access datasets, monitor performance, fetch results, create and update versions, and much more.

For detailed information and code examples, check out the comprehensive [Apify API reference](https://docs.apify.com/api/v2) documentation or explore the <a href="https://apify.com/lhotanok/erasmus-plus-organisation-scraper/api" target="_blank">API tab</a> for practical code samples.

### Explore More Apify Solutions

The Apify platform offers a wide selection of dedicated solutions for various data extraction needs. Discover more options to enhance your data extraction capabilities. Visit the [Apify Store](https://apify.com/store) to explore the full range of possibilities.

# Actor input Schema

## `searchTerms` (type: `array`):

Search terms representing Erasmus+ organizations you need data for. You can use all terms supported by Erasmus+ organization search engine: legal name, business name, hyperlink, PIC or an OID.

## `legalName` (type: `string`):

No description

## `businessName` (type: `string`):

No description

## `countryCode` (type: `string`):

No description

## `city` (type: `string`):

No description

## `websiteName` (type: `string`):

No description

## `pic` (type: `string`):

No description

## `organisationId` (type: `string`):

No description

## `registrationNumber` (type: `string`):

No description

## `vatNumber` (type: `string`):

No description

## `institutionCode` (type: `string`):

No description

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

Use either Apify proxies or your own.

## `debugMode` (type: `boolean`):

Check this field if you need to see debug logs.

## Actor input object example

```json
{
  "searchTerms": [],
  "countryCode": "BE",
  "proxyConfiguration": {
    "useApifyProxy": true
  },
  "debugMode": false
}
```

# 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 = {
    "countryCode": "BE",
    "proxyConfiguration": {
        "useApifyProxy": true
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("lhotanova/erasmus-plus-organisation-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 = {
    "countryCode": "BE",
    "proxyConfiguration": { "useApifyProxy": True },
}

# Run the Actor and wait for it to finish
run = client.actor("lhotanova/erasmus-plus-organisation-scraper").call(run_input=run_input)

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

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

```

## CLI example

```bash
echo '{
  "countryCode": "BE",
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}' |
apify call lhotanova/erasmus-plus-organisation-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "command": "npx",
            "args": [
                "mcp-remote",
                "https://mcp.apify.com/?tools=lhotanova/erasmus-plus-organisation-scraper",
                "--header",
                "Authorization: Bearer <YOUR_API_TOKEN>"
            ]
        }
    }
}

```

## OpenAPI specification

```json
{
    "openapi": "3.0.1",
    "info": {
        "title": "Erasmus+ Organisation Scraper",
        "description": "Data extraction tool for Erasmus+ and European Solidarity Corps organisations. Search for organisations by their legal name, business name, country, city and more! 🌐",
        "version": "0.0",
        "x-build-id": "jBfLczZqIihDl9KOx"
    },
    "servers": [
        {
            "url": "https://api.apify.com/v2"
        }
    ],
    "paths": {
        "/acts/lhotanova~erasmus-plus-organisation-scraper/run-sync-get-dataset-items": {
            "post": {
                "operationId": "run-sync-get-dataset-items-lhotanova-erasmus-plus-organisation-scraper",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor, waits for its completion, and returns Actor's dataset items in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                }
            }
        },
        "/acts/lhotanova~erasmus-plus-organisation-scraper/runs": {
            "post": {
                "operationId": "runs-sync-lhotanova-erasmus-plus-organisation-scraper",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor and returns information about the initiated run in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/runsResponseSchema"
                                }
                            }
                        }
                    }
                }
            }
        },
        "/acts/lhotanova~erasmus-plus-organisation-scraper/run-sync": {
            "post": {
                "operationId": "run-sync-lhotanova-erasmus-plus-organisation-scraper",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                }
            }
        }
    },
    "components": {
        "schemas": {
            "inputSchema": {
                "type": "object",
                "properties": {
                    "searchTerms": {
                        "title": "Search terms",
                        "uniqueItems": true,
                        "type": "array",
                        "description": "Search terms representing Erasmus+ organizations you need data for. You can use all terms supported by Erasmus+ organization search engine: legal name, business name, hyperlink, PIC or an OID.",
                        "default": [],
                        "items": {
                            "type": "string"
                        }
                    },
                    "legalName": {
                        "title": "Legal name",
                        "type": "string",
                        "description": ""
                    },
                    "businessName": {
                        "title": "Business name",
                        "type": "string",
                        "description": ""
                    },
                    "countryCode": {
                        "title": "Country",
                        "enum": [
                            "AD",
                            "AE",
                            "AF",
                            "AG",
                            "AI",
                            "AL",
                            "AM",
                            "AO",
                            "AQ",
                            "AR",
                            "AS",
                            "AT",
                            "AU",
                            "AW",
                            "AZ",
                            "BA",
                            "BB",
                            "BD",
                            "BE",
                            "BF",
                            "BG",
                            "BH",
                            "BI",
                            "BJ",
                            "BL",
                            "BM",
                            "BN",
                            "BO",
                            "BQ",
                            "BR",
                            "BS",
                            "BT",
                            "BV",
                            "BW",
                            "BY",
                            "BZ",
                            "CA",
                            "CC",
                            "CD",
                            "CF",
                            "CG",
                            "CH",
                            "CI",
                            "CK",
                            "CL",
                            "CM",
                            "CN",
                            "CO",
                            "CR",
                            "CU",
                            "CV",
                            "CW",
                            "CX",
                            "CY",
                            "CZ",
                            "DE",
                            "DJ",
                            "DK",
                            "DM",
                            "DO",
                            "DZ",
                            "EC",
                            "EE",
                            "EG",
                            "EH",
                            "EL",
                            "ER",
                            "ES",
                            "ET",
                            "FI",
                            "FJ",
                            "FK",
                            "FM",
                            "FO",
                            "FR",
                            "GA",
                            "GD",
                            "GE",
                            "GG",
                            "GH",
                            "GI",
                            "GL",
                            "GM",
                            "GN",
                            "GQ",
                            "GS",
                            "GT",
                            "GU",
                            "GW",
                            "GY",
                            "HK",
                            "HM",
                            "HN",
                            "HR",
                            "HT",
                            "HU",
                            "ID",
                            "IE",
                            "IL",
                            "IM",
                            "IN",
                            "IO",
                            "IQ",
                            "IR",
                            "IS",
                            "IT",
                            "JE",
                            "JM",
                            "JO",
                            "JP",
                            "KE",
                            "KG",
                            "KH",
                            "KI",
                            "KM",
                            "KN",
                            "KP",
                            "KR",
                            "KW",
                            "KY",
                            "KZ",
                            "LA",
                            "LB",
                            "LC",
                            "LI",
                            "LK",
                            "LR",
                            "LS",
                            "LT",
                            "LU",
                            "LV",
                            "LY",
                            "MA",
                            "MC",
                            "MD",
                            "ME",
                            "MG",
                            "MH",
                            "MK",
                            "ML",
                            "MM",
                            "MN",
                            "MO",
                            "MP",
                            "MR",
                            "MS",
                            "MT",
                            "MU",
                            "MV",
                            "MW",
                            "MX",
                            "MY",
                            "MZ",
                            "NA",
                            "NC",
                            "NE",
                            "NF",
                            "NG",
                            "NI",
                            "NL",
                            "NO",
                            "NP",
                            "NR",
                            "NU",
                            "NZ",
                            "OM",
                            "PA",
                            "PE",
                            "PF",
                            "PG",
                            "PH",
                            "PK",
                            "PL",
                            "PM",
                            "PN",
                            "PR",
                            "PS",
                            "PT",
                            "PW",
                            "PY",
                            "QA",
                            "RE",
                            "RO",
                            "RS",
                            "RU",
                            "RW",
                            "SA",
                            "SB",
                            "SC",
                            "SD",
                            "SE",
                            "SG",
                            "SH",
                            "SI",
                            "SJ",
                            "SK",
                            "SL",
                            "SM",
                            "SN",
                            "SO",
                            "SR",
                            "SS",
                            "ST",
                            "SV",
                            "SX",
                            "SY",
                            "SZ",
                            "TC",
                            "TD",
                            "TF",
                            "TG",
                            "TH",
                            "TJ",
                            "TK",
                            "TL",
                            "TM",
                            "TN",
                            "TO",
                            "TR",
                            "TT",
                            "TV",
                            "TW",
                            "TZ",
                            "UA",
                            "UG",
                            "UK",
                            "UM",
                            "US",
                            "UY",
                            "UZ",
                            "VA",
                            "VC",
                            "VE",
                            "VG",
                            "VI",
                            "VN",
                            "VU",
                            "WF",
                            "WS",
                            "XK",
                            "YE",
                            "YT",
                            "ZA",
                            "ZM",
                            "ZW"
                        ],
                        "type": "string",
                        "description": ""
                    },
                    "city": {
                        "title": "City",
                        "type": "string",
                        "description": ""
                    },
                    "websiteName": {
                        "title": "Website",
                        "type": "string",
                        "description": ""
                    },
                    "pic": {
                        "title": "PIC",
                        "type": "string",
                        "description": ""
                    },
                    "organisationId": {
                        "title": "Organisation ID",
                        "type": "string",
                        "description": ""
                    },
                    "registrationNumber": {
                        "title": "Registration number",
                        "type": "string",
                        "description": ""
                    },
                    "vatNumber": {
                        "title": "VAT number",
                        "type": "string",
                        "description": ""
                    },
                    "institutionCode": {
                        "title": "Erasmus Charter for Higher Education Code",
                        "type": "string",
                        "description": ""
                    },
                    "proxyConfiguration": {
                        "title": "Proxy Configuration",
                        "type": "object",
                        "description": "Use either Apify proxies or your own.",
                        "default": {
                            "useApifyProxy": true
                        }
                    },
                    "debugMode": {
                        "title": "Debug Mode",
                        "type": "boolean",
                        "description": "Check this field if you need to see debug logs.",
                        "default": false
                    }
                }
            },
            "runsResponseSchema": {
                "type": "object",
                "properties": {
                    "data": {
                        "type": "object",
                        "properties": {
                            "id": {
                                "type": "string"
                            },
                            "actId": {
                                "type": "string"
                            },
                            "userId": {
                                "type": "string"
                            },
                            "startedAt": {
                                "type": "string",
                                "format": "date-time",
                                "example": "2025-01-08T00:00:00.000Z"
                            },
                            "finishedAt": {
                                "type": "string",
                                "format": "date-time",
                                "example": "2025-01-08T00:00:00.000Z"
                            },
                            "status": {
                                "type": "string",
                                "example": "READY"
                            },
                            "meta": {
                                "type": "object",
                                "properties": {
                                    "origin": {
                                        "type": "string",
                                        "example": "API"
                                    },
                                    "userAgent": {
                                        "type": "string"
                                    }
                                }
                            },
                            "stats": {
                                "type": "object",
                                "properties": {
                                    "inputBodyLen": {
                                        "type": "integer",
                                        "example": 2000
                                    },
                                    "rebootCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "restartCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "resurrectCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "computeUnits": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            },
                            "options": {
                                "type": "object",
                                "properties": {
                                    "build": {
                                        "type": "string",
                                        "example": "latest"
                                    },
                                    "timeoutSecs": {
                                        "type": "integer",
                                        "example": 300
                                    },
                                    "memoryMbytes": {
                                        "type": "integer",
                                        "example": 1024
                                    },
                                    "diskMbytes": {
                                        "type": "integer",
                                        "example": 2048
                                    }
                                }
                            },
                            "buildId": {
                                "type": "string"
                            },
                            "defaultKeyValueStoreId": {
                                "type": "string"
                            },
                            "defaultDatasetId": {
                                "type": "string"
                            },
                            "defaultRequestQueueId": {
                                "type": "string"
                            },
                            "buildNumber": {
                                "type": "string",
                                "example": "1.0.0"
                            },
                            "containerUrl": {
                                "type": "string"
                            },
                            "usage": {
                                "type": "object",
                                "properties": {
                                    "ACTOR_COMPUTE_UNITS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_WRITES": {
                                        "type": "integer",
                                        "example": 1
                                    },
                                    "KEY_VALUE_STORE_LISTS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_INTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_EXTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_SERPS": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            },
                            "usageTotalUsd": {
                                "type": "number",
                                "example": 0.00005
                            },
                            "usageUsd": {
                                "type": "object",
                                "properties": {
                                    "ACTOR_COMPUTE_UNITS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_WRITES": {
                                        "type": "number",
                                        "example": 0.00005
                                    },
                                    "KEY_VALUE_STORE_LISTS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_INTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_EXTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_SERPS": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}
```
