Open dataset of Libya's administrative divisions — 3 regions, 22 districts, 104 baladiyas, 1165 muhallas. Bilingual Arabic + English. CC-BY-4.0
# Libya Administrative Divisions / ليبيا
## Overview
| Item | Details |
|------|---------|
| Region | 3 |
| District | 22 |
| Baladiya | 104 |
| Muhalla | 1,165 |
| Coordinates | ✅ Included (all levels) |
| Formats | JSON, NDJSON, CSV |
| License | CC-BY-4.0 |
| Last Updated | 2026-06-01 |
| Website |
openadmindata.org |
| API |
openadmindata.org |
## Browse by Region
| # | Region | Districts | Baladiyas | Muhallas | Link |
|---|----|----|----|----|------|
| 1 | الشرق (East) | 7 | 26 | 287 | Browse |
| 2 | الغرب (West) | 9 | 63 | 741 | Browse |
| 3 | الجنوب (South) | 6 | 15 | 137 | Browse |
## Data Files
| File | Format | Description |
|------|--------|-------------|
| all-region.json | JSON | All 3 region records |
| all-district.json | JSON | All 22 district records |
| all-baladiya.json | JSON | All 104 baladiya records |
| all-muhalla.json | JSON | All 1,165 muhalla records |
| all-flat.json | JSON | Levels 1-3 flat array |
| all-flat.ndjson | NDJSON | Streaming format |
| all-flat.csv | CSV | Spreadsheet format |
| hierarchy.json | JSON | Nested tree |
| schema.json | JSON Schema | Data schema |
## Quick Start
### Python
```python
import json
with open("data/all-region.json", "r", encoding="utf-8") as f:
data = json.load(f)
for r in data:
print(f"{r['name']['local']} ({r['name']['en']}) — {r['children_count']['district']} districts")
```
### JavaScript
```javascript
import { readFileSync } from "fs";
const data = JSON.parse(readFileSync("data/all-region.json", "utf-8"));
console.log(`Total: ${data.length} regions`);
```
## Schema
| Field | Type | Description |
|-------|------|-------------|
| `id` | string | Unique identifier |
| `level` | integer | 1=region, 2=district, 3=baladiya, 4=muhalla |
| `level_name` | object | Level label (local + English) |
| `name.local` | string | Name in local script |
| `name.en` | string | English name |
| `name.slug` | string | URL-safe slug |
| `parent` | object/null | Parent division reference |
| …