{
  "openapi": "3.0.1",
  "info": {
    "title": "EU Grants Monitor Poland (Dotacje, Nabory, KPO, FENG)",
    "description": "Monitor EU funding calls (nabory wniosków) in Poland from the official funduszeunijne.gov.pl database plus optional EU Funding & Tenders Portal. Filter by keywords, voivodeship, beneficiary type, programme, budget and deadline. Daily alerts for new calls.",
    "version": "0.1",
    "x-build-id": "jmSnx9IfWB3KRGS0i"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/donzely~eu-grants-monitor-poland/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-donzely-eu-grants-monitor-poland",
        "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/donzely~eu-grants-monitor-poland/runs": {
      "post": {
        "operationId": "runs-sync-donzely-eu-grants-monitor-poland",
        "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/donzely~eu-grants-monitor-poland/run-sync": {
      "post": {
        "operationId": "run-sync-donzely-eu-grants-monitor-poland",
        "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": {
          "keywords": {
            "title": "Keywords",
            "type": "array",
            "description": "Words to look for in the call title and description, e.g. \"fotowoltaika\", \"cyberbezpieczeństwo\", \"B+R\". Polish inflection is handled: \"fotowoltaika\" also matches \"fotowoltaiki\". A call matches if any keyword matches; all words of a multi-word keyword must appear.",
            "items": {
              "type": "string"
            }
          },
          "statuses": {
            "title": "Call status",
            "type": "array",
            "description": "OPEN = accepting applications now, UPCOMING = planned, CLOSED = finished (archive).",
            "items": {
              "type": "string",
              "enum": [
                "OPEN",
                "UPCOMING",
                "CLOSED"
              ],
              "enumTitles": [
                "Open now (aktualny)",
                "Upcoming (planowany)",
                "Closed (zakończony)"
              ]
            },
            "default": [
              "OPEN",
              "UPCOMING"
            ]
          },
          "voivodeships": {
            "title": "Voivodeships",
            "type": "array",
            "description": "Region(s) where you would apply, e.g. \"mazowieckie\", \"śląskie\". Returns that region's programmes plus national calls available everywhere. Leave empty for the whole country.",
            "items": {
              "type": "string"
            }
          },
          "beneficiaryTypes": {
            "title": "Who applies",
            "type": "array",
            "description": "Keep calls whose eligible applicants include one of these types (classified from the \"Kto może składać wnioski\" section).",
            "items": {
              "type": "string",
              "enum": [
                "SME",
                "LARGE_ENTERPRISE",
                "LOCAL_GOVERNMENT",
                "NGO",
                "UNIVERSITY_RESEARCH",
                "INDIVIDUAL",
                "PUBLIC_INSTITUTION"
              ],
              "enumTitles": [
                "SME / MŚP",
                "Large enterprise",
                "Local government / JST",
                "NGO, foundation, social economy",
                "University / research organisation",
                "Individuals",
                "Public institution (schools, hospitals, offices)"
              ]
            }
          },
          "programmes": {
            "title": "Programmes",
            "type": "array",
            "description": "Programme names or abbreviations, e.g. \"FENG\", \"FEnIKS\", \"FERS\", \"KPO\", \"Fundusze Europejskie dla Mazowsza\", \"Horizon Europe\".",
            "items": {
              "type": "string"
            }
          },
          "scopes": {
            "title": "Programme scope",
            "type": "array",
            "description": "Limit to national, regional, Interreg or EU-level calls.",
            "items": {
              "type": "string",
              "enum": [
                "NATIONAL",
                "REGIONAL",
                "INTERREG",
                "EU"
              ],
              "enumTitles": [
                "National programmes",
                "Regional programmes",
                "Interreg",
                "EU-level (Funding & Tenders Portal)"
              ]
            }
          },
          "topics": {
            "title": "Topics (server-side)",
            "type": "array",
            "description": "Official topic categories of funduszeunijne.gov.pl.",
            "items": {
              "type": "string",
              "enum": [
                "Aktywizacja społeczna i zwalczanie ubóstwa",
                "Badania i rozwój",
                "Biznes i przedsiębiorczość",
                "Energetyka",
                "Gospodarka odpadami i wodno-ściekowa",
                "Informatyzacja i e-społeczeństwo",
                "Kultura i dziedzictwo",
                "Lokalne Strategie Rozwoju obszarów rybackich",
                "Nauka i edukacja",
                "Ochrona środowiska",
                "Ochrona zdrowia",
                "Otoczenie biznesu",
                "Przeciwdziałanie i usuwanie skutków klęsk żywiołowych i katastrof",
                "Rewitalizacja i zagospodarowanie terenu",
                "Rynek pracy i osoby bezrobotne",
                "Transport",
                "Turystyka",
                "Usługi publiczne",
                "Zakładanie firmy"
              ]
            }
          },
          "minBudgetPln": {
            "title": "Minimum call budget (PLN)",
            "minimum": 0,
            "type": "integer",
            "description": "Only calls with at least this total budget (pula środków). EUR budgets are converted with the NBP rate."
          },
          "includeWithoutBudget": {
            "title": "Include calls without a stated budget",
            "type": "boolean",
            "description": "When a minimum budget is set, also keep calls whose budget is not stated.",
            "default": true
          },
          "minDaysLeft": {
            "title": "Minimum days to deadline",
            "minimum": 0,
            "type": "integer",
            "description": "Skip calls closing sooner than this."
          },
          "deadlineWithinDays": {
            "title": "Deadline within (days)",
            "minimum": 0,
            "type": "integer",
            "description": "Only calls closing within this many days."
          },
          "searchInDescription": {
            "title": "Search keywords in description",
            "type": "boolean",
            "description": "Also search the scope (\"Na co można otrzymać dofinansowanie\") and eligibility text, not only the title.",
            "default": true
          },
          "excludeKeywords": {
            "title": "Exclude keywords",
            "type": "array",
            "description": "Drop calls mentioning any of these words.",
            "items": {
              "type": "string"
            }
          },
          "sources": {
            "title": "Sources",
            "type": "array",
            "description": "PL = official Polish call database (funduszeunijne.gov.pl). EU = EU Funding & Tenders Portal (Horizon Europe, Digital Europe, LIFE…).",
            "items": {
              "type": "string",
              "enum": [
                "PL",
                "EU"
              ],
              "enumTitles": [
                "Polish calls (funduszeunijne.gov.pl)",
                "EU Funding & Tenders Portal"
              ]
            },
            "default": [
              "PL"
            ]
          },
          "onlyNewSinceLastRun": {
            "title": "Only new since last run",
            "type": "boolean",
            "description": "For scheduled daily monitoring: return only calls not returned by a previous run with the same filters.",
            "default": false
          },
          "maxItems": {
            "title": "Max results",
            "minimum": 1,
            "maximum": 2000,
            "type": "integer",
            "description": "Maximum number of calls to return (you pay per returned call).",
            "default": 50
          },
          "maxScan": {
            "title": "Max calls scanned",
            "minimum": 10,
            "maximum": 3000,
            "type": "integer",
            "description": "Upper limit of list entries scanned before filtering.",
            "default": 400
          },
          "proxyConfiguration": {
            "title": "Proxy",
            "type": "object",
            "description": "Optional Apify Proxy.",
            "default": {
              "useApifyProxy": 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
                  },
                  "PROXY_UNBLOCKER_UNITS": {
                    "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
                  },
                  "PROXY_UNBLOCKER_UNITS": {
                    "type": "integer",
                    "example": 0
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}