EU Project Calls Fetcher
Fetches Horizon Europe funding opportunities from the European Commission Funding & Tenders API and uploads them into Elasticsearch.
Install
pip install requests elasticsearch
Step 1: Fetch Calls
Execute:
python fetch_calls.py
Output:
eu_tenders_raw.json
Query Filters
Only calls matching the following criteria are fetched:
-
Status:
- Forthcoming
- Open for Submission
-
Type of Grant Call:
- Direct calls for proposals (issued by the EU)
-
Programme:
- Horizon Europe (2021–2027)
-
Programme Part:
- Global Challenges and European Industrial Competitiveness
The filter corresponds to the url: https://ec.europa.eu/info/funding-tenders/opportunities/portal/screen/opportunities/calls-for-proposals?order=DESC&pageNumber=1&pageSize=50&sortBy=startDate&isExactMatch=true&type=1&status=31094502,31094501&programmePart=43108557,43118846,43118971,43120193,43120821,43121563,43108541&frameworkProgramme=43108390
Step 2: Upload to Elasticsearch
The uploader reads the connection from the environment (the background job
runner injects ELASTICSEARCH_INSE_URL and ELASTICSEARCH_INSE_API_KEY).
Override the target index with EU_PROJECT_CALLS_INDEX.
Execute:
python upload_calls.py
Use --fresh to delete all existing documents in the target index, then refill
it from the fetched calls. The index and its mapping must already exist:
python upload_calls.py --fresh
Input:
eu_tenders_raw.json
Output:
Elasticsearch index
Default index:
eu_project_calls
Documents are keyed by the call identifier, so re-runs overwrite instead of duplicating.
Upload log:
eu_upload_log.json
Indexed Fields
id
title
link
state
programm
call
work_programm_part
description
type_of_action
type_of_mga
open_date
deadline_date
deadline_model
full_title
agr_number
acronym
keywords
Run as a Background Job
The image at service/scripts/jobs-image/eu-project-calls fetches and uploads in
one run:
docker build -f service/scripts/jobs-image/eu-project-calls/Dockerfile \
-t docker.nes.uni-due.de/inse/jobs/eu-project-calls:latest .
docker push docker.nes.uni-due.de/inse/jobs/eu-project-calls:latest
Then create a job in the Jobs UI with that image. The runner injects the
Elasticsearch credentials for registry images. Set the job's Command to
--fresh to clear and refill the existing index on every run; leave it empty to
upsert into the existing index. The index and its mapping must already exist.
Data Source
European Commission Funding & Tenders Portal Search API https://api.tech.ec.europa.eu/search-api/