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

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://apify.com/lhotanova/erasmus-plus-organisation-scraper.md
- **Developed by:** [Kristýna Lhoťanová](https://apify.com/lhotanova) (community)
- **Categories:** Other, Open source
- **Stats:** 34 total users, 0 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/actors/running/actors-in-store.md#pay-per-usage

## 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

## 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(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 '{
  "countryCode": "BE",
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}' |
apify call lhotanova/erasmus-plus-organisation-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,lhotanova/erasmus-plus-organisation-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/5ms6D6gKCnJhZN61e/builds/jBfLczZqIihDl9KOx/openapi.json
