Ask a language model about a company and it answers from training data that is months old. Paste whole articles into the prompt and you spend your context window on boilerplate, ads and five versions of the same story. What a model needs is the facts, each with a date and a source it can cite.
That is exactly what a statement is. This guide builds a context block for "what is happening with Nvidia" from the API and shows what each step returns.
1. Fetch the facts
/v2/statements searches every statement your plan's history covers. Filter by symbol and keep only the important
ones:
You need a RapidAPI key to run the examples: get one here.
import requests
API = "https://finance-pulse.p.rapidapi.com"
HEADERS = {"X-RapidAPI-Key": "YOUR_RAPIDAPI_KEY", "X-RapidAPI-Host": "finance-pulse.p.rapidapi.com"}
resp = requests.get(f"{API}/v2/statements", headers=HEADERS,
params={"symbol": "NVDA", "importance_min": "high", "limit": 20})
statements = resp.json()["data"]
const API = "https://finance-pulse.p.rapidapi.com";
const HEADERS = { "X-RapidAPI-Key": "YOUR_RAPIDAPI_KEY", "X-RapidAPI-Host": "finance-pulse.p.rapidapi.com" };
const resp = await fetch(`${API}/v2/statements?symbol=NVDA&importance_min=high&limit=20`, { headers: HEADERS });
const statements = (await resp.json()).data;
curl -G https://finance-pulse.p.rapidapi.com/v2/statements \
--data-urlencode "symbol=NVDA" --data-urlencode "importance_min=high" --data-urlencode "limit=20" \
-H "X-RapidAPI-Key: YOUR_RAPIDAPI_KEY" -H "X-RapidAPI-Host: finance-pulse.p.rapidapi.com"
Each item is one fact, newest first by publication time:
{
"data": [
{
"statement": "Hewlett Packard Enterprise is launching a new AI factory architecture using NVIDIA DSX platforms to enhance production of advanced servers.",
"published_at": "2026-10-13T09:45:19Z",
"sentiment": "bullish",
"importance": "high",
"source_domain": "ec.ltn.com.tw",
"source_url": "https://ec.ltn.com.tw/article/breakingnews/5605064",
"topic_id": "6d69e7ba-337e-432b-b539-8ca1345d50f6",
"topic_name": "NVIDIA launches DSX platform for AI factory design"
},
{
"statement": "Microsoft is releasing a new Maia chip that makes every major Nvidia customer a competitor",
"published_at": "2026-10-13T09:00:07Z",
"sentiment": "bearish",
"importance": "high",
"source_domain": "finance.yahoo.com",
"source_url": "https://finance.yahoo.com/technology/ai/articles/every-major-nvidia-customer-now-090007471.html",
"topic_id": "0b33ec2d-bd24-42da-a89b-7eec182cead9",
"topic_name": "Nvidia's AI chip customers diversifying away from the company"
},
… 18 more
],
"next_cursor": "WzE3OTE4MTgyODAsImY5ZjgxNTM5LTk5YmYtNTc4OC05ZWQ1LTFlOGE4M2MyZmMyNyJd"
}
2. Turn them into a prompt block
One line per fact, with its source and date, is all the structure a model needs to cite:
lines = [f"- {s['statement']} ({s['source_domain']}, {s['published_at'][:10]})" for s in statements]
context = "Recent reporting on Nvidia (NVDA):\n" + "\n".join(lines)
print(context)
Recent reporting on Nvidia (NVDA):
- Hewlett Packard Enterprise is launching a new AI factory architecture using NVIDIA DSX platforms to enhance production of advanced servers. (ec.ltn.com.tw, 2026-10-13)
- Microsoft is releasing a new Maia chip that makes every major Nvidia customer a competitor (finance.yahoo.com, 2026-10-13)
- Kioxia signed a customer prepayment agreement with NVIDIA for semiconductor test capacity. (ec.ltn.com.tw, 2026-10-13)
- Nvidia's share of China's AI chip market fell to 34% in the first half of 2026 due to US export restrictions. (economictimes.indiatimes.com, 2026-10-13)
- Nvidia's China AI chip share falls as Huawei closes in (finance.yahoo.com, 2026-10-13)
- Nvidia AI chip shares in China fell as Huawei caught up (finance.yahoo.com, 2026-10-13)
- Nvidia may halt production of the RTX 5090 graphics card to favor RTX PRO cards. (digitimes.com, 2026-10-13)
…
Twenty such lines cost a few hundred tokens. Ask the model to answer only from these facts and to cite the domain, and every claim in its answer can be traced to an article.
3. Group facts into developments
A flat list mixes several stories. Every statement carries a topic_id; fetch those topics in one call to see which
developments the facts belong to and how widely each was reported:
topic_ids = sorted({s["topic_id"] for s in statements})
topics = requests.get(f"{API}/v2/topics", headers=HEADERS,
params={"ids": ",".join(topic_ids)}).json()["data"]
for t in sorted(topics, key=lambda t: -t["sources"]):
print(f"{t['sources']:>3} outlets {t['sentiment_score']:+.2f} {t['name']}")
15 outlets +0.65 Nvidia exploring acquisition of Reflection AI
7 outlets +0.62 China considering allowing ByteDance and Alibaba to buy Nvidia chips
6 outlets +0.00 CXMT leads Samsung in memory marketing claims
5 outlets -1.00 Nvidia stock tumbles amid chip sector sell-off
4 outlets -1.00 Asian chip stocks fall after Nvidia's quarter
4 outlets +0.50 AMD Nvidia valuation split
3 outlets -0.33 Nvidia and AMD shares fall as new AI announcements fail to re-energize investors
…
Now the prompt can be organised by development, and the number of outlets tells the model (and you) how much weight each deserves: a story covered by many outlets is not the same as a single blog post.
4. Drill into one development
/v2/topics/{topic_id} returns the topic with its source mix and its newest statements, plus a cursor for the rest:
topic = requests.get(f"{API}/v2/topics/{topics[0]['id']}", headers=HEADERS).json()["data"]
print(topic["name"], topic["sources"], "outlets", topic["source_mix"])
source_mix separates reported facts (news) from opinion (speculative) and reddit, which you may want to keep
out of a factual context block: add source_type=news to the statements query.
Where to go next
- Keep the context fresh without re-reading everything: Never miss a statement.
- Measure attention instead of reading it: A news-attention and sentiment series.
Run this yourself: get an API key on RapidAPI ↗.