College API Documentation

Welcome to the College API by the-bipu. Here we've tried to list all the colleges of India with this API.

Get a Random College.

Use this endpoint to retrieve a random college.

Example Request:

GEThttps://college-api-nextjs.vercel.app/api/random

Example Response:

{
  "collegeCode": "random-college-code",
  "collegeName": "Random College Code"
}

Get Colleges with First Letter.

Use this endpoint to retrieve a list of colleges with same starting letter.

Example Request:

GEThttps://college-api-nextjs.vercel.app/api/colleges?letter=z

Example Response:

[
  {
    "collegeCode": "random-college-code",
    "collegeName": "Random College Code"
  },
  {
    "collegeCode": "another-random-college-code",
    "collegeName": "Another Random College Code"
  }
]

Get all Colleges.

Use this endpoint to retrieve a list of available colleges.

Example Request:

GEThttps://college-api-nextjs.vercel.app/api/college

Example Response:

[
  {
    "collegeCode": "random-college-code",
    "collegeName": "Random College Code"
  },
  {
    "collegeCode": "another-random-college-code",
    "collegeName": "Another Random College Code"
  }
]