{ } DLPL API

Đơn vị hành chính

Free

Tỉnh, xã/phường trước và sau sắp xếp 2025, kèm căn cứ nghị quyết và đơn vị kế thừa.

Endpoint

EndpointMô tả
GET /v1/administrative-unitsTìm kiếm, lọc, phân trang
GET /v1/administrative-units/{id}Chi tiết một bản ghi (toàn bộ trường)
bash
curl "https://api.dulieuphapluat.vn/v1/administrative-units?per_page=10" \
  -H "Authorization: Bearer dlpl_live_xxxxxxxxxxxxxxxxxxxxxxxx"

Tham số và trường dữ liệu

Tham số lọc
Tham sốKiểu
q Từ khoá tìm trong: name, full_name
code string
level int
is_current bool
province_code string
page, per_pagePhân trang
Trường dữ liệu
TrườngKiểuGói
id id Free
code string Free
name string Free
short_name* string Free
type string Free
full_name string Free
level int Free
is_current bool Free
province_code* string Free
province_name string Free
district_code* string Free
district_name* string Free
effective_date* date Free
end_date* date Free
legal_basis_code* string Free
legal_basis_name* string Free
successor_units* json Starter+
unchanged* bool Starter+
resolution_excerpt* string Starter+ xem trước
merge_note* string Starter+
legal_document_id* id Starter+

* chỉ trả ở endpoint chi tiết.

Cùng nhóm Hành chính