
Developers
JSON market news with clear filters, Arabic and English fields, and impact scores ready to use.
GET /market-news
X-API-Key: YOUR_KEYCreate your key in the developer console and send it with every request.
Call GET /market-news with your key in the X-API-Key header.
Each story returns bilingual titles, a category, a market, and impact scores.
curl "https://www.brieflynewsstream.com/api/v1/market-news" \
-H "X-API-Key: YOUR_KEY"{
"id": "...",
"title": "أسواق الأسهم العالمية تتماسك مع ترقّب قرارات الفائدة",
"summary": "الأسواق تبقى منتظمة بينما ينتظر المتعاملون الخطوة التالية في السياسة النقدية.",
"arabic": {
"title": "أسواق الأسهم العالمية تتماسك مع ترقّب قرارات الفائدة",
"summary": "الأسواق تبقى منتظمة بينما ينتظر المتعاملون الخطوة التالية في السياسة النقدية."
},
"english": {
"title": "Global equities hold as desks watch the next rate decision",
"summary": "Stock markets stay orderly while traders wait for the next move in policy."
},
"category": "markets",
"country": "GLOBAL",
"publishedAt": "2026-08-21T12:00:00.000Z",
"scores": {
"final": 86,
"marketImpact": 84
}
}Send your API key in the X-API-Key header on every news request.
X-API-Key: YOUR_KEYCreate keys in the developer console.
GET /market-news
Fetch the latest stories with the filters your product needs.
| Endpoint | Description |
|---|---|
GET /market-news | Live filterable feed. Default 72-hour window. |
GET /market-news/today | Stored daily edition for today. |
GET /market-news/daily | Stored daily edition for a date. |
GET /market-news/editions | List of published edition dates. |
GET /market-news/nationality | Community briefing. nationality is required. |
GET /meta/categories | Category catalog with Arabic and English labels. |
GET /meta/countries | Country catalog. 100+ ISO codes. |
GET /meta/nationalities | Audience codes for community briefings. |
GET /sources | Sources available to your key. |
| Parameter | Type | Description |
|---|---|---|
q | string | Arabic or English search, including multi-word phrases. |
searchIn | string | title, summary, or both. Default both. |
country | string | ISO country code. Comma-separated. Example: US,AE. |
region | string | Market region. middle_east, america, or global. |
category | string | Catalog code such as finance, economics, oil, me_economy, commodities, banking, real_estate, tech, energy, trade, fx, crypto, shipping, insurance, policy, markets, or the precious-metals code. See /api/v1/meta/categories. |
nationality | string | Audience code. Required on /market-news/nationality. Example: IN. |
lang | string | Response language for title and summary. ar or en. Default ar. |
language | string | Filter by the story's stored source language. ar or en. |
source | string | Source identifier. Comma-separated. |
sort | string | score ranks by market impact. date is newest first. Default score. |
date | date | A single date. YYYY-MM-DD. Overrides the default live window. |
from | date | Inclusive published-at start date. YYYY-MM-DD. |
to | date | Inclusive published-at end date. YYYY-MM-DD. |
limit | integer | Page size. Default 50, maximum 500. |
offset | integer | Stories to skip. Default 0. |
GET /market-news?region=global&category=markets&sort=score&limit=10Every story uses the same fields.
{
"id": "...",
"title": "أسواق الأسهم العالمية تتماسك مع ترقّب قرارات الفائدة",
"summary": "الأسواق تبقى منتظمة بينما ينتظر المتعاملون الخطوة التالية في السياسة النقدية.",
"arabic": {
"title": "أسواق الأسهم العالمية تتماسك مع ترقّب قرارات الفائدة",
"summary": "الأسواق تبقى منتظمة بينما ينتظر المتعاملون الخطوة التالية في السياسة النقدية."
},
"english": {
"title": "Global equities hold as desks watch the next rate decision",
"summary": "Stock markets stay orderly while traders wait for the next move in policy."
},
"category": "markets",
"country": "GLOBAL",
"publishedAt": "2026-08-21T12:00:00.000Z",
"scores": {
"final": 86,
"marketImpact": 84
}
}title, arabic, englishtitle follows lang. arabic and english stay on the same object.
categoryA fixed market category such as markets, finance, or oil.
country, regioncountry is an ISO code. region is middle_east, america, or global.
scores.final, scores.marketImpactscores.final and scores.marketImpact rank likely market effect.
publishedAtpublishedAt is an ISO 8601 timestamp.
qcountryregioncategorynationalitylangsortfromtolimitGET /market-news
?region=global
&category=finance
&lang=ar
&sort=score
&limit=20Use sort=score to rank stories by impact, not only by recency.
JSON, UTF-8, Arabic and English fields, a stable envelope, and quota headers on every authenticated response.
{
"meta": {
"version": "1.0.0",
"lang": "ar"
},
"count": 10,
"limit": 10,
"offset": 0,
"items": []
}Failures use a flat error code and a message.
{
"error": "unauthorized",
"message": "Missing or invalid API key."
}| HTTP | error | Description |
|---|---|---|
| 401 | unauthorized | Missing or invalid X-API-Key. |
| 400 | invalid_query | A filter value was malformed or unknown. |
| 404 | edition_not_ready | No stored edition for that date yet. |
| 429 | quota_exceeded | Daily request limit exceeded for this plan. |
| 503 | server_error | The service is temporarily unavailable. |
Free includes 3 requests a day. Pro includes 500. Enterprise includes 20,000 by default. The daily limit renews automatically every day.
Default page size is 50. Maximum is 500.
Without from, to, or date, results use the default 72-hour live window. Indexed stories stay in the archive on every plan. Use from and to to query further back.
const response = await fetch(
"https://www.brieflynewsstream.com/api/v1/market-news",
{
headers: {
"X-API-Key": process.env.BRIEFLY_API_KEY
}
}
);
const data = await response.json();curl "https://www.brieflynewsstream.com/api/v1/market-news" \
-H "X-API-Key: YOUR_KEY"import os
import urllib.request
req = urllib.request.Request(
"https://www.brieflynewsstream.com/api/v1/market-news",
headers={"X-API-Key": os.environ["BRIEFLY_API_KEY"]},
)
with urllib.request.urlopen(req) as response:
print(response.read().decode())$ch = curl_init("https://www.brieflynewsstream.com/api/v1/market-news");
curl_setopt($ch, CURLOPT_HTTPHEADER, [
"X-API-Key: " . getenv("BRIEFLY_API_KEY"),
]);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
echo curl_exec($ch);Send X-API-Key in the header. Create keys in the console.
It ranks stories by likely market impact. score is the default. date is newest first.
Use limit and offset. Default limit is 50, maximum 500. count is the unique-story total for the query.
72 hours is the default query window. Indexed stories stay in the archive on every plan. Use from and to to query further back.