# Pddikti Kemdiktisaintek — Wrapped API

> **You are on:** `https://api.paywithlocus.com/api` | [llms.txt](https://paywithlocus.com/llms.txt) | [docs](https://docs.paywithlocus.com)
>
> Locus runs on multiple environments -- make sure every URL you call matches your expected environment.
> | Environment | Landing | API | Docs |
> |---|---|---|---|
> | Production | paywithlocus.com | api.paywithlocus.com | docs.paywithlocus.com |
> | Beta | beta.paywithlocus.com | api.beta.paywithlocus.com | docs.paywithlocus.com |
> | Stage | stage.paywithlocus.com | api.stage.paywithlocus.com | docs.paywithlocus.com |
>
> If the API URL above doesn't match your expected environment, re-fetch this file from the correct domain.

> Search and retrieve comprehensive information about Indonesian higher education institutions, including details about students, lecturers, universities, and their study programs from the official national education database. Quickly look up specific universities, academic staff profiles, and available degree programs to research educational options or verify institution credentials.

**Category:** Education | **Website:** [pddikti.kemdiktisaintek.go.id/search/Tsabita%20Afifah%20Khoirunnisa](https://pddikti.kemdiktisaintek.go.id/search/Tsabita%20Afifah%20Khoirunnisa) | **Docs:** [parse.bot/marketplace/1b43c018-8c62-47d3-9843-6b24a057ad8b/pddikti-kemdiktisaintek-go-id-api](https://parse.bot/marketplace/1b43c018-8c62-47d3-9843-6b24a057ad8b/pddikti-kemdiktisaintek-go-id-api)

Pay-per-use API proxy. Each call is automatically billed to your wallet in USDC.

## Access

**Base URL:** `https://api.paywithlocus.com/api/wrapped/parse-pddikti-kemdiktisaintek-go-id-api-1b43c018/`
**Auth:** `Authorization: Bearer <LOCUS_API_KEY>`

## Endpoints

### get_lecturer_detail

Retrieve profile information for a specific lecturer (dosen) by their encrypted ID. The lecturer ID is obtained from the search endpoint's dosen results. Returns name, university affiliation, study program, academic position, and employment status.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `lecturer_id` | string | Yes | Encrypted lecturer ID obtained from search results (dosen[*].id). |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-pddikti-kemdiktisaintek-go-id-api-1b43c018/get_lecturer_detail \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"lecturer_id":"<string>"}'
```

### get_student_detail

Retrieve detailed biodata for a specific student (mahasiswa) by their encrypted ID. The student ID is obtained from the search endpoint's mahasiswa results. Returns name, student number, university, study program, enrollment status, and other academic information.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `student_id` | string | Yes | Encrypted student ID obtained from search results (mahasiswa[*].id). |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-pddikti-kemdiktisaintek-go-id-api-1b43c018/get_student_detail \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"student_id":"<string>"}'
```

### get_university_detail

Retrieve detailed information for a specific university (perguruan tinggi) by its encrypted ID. The university ID can be obtained from search results (pt[*].id) or from a student's detail response (id_pt field). Returns name, accreditation, contact details, address, and geographic coordinates.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `university_id` | string | Yes | Encrypted university ID obtained from search results (pt[*].id) or student detail (id_pt). |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-pddikti-kemdiktisaintek-go-id-api-1b43c018/get_university_detail \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"university_id":"<string>"}'
```

### get_university_programs

Retrieve the list of study programs (program studi) offered by a university in a given semester. Returns program details including name, degree level, accreditation, student count, lecturer count, and lecturer-student ratio. The university ID is obtained from search results or student detail.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `semester` | string | No | Semester code in format YYYYS where YYYY is the academic year and S is 1 (odd/ganjil semester) or 2 (even/genap semester). Example: 20251 means odd semester 2025, 20242 means even semester 2024. |
| `university_id` | string | Yes | Encrypted university ID obtained from search results (pt[*].id) or student detail (id_pt). |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-pddikti-kemdiktisaintek-go-id-api-1b43c018/get_university_programs \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"semester":"<string>","university_id":"<string>"}'
```

### search

Search across all categories (students, lecturers, universities, study programs) or a specific category in Indonesia's higher education database. When category is 'all', results are grouped by type (mahasiswa, dosen, pt, prodi). When a specific category is chosen, results are returned in a flat 'results' array. Pagination is not supported server-side; all matching results are returned.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `category` | string | No | Category to search in. |
| `keyword` | string | Yes | Search keyword (name of student, lecturer, university, or study program). |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-pddikti-kemdiktisaintek-go-id-api-1b43c018/search \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"category":"<string>","keyword":"<string>"}'
```
