API Documentation
Build powerful educational tools on top of the PrepGenius AI platform. REST API with JSON responses.
🔐 Authentication
All API requests must include a valid API key in the Authorization header. You can generate an API key from your Developer Dashboard under Integration Settings.
# Include this header with every request
Authorization: Bearer YOUR_API_KEY
📡 Core Endpoints
/api/v1/content/questionsFetch paginated questions filtered by subject, exam type, and difficulty.
Parameters
subjectstringrequirede.g. "biology", "mathematics"exam_typestringoptional"JAMB" | "WAEC" | "NECO" | "SAT"difficultystringoptional"easy" | "medium" | "hard"pageintegeroptionalPagination page number (default: 1)limitintegeroptionalResults per page (default: 20, max: 100)Example Request
curl -X GET "https://api.prepgenius.ai/v1/content/questions?subject=biology&exam_type=JAMB&limit=10" \ -H "Authorization: Bearer YOUR_API_KEY"
⚠️ Error Codes
200OK
Request succeeded.
400Bad Request
Missing or invalid parameters.
401Unauthorized
Invalid or missing API key.
429Rate Limited
Too many requests. Slow down.
404Not Found
Resource does not exist.
500Server Error
Contact support if this persists.
⏱️ Rate Limiting
All API requests are subject to rate limiting to ensure fair usage and platform stability.
Free
100 req/hr
Standard
1,000 req/hr
Enterprise
Custom
Ready to Start Building?
Get your API key and start integrating PrepGenius AI into your applications today. Enterprise accounts available for high-volume use cases.