Real-time WebSocket API

Stream AI-Generated Exams Into Your Platform

Integrate ExamGen's powerful question generation engine into your LMS, testing platform, or edtech product. Real-time streaming via WebSocket, white-label ready, with unmatched accuracy and uniqueness guarantees.

Start Integration — Free View API Docs
WebSocket Connection
const ws = new WebSocket('wss://api.examgen.com/ws');

ws.send({
  'api_key': 'eg_live_xxx',
  'prompt': 'FPGE Clinical Pharmacology',
  'difficulty': 'hard',
  'count': 10,
  'stream_mode': 'sequential'
});

ws.onmessage = (event) => {
  const question = JSON.parse(event.data);
  displayQuestion(question); // Render in your UI
};

Built for Scale & Reliability

Everything you need to integrate exam generation into your product.

⚡

WebSocket Streaming

Real-time question delivery via WebSocket. Sequential or batch mode with sub-100ms latency.

🔐

Unique Per Session

Every API call generates completely unique questions. Cryptographic guarantee — no repeats ever.

🎨

White-Label Ready

Questions delivered as raw JSON. You render in your own UI with your branding. No ExamGen marks.

📊

Detailed Explanations

Every response includes correct answer, explanation, distractor analysis, and step-by-step solutions.

🛡️

99.9% Uptime SLA

Enterprise-grade infrastructure with automatic failover. Guaranteed availability for critical operations.

💬

Dedicated Support

Priority support with dedicated solutions engineer for enterprise customers.

Simple, Transparent Pricing

Pay for what you use. Scale as you grow.

Starter

$99/mo
  • 1,000 API calls/month
  • WebSocket access
  • Basic analytics
  • Email support
Start Free Trial

Enterprise

Custom
  • Unlimited API calls
  • Dedicated infrastructure
  • SLA guarantee
  • Solutions engineer
  • Custom integrations
Contact Sales

Ready to Power Your Platform?

Get your API key and start streaming questions in minutes.

Get Started Free