Enter any URL to see what topics our algorithm extracts from that page.
This API classifies web pages and returns a list of relevant topics using custom density analysis.
Key Features:
Classify a single URL and get relevant topics
GET /api/classify?url=https://example.com&limit=10 POST /api/classify Body: {"url": "https://example.com", "limit": 10}
Classify multiple URLs in one request (max 10 URLs)
POST /api/classify/batch Body: {"urls": ["url1", "url2"], "limit": 10}
Test with predefined assignment URLs
GET /api/classify/test (runs all test URLs) GET /api/classify/test?index=0 (runs specific test)
Get API documentation
curl "http://localhost:8000/api/classify?url=https://example.com"
curl "http://localhost:8000/api/classify/test"
curl -X POST http://localhost:8000/api/classify/batch \ -H "Content-Type: application/json" \ -d '{"urls": ["url1", "url2"], "limit": 10}'
Built by Deepak Singh Parihar