NewTqnia Daily Digest API
Trusted technology news, ready for any screen.
A public JSON API for prototypes, apps, dashboards, smart displays, assistants, and bots. No API key is required for the initial release.
GET
/v1/news/today
Returns articles published today using the Asia/Dubai day boundary. It returns an empty array when nothing has been published today.
curl "https://newtqnia.com/v1/news/today?locale=en&limit=5"
GET
/v1/news/latest
Returns the latest published articles, including when today’s digest is empty.
curl "https://newtqnia.com/v1/news/latest?locale=en&limit=5"
Parameters
| Parameter | Values | Description |
|---|---|---|
| locale | en, ar | Response language; English by default. |
| limit | 1–10 | Maximum number of articles. |
| category | slug | Optional category-slug filter. |
JavaScript
const response = await fetch(
'https://newtqnia.com/v1/news/today?locale=en&limit=5'
);
const digest = await response.json();
for (const article of digest.articles) {
console.log(article.title, article.url);
}
Python
import requests
digest = requests.get(
'https://newtqnia.com/v1/news/today',
params={'locale': 'en', 'limit': 5},
timeout=10,
).json()
for article in digest['articles']:
print(article['title'], article['url'])