YÖK Atlas — Türkiye University Program & Admission Statistics
Retrieves official program-level statistics from YÖK Atlas (Yükseköğretim
Kurulu Atlası — the Council of Higher Education's program atlas) for any
undergraduate (lisans) or associate (önlisans) program in Türkiye: quotas,
placements, minimum admission scores, success ranks, and academic-staff head
counts by title. It wraps the keyless YÖK Atlas JSON API through the
maintained yokatlas-py package, so the same query yields the same structured
records — no HTML scraping, no API key.
This is the statistics skill. It does not look up an individual
academic's CV, publications, or affiliation — that is alterlab-yok-akademik,
a separately architected YÖK system (see the routing table below).
When to Use This Skill
Use it when the user wants program- or university-level numbers from YÖK Atlas:
YÖK Atlas'tan Boğaziçi Bilgisayar Mühendisliği taban puanını ve başarı sırasını çıkar
Compare the kontenjan and yerleşen counts for all Tıp programs at state universities
What was the minimum SAY score for Hacettepe Elektrik-Elektronik Mühendisliği last year?
List every university in YÖK Atlas and the academic-staff counts for a given program
How many professors vs. araştırma görevlisi does this department have?
→ Run scripts/yokatlas_lookup.py (a thin yokatlas-py wrapper), read the JSON,
then present the requested statistics as a table. Always state the data year and
that figures come from YÖK Atlas.
Canonical Turkish terms (English gloss on first use)
| Turkish |
Gloss |
API field |
| kontenjan |
quota (seats offered) |
kontenjan |
| yerleşen |
placed (students enrolled) |
yerlesen |
| taban puan |
minimum admission score |
min_puan |
| başarı sırası |
success rank (national rank of last placed student) |
basari_sirasi |
| puan türü |
score type (SAY/SÖZ/EA/DİL/TYT) |
puan_turu |
| lisans / önlisans |
bachelor's / associate degree |
birim_turu_id 46 / 47 |
| kılavuz kodu |
guide code (unique program id) |
kilavuzKodu |
Academic-staff title counts are returned as prof (profesör), doc (doçent),
dou (doktor öğretim üyesi), ogr_gor (öğretim görevlisi), and ar_gor
(araştırma görevlisi — research assistant).
⚠️ Endpoint caveat (read before scraping anything)
As of April 2026 YÖK Atlas migrated from server-rendered PHP to a React SPA
backed by a JSON API. The legacy PHP endpoints are dead — lisans.php?y=…,
lisans-panel.php, and tercih-sihirbazi-*.php now return only an empty SPA
shell. Never scrape them. Use only the JSON API under
/api/tercih-kilavuz/ (or, as this skill does, yokatlas-py which wraps it).
Endpoint and field details: references/api_endpoints.md.
Does NOT Trigger — route these elsewhere
| The user actually wants… |
Route to |
| An academic's CV, publications, projects, theses supervised, or official affiliation (akademik.yok.gov.tr) |
alterlab-yok-akademik |
| A graduate thesis (tez) — full text, abstract, originality/novelty check (Ulusal Tez Merkezi) |
alterlab-yok-tez |
| Whether a journal is indexed in TR Dizin, or a journal/article search |
alterlab-trdizin |
| Articles hosted on DergiPark (harvest, BibTeX, journal scope) |
alterlab-dergipark |
| Computing doçentlik (associate-professor) eligibility points |
alterlab-docentlik-eligibility |
| Computing akademik teşvik (academic-incentive) score |
alterlab-akademik-tesvik |
| Scaffolding a TÜBİTAK ARDEB 1001/1002-A proposal |
alterlab-tubitak-proposal |
| Publication metadata for an author (DOIs, citations, h-index) |
alterlab-research-lookup |
Hand-off rule. When the request matches a row above, open your answer by naming that skill by its exact id (for example alterlab-yok-akademik) and saying in one line why it fits better, then stop applying this skill's procedure. Name it even when you also need to ask for missing input. If only part of the request is out of scope, name the skill for that part and do only the in-scope part. A brief general pointer is fine; the named skill does the work.
This skill answers "what are the admission/quota/staff numbers for this
program or university?" — nothing about an individual scholar's output.
How It Works
The data source
| Surface |
What it returns |
/api/tercih-kilavuz/universiteler |
the university list ({universiteAdi, universiteId}, 228 on 2026-09-23) |
/api/tercih-kilavuz/universite-programlar |
the program-group list ({birimGrupId, birimGrupAdi, puanTuru}, 611) — not per-university programs |
/api/tercih-kilavuz/universite-iller |
provinces ({ilAdi, ilKodu}) |
/api/tercih-kilavuz/search |
program search with SearchFilters |
yokatlas-py (MIT, Python ≥3.10; 0.7.0 released 2026-07-23) exposes these as
module-level functions search_programs(filters_dict, size=…),
get_program(kilavuz_kodu), list_universities(), and — new in 0.7.0 —
list_program_groups(), list_cities() and search_netler() (average nets per
test section, /api/netler/search); plus a YokAtlasClient / SearchFilters /
Program object API. It normalizes Turkish characters (İ/ı, Ş/ş, Ğ/ğ, Ç/ç,
Ö/ö, Ü/ü), so "boğaziçi" and "bogazici" both resolve. Full filter and field
reference: references/api_endpoints.md.
Name resolution gotcha. universite, program and il are resolved to
ONE lookup entry each: exact name first, then the first entry that contains
the text, then a close match — otherwise the call fails. A fragment like
program="bilgisayar" silently resolves to the group "Bilgisayar Bilimleri"
and returns nothing for Boğaziçi; use the full group name ("bilgisayar
mühendisliği") or birim_grup_id. Abbreviations such as "odtü" do not resolve
("orta doğu teknik" does). An empty page means "no match for this group", not
"no such program" — check the resolved name before reporting.
Pipeline
Pick the operation from the request: list universities, search programs,
or fetch one program by its kılavuz kodu (guide code).
Build filters. The common SearchFilters fields are puan_turu
(SAY/SÖZ/EA/DİL/TYT), universite, program, il (province),
universite_turu (DEVLET/VAKIF), and min_basari_sirasi/max_basari_sirasi
for a success-rank window. See references/api_endpoints.md for the full list.
Run the helper:
uv run --with yokatlas-py python \
scripts/yokatlas_lookup.py \
search --puan-turu SAY --universite "boğaziçi" --program "bilgisayar mühendisliği" --size 20
Other subcommands:
# All universities (id + name)
uv run --with yokatlas-py python .../yokatlas_lookup.py universities
# One program's multi-year statistics by guide code
uv run --with yokatlas-py python .../yokatlas_lookup.py program --kod 102210277
The script prints a JSON envelope ({"tool", "operation", "count", "results"};
searches add total_elements, data_year, and a note when nothing
matched). If yokatlas-py or the network is unavailable it prints a
structured {"error": …, "manual_instructions": …} and exits non-zero — it
never fabricates statistics.
Read the JSON and report. For each program surface the year, kontenjan,
yerlesen, min_puan, basari_sirasi, and (when asked) the staff counts.
Each Program carries up to four years (current + history; on
2026-09-23 current was the 2026 placement year); state which year a number
is from — some history years carry only scores, with quota fields empty.
Cross-link if the user drifts. If they then ask about a person's CV or
publications, hand off to alterlab-yok-akademik; for theses,
alterlab-yok-tez.
Worked Patterns
- Program benchmarking. Search the same
program across universite_turu
DEVLET vs VAKIF, then tabulate min_puan / basari_sirasi side by side.
- Student advising. Given a target başarı sırası, filter with
max_basari_sirasi to list programs realistically in reach.
- Institutional research. Fetch a program by kılavuz kodu and report the
staff mix (
prof/doc/dou/ogr_gor/ar_gor) and the kontenjan→yerleşen
fill rate across the available years.
More query recipes: references/query_recipes.md.
Caveats & Self-Check
- Pin the wrapper. Use
yokatlas-py ≥0.6.0 (0.7.0 current); the upstream
JSON API changed once (April 2026) and broke every legacy scraper. If results
look malformed, re-verify the package version before reporting; if they are
merely empty, check the name-resolution gotcha above first.
- No demographic breakdowns since v0.6.0 (gender / high-school-type splits),
still absent in 0.7.0. Do not promise those fields — only the staff/quota/score
fields above (and 0.7.0's nets) are returned.
- Score type matters. A program's
min_puan is only meaningful next to its
puan_turu; always report them together.
- Data year. Numbers are historical (latest plus three prior years). Never
imply a figure is "current admissions" without naming its year.
- Did the script reach the network? If it returned an
error envelope, say
so and relay the manual_instructions — do not infer numbers from memory.
References
references/api_endpoints.md — the /api/tercih-kilavuz/ endpoints, the full
SearchFilters field list, enums (puan türü, university type, birim türü), and
the returned statistic fields, with the legacy-PHP-dead caveat.
references/query_recipes.md — worked yokatlas_lookup.py invocations for
benchmarking, advising, and institutional-research questions.
Part of the AlterLab Academic Skills suite.
1---2name: alterlab-yokatlas3description: "Retrieves Türkiye higher-education program and admission statistics from YÖK Atlas (yokatlas.yok.gov.tr) — quotas (kontenjan), placements (yerleşen), minimum admission scores (taban puan), success ranks (başarı sırası), and per-title academic-staff counts — via the keyless yokatlas-py wrapper (≥0.6.0; 0.7.0 current, MIT) over the JSON API at /api/tercih-kilavuz/ (search plus university, program-group and province lookups), with SearchFilters for puan türü (SAY/SÖZ/EA/DİL/TYT), university type (DEVLET/VAKIF), province, and success-rank ranges. Use when the request mentions YÖK Atlas, program statistics, kontenjan/quota data, taban puan/minimum admission score, başarı sırası/success rank, placement counts, or program staff counts for institutional research, benchmarking, or advising. For an academic's CV/profile/affiliation prefer alterlab-yok-akademik; for theses prefer alterlab-yok-tez. Legacy PHP pages are dead since April 2026. Part of the AlterLab Academic Skills suite."4license: MIT5allowed-tools: Read Write Edit Bash(python:*) Bash WebFetch6compatibility: No API key required — wraps the keyless YÖK Atlas JSON API (/api/tercih-kilavuz/) through yokatlas-py ≥0.6.0 (0.7.0 current as of 2026-09; MIT, Python ≥3.10) run via `uv run --with yokatlas-py python`; degrades to a documented manual lookup when offline7metadata:8 source: https://skillmd.com/skills/alterlab-ieu/alterlab-yokatlas9 skill-author: AlterLab10 version: "1.1.1"11 last_updated: "2026-11-02"12 depends_on: "alterlab-yok-akademik (academic profiles), alterlab-research-lookup (publication enrichment)"13---1415# YÖK Atlas — Türkiye University Program & Admission Statistics1617Retrieves official program-level statistics from **YÖK Atlas** (Yükseköğretim18Kurulu Atlası — the Council of Higher Education's program atlas) for any19undergraduate (*lisans*) or associate (*önlisans*) program in Türkiye: quotas,20placements, minimum admission scores, success ranks, and academic-staff head21counts by title. It wraps the **keyless** YÖK Atlas JSON API through the22maintained `yokatlas-py` package, so the same query yields the same structured23records — no HTML scraping, no API key.2425This is the **statistics** skill. It does **not** look up an individual26academic's CV, publications, or affiliation — that is `alterlab-yok-akademik`,27a separately architected YÖK system (see the routing table below).2829## When to Use This Skill3031Use it when the user wants program- or university-level numbers from YÖK Atlas:3233```34YÖK Atlas'tan Boğaziçi Bilgisayar Mühendisliği taban puanını ve başarı sırasını çıkar35Compare the kontenjan and yerleşen counts for all Tıp programs at state universities36What was the minimum SAY score for Hacettepe Elektrik-Elektronik Mühendisliği last year?37List every university in YÖK Atlas and the academic-staff counts for a given program38How many professors vs. araştırma görevlisi does this department have?39```4041→ Run `scripts/yokatlas_lookup.py` (a thin `yokatlas-py` wrapper), read the JSON,42then present the requested statistics as a table. Always state the data year and43that figures come from YÖK Atlas.4445### Canonical Turkish terms (English gloss on first use)4647| Turkish | Gloss | API field |48|---------|-------|-----------|49| kontenjan | quota (seats offered) | `kontenjan` |50| yerleşen | placed (students enrolled) | `yerlesen` |51| taban puan | minimum admission score | `min_puan` |52| başarı sırası | success rank (national rank of last placed student) | `basari_sirasi` |53| puan türü | score type (SAY/SÖZ/EA/DİL/TYT) | `puan_turu` |54| lisans / önlisans | bachelor's / associate degree | `birim_turu_id` 46 / 47 |55| kılavuz kodu | guide code (unique program id) | `kilavuzKodu` |5657Academic-staff title counts are returned as `prof` (profesör), `doc` (doçent),58`dou` (doktor öğretim üyesi), `ogr_gor` (öğretim görevlisi), and `ar_gor`59(araştırma görevlisi — research assistant).6061## ⚠️ Endpoint caveat (read before scraping anything)6263As of **April 2026** YÖK Atlas migrated from server-rendered PHP to a React SPA64backed by a JSON API. The **legacy PHP endpoints are dead** — `lisans.php?y=…`,65`lisans-panel.php`, and `tercih-sihirbazi-*.php` now return only an empty SPA66shell. **Never scrape them.** Use only the JSON API under67`/api/tercih-kilavuz/` (or, as this skill does, `yokatlas-py` which wraps it).68Endpoint and field details: `references/api_endpoints.md`.6970## Does NOT Trigger — route these elsewhere7172| The user actually wants… | Route to |73|--------------------------|----------|74| An academic's CV, publications, projects, theses supervised, or **official affiliation** (akademik.yok.gov.tr) | `alterlab-yok-akademik` |75| A graduate **thesis** (tez) — full text, abstract, originality/novelty check (Ulusal Tez Merkezi) | `alterlab-yok-tez` |76| Whether a **journal** is indexed in TR Dizin, or a journal/article search | `alterlab-trdizin` |77| Articles hosted on **DergiPark** (harvest, BibTeX, journal scope) | `alterlab-dergipark` |78| Computing **doçentlik** (associate-professor) eligibility points | `alterlab-docentlik-eligibility` |79| Computing **akademik teşvik** (academic-incentive) score | `alterlab-akademik-tesvik` |80| Scaffolding a **TÜBİTAK** ARDEB 1001/1002-A proposal | `alterlab-tubitak-proposal` |81| Publication metadata for an author (DOIs, citations, h-index) | `alterlab-research-lookup` |8283**Hand-off rule.** When the request matches a row above, open your answer by naming that skill by its exact id (for example `alterlab-yok-akademik`) and saying in one line why it fits better, then stop applying this skill's procedure. Name it even when you also need to ask for missing input. If only part of the request is out of scope, name the skill for that part and do only the in-scope part. A brief general pointer is fine; the named skill does the work.8485This skill answers **"what are the admission/quota/staff numbers for this86program or university?"** — nothing about an individual scholar's output.8788## How It Works8990### The data source9192| Surface | What it returns |93|---------|-----------------|94| `/api/tercih-kilavuz/universiteler` | the university list (`{universiteAdi, universiteId}`, 228 on 2026-09-23) |95| `/api/tercih-kilavuz/universite-programlar` | the **program-group** list (`{birimGrupId, birimGrupAdi, puanTuru}`, 611) — not per-university programs |96| `/api/tercih-kilavuz/universite-iller` | provinces (`{ilAdi, ilKodu}`) |97| `/api/tercih-kilavuz/search` | program search with `SearchFilters` |9899`yokatlas-py` (MIT, Python ≥3.10; 0.7.0 released 2026-07-23) exposes these as100module-level functions `search_programs(filters_dict, size=…)`,101`get_program(kilavuz_kodu)`, `list_universities()`, and — new in 0.7.0 —102`list_program_groups()`, `list_cities()` and `search_netler()` (average nets per103test section, `/api/netler/search`); plus a `YokAtlasClient` / `SearchFilters` /104`Program` object API. It normalizes Turkish characters (İ/ı, Ş/ş, Ğ/ğ, Ç/ç,105Ö/ö, Ü/ü), so `"boğaziçi"` and `"bogazici"` both resolve. Full filter and field106reference: `references/api_endpoints.md`.107108> **Name resolution gotcha.** `universite`, `program` and `il` are resolved to109> ONE lookup entry each: exact name first, then the *first* entry that contains110> the text, then a close match — otherwise the call fails. A fragment like111> `program="bilgisayar"` silently resolves to the group "Bilgisayar Bilimleri"112> and returns nothing for Boğaziçi; use the full group name ("bilgisayar113> mühendisliği") or `birim_grup_id`. Abbreviations such as "odtü" do not resolve114> ("orta doğu teknik" does). An empty page means "no match for this group", not115> "no such program" — check the resolved name before reporting.116117### Pipeline1181191. **Pick the operation** from the request: list universities, search programs,120 or fetch one program by its kılavuz kodu (guide code).1212. **Build filters.** The common `SearchFilters` fields are `puan_turu`122 (SAY/SÖZ/EA/DİL/TYT), `universite`, `program`, `il` (province),123 `universite_turu` (DEVLET/VAKIF), and `min_basari_sirasi`/`max_basari_sirasi`124 for a success-rank window. See `references/api_endpoints.md` for the full list.1253. **Run the helper:**126127 ```bash128 uv run --with yokatlas-py python \129 scripts/yokatlas_lookup.py \130 search --puan-turu SAY --universite "boğaziçi" --program "bilgisayar mühendisliği" --size 20131 ```132133 Other subcommands:134135 ```bash136 # All universities (id + name)137 uv run --with yokatlas-py python .../yokatlas_lookup.py universities138139 # One program's multi-year statistics by guide code140 uv run --with yokatlas-py python .../yokatlas_lookup.py program --kod 102210277141 ```142143 The script prints a JSON envelope (`{"tool", "operation", "count", "results"}`;144 searches add `total_elements`, `data_year`, and a `note` when nothing145 matched). If `yokatlas-py` or the network is unavailable it prints a146 structured `{"error": …, "manual_instructions": …}` and exits non-zero — it147 never fabricates statistics.1481494. **Read the JSON and report.** For each program surface the year, `kontenjan`,150 `yerlesen`, `min_puan`, `basari_sirasi`, and (when asked) the staff counts.151 Each `Program` carries up to four years (`current` + `history`; on152 2026-09-23 `current` was the 2026 placement year); state which year a number153 is from — some history years carry only scores, with quota fields empty.1541555. **Cross-link if the user drifts.** If they then ask about a person's CV or156 publications, hand off to `alterlab-yok-akademik`; for theses,157 `alterlab-yok-tez`.158159## Worked Patterns160161- **Program benchmarking.** Search the same `program` across `universite_turu`162 DEVLET vs VAKIF, then tabulate `min_puan` / `basari_sirasi` side by side.163- **Student advising.** Given a target başarı sırası, filter with164 `max_basari_sirasi` to list programs realistically in reach.165- **Institutional research.** Fetch a program by kılavuz kodu and report the166 staff mix (`prof`/`doc`/`dou`/`ogr_gor`/`ar_gor`) and the kontenjan→yerleşen167 fill rate across the available years.168169More query recipes: `references/query_recipes.md`.170171## Caveats & Self-Check172173- **Pin the wrapper.** Use `yokatlas-py` **≥0.6.0** (0.7.0 current); the upstream174 JSON API changed once (April 2026) and broke every legacy scraper. If results175 look malformed, re-verify the package version before reporting; if they are176 merely empty, check the name-resolution gotcha above first.177- **No demographic breakdowns since v0.6.0** (gender / high-school-type splits),178 still absent in 0.7.0. Do not promise those fields — only the staff/quota/score179 fields above (and 0.7.0's nets) are returned.180- **Score type matters.** A program's `min_puan` is only meaningful next to its181 `puan_turu`; always report them together.182- **Data year.** Numbers are historical (latest plus three prior years). Never183 imply a figure is "current admissions" without naming its year.184- **Did the script reach the network?** If it returned an `error` envelope, say185 so and relay the `manual_instructions` — do not infer numbers from memory.186187## References188189- `references/api_endpoints.md` — the `/api/tercih-kilavuz/` endpoints, the full190 `SearchFilters` field list, enums (puan türü, university type, birim türü), and191 the returned statistic fields, with the legacy-PHP-dead caveat.192- `references/query_recipes.md` — worked `yokatlas_lookup.py` invocations for193 benchmarking, advising, and institutional-research questions.194195Part of the AlterLab Academic Skills suite.