# ASN Vacancies

Every formation in the current CASN intake — institution, position, location, quota, age window, and the requirement list — as the state publishes it.

- Method: `GET`
- Path: `/v1/government/asn-vacancies`

**Parameters**

| Name | Type | | Description |
|---|---|---|---|
| `q` | string | optional | Keep only formations whose position or institution contains this. |
| `institution` | string | optional | Keep only formations from an institution, e.g. `Kementerian Sosial`. |
| `location` | string | optional | Keep only formations in a place, e.g. `Prov. DKI Jakarta`. |
| `hiring_type` | string | optional | The intake stream: `CPNS`, `PPPK Guru`, or `PPPK Teknis`. |
| `disability_open` | boolean | optional | Keep only formations from the ministry's disability-reserved stream. |
| `limit` | integer | optional | Formations to return, 1 to 1000. |
| `max_age` | integer (seconds) | optional | Ask for data no older than this. Clamped to the product's own floor, so it can narrow the window but never force a refresh on every call. |

**Example request**

```bash
curl https://api.diraz.ae/v1/government/asn-vacancies \
  -H "Authorization: Bearer drz_live_…"
```

**Example response**

```json
{
  "data": {
    "event": "Seleksi CASN Sekolah Rakyat 2026",
    "total": 2,
    "items": [
      {
        "institution": "Kementerian Sosial",
        "hiring_type": "PPPK Guru",
        "formation_type": "UMUM",
        "position_code": "JF0000418-98",
        "position": "Guru Ahli Pertama - GURU BAHASA INDONESIA",
        "location": "Prov. DKI Jakarta",
        "openings": 4,
        "disability_open": true,
        "age_min": 20,
        "age_max": 40,
        "period": 1,
        "salary_min": null,
        "salary_max": null,
        "education": null,
        "education_group": null,
        "requirements": [
          "Ijazah asli (bukan legalisir) sesuai dengan kualifikasi pendidikan dan persyaratan pada formasi jabatan yang dilamar.",
          "Pasfoto formal berwarna dan terbaru paling lama 6 (enam) bulan terakhir ukuran 4 x 6."
        ]
      },
      {
        "institution": "Kementerian Sosial",
        "hiring_type": "PPPK Guru",
        "formation_type": "UMUM",
        "position_code": "JF0000418-98",
        "position": "Guru Ahli Pertama - GURU BAHASA INDONESIA",
        "location": "Kab. Bogor",
        "openings": 3,
        "disability_open": true,
        "age_min": 20,
        "age_max": 40,
        "period": 1,
        "salary_min": null,
        "salary_max": null,
        "education": null,
        "education_group": null,
        "requirements": [
          "Ijazah asli (bukan legalisir) sesuai dengan kualifikasi pendidikan dan persyaratan pada formasi jabatan yang dilamar.",
          "Pasfoto formal berwarna dan terbaru paling lama 6 (enam) bulan terakhir ukuran 4 x 6."
        ]
      }
    ]
  },
  "meta": {
    "request_id": "req_7Q2fK4mZ",
    "as_of": "2026-08-20T04:05:00.000Z",
    "age_seconds": 3600,
    "next_update_at": "2026-08-21T04:05:00.000Z"
  }
}
```