Numerade Video API

API Documentation

Access Numerade educational videos securely through our proxy API. Videos are accessible for 5 minutes after request.

GET Endpoint

GET /api/getVideoSource?url=https://www.numerade.com/questions/your-question-url

Request a video proxy URL

POST Endpoint

POST /api/getVideoSource Content-Type: application/json { "url": "https://www.numerade.com/questions/your-question-url" }

Request a video proxy URL (alternative method)

Response Format

{ "key": "bc2654783f2523a22390f6e18ad2d83f6c711b24f1f0cc32921cabc91a7d69a1", "title": "Question Title", "proxyUrl": "https://your-domain.vercel.app/api/getVideoSource?key=bc2654783f2523a22390f6e18ad2d83f6c711b24f1f0cc32921cabc91a7d69a1" }

The proxyUrl can be used directly in video players or for downloads

Usage Example

<video controls> <source src="https://your-domain.vercel.app/api/getVideoSource?key=your_received_key" type="video/mp4"> </video>

Example of using the proxy URL in an HTML5 video player

JavaScript Example

async function getVideo(numeradeUrl) { const response = await fetch('/api/getVideoSource', { method: 'POST', headers: { 'Content-Type': 'application/json' }, body: JSON.stringify({ url: numeradeUrl }) }); const data = await response.json(); return data.proxyUrl; // Valid for 5 minutes }

Example of requesting a video URL programmatically

Important Notes

  • Proxy URLs expire after 5 minutes
  • Only Numerade question URLs are supported
  • Direct video file access is not available for security
  • Rate limiting may apply