# /daad/programs/search

`POST /api/daad/programs/search`

Price: 10 credits

Search DAAD International Programmes in Germany: Bachelor's, Master's and doctoral programmes, graduate schools, language, short and preparatory courses, by keyword, course type, teaching language, subject, language level, mode of study, duration, city, institution, institution type, tuition fee, start and course month. Each programme carries its institution, city, languages, duration, start, tuition fees, application deadline, course dates with costs and support for international students.

## How to use it

Lists programmes and courses for international students at German institutions. Several values of one filter match any of them; different filters must all match. `institution` takes the `id` from daad/institutions/search or the institution name; daad/programs gives the full record by `id`.

## Parameters

- `access-token` (string, required)

## Request body

- `timeout` (integer) — Max scrapping execution timeout (in seconds) (default: 300; min: 20; max: 1500)
- `count` (integer, required) — Max number of programmes to return (min: 1)
- `keyword` (string, nullable) — Text to search for (examples: "computer science", "summer school"; minLength: 1)
- `course_type` (array, nullable) — Course types; several values match any of them (one of: "Bachelor's", "Master's", "PhD / Doctorate", "Graduate school", "Language course", "Short course", "Preparatory course", "Joint or double degree")
- `entrance_qualification_not_required` (boolean) — Only preparatory courses open to applicants without a higher education entrance qualification recognised in Germany (default: false)
- `study_admission_required` (boolean) — Only preparatory courses that require admission to a study programme (default: false)
- `language_exams_offered` (boolean) — Only preparatory, language or short courses that offer language exams (default: false)
- `teaching_language` (array, nullable) — Teaching languages; several values match any of them (one of: "German only", "English only", "German and English", "Other")
- `german_courses_available` (boolean) — Only programmes with course-related German language courses (default: false)
- `english_courses_available` (boolean) — Only programmes with course-related English language courses (default: false)
- `subject_area` (array, nullable) — Subject groups, by name (examples: ["Engineering Sciences"])
- `field_of_study` (array, nullable) — Fields of study, by name (examples: ["Computer Science"], ["Law","Economic Sciences"])
- `subject` (array, nullable) — Subjects, by name (examples: ["Artificial Intelligence"])
- `german_level` (array, nullable) — German language levels of language courses (one of: "A1-A2", "B1-B2", "C1-C2")
- `english_level` (array, nullable) — English language levels of language courses (one of: "A1-A2", "B1-B2", "C1-C2")
- `mode_of_study` (array, nullable) — Share of online teaching; several values match any of them (one of: "Fully on-site", "Fully online", "Hybrid", "50/50 online and on-site", "Less than 50% online", "More than 50% online")
- `duration_from` (string, nullable) — Shortest course duration (one of: "1-2 weeks", "2 weeks-1 month", "1-3 months", "3-6 months", "6 months-1 year", "1-2 years", "2-3 years", "3-4 years", "4 years or more")
- `duration_to` (string, nullable) — Longest course duration (one of: "1-2 weeks", "2 weeks-1 month", "1-3 months", "3-6 months", "6 months-1 year", "1-2 years", "2-3 years", "3-4 years", "4 years or more")
- `city` (array, nullable) — Cities where the programme is taught (examples: ["Berlin"], ["Aachen","Munich"])
- `institution_type` (array, nullable) — Institution types; several values match any of them (one of: "University", "University of applied sciences", "University of fine arts", "Non-university research institute")
- `institution` (array, nullable) — Institutions offering the programme, by DAAD institution id or by name (examples: ["1"], ["Technical University of Munich"])
- `tuition_fee` (string, nullable) — Highest tuition fee per semester; matches Bachelor's, Master's and PhD / Doctorate programmes only, so other course types drop out of the result (one of: "No fees", "Up to 500 EUR", "Up to 5000 EUR", "Up to 10000 EUR")
- `beginning` (array, nullable) — Semesters in which the programme starts (one of: "Winter semester", "Summer semester", "Other")
- `course_months` (array, nullable) — Months in which a course date falls, each given as a unix timestamp inside that month (examples: [1817078400])
- `preparatory_subject_area` (array, nullable) — Subject groups a preparatory course prepares for (one of: "Agricultural and Forest Sciences", "Humanities and Social Sciences", "Engineering Sciences", "Art, Music, Design", "Mathematics, Natural Sciences", "Medicine, Health Sciences", "Language and Cultural Studies", "Economic Sciences, Law", "Teaching Degrees", "Public Administration")
- `preparatory_degree` (array, nullable) — Degrees a preparatory course prepares for (one of: "Bachelor", "Master", "State examination")
- `summer_courses_only` (boolean) — Only summer courses (default: false)
- `online_only` (boolean) — Only online programmes (default: false)
- `sort` (string) — Order of the programmes (default: "standard"; one of: "standard", "city", "institution")

