UniDirectory is a simple and powerful REST API providing an up-to-date list of all UGC-approved universities in Bangladesh — including public, private, international, and CBHE (Cross-Border Higher Education) institutions.
Recently, I worked on a project that required displaying the names of all universities in Bangladesh. Since there was no available API providing this information, we had to manually list them in a JSON file. While learning Go and exploring web scraping, I thought—why not build an API myself? So here we are. A directory of universities of Bangladesh.
(No, its not a mistake if root url redirect you here it's working fine. since i hosted this on scale to zero so when its not running its unavailable. If you want this to run 24/7 please self host this. For any help mail me hello@uthsob.me )
Base URL: https://unidirectory.fly.dev
Get a list of all universities (across all categories):
GET https://unidirectory.fly.dev/universities
Response:
[
{
"id": 1,
"name": "University of Dhaka",
"category": "Public",
"website": "https://du.ac.bd",
...
},
...
]Filter universities by category:
GET https://unidirectory.fly.dev/universities?category=Private
Available categories:
PublicPrivateInternationalCBHE
Get details of a specific university by its unique ID:
GET https://unidirectory.fly.dev/universities/5
Scrape latest University data from Database!
- Go+Gin – Backend and API
- GoColly – For web scrapping
- GORM + PostgreSQL – Data storage
If you find this helpful, please consider leaving a star on the GitHub repo! Your support motivates me to keep building useful tools!