REST or MCP: feeding financial news to an AI agent

An agent can get AlphAI news in two ways. Your code can fetch JSON from the REST API and pass the rows to the model, or the model can call MCP tools on its own. Both read the same feed and return the same rows with the same IDs and cursors. What differs is who decides when to read.

One feed, two ways in

Here is the same question asked both ways with one Free key, a second apart: the two newest NVDA rows with a relevance score of 7 or more. First REST:

GET /api/news/?symbol=NVDA&min_relevance=7&page_size=2 · 200
{
  "results": [
    {
      "original": {
        "uid": "7f7f4951502ae1fa",
        "title": "Key facts: NVIDIA Shares Swing; Revenue Jumps; AI Backing Tops $500B",
        "source_domain": "tradingview.com",
        "time_published": "2026-11-25T08:00:00Z",
        "created_at": "2026-11-25T08:10:53.662601Z"
      },
      "enrichment": {
        "relevance_score": 7,
        "category": "market_movers",
        "tickers": [
          "NVDA"
        ]
      }
    },
    {
      "original": {
        "uid": "c9fd281372506946",
        "title": "Jensen Huang returns after 11 days... uncertainty eased for Samsung and SK Hynix",
        "source_domain": "news.jkn.co.kr",
        "time_published": "2026-11-25T06:50:06Z",
        "created_at": "2026-11-25T07:56:59.828244Z"
      },
      "enrichment": {
        "relevance_score": 8,
        "category": "market_movers",
        "tickers": [
          "NVDA",
          "005930.KS",
          "000660.KS"
        ]
      }
    }
  ],
  "next_cursor": "MjAyNi0xMS0yNVQwNjo1MDowNiswMDowMHwxNDYzODQz"
}
Rows trimmed to identity, timestamps and score.

Then MCP, through the alphai_ticker_news tool with detail="compact":

tools/call alphai_ticker_news {ticker: NVDA, min_relevance: 7, page_size: 2, detail: compact}
{
  "items": [
    {
      "uid": "7f7f4951502ae1fa",
      "title": "Key facts: NVIDIA Shares Swing; Revenue Jumps; AI Backing Tops $500B",
      "tickers": [
        "NVDA"
      ],
      "category": "market_movers",
      "relevance_score": 7,
      "actionability": "high",
      "information_novelty": 7,
      "time_published": "2026-11-25T08:00:00+00:00",
      "created_at": "2026-11-25T08:10:53.662601+00:00"
    },
    {
      "uid": "c9fd281372506946",
      "title": "Jensen Huang returns after 11 days... uncertainty eased for Samsung and SK Hynix",
      "tickers": [
        "NVDA",
        "005930.KS",
        "000660.KS"
      ],
      "category": "market_movers",
      "relevance_score": 8,
      "actionability": "high",
      "information_novelty": 8,
      "time_published": "2026-11-25T06:50:06+00:00",
      "created_at": "2026-11-25T07:56:59.828244+00:00"
    }
  ],
  "next_cursor": "MjAyNi0xMS0yNVQwNjo1MDowNiswMDowMHwxNDYzODQz"
}
structuredContent of the tool result, items trimmed to the fields compared here.

Both return the same two rows in the same order, with the same uid values and the same next_cursor. The shape differs: compact MCP items lift actionability and information_novelty to the top level and leave out the summary and analysis, which alphai_article(uid) returns in full. In REST the same values sit inside enrichment.ai_trading_insights.news_trading_value.

Which one to use

REST APIMCP server
Who decides when to readYour code, on a schedule or a triggerThe model, while it works on a request
Addresshttps://api.alphai.iohttps://mcp.alphai.io/mcp
AuthAuthorization: Bearer with an API keyOAuth sign-in from the client, or the same API key as a Bearer header
What comes backFull JSON rowsFull rows, or detail="compact" for triage
Free budget20/min, 100/day20/min, 100/day of tool calls, counted separately
page_size over 20 on FreeRefused with 400Cut to 20
Only what is newsort=ingested with a cursorsort="ingested" on the news tools
PushSigned webhooks on ProAlert tools (alphai_alerts_*) on Basic and Pro

