simple headline-based news website for gathering quick information
ad free, overstimulation-free, forever
jtn has a small RESTful api (/api/v1/).
Returns a random headline from the top stories. Response: JSON object containing article details.
Returns a list of valid news categories.
Response: {"categories": ["business", "entertainment", ...]}
Returns a random headline from a specific category.
Example: /api/v1/get/headline/technology
Response: JSON object containing article details (or 404 if empty).
Returns a random headline matching the search query.
Example: /api/v1/search?q=bitcoin
Response: JSON object containing article details (or 404 if no match).
Returns API health status.
Response: {"status": "ok", "uptime": 123.45, ...}