{
  "openapi": "3.0.1",
  "info": {
    "title": "Erasmus+ Projects Scraper",
    "description": "Scrape Erasmus+ project results from the EU platform. Use filters (keywords, country, call year, good practice) or paste a search/details URL — returns grant, dates, topics, coordinator, and partners.",
    "version": "0.1",
    "x-build-id": "T3tAcRDv9LUHhgZgq"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/dadhalfdev~erasmus-plus-projects-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-dadhalfdev-erasmus-plus-projects-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/dadhalfdev~erasmus-plus-projects-scraper/runs": {
      "post": {
        "operationId": "runs-sync-dadhalfdev-erasmus-plus-projects-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/dadhalfdev~erasmus-plus-projects-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-dadhalfdev-erasmus-plus-projects-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": {
          "input_url": {
            "title": "Input URL",
            "type": "string",
            "description": "Optional. Paste a project search URL or a project details URL (.../projects/search/details/{id}). A details URL scrapes that single project; a search URL can supply domain/keywords."
          },
          "keywords": {
            "title": "Keywords",
            "type": "string",
            "description": "Search text (topic, title, organisation, project code, etc.)."
          },
          "domain": {
            "title": "Programme",
            "enum": [
              "eplus2021",
              "esc",
              "ce2021"
            ],
            "type": "string",
            "description": "Which project results catalogue to search.",
            "default": "eplus2021"
          },
          "status": {
            "title": "Status",
            "enum": [
              "",
              "ongoing",
              "completed"
            ],
            "type": "string",
            "description": "Project status filter (platform facets: Ongoing / Completed).",
            "default": ""
          },
          "field": {
            "title": "Field",
            "enum": [
              "",
              "31047625",
              "43323848",
              "31047627",
              "31046224",
              "31047628",
              "31047629"
            ],
            "type": "string",
            "description": "Education / youth / sport field (SCH, VET, YOU, HED, ADU, SPO).",
            "default": ""
          },
          "topic": {
            "title": "Topic",
            "enum": [
              "",
              "31047488",
              "43071932",
              "43504053",
              "31047483",
              "43071935",
              "31060225",
              "45413151",
              "43503975",
              "49278627",
              "43071896",
              "43071938",
              "43504020",
              "31091509",
              "31060223",
              "31060224",
              "31053530",
              "31100070",
              "31091512",
              "45413176",
              "43504008",
              "31047486",
              "43071941",
              "43503981",
              "31091510",
              "43503978",
              "43504002",
              "43504071",
              "43504068",
              "43504041",
              "31075089",
              "43503987",
              "45413154",
              "43071947",
              "43503996",
              "31047487",
              "43071953",
              "31100072",
              "42684690",
              "31047489",
              "43071956",
              "31047490",
              "43504044",
              "43071959",
              "31060228",
              "31060229",
              "31053534",
              "31047493",
              "31047494",
              "31053529",
              "31047495",
              "43071962",
              "43504047",
              "31047496",
              "43071965",
              "31047484",
              "31100076",
              "43071971",
              "31047497",
              "31081747",
              "31053533",
              "31075090",
              "43504023",
              "31047498",
              "43072014",
              "31053531",
              "31047499",
              "43072056",
              "31047485",
              "43139983",
              "31060226",
              "31047500",
              "43071920",
              "43503993",
              "43139986",
              "43503990",
              "45413160",
              "43504014",
              "45413173",
              "31060231",
              "43504026",
              "43139992",
              "31047501",
              "31047502",
              "43139989",
              "43504059",
              "31047503",
              "43139995",
              "31047492",
              "43503984",
              "43504062",
              "31073467",
              "31047504",
              "31047505",
              "31102069",
              "31047521",
              "44307044",
              "43504011",
              "31047506",
              "31047507",
              "43504038",
              "31047522",
              "43504005",
              "43139998",
              "43071974",
              "43550377",
              "43140001",
              "43504035",
              "31060227",
              "31060230",
              "43071923",
              "45413163",
              "45413166",
              "43140007",
              "43071944",
              "43140004",
              "31081748",
              "43140010",
              "43504032",
              "31047508",
              "31047509",
              "43140013",
              "31047510",
              "43140016",
              "31047511",
              "43140019",
              "31047512",
              "31047518",
              "43140022",
              "31047513",
              "43140025",
              "31047514",
              "31047515",
              "43140028",
              "31047516",
              "43140031",
              "43504017",
              "31100085",
              "31047491",
              "31091511",
              "43503972",
              "31091513",
              "43504065",
              "31102068",
              "45413157",
              "31053532",
              "43504050",
              "31047517",
              "31081749",
              "31047519",
              "43140034",
              "31081752",
              "31047520",
              "43140037",
              "43140040",
              "43140070",
              "43140073"
            ],
            "type": "string",
            "description": "Project topic (platform topic codes). Duplicate labels are disambiguated with the code.",
            "default": ""
          },
          "action_type": {
            "title": "Action type",
            "enum": [
              "",
              "31046223",
              "31046220;43353406",
              "31046221;43353410",
              "31046222",
              "31046224"
            ],
            "type": "string",
            "description": "Key Action / Jean Monnet / Sport (platform level-2 action).",
            "default": ""
          },
          "organisation_type": {
            "title": "Organisation type",
            "enum": [
              "",
              "31045431",
              "31047402",
              "31047384",
              "31047385",
              "31047401",
              "31060123",
              "31047343",
              "31047407",
              "31047374",
              "31047362",
              "31047370",
              "31047386",
              "31047387",
              "31047382",
              "31060124",
              "31060125",
              "31060126",
              "31045408",
              "31047375",
              "31047388",
              "31045386",
              "31047383",
              "31075630",
              "31047389",
              "31047390",
              "31063087",
              "31053064",
              "31045426",
              "31047349",
              "31063088",
              "31063089",
              "31063086",
              "31089292",
              "31060127",
              "31052498",
              "31047391",
              "31047364",
              "31047368",
              "31047379",
              "31047372",
              "31047371",
              "31047363",
              "31047366",
              "31047369",
              "31045413",
              "31045419",
              "31045389",
              "31060128",
              "31045432",
              "31045404",
              "31047392",
              "31045423",
              "31047394",
              "31047393",
              "31047395",
              "31047400",
              "31045424",
              "31047352",
              "31045414",
              "31045415",
              "31060129",
              "31060130",
              "31047396",
              "31047397",
              "31047377",
              "31047376",
              "31053065",
              "31060131",
              "31045418",
              "31047347",
              "43152611",
              "31047380",
              "31047403",
              "31060132",
              "31060133",
              "31089293",
              "31060134",
              "31047404",
              "31047405",
              "31047406",
              "31045425",
              "31045433",
              "31045396",
              "31045398",
              "31045399",
              "31045400",
              "31045394",
              "31045391",
              "31045405",
              "31089294",
              "31045410",
              "31047357",
              "31047355",
              "31047356",
              "31047398",
              "31045376",
              "31045377",
              "31047378",
              "31047399",
              "31060135",
              "31060136",
              "31047367",
              "31047381",
              "31089295"
            ],
            "type": "string",
            "description": "Filter by organisation type (applies with Organisation role below).",
            "default": ""
          },
          "organisation_role": {
            "title": "Organisation role",
            "enum": [
              "COORDINATOR_OR_PARTNER",
              "COORDINATOR",
              "PARTNER"
            ],
            "type": "string",
            "description": "Whether country / organisation-type filters apply to coordinator, partner, or either.",
            "default": "COORDINATOR_OR_PARTNER"
          },
          "coordinator_country": {
            "title": "Coordinator country",
            "enum": [
              "",
              "AT",
              "BE",
              "BG",
              "HR",
              "CY",
              "CZ",
              "DK",
              "EE",
              "FI",
              "FR",
              "DE",
              "EL",
              "HU",
              "IS",
              "IE",
              "IT",
              "LV",
              "LI",
              "LT",
              "LU",
              "MT",
              "NL",
              "MK",
              "NO",
              "PL",
              "PT",
              "RO",
              "RS",
              "SK",
              "SI",
              "ES",
              "SE",
              "CH",
              "TR",
              "UA",
              "UK"
            ],
            "type": "string",
            "description": "Filter by coordinating organisation country (ISO code).",
            "default": ""
          },
          "partner_country": {
            "title": "Partner country",
            "enum": [
              "",
              "AT",
              "BE",
              "BG",
              "HR",
              "CY",
              "CZ",
              "DK",
              "EE",
              "FI",
              "FR",
              "DE",
              "EL",
              "HU",
              "IS",
              "IE",
              "IT",
              "LV",
              "LI",
              "LT",
              "LU",
              "MT",
              "NL",
              "MK",
              "NO",
              "PL",
              "PT",
              "RO",
              "RS",
              "SK",
              "SI",
              "ES",
              "SE",
              "CH",
              "TR",
              "UA",
              "UK"
            ],
            "type": "string",
            "description": "Filter by partner organisation country (ISO code).",
            "default": ""
          },
          "call_year": {
            "title": "Call year",
            "enum": [
              "",
              "2014",
              "2015",
              "2016",
              "2017",
              "2018",
              "2019",
              "2020",
              "2021",
              "2022",
              "2023",
              "2024",
              "2025",
              "2026"
            ],
            "type": "string",
            "description": "Filter by project call year.",
            "default": ""
          },
          "good_practice_only": {
            "title": "Good practice only",
            "type": "boolean",
            "description": "Only return projects marked as good practice.",
            "default": false
          },
          "sort_by": {
            "title": "Sort by",
            "enum": [
              "",
              "projectPublicationDate"
            ],
            "type": "string",
            "description": "Result order.",
            "default": ""
          },
          "max_projects": {
            "title": "Maximum number of projects",
            "minimum": 1,
            "maximum": 2000,
            "type": "integer",
            "description": "How many projects to return (1–2000).",
            "default": 50
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}