Use REST when the agent runs unattended: a trading bot that checks the feed every few minutes, or a pipeline that drops rows before any model sees them. Filtering in code costs no tokens, and the model only ever sees the rows that passed.

Use MCP when a person asks the questions, in Claude, ChatGPT or a coding agent such as Cursor. The model turns the request into a tool call with tickers, a relevance floor and a date range, so a question like "what moved chip stocks this morning" needs no code on your side.

The two also combine. A REST poller can keep a local store of scored rows for the bot's rules while the same account answers follow-up questions over MCP, and each surface spends its own daily budget.

Fields an agent can act on

Every row arrives already scored, so most of an agent's first pass can be a comparison rather than a model call. This is one row as REST returns it, trimmed to those fields:

GET /api/news/?symbol=NVDA&min_relevance=7&page_size=1 · 200
{
  "results": [
    {
      "original": {
        "uid": "1196733d3be05bca",
        "title": "Jensen Huang Reveals Nvidia’s New Chip-Tracking Technology Is Monitoring 100K GPUs Amid China Smuggling Concerns",
        "source_domain": "stocktwits.com",
        "time_published": "2026-12-05T04:55:39Z",
        "created_at": "2026-12-05T05:13:20.266372Z"
      },
      "enrichment": {
        "relevance_score": 7,
        "category": "regulation",
        "tickers": [
          "NVDA"
        ],
        "ai_trading_insights": {
          "ticker_analysis": [
            {
              "ticker": "NVDA",
              "impact_analysis": {
                "sentiment": "negative",
                "confidence": "medium"
              }
            }
          ],
          "news_trading_value": {
            "actionability_score": "medium",
            "information_novelty": 7
          }
        }
      }
    }
  ],
  "next_cursor": "MjAyNi0xMi0wNVQwNDo1NTozOSswMDowMHwxNTQ0MzMy"
}
Fetched by this page from the production API. The copy is refreshed at most every 15 minutes. Trimmed. A full row also carries the summary, the written reasoning per ticker and the source URL.
FieldWhat it holdsWhat an agent does with it
relevance_score1 to 10. The feed leaves out rows under 4 unless askedA threshold before any token is spent (min_relevance=)
categoryOne of 14, such as earnings, mergers_acquisitions, insider, macro_economyRoutes a row to the right rule or prompt
tickersTickers the story affectsMatches a row against holdings or a watchlist
ticker_analysis[].impact_analysis.sentimentpositive, neutral or negative, per tickerDirection for that ticker, which can differ between tickers in one story
…impact_analysis.confidencehigh, medium or lowHow much weight the sentiment gets
news_trading_value.actionability_scorehigh, medium, low or negligibleWhether to act now or only record the row
news_trading_value.information_novelty0 to 10, apart from relevanceTells a new fact from a recap of a known one
created_at, time_publishedWhen the row entered the feed, and when the source published itFreshness, and the order delta polling follows
url, source_domainThe original sourceA citation in the agent’s answer

With collapse=story on REST, or collapse_stories=true on MCP, one row stands for every outlet that covered the same event, and sources_count says how many there were. That keeps an agent from reacting twice to a syndicated reprint.

REST: your code decides when to read

A scheduled agent reads the rows that arrived since its last run and hands the model a few lines about the tickers it holds, not raw articles. The function below does the reading and the filtering. Pacing the calls inside a daily budget is covered in the Free plan guide.

import os

import requests

API = "https://api.alphai.io/api/news/"
HEADERS = {"Authorization": f"Bearer {os.environ['ALPHAI_API_KEY']}"}
HOLDINGS = {"NVDA", "AMD", "TSM"}


