This API provides information about Nigerian universities, including details such as name, state, city, abbreviation, website, and university type. Below are the available routes and their functionalities:
- Get All Universities
- Get University Details by Name or Abbreviation
- Get Universities in a Particular City
- Get Universities in a Particular State
- Get All Private Universities
- Get Private Universities in a Particular State
The API follows a structured response format in JSON. Both success and error responses contain a success
key to indicate the status of the request.
- Success Response:
- Status Code: 200 OK
- Format: JSON
{
"success": true,
"data": {
"universities": [
{
"name": "University of Lagos",
"state": "Lagos",
"city": "Lagos",
"abbreviation": "UNILAG",
"website": "https://www.unilag.edu.ng",
"university_type": "Federal"
},
// More universities...
]
}
}
- Success Response:
- Status Code: 403 OK
- Format: JSON
{
"success": false,
"error": {
"code": 403,
"message": "Invalid parameter passed"
}
}
-
- Url :
/university
- Method: GET
- **Description: Retrieves a list of all Nigerian universities (limited to 20 universities).
- Url :
-
- Url:
/university/details/{name}
- Method: GET
- **Description: Retrieves university details based on its name or abbreviation.
- Url:
-
- Url:
/university/city/{city}
- Method: GET
- Description: Retrieves a list of universities located in a particular city.
- Url:
-
- Url:
/university/state/{state}
- Method: GET
- Description: Retrieves a list of universities located in a particular state.
- Url:
-
- Url:
/university/private/
- Method: GET
- Description: Retrieves a list of all private Nigerian universities (limited to 20 universities).
- Url:
-
- Url:
/university/private/{state}
- Method: GET
- Description: Retrieves a list of private universities located in a particular state.
- Url:
The API is for educational and informational purposes only. The data provided is based on the available records at the time of retrieval and may be subject to change. Feel free to make any necessary contribution