## Response

### 200 — Successful Response

- `@type` (string) (default: "DaadProgramCard")
- `id` (string, required)
- `name` (string, nullable)
- `short_name` (string, nullable)
- `course_type` (string, nullable)
- `subject` (string, nullable)
- `institution` (string, nullable)
- `institution_id` (string, nullable)
- `city` (string, nullable)
- `languages` (array) (default: [])
- `german_levels` (array) (default: [])
- `english_levels` (array) (default: [])
- `beginning` (string, nullable)
- `duration` (string, nullable)
- `tuition_fees` (string, nullable)
- `tuition_fee_amount` (number, nullable)
- `tuition_fee_currency` (string, nullable)
- `price_note` (string, nullable)
- `application_deadline` (string, nullable)
- `dates` (array) (default: [])
  - `@type` (string) (default: "DaadCourseDate")
  - `start_date` (integer, nullable)
  - `start_month` (string, nullable)
  - `end_date` (integer, nullable)
  - `end_month` (string, nullable)
  - `registration_deadline_date` (integer, nullable)
  - `registration_deadline_month` (string, nullable)
  - `cost` (number, nullable)
  - `currency` (string, nullable)
- `date_status` (string, nullable)
- `international_support` (array) (default: [])
- `preparation_for_degrees` (array) (default: [])
- `preparation_subject_groups` (array) (default: [])
- `has_structured_research` (boolean, nullable)
- `has_financial_support` (boolean, nullable)
- `is_online_possible` (boolean, nullable)
- `online_mode` (string, nullable)
- `image` (string, nullable)
- `image_copyright` (string, nullable)
- `url` (string, nullable)

## Errors

### 422 — Validation Error

The request body did not validate

What to do: Check the fields against this schema. A URN with the wrong prefix is the most common cause.

- `detail` (array)
  - `loc` (array, required)
  - `msg` (string, required)
  - `type` (string, required)
  - `input` (any)
  - `ctx` (object)

### 408

The request ran past its time limit

What to do: Raise `timeout` in the request body, up to the maximum this endpoint documents. Lowering `count` or turning off the `with_*` flags also helps, because less work finishes sooner.

### 412

The entity was not found, or a precondition failed

What to do: Retrying will not help: either the entity does not exist, or the input points at a different one.

### 429

Too many requests: a rate limit or a usage window is exhausted

What to do: When the response carries an X-Retry-After header, wait that many seconds and retry: the same number is in the body as `detail.retry_after`, and the limit clears once that window passes. The message in the body names the limit that was hit.

### 500

Something broke on our side

What to do: Retrying will not help. If it keeps happening, send us the X-Request-ID from the response headers.

### 529

Rate limit reached, or the endpoint is overloaded

What to do: Wait at least 30 seconds, then retry.

## Response envelope

Success: Array of objects (may be empty if no results)

Error: Error may coexist with partial results if it occurs mid-execution. Check X-Error header and status code.

Every response carries these headers:

- `X-Error` — Error message text (present only on error)
- `X-Request-ID` — Unique request identifier
- `X-Execution-Time` — Execution time in seconds
- `X-Result-Count` — How many records the body carries. 0 means an empty result, which is a normal answer and not by itself an error. A non-zero count can come back together with X-Error when the failure happened partway through — read this header and X-Error independently.
- `X-Total-Available-Results` — How many records exist for this query, when the endpoint can say. On a `dry_run` request this is the answer and the body is empty. It saturates: the endpoint's documented maximum means 'at least that many', any smaller number is exact.
- `X-Warning` — Present when the request body carried keys this endpoint does not document. They were ignored, so any filter you meant to apply through them did not apply. Check the spelling against this schema and retry.
- `X-Retry-After` — Seconds to wait before retrying. Present only on 429.

