Build on top of Sikkim's most comprehensive PYQ database. Semantic search, mock test generation, progress analytics, and more — all accessible via a simple REST API.
Anyone using this API for commercial purposes MUST provide attribution by linking back to PrepSPSC.
Required attribution format:
This includes but is not limited to: websites, applications, trading bots, research reports, or any service that generates revenue. Personal use is permitted without attribution.
This API is also available as an OpenClaw skill on ClawHub, making it accessible to 100K+ AI agents.
Connect directly from any MCP-compatible AI agent. All 11 tools show up natively — just type "generate me an SPSC mock test".
Add to your MCP client settings:
{
"mcpServers": {
"prepspsc": {
"command": "node",
"args": ["mcp-server/dist/index.js"],
"env": {
"PREPSPSC_API_KEY": "sk_live_YOUR_KEY"
}
}
}
}Use the 7,400+ real PYQs as few-shot reference examples to generate unlimited new questions with any LLM. Each question includes topics, cognitive level, difficulty, and exam metadata — everything your AI needs to match real SPSC exam standards.
Search previous year questions using natural language with AI-powered vector similarity.
Generate exam-pattern mock tests from a curated bank of real PYQ questions.
Track study streaks, XP, test scores, and topic-wise performance analytics.
Access real-time leaderboards for competitive motivation among aspirants.
Save and retrieve bookmarked questions for spaced repetition review.
Once you have your API key, making requests is simple:
curl -X POST https://qqqditxzghqzodvauxth.supabase.co/functions/v1/pyq-api \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"query": "Sikkim history", "subject": "History", "limit": 5}'All API requests must include your API key in the Authorization: Bearer header:
// Using fetch
const response = await fetch("https://qqqditxzghqzodvauxth.supabase.co/functions/v1/pyq-api", {
method: "POST",
headers: {
"Content-Type": "application/json",
"Authorization": "Bearer sk_live_your_key_here"
},
body: JSON.stringify({
query: "fundamental rights Article 14",
subject: "Indian Polity",
limit: 10
})
});
const data = await response.json();
console.log(data.questions);Your API key is hashed on our servers. We never store the raw key. Keep it secret and never expose it in client-side code.
PrepSPSC Developer API — Built for exam preparation app builders.
Need help? Contact prepspsc@protonmail.com