https://notamitgamer-osma-npm-api.hf.space
GET /ping
Uptime check — always returns 200. Lightweight endpoint for UptimeRobot or health monitors; doesn’t query the database.GET /health
Server status + total package count. Returns200 with the package count once the database is ready; returns 503 if it’s still initializing after a cold start.
GET /stats
Dataset metadata and package count, intended for dashboard stats bars.GET /browse
Paginated package list, ordered bypackage_no.
GET /search
Ranked search across all packages. Results are ranked by match quality — exact match (0) first, starts-with (1) second, contains (2) last — then sorted alphabetically within each rank.
Copyright © 2025–2026 Amit Dutta