def notes_for_model(cursor):
    """New rows since `cursor`, cut down to what the model needs to see."""
    params = {"sort": "ingested", "min_relevance": 7, "page_size": 20}
    if cursor:
        params["cursor"] = cursor
    res = requests.get(API, params=params, headers=HEADERS, timeout=15)
    res.raise_for_status()  # 429 / 409 / 503 handling: see the Free plan guide
    page = res.json()

    notes = []
    for row in page["results"]:
        e = row["enrichment"]
        hit = HOLDINGS & set(e["tickers"])
        if not hit:
            continue  # filtered in code: costs no tokens
        analysis = (e.get("ai_trading_insights") or {}).get("ticker_analysis") or []
        takes = {
            t["ticker"]: (t.get("impact_analysis") or {}).get("sentiment")
            for t in analysis
            if t["ticker"] in hit
        }
        notes.append(
            f'[{e["relevance_score"]}/10 {e["category"]}] '
            f'{row["original"]["title"]} {takes} {row["original"]["url"]}'
        )
    return notes, page["next_cursor"]


# notes go into the model's context; next_cursor is saved for the next run

The first call without a cursor returns a short sample and a cursor at the head of the stream. Store next_cursor between runs and the next run sees only what arrived in between, including articles that were published hours earlier but reached the feed late.

MCP: the model decides when to read

Connect https://mcp.alphai.io/mcp in the client and the model gets the tools. Setup steps for each client are on the MCP page. On 25 November 2026 tools/list returned 22 tools. These are the ones a news agent reaches for first:

ToolWhat it does
alphai_news_searchSearch financial news by topic, ticker or date. Add category and relevance filters to narrow the results.
alphai_ticker_newsGet the latest news for one ticker, including insider filings.
alphai_trendingThe top news from the past 48 hours, ranked by relevance and freshness.
alphai_actionable_nowFind recent news that may need attention today.
alphai_articleOpen an article by its UID to get the full AlphAI summary and analysis.
alphai_storyRead a story summary with sourced facts and links to the articles behind it.
alphai_macroRead macro news, from rate decisions to inflation, alongside the US release schedule.
alphai_insider_newsFind SEC Form 4 trades by company insiders. Filter by ticker or trading-plan status.
alphai_earningsRead earnings figures and management guidance from a company’s SEC filings.
alphai_tickersLook up supported tickers, company details and confirmed earnings dates.

Underneath, a tool call is one JSON-RPC request. The server is stateless, so a script can call a tool directly with an API key. The answer comes back as a server-sent event whose data line holds the result shown in the first section.

curl -s https://mcp.alphai.io/mcp \
  -H "Authorization: Bearer $ALPHAI_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Accept: application/json, text/event-stream" \
  -d '{"jsonrpc":"2.0","id":2,"method":"tools/call","params":{"name":"alphai_ticker_news","arguments":{"ticker":"NVDA","min_relevance":7,"page_size":2,"detail":"compact"}}}'

A trader's question often takes more than one tool. "Did anything move NVDA before its report?" starts with alphai_tickers for the confirmed report date. Then alphai_ticker_news with min_relevance=9 and grouped stories covers the weeks before it, and alphai_earnings reads what the filing said. The model chains the calls by itself, because each tool description names the field to take from it.

Limits

Per accountFreeBasicPro
REST requests20/min · 100/day60/min · 10,000/day150/min · 100,000/day
MCP tool calls20/min · 100/day60/min · 10,000/day150/min · 100,000/day
Rows per call202050
History30 days90 days180 days

REST and MCP are metered separately, each with a per-minute and a per-day cap. On MCP only tool calls count, so connecting and listing tools cost nothing. A call refused with 429 does not spend budget on either surface. The plans in full are on the pricing page.

Read the feed an agent would read.

Live responses from the real API, proxied through this site so you don't need a login or a key to explore. Direct calls to api.alphai.io always require an API key — sign up for one and metered headroom.

Response
// click Send to fetch a live response