Skip to main content

Getting Started

The College Data API gives you programmatic access to India's most comprehensive normalized college dataset — 50,000+ colleges, alias-aware, location-standardized, and continuously updated.

Base URL​

https://api.collegedb.in

Quick start​

1. Get an API key​

Sign in with Google and create a free API key from the Dashboard. Free keys allow 50 requests per day.

2. Make your first request​

curl "https://api.collegedb.in/v1/colleges/search?q=IIT+Bombay" \
-H "Authorization: Bearer cdb_your_key_here"

3. Get the response​

{
"results": [
{
"id": "f47ac10b-58cc-4372-a567-0e02b2c3d479",
"name": "Indian Institute of Technology Bombay",
"city": "Mumbai",
"state": "Maharashtra"
}
],
"query": "IIT Bombay"
}

Response format​

All responses are JSON. Successful responses return the data directly. Errors include an error field with a human-readable message.

{
"error": "Missing API key. Use Authorization: Bearer <key> or X-API-Key header."
}

HTTP status codes​

CodeMeaning
200Success
400Bad request (missing or invalid parameters)
401Missing or invalid API key
403API key has been revoked
404Resource not found
429Rate limit exceeded
500Server error

Next steps​