Developers
Free, read-only APIs.
Use the CSCosmos catalog in your own tools, agents, or study dashboards. No keys, no paywall, CORS enabled, and responses cached for an hour.
https://cscosmos.vercel.app/apicurl https://cscosmos.vercel.app/api/topics
curl https://cscosmos.vercel.app/api/domains
curl https://cscosmos.vercel.app/api/interview
Full topic catalog with domain, status, description, and absolute URL.
{
"count": 257,
"generatedAt": "2026-10-20T...",
"topics": [
{
"id": 1,
"name": "How Programs Execute",
"domain": "corecs",
"slug": "program-cosmos",
"status": "active",
"url": "https://cscosmos.vercel.app/corecs/program-cosmos",
"crossListedDomains": [],
"curriculumTags": []
}
]
}Domain metadata with total and active topic counts.
{
"count": 8,
"domains": [
{
"key": "dsa",
"name": "Data Structures & Algorithms",
"totalTopics": 40,
"activeTopics": 2
}
]
}Interview categories with difficulty, frequency, companies, and tags.
{
"count": 25,
"categories": [
{
"key": "dsa",
"title": "DSA",
"questions": [
{
"slug": "two-sum-brute-force-to-hashmap",
"difficulty": "beginner",
"companies": ["Amazon", "Microsoft", "Google"]
}
]
}
]
}Embed a visualizer
Every active topic has a chrome-free embed route. Replace the slug with any active topic from /api/topics.
<iframe
src="https://cscosmos.vercel.app/embed/topic/program-cosmos"
width="1200"
height="800"
title="CSCosmos visualizer"
style="border:0"
allow="fullscreen"
></iframe>
Rules
- Read-only. There are no write endpoints.
- No authentication. Please cache responses and identify your client with a User-Agent.
- Content is original; do not republish it as your own catalog.
- Endpoints may evolve. Breaking changes will be announced on GitHub.
Source and issues