Public API endpoints for programmatic access.
| Endpoint | Method | Description |
|---|---|---|
| /api/browse?path=...&page=1 | GET | Browse ROMs by platform and directory. Params: path (base64), page, sort. |
| /api/search?q=... | GET | Search ROMs by name. Params: q, page. |
| /api/uptime | GET | Server uptime, ROM count and platform count (JSON). |
| /api/doom/top | GET | Returns top 5 voted DOOM mods of the day (one per line, plain text). Returns "vanilla" if no votes yet. |
| /api/collections | GET | List authenticated user's collections (JSON). |
| /api/collection/:id | GET | Get collection metadata and games (JSON). |
| /api/blog | GET | List blog posts (JSON). |
| /api/blog/:slug | GET | Get a single blog post by slug (JSON). |