{"id":2469,"date":"2020-12-21T22:26:05","date_gmt":"2020-12-21T22:26:05","guid":{"rendered":"https:\/\/eodhd.com\/financial-apis\/?p=2469"},"modified":"2026-07-15T13:16:11","modified_gmt":"2026-07-15T11:16:11","slug":"stock-market-financial-news-api","status":"publish","type":"post","link":"https:\/\/eodhd.com\/financial-apis\/stock-market-financial-news-api","title":{"rendered":"Financial News Feed and Stock News Sentiment data API"},"content":{"rendered":"\n<figure class=\"docs-content__image wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1880\" height=\"930\" src=\"https:\/\/eodhd.com\/financial-apis\/wp-content\/uploads\/2024\/04\/financial-news-feed-API-EODHD-1.png\" alt=\"\" class=\"wp-image-6854\"\/><\/figure>\n\n\n\n<p class=\"docs-content__text wp-block-paragraph\">The Financial News API aggregates financial news from major sources and adds in-house sentiment analysis. It continuously processes the leading financial news portals, giving you constantly updated articles and daily sentiment scores for stocks, ETFs, Forex, and cryptocurrencies, based on positive and negative mentions.<\/p>\n\n\n\n<p class=\"docs-content__text wp-block-paragraph\">This page documents three related endpoints: the Financial News feed, the Sentiment Data API, and the News Word Weights API. All three are authenticated with your api_token and return JSON.<\/p>\n\n\n\n<p class=\"docs-content__text wp-block-paragraph\"><!--TOC--><\/p>\n\n\n\n<div style=\"height:50px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<h2 class=\"docs-content__heading docs-content__heading--h2 wp-block-heading\" id=\"h-financial-news-api\">Financial News API<\/h2>\n\n\n\n<p class=\"docs-content__text wp-block-paragraph\">\n    <div class=\"test-drive\">\n        <div class=\"test-drive__heading\">\n            <svg width=\"24\" height=\"24\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\">\n                <use xlink:href=\"\/img\/icons\/blueIcon_sprite.svg#lightning\"><\/use>\n            <\/svg>\n            Test Drive with \"DEMO\" Key\n        <\/div>\n        <ol class=\"test-drive__list\">\n            <li class=\"test-drive__item\">\n                You can start with \"<strong>DEMO<\/strong>\" API key to test the data for a few tickers only:\n                <a href=\"\/financial-summary\/AAPL.US\" target=\"_blank\">AAPL.US<\/a>,\n                <a href=\"\/financial-summary\/TSLA.US\" target=\"_blank\">TSLA.US<\/a>,\n                <a href=\"\/financial-summary\/VTI.US\" target=\"_blank\">VTI.US<\/a>,\n                <a href=\"\/financial-summary\/AMZN.US\" target=\"_blank\">AMZN.US<\/a>,\n                <a href=\"\/financial-summary\/BTC-USD.CC\" target=\"_blank\">BTC-USD.CC<\/a>\n                and\n                <a href=\"\/financial-summary\/EURUSD.FOREX\" target=\"_blank\">EURUSD.FOREX<\/a>.\n                For these tickers,\n                <a href=\"\/financial-apis\/\">all of our types of data (APIs)<\/a>,\n                including\n                <a href=\"\/financial-apis\/new-real-time-data-api-websockets\/\" target=\"_blank\">Real-Time Data<\/a>,\n                are available without limitations.\n            <\/li>\n            <li class=\"test-drive__item\">\n                Register <strong>for the free plan<\/strong> to receive your API key (limited to 20 API calls per day) with access to\n                <a href=\"\/financial-apis\/api-for-historical-data-and-volumes\/\" target=\"_blank\">End-Of-Day Historical Stock Market Data API<\/a>\n                for any ticker, but within the past year only. Plus a\n                <a href=\"\/financial-apis\/exchanges-api-list-of-tickers-and-trading-hours\/#Get_List_of_Tickers_Exchange_Symbols\" target=\"_blank\">List of tickers per Exchange<\/a>\n                is available.\n            <\/li>\n            <li class=\"test-drive__item\">\n                We recommend to explore\n                <a href=\"\/pricing\">our plans<\/a>,\n                <strong>starting from $19.99<\/strong>, to access the necessary type of data without limitations.\n            <\/li>\n        <\/ol>\n    <\/div>\n<\/p>\n\n\n\n<p class=\"docs-content__text wp-block-paragraph\">Returns financial news articles for a given ticker or topic tag, updated in real time. Filter by ticker with the s parameter or by topic with the t parameter. If both are omitted, the endpoint returns the latest general news feed. Results support date filtering and pagination.<\/p>\n\n\n<div class=\"code-block\">\n<pre class=\"docs-content__code-block wp-block-code\"><code class=\"\">GET https:\/\/eodhd.com\/api\/news<\/code><\/pre>\n<\/div>\n\n\n<h4 class=\"docs-content__heading docs-content__heading--h4 wp-block-heading\" id=\"h-news-parameters\">Parameters<\/h4>\n\n\n<div class=\"docs-parameters\">\n    \n<div class=\"docs-parameters__item\">\n    <div class=\"docs-parameters__name\">\n                    <code class=\"docs-parameters__ident\">api_token<\/code>\n        \n                    <span class=\"docs-parameters__type\">string<\/span>\n        \n        <span class=\"docs-parameters__badge docs-parameters__badge--required\">\n            required        <\/span>\n    <\/div>\n\n    <div class=\"docs-parameters__desc\">\n        <span class=\"docs-parameters__desc-text\">Your EODHD API token<\/span>\n            <\/div>\n<\/div>\n\n\n<div class=\"docs-parameters__item\">\n    <div class=\"docs-parameters__name\">\n                    <code class=\"docs-parameters__ident\">s<\/code>\n        \n                    <span class=\"docs-parameters__type\">string<\/span>\n        \n        <span class=\"docs-parameters__badge docs-parameters__badge--optional\">\n            optional        <\/span>\n    <\/div>\n\n    <div class=\"docs-parameters__desc\">\n        <span class=\"docs-parameters__desc-text\">Ticker code to filter news, for example AAPL.US. Provide s or t; if both are omitted the latest general feed is returned<\/span>\n            <\/div>\n<\/div>\n\n\n<div class=\"docs-parameters__item\">\n    <div class=\"docs-parameters__name\">\n                    <code class=\"docs-parameters__ident\">t<\/code>\n        \n                    <span class=\"docs-parameters__type\">string<\/span>\n        \n        <span class=\"docs-parameters__badge docs-parameters__badge--optional\">\n            optional        <\/span>\n    <\/div>\n\n    <div class=\"docs-parameters__desc\">\n        <span class=\"docs-parameters__desc-text\">Topic tag to filter news, for example technology. Provide s or t<\/span>\n            <\/div>\n<\/div>\n\n\n<div class=\"docs-parameters__item\">\n    <div class=\"docs-parameters__name\">\n                    <code class=\"docs-parameters__ident\">from<\/code>\n        \n                    <span class=\"docs-parameters__type\">date<\/span>\n        \n        <span class=\"docs-parameters__badge docs-parameters__badge--optional\">\n            optional        <\/span>\n    <\/div>\n\n    <div class=\"docs-parameters__desc\">\n        <span class=\"docs-parameters__desc-text\">Start date in YYYY-MM-DD format, inclusive<\/span>\n            <\/div>\n<\/div>\n\n\n<div class=\"docs-parameters__item\">\n    <div class=\"docs-parameters__name\">\n                    <code class=\"docs-parameters__ident\">to<\/code>\n        \n                    <span class=\"docs-parameters__type\">date<\/span>\n        \n        <span class=\"docs-parameters__badge docs-parameters__badge--optional\">\n            optional        <\/span>\n    <\/div>\n\n    <div class=\"docs-parameters__desc\">\n        <span class=\"docs-parameters__desc-text\">End date in YYYY-MM-DD format, inclusive<\/span>\n            <\/div>\n<\/div>\n\n\n<div class=\"docs-parameters__item\">\n    <div class=\"docs-parameters__name\">\n                    <code class=\"docs-parameters__ident\">limit<\/code>\n        \n                    <span class=\"docs-parameters__type\">integer<\/span>\n        \n        <span class=\"docs-parameters__badge docs-parameters__badge--optional\">\n            optional        <\/span>\n    <\/div>\n\n    <div class=\"docs-parameters__desc\">\n        <span class=\"docs-parameters__desc-text\">Number of articles to return<\/span>\n                    <span class=\"docs-parameters__default\"><em>(Default: 50, Range: 1-1000)<\/em><\/span>\n            <\/div>\n<\/div>\n\n\n<div class=\"docs-parameters__item\">\n    <div class=\"docs-parameters__name\">\n                    <code class=\"docs-parameters__ident\">offset<\/code>\n        \n                    <span class=\"docs-parameters__type\">integer<\/span>\n        \n        <span class=\"docs-parameters__badge docs-parameters__badge--optional\">\n            optional        <\/span>\n    <\/div>\n\n    <div class=\"docs-parameters__desc\">\n        <span class=\"docs-parameters__desc-text\">Number of articles to skip, for pagination<\/span>\n                    <span class=\"docs-parameters__default\"><em>(Default: 0)<\/em><\/span>\n            <\/div>\n<\/div>\n\n<\/div>\n\n\n\n<h4 class=\"docs-content__heading docs-content__heading--h4 wp-block-heading\" id=\"h-news-request-example\">Request Example<\/h4>\n\n\n\n<p class=\"docs-content__text wp-block-paragraph\">    <div class=\"api-key\" data-feed=\"News API\">\n                <div class=\"api-key__topbar\">\n            <div class=\"api-key__tablist\" role=\"tablist\">\n                                                                        <button\n                        class=\"api-key__tab api-key__tab--active\"\n                        type=\"button\"\n                        role=\"tab\"\n                        data-tab=\"url\"                    >URL<\/button>\n                                                                            <button\n                        class=\"api-key__tab\"\n                        type=\"button\"\n                        role=\"tab\"\n                        data-tab=\"curl\"                    >cURL<\/button>\n                                                                            <button\n                        class=\"api-key__tab\"\n                        type=\"button\"\n                        role=\"tab\"\n                        data-tab=\"php\"                    >PHP<\/button>\n                                                                            <button\n                        class=\"api-key__tab\"\n                        type=\"button\"\n                        role=\"tab\"\n                        data-tab=\"python\"                    >Python<\/button>\n                                                                            <button\n                        class=\"api-key__tab\"\n                        type=\"button\"\n                        role=\"tab\"\n                        data-tab=\"r\"                    >R<\/button>\n                                                                            <button\n                        class=\"api-key__tab\"\n                        type=\"button\"\n                        role=\"tab\"\n                        data-tab=\"chatgpt\" data-actions=\"false\"                    >Chat GPT<\/button>\n                                                <\/div>\n            <div class=\"api-key__actions\">\n                <button class=\"api-key__btn api-key__btn--copy\" type=\"button\" aria-label=\"Copy\">\n                    <svg viewBox=\"0 0 20 20\" width=\"18\" height=\"18\" class=\"api-key__btn-icon api-key__btn-icon--default\"><use xlink:href=\"\/img\/icons\/copy.svg#copy\"\/><\/svg>\n                    <img decoding=\"async\" class=\"api-key__btn-icon api-key__btn-icon--success\" src=\"\/img\/approve_ico.svg\" alt=\"\" width=\"14\" height=\"14\" loading=\"eager\">\n                <\/button>\n                <button class=\"api-key__btn api-key__btn--view\" type=\"button\" aria-label=\"Open in new tab\" data-url=\"https:\/\/eodhd.com\/api\/news?s=AAPL.US&amp;offset=0&amp;limit=10&amp;api_token=your_api_token\">\n                    <svg viewBox=\"0 0 20 21\" width=\"18\" height=\"18\"><use xlink:href=\"\/img\/icons\/openLink.svg#openLink\"\/><\/svg>\n                <\/button>\n            <\/div>\n        <\/div>\n        \n        <div class=\"api-key__panels\">\n                                                                        <div class=\"api-key__panel api-key__panel--active\" data-panel=\"url\">\n                                            <pre class=\"api-key__code\"><code>https:\/\/eodhd.com\/api\/news?<span class='white bold'>s<\/span>=<span class='orange bold s'>AAPL.US<\/span>&<span class='white bold'>offset<\/span>=<span class='orange bold offset'>0<\/span>&<span class='white bold'>limit<\/span>=<span class='orange bold limit'>10<\/span>&<span class='white bold'>api_token<\/span>=<span class='orange bold api_token'>your_api_token<\/span><\/code><\/pre>\n                        <div class=\"api-key__register\">(<a href=\"\/register\">Sign up<\/a> for free to get an API token)<\/div>\n                                    <\/div>\n                                                                            <div class=\"api-key__panel\" data-panel=\"curl\">\n                                                                    <pre class=\"api-key__code\"><code>curl --location &quot;https:\/\/eodhd.com\/api\/news?<span class='white bold'>s<\/span>=<span class='orange bold s'>AAPL.US<\/span>&<span class='white bold'>offset<\/span>=<span class='orange bold offset'>0<\/span>&<span class='white bold'>limit<\/span>=<span class='orange bold limit'>10<\/span>&<span class='white bold'>api_token<\/span>=<span class='orange bold api_token'>your_api_token<\/span>&<span class='white bold'>fmt<\/span>=<span class='orange bold fmt'>json<\/span>&quot;<\/code><\/pre>\n                        <div class=\"api-key__register\">(<a href=\"\/register\">Sign up<\/a> for free to get an API token)<\/div>\n                                    <\/div>\n                                                                            <div class=\"api-key__panel\" data-panel=\"php\">\n                                                                    <pre class=\"api-key__code\"><code>$curl = curl_init();\n\ncurl_setopt_array($curl, array(\n    CURLOPT_URL =&gt; &#039;https:\/\/eodhd.com\/api\/news?<span class='white bold'>s<\/span>=<span class='orange bold s'>AAPL.US<\/span>&<span class='white bold'>offset<\/span>=<span class='orange bold offset'>0<\/span>&<span class='white bold'>limit<\/span>=<span class='orange bold limit'>10<\/span>&<span class='white bold'>api_token<\/span>=<span class='orange bold api_token'>your_api_token<\/span>&<span class='white bold'>fmt<\/span>=<span class='orange bold fmt'>json<\/span>&#039;,\n    CURLOPT_RETURNTRANSFER =&gt; true,\n    CURLOPT_ENCODING =&gt; &#039;&#039;,\n    CURLOPT_MAXREDIRS =&gt; 10,\n    CURLOPT_TIMEOUT =&gt; 0,\n    CURLOPT_FOLLOWLOCATION =&gt; true,\n    CURLOPT_HTTP_VERSION =&gt; CURL_HTTP_VERSION_1_1,\n    CURLOPT_CUSTOMREQUEST =&gt; &#039;GET&#039;,\n));\n\n$data = curl_exec($curl);\ncurl_close($curl);\n\ntry {\n    $data = json_decode($data, true, 512, JSON_THROW_ON_ERROR);\n    var_dump($data);\n} catch (Exception $e) {\n    echo &#039;Error. &#039;.$e-&gt;getMessage();\n}<\/code><\/pre>\n                        <div class=\"api-key__register\">(<a href=\"\/register\">Sign up<\/a> for free to get an API token)<\/div>\n                                    <\/div>\n                                                                            <div class=\"api-key__panel\" data-panel=\"python\">\n                                                                    <pre class=\"api-key__code\"><code>import requests\n\nurl = f&#039;https:\/\/eodhd.com\/api\/news?<span class='white bold'>s<\/span>=<span class='orange bold s'>AAPL.US<\/span>&<span class='white bold'>offset<\/span>=<span class='orange bold offset'>0<\/span>&<span class='white bold'>limit<\/span>=<span class='orange bold limit'>10<\/span>&<span class='white bold'>api_token<\/span>=<span class='orange bold api_token'>your_api_token<\/span>&<span class='white bold'>fmt<\/span>=<span class='orange bold fmt'>json<\/span>&#039;\ndata = requests.get(url).json()\n\nprint(data)<\/code><\/pre>\n                        <div class=\"api-key__register\">(<a href=\"\/register\">Sign up<\/a> for free to get an API token)<\/div>\n                                    <\/div>\n                                                                            <div class=\"api-key__panel\" data-panel=\"r\">\n                                                                    <pre class=\"api-key__code\"><code>library(httr)\nlibrary(jsonlite)\n\nurl &lt;- &#039;https:\/\/eodhd.com\/api\/news?<span class='white bold'>s<\/span>=<span class='orange bold s'>AAPL.US<\/span>&<span class='white bold'>offset<\/span>=<span class='orange bold offset'>0<\/span>&<span class='white bold'>limit<\/span>=<span class='orange bold limit'>10<\/span>&<span class='white bold'>api_token<\/span>=<span class='orange bold api_token'>your_api_token<\/span>&<span class='white bold'>fmt<\/span>=<span class='orange bold fmt'>json<\/span>&#039;\nresponse &lt;- GET(url)\n\nif (http_type(response) == &quot;application\/json&quot;) {\n    content &lt;- content(response, &quot;text&quot;, encoding = &quot;UTF-8&quot;)\n    cat(content)\n} else {\n    cat(&quot;Error while receiving data\\n&quot;)\n}<\/code><\/pre>\n                        <div class=\"api-key__register\">(<a href=\"\/register\">Sign up<\/a> for free to get an API token)<\/div>\n                                    <\/div>\n                                                                            <div class=\"api-key__panel\" data-panel=\"chatgpt\">\n                                            <div class=\"api-key__chatgpt\">\n                            New to coding? Our ChatGPT assistant can generate code in any language tailored to our API.\n                            Simply describe how you want to use our data, and get a working piece of code.\n                            Don&rsquo;t forget to replace the API token with your own.<br><br>\n                            <a href=\"\/lp\/eodhd-chatgpt\" target=\"_blank\">Try it now (it's free)!<\/a><br><br>\n                            <a href=\"https:\/\/www.youtube.com\/watch?v=QVWiLukag7o\" rel=\"nofollow\" target=\"_blank\">\n                                How to use it (YouTube)\n                            <\/a>\n                        <\/div>\n                                    <\/div>\n                                    <\/div>\n    <\/div>\n    <\/p>\n\n\n\n<h4 class=\"docs-content__heading docs-content__heading--h4 wp-block-heading\" id=\"h-news-response-example\">Response Example<\/h4>\n\n\n<div class=\"code-block\">\n<pre class=\"docs-content__code-block wp-block-code\"><code class=\"language-json\">[\n  {\n    \"date\": \"2026-07-15T10:37:18+00:00\",\n    \"title\": \"Alibaba shares jump as China clears Apple's Qwen-powered AI system\",\n    \"content\": \"Investing.com -- Shares of Alibaba Group in the U.S. rose around 5% in premarket trading ...\",\n    \"link\": \"https:\/\/finance.yahoo.com\/technology\/ai\/articles\/alibaba-shares-jump-china-clears-103718143.html\",\n    \"symbols\": [\"2RR.F\", \"9988.HK\", \"AAPL.US\"],\n    \"tags\": [\"ARTIFICIAL-INTELLIGENCE\", \"CHINA-MARKET\", \"REGULATION\", \"TECH\"],\n    \"sentiment\": { \"polarity\": 0.987, \"neg\": 0.007, \"neu\": 0.89, \"pos\": 0.103 }\n  }\n]<\/code><\/pre>\n<\/div>\n\n\n<h4 class=\"docs-content__heading docs-content__heading--h4 wp-block-heading\" id=\"h-news-response-fields\">Response Fields<\/h4>\n\n\n\n<figure class=\"docs-content__table-wrap wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th>Field<\/th><th>Type<\/th><th>Description<\/th><\/tr><\/thead><tbody><tr><td>date<\/td><td>string<\/td><td>Publication date and time of the article, ISO 8601<\/td><\/tr><tr><td>title<\/td><td>string<\/td><td>Headline of the article<\/td><\/tr><tr><td>content<\/td><td>string<\/td><td>Full article body<\/td><\/tr><tr><td>link<\/td><td>string<\/td><td>Direct URL to the original article<\/td><\/tr><tr><td>symbols<\/td><td>array<\/td><td>Ticker symbols mentioned in the article<\/td><\/tr><tr><td>tags<\/td><td>array<\/td><td>Topic tags assigned to the article, may be empty<\/td><\/tr><tr><td>sentiment<\/td><td>object<\/td><td>Sentiment scores: polarity, neg, neu, pos<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<h3 class=\"docs-content__heading docs-content__heading--h3 wp-block-heading\" id=\"h-news-tags\">News Tags<\/h3>\n\n\n\n<p class=\"docs-content__text wp-block-paragraph\">Besides a standard list of 50 tags, the feed adds AI-detected tags, so you can query by almost any topic related to your area of interest, for example artificial intelligence, mergers and acquisitions, or agritech. Query tags with the t parameter.<\/p>\n\n\n\n<details class=\"docs-details wp-block-details is-layout-flow wp-block-details-is-layout-flow\"><summary class=\"docs-details__summary\">Standard tags \u2014 50 supported topic values<\/summary><div class=\"docs-details__body\">\n<p class=\"docs-content__text wp-block-paragraph\">balance sheet, capital employed, class action, company announcement, consensus eps estimate, consensus estimate, credit rating, discounted cash flow, dividend payments, earnings estimate, earnings growth, earnings per share, earnings release, earnings report, earnings results, earnings surprise, estimate revisions, european regulatory news, financial results, fourth quarter, free cash flow, future cash flows, growth rate, initial public offering, insider ownership, insider transactions, institutional investors, institutional ownership, intrinsic value, market research reports, net income, operating income, present value, press releases, price target, quarterly earnings, quarterly results, ratings, research analysis and reports, return on equity, revenue estimates, revenue growth, roce, roe, share price, shareholder rights, shareholder, shares outstanding, split, strong buy, total revenue, zacks investment research, zacks rank<\/p>\n<\/div><\/details>\n\n\n\n<p class=\"docs-content__text has-text-align-center wp-block-paragraph\"><a class=\"btn btn--orange\" href=\"https:\/\/eodhd.com\/register\"><span class='mb-text'>Sign up &amp; Get Data<\/span><\/a><\/p>\n\n\n\n<div style=\"height:50px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<h2 class=\"docs-content__heading docs-content__heading--h2 wp-block-heading\" id=\"h-sentiment-data-api\">Sentiment Data API<\/h2>\n\n\n\n<p class=\"docs-content__text wp-block-paragraph\">Returns daily aggregated sentiment scores for one or more instruments (stocks, ETFs, Forex, crypto), calculated from news and social media and normalized from -1 (very negative) to 1 (very positive). Pass one or several comma-separated tickers.<\/p>\n\n\n<div class=\"code-block\">\n<pre class=\"docs-content__code-block wp-block-code\"><code class=\"\">GET https:\/\/eodhd.com\/api\/sentiments<\/code><\/pre>\n<\/div>\n\n\n<h4 class=\"docs-content__heading docs-content__heading--h4 wp-block-heading\" id=\"h-sentiment-parameters\">Parameters<\/h4>\n\n\n<div class=\"docs-parameters\">\n    \n<div class=\"docs-parameters__item\">\n    <div class=\"docs-parameters__name\">\n                    <code class=\"docs-parameters__ident\">api_token<\/code>\n        \n                    <span class=\"docs-parameters__type\">string<\/span>\n        \n        <span class=\"docs-parameters__badge docs-parameters__badge--required\">\n            required        <\/span>\n    <\/div>\n\n    <div class=\"docs-parameters__desc\">\n        <span class=\"docs-parameters__desc-text\">Your EODHD API token<\/span>\n            <\/div>\n<\/div>\n\n\n<div class=\"docs-parameters__item\">\n    <div class=\"docs-parameters__name\">\n                    <code class=\"docs-parameters__ident\">s<\/code>\n        \n                    <span class=\"docs-parameters__type\">string<\/span>\n        \n        <span class=\"docs-parameters__badge docs-parameters__badge--required\">\n            required        <\/span>\n    <\/div>\n\n    <div class=\"docs-parameters__desc\">\n        <span class=\"docs-parameters__desc-text\">One or more comma-separated tickers, for example AAPL.US,BTC-USD.CC<\/span>\n            <\/div>\n<\/div>\n\n\n<div class=\"docs-parameters__item\">\n    <div class=\"docs-parameters__name\">\n                    <code class=\"docs-parameters__ident\">from<\/code>\n        \n                    <span class=\"docs-parameters__type\">date<\/span>\n        \n        <span class=\"docs-parameters__badge docs-parameters__badge--optional\">\n            optional        <\/span>\n    <\/div>\n\n    <div class=\"docs-parameters__desc\">\n        <span class=\"docs-parameters__desc-text\">Start date in YYYY-MM-DD format, inclusive<\/span>\n            <\/div>\n<\/div>\n\n\n<div class=\"docs-parameters__item\">\n    <div class=\"docs-parameters__name\">\n                    <code class=\"docs-parameters__ident\">to<\/code>\n        \n                    <span class=\"docs-parameters__type\">date<\/span>\n        \n        <span class=\"docs-parameters__badge docs-parameters__badge--optional\">\n            optional        <\/span>\n    <\/div>\n\n    <div class=\"docs-parameters__desc\">\n        <span class=\"docs-parameters__desc-text\">End date in YYYY-MM-DD format, inclusive<\/span>\n            <\/div>\n<\/div>\n\n<\/div>\n\n\n\n<h4 class=\"docs-content__heading docs-content__heading--h4 wp-block-heading\" id=\"h-sentiment-request-example\">Request Example<\/h4>\n\n\n\n<p class=\"docs-content__text wp-block-paragraph\">    <div class=\"api-key\" data-feed=\"News API\">\n                <div class=\"api-key__topbar\">\n            <div class=\"api-key__tablist\" role=\"tablist\">\n                                                                        <button\n                        class=\"api-key__tab api-key__tab--active\"\n                        type=\"button\"\n                        role=\"tab\"\n                        data-tab=\"url\"                    >URL<\/button>\n                                                                            <button\n                        class=\"api-key__tab\"\n                        type=\"button\"\n                        role=\"tab\"\n                        data-tab=\"curl\"                    >cURL<\/button>\n                                                                            <button\n                        class=\"api-key__tab\"\n                        type=\"button\"\n                        role=\"tab\"\n                        data-tab=\"php\"                    >PHP<\/button>\n                                                                            <button\n                        class=\"api-key__tab\"\n                        type=\"button\"\n                        role=\"tab\"\n                        data-tab=\"python\"                    >Python<\/button>\n                                                                            <button\n                        class=\"api-key__tab\"\n                        type=\"button\"\n                        role=\"tab\"\n                        data-tab=\"r\"                    >R<\/button>\n                                                                            <button\n                        class=\"api-key__tab\"\n                        type=\"button\"\n                        role=\"tab\"\n                        data-tab=\"chatgpt\" data-actions=\"false\"                    >Chat GPT<\/button>\n                                                <\/div>\n            <div class=\"api-key__actions\">\n                <button class=\"api-key__btn api-key__btn--copy\" type=\"button\" aria-label=\"Copy\">\n                    <svg viewBox=\"0 0 20 20\" width=\"18\" height=\"18\" class=\"api-key__btn-icon api-key__btn-icon--default\"><use xlink:href=\"\/img\/icons\/copy.svg#copy\"\/><\/svg>\n                    <img decoding=\"async\" class=\"api-key__btn-icon api-key__btn-icon--success\" src=\"\/img\/approve_ico.svg\" alt=\"\" width=\"14\" height=\"14\" loading=\"eager\">\n                <\/button>\n                <button class=\"api-key__btn api-key__btn--view\" type=\"button\" aria-label=\"Open in new tab\" data-url=\"https:\/\/eodhd.com\/api\/sentiments?s=btc-usd.cc,aapl.us&amp;from=2026-06-01&amp;to=2026-06-30&amp;api_token=your_api_token\">\n                    <svg viewBox=\"0 0 20 21\" width=\"18\" height=\"18\"><use xlink:href=\"\/img\/icons\/openLink.svg#openLink\"\/><\/svg>\n                <\/button>\n            <\/div>\n        <\/div>\n        \n        <div class=\"api-key__panels\">\n                                                                        <div class=\"api-key__panel api-key__panel--active\" data-panel=\"url\">\n                                            <pre class=\"api-key__code\"><code>https:\/\/eodhd.com\/api\/sentiments?<span class='white bold'>s<\/span>=<span class='orange bold s'>btc-usd.cc,aapl.us<\/span>&<span class='white bold'>from<\/span>=<span class='orange bold from'>2026-06-01<\/span>&<span class='white bold'>to<\/span>=<span class='orange bold to'>2026-06-30<\/span>&<span class='white bold'>api_token<\/span>=<span class='orange bold api_token'>your_api_token<\/span><\/code><\/pre>\n                        <div class=\"api-key__register\">(<a href=\"\/register\">Sign up<\/a> for free to get an API token)<\/div>\n                                    <\/div>\n                                                                            <div class=\"api-key__panel\" data-panel=\"curl\">\n                                                                    <pre class=\"api-key__code\"><code>curl --location &quot;https:\/\/eodhd.com\/api\/sentiments?<span class='white bold'>s<\/span>=<span class='orange bold s'>btc-usd.cc,aapl.us<\/span>&<span class='white bold'>from<\/span>=<span class='orange bold from'>2026-06-01<\/span>&<span class='white bold'>to<\/span>=<span class='orange bold to'>2026-06-30<\/span>&<span class='white bold'>api_token<\/span>=<span class='orange bold api_token'>your_api_token<\/span>&<span class='white bold'>fmt<\/span>=<span class='orange bold fmt'>json<\/span>&quot;<\/code><\/pre>\n                        <div class=\"api-key__register\">(<a href=\"\/register\">Sign up<\/a> for free to get an API token)<\/div>\n                                    <\/div>\n                                                                            <div class=\"api-key__panel\" data-panel=\"php\">\n                                                                    <pre class=\"api-key__code\"><code>$curl = curl_init();\n\ncurl_setopt_array($curl, array(\n    CURLOPT_URL =&gt; &#039;https:\/\/eodhd.com\/api\/sentiments?<span class='white bold'>s<\/span>=<span class='orange bold s'>btc-usd.cc,aapl.us<\/span>&<span class='white bold'>from<\/span>=<span class='orange bold from'>2026-06-01<\/span>&<span class='white bold'>to<\/span>=<span class='orange bold to'>2026-06-30<\/span>&<span class='white bold'>api_token<\/span>=<span class='orange bold api_token'>your_api_token<\/span>&<span class='white bold'>fmt<\/span>=<span class='orange bold fmt'>json<\/span>&#039;,\n    CURLOPT_RETURNTRANSFER =&gt; true,\n    CURLOPT_ENCODING =&gt; &#039;&#039;,\n    CURLOPT_MAXREDIRS =&gt; 10,\n    CURLOPT_TIMEOUT =&gt; 0,\n    CURLOPT_FOLLOWLOCATION =&gt; true,\n    CURLOPT_HTTP_VERSION =&gt; CURL_HTTP_VERSION_1_1,\n    CURLOPT_CUSTOMREQUEST =&gt; &#039;GET&#039;,\n));\n\n$data = curl_exec($curl);\ncurl_close($curl);\n\ntry {\n    $data = json_decode($data, true, 512, JSON_THROW_ON_ERROR);\n    var_dump($data);\n} catch (Exception $e) {\n    echo &#039;Error. &#039;.$e-&gt;getMessage();\n}<\/code><\/pre>\n                        <div class=\"api-key__register\">(<a href=\"\/register\">Sign up<\/a> for free to get an API token)<\/div>\n                                    <\/div>\n                                                                            <div class=\"api-key__panel\" data-panel=\"python\">\n                                                                    <pre class=\"api-key__code\"><code>import requests\n\nurl = f&#039;https:\/\/eodhd.com\/api\/sentiments?<span class='white bold'>s<\/span>=<span class='orange bold s'>btc-usd.cc,aapl.us<\/span>&<span class='white bold'>from<\/span>=<span class='orange bold from'>2026-06-01<\/span>&<span class='white bold'>to<\/span>=<span class='orange bold to'>2026-06-30<\/span>&<span class='white bold'>api_token<\/span>=<span class='orange bold api_token'>your_api_token<\/span>&<span class='white bold'>fmt<\/span>=<span class='orange bold fmt'>json<\/span>&#039;\ndata = requests.get(url).json()\n\nprint(data)<\/code><\/pre>\n                        <div class=\"api-key__register\">(<a href=\"\/register\">Sign up<\/a> for free to get an API token)<\/div>\n                                    <\/div>\n                                                                            <div class=\"api-key__panel\" data-panel=\"r\">\n                                                                    <pre class=\"api-key__code\"><code>library(httr)\nlibrary(jsonlite)\n\nurl &lt;- &#039;https:\/\/eodhd.com\/api\/sentiments?<span class='white bold'>s<\/span>=<span class='orange bold s'>btc-usd.cc,aapl.us<\/span>&<span class='white bold'>from<\/span>=<span class='orange bold from'>2026-06-01<\/span>&<span class='white bold'>to<\/span>=<span class='orange bold to'>2026-06-30<\/span>&<span class='white bold'>api_token<\/span>=<span class='orange bold api_token'>your_api_token<\/span>&<span class='white bold'>fmt<\/span>=<span class='orange bold fmt'>json<\/span>&#039;\nresponse &lt;- GET(url)\n\nif (http_type(response) == &quot;application\/json&quot;) {\n    content &lt;- content(response, &quot;text&quot;, encoding = &quot;UTF-8&quot;)\n    cat(content)\n} else {\n    cat(&quot;Error while receiving data\\n&quot;)\n}<\/code><\/pre>\n                        <div class=\"api-key__register\">(<a href=\"\/register\">Sign up<\/a> for free to get an API token)<\/div>\n                                    <\/div>\n                                                                            <div class=\"api-key__panel\" data-panel=\"chatgpt\">\n                                            <div class=\"api-key__chatgpt\">\n                            New to coding? Our ChatGPT assistant can generate code in any language tailored to our API.\n                            Simply describe how you want to use our data, and get a working piece of code.\n                            Don&rsquo;t forget to replace the API token with your own.<br><br>\n                            <a href=\"\/lp\/eodhd-chatgpt\" target=\"_blank\">Try it now (it's free)!<\/a><br><br>\n                            <a href=\"https:\/\/www.youtube.com\/watch?v=QVWiLukag7o\" rel=\"nofollow\" target=\"_blank\">\n                                How to use it (YouTube)\n                            <\/a>\n                        <\/div>\n                                    <\/div>\n                                    <\/div>\n    <\/div>\n    <\/p>\n\n\n\n<h4 class=\"docs-content__heading docs-content__heading--h4 wp-block-heading\" id=\"h-sentiment-response-example\">Response Example<\/h4>\n\n\n<div class=\"code-block\">\n<pre class=\"docs-content__code-block wp-block-code\"><code class=\"language-json\">{\n  \"AAPL.US\": [\n    { \"date\": \"2026-07-15\", \"count\": 10, \"normalized\": 0.6829 },\n    { \"date\": \"2026-07-14\", \"count\": 64, \"normalized\": 0.7071 },\n    { \"date\": \"2026-07-13\", \"count\": 64, \"normalized\": 0.6146 }\n  ]\n}<\/code><\/pre>\n<\/div>\n\n\n<h4 class=\"docs-content__heading docs-content__heading--h4 wp-block-heading\" id=\"h-sentiment-response-fields\">Response Fields<\/h4>\n\n\n\n<p class=\"docs-content__text wp-block-paragraph\">Sentiment data is grouped by ticker symbol. Each daily entry contains:<\/p>\n\n\n\n<figure class=\"docs-content__table-wrap wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th>Field<\/th><th>Type<\/th><th>Description<\/th><\/tr><\/thead><tbody><tr><td>date<\/td><td>string<\/td><td>Aggregation date, YYYY-MM-DD<\/td><\/tr><tr><td>count<\/td><td>integer<\/td><td>Number of articles used for sentiment on that day<\/td><\/tr><tr><td>normalized<\/td><td>number<\/td><td>Sentiment score from -1 (very negative) to 1 (very positive)<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<div style=\"height:50px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<h2 class=\"docs-content__heading docs-content__heading--h2 wp-block-heading\" id=\"h-news-word-weights-api\">News Word Weights API<\/h2>\n\n\n\n<p class=\"docs-content__text wp-block-paragraph\">Returns a weighted list of the most relevant words in news articles about a given ticker over a date range. Each word is scored by frequency and significance across the processed articles, which is useful for trend analysis, NLP input, and thematic clustering.<\/p>\n\n\n    <div class=\"admonition admonition--note\">\n        <span class=\"admonition__icon\" aria-hidden=\"true\"><svg viewBox=\"0 0 20 20\" fill=\"currentColor\" width=\"20\" height=\"20\"><path fill-rule=\"evenodd\" d=\"M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-7-4a1 1 0 11-2 0 1 1 0 012 0zM9 9a1 1 0 000 2v3a1 1 0 001 1h1a1 1 0 100-2v-3a1 1 0 00-1-1H9z\"\/><\/svg><\/span>\n        <div class=\"admonition__body\">\n\n<p class=\"docs-content__text wp-block-paragraph\">This endpoint uses AI to process hundreds or thousands of articles, so responses can take longer. If a request times out, narrow the date range to reduce the volume of data processed.<\/p>\n\n<\/div>\n    <\/div>\n    \n\n<div class=\"code-block\">\n<pre class=\"docs-content__code-block wp-block-code\"><code class=\"\">GET https:\/\/eodhd.com\/api\/news-word-weights<\/code><\/pre>\n<\/div>\n\n\n<h4 class=\"docs-content__heading docs-content__heading--h4 wp-block-heading\" id=\"h-weights-parameters\">Parameters<\/h4>\n\n\n<div class=\"docs-parameters\">\n    \n<div class=\"docs-parameters__item\">\n    <div class=\"docs-parameters__name\">\n                    <code class=\"docs-parameters__ident\">api_token<\/code>\n        \n                    <span class=\"docs-parameters__type\">string<\/span>\n        \n        <span class=\"docs-parameters__badge docs-parameters__badge--required\">\n            required        <\/span>\n    <\/div>\n\n    <div class=\"docs-parameters__desc\">\n        <span class=\"docs-parameters__desc-text\">Your EODHD API token<\/span>\n            <\/div>\n<\/div>\n\n\n<div class=\"docs-parameters__item\">\n    <div class=\"docs-parameters__name\">\n                    <code class=\"docs-parameters__ident\">s<\/code>\n        \n                    <span class=\"docs-parameters__type\">string<\/span>\n        \n        <span class=\"docs-parameters__badge docs-parameters__badge--required\">\n            required        <\/span>\n    <\/div>\n\n    <div class=\"docs-parameters__desc\">\n        <span class=\"docs-parameters__desc-text\">Ticker to analyze, for example AAPL.US<\/span>\n            <\/div>\n<\/div>\n\n\n<div class=\"docs-parameters__item\">\n    <div class=\"docs-parameters__name\">\n                    <code class=\"docs-parameters__ident\">filter[date_from]<\/code>\n        \n                    <span class=\"docs-parameters__type\">date<\/span>\n        \n        <span class=\"docs-parameters__badge docs-parameters__badge--optional\">\n            optional        <\/span>\n    <\/div>\n\n    <div class=\"docs-parameters__desc\">\n        <span class=\"docs-parameters__desc-text\">Start date in YYYY-MM-DD format, inclusive<\/span>\n            <\/div>\n<\/div>\n\n\n<div class=\"docs-parameters__item\">\n    <div class=\"docs-parameters__name\">\n                    <code class=\"docs-parameters__ident\">filter[date_to]<\/code>\n        \n                    <span class=\"docs-parameters__type\">date<\/span>\n        \n        <span class=\"docs-parameters__badge docs-parameters__badge--optional\">\n            optional        <\/span>\n    <\/div>\n\n    <div class=\"docs-parameters__desc\">\n        <span class=\"docs-parameters__desc-text\">End date in YYYY-MM-DD format, inclusive<\/span>\n            <\/div>\n<\/div>\n\n\n<div class=\"docs-parameters__item\">\n    <div class=\"docs-parameters__name\">\n                    <code class=\"docs-parameters__ident\">page[limit]<\/code>\n        \n                    <span class=\"docs-parameters__type\">integer<\/span>\n        \n        <span class=\"docs-parameters__badge docs-parameters__badge--optional\">\n            optional        <\/span>\n    <\/div>\n\n    <div class=\"docs-parameters__desc\">\n        <span class=\"docs-parameters__desc-text\">Number of top-weighted words to return<\/span>\n            <\/div>\n<\/div>\n\n<\/div>\n\n\n\n<h4 class=\"docs-content__heading docs-content__heading--h4 wp-block-heading\" id=\"h-weights-request-example\">Request Example<\/h4>\n\n\n\n<p class=\"docs-content__text wp-block-paragraph\">    <div class=\"api-key\" data-feed=\"News API\">\n                <div class=\"api-key__topbar\">\n            <div class=\"api-key__tablist\" role=\"tablist\">\n                                                                        <button\n                        class=\"api-key__tab api-key__tab--active\"\n                        type=\"button\"\n                        role=\"tab\"\n                        data-tab=\"url\"                    >URL<\/button>\n                                                                            <button\n                        class=\"api-key__tab\"\n                        type=\"button\"\n                        role=\"tab\"\n                        data-tab=\"curl\"                    >cURL<\/button>\n                                                                            <button\n                        class=\"api-key__tab\"\n                        type=\"button\"\n                        role=\"tab\"\n                        data-tab=\"php\"                    >PHP<\/button>\n                                                                            <button\n                        class=\"api-key__tab\"\n                        type=\"button\"\n                        role=\"tab\"\n                        data-tab=\"python\"                    >Python<\/button>\n                                                                            <button\n                        class=\"api-key__tab\"\n                        type=\"button\"\n                        role=\"tab\"\n                        data-tab=\"r\"                    >R<\/button>\n                                                                            <button\n                        class=\"api-key__tab\"\n                        type=\"button\"\n                        role=\"tab\"\n                        data-tab=\"chatgpt\" data-actions=\"false\"                    >Chat GPT<\/button>\n                                                <\/div>\n            <div class=\"api-key__actions\">\n                <button class=\"api-key__btn api-key__btn--copy\" type=\"button\" aria-label=\"Copy\">\n                    <svg viewBox=\"0 0 20 20\" width=\"18\" height=\"18\" class=\"api-key__btn-icon api-key__btn-icon--default\"><use xlink:href=\"\/img\/icons\/copy.svg#copy\"\/><\/svg>\n                    <img decoding=\"async\" class=\"api-key__btn-icon api-key__btn-icon--success\" src=\"\/img\/approve_ico.svg\" alt=\"\" width=\"14\" height=\"14\" loading=\"eager\">\n                <\/button>\n                <button class=\"api-key__btn api-key__btn--view\" type=\"button\" aria-label=\"Open in new tab\" data-url=\"https:\/\/eodhd.com\/api\/news-word-weights?s=AAPL.US&amp;filter[date_from]=2026-06-01&amp;filter[date_to]=2026-06-15&amp;page[limit]=10&amp;api_token=your_api_token\">\n                    <svg viewBox=\"0 0 20 21\" width=\"18\" height=\"18\"><use xlink:href=\"\/img\/icons\/openLink.svg#openLink\"\/><\/svg>\n                <\/button>\n            <\/div>\n        <\/div>\n        \n        <div class=\"api-key__panels\">\n                                                                        <div class=\"api-key__panel api-key__panel--active\" data-panel=\"url\">\n                                            <pre class=\"api-key__code\"><code>https:\/\/eodhd.com\/api\/news-word-weights?<span class='white bold'>s<\/span>=<span class='orange bold s'>AAPL.US<\/span>&<span class='white bold'>filter[date_from]<\/span>=<span class='orange bold filter[date_from]'>2026-06-01<\/span>&<span class='white bold'>filter[date_to]<\/span>=<span class='orange bold filter[date_to]'>2026-06-15<\/span>&<span class='white bold'>page[limit]<\/span>=<span class='orange bold page[limit]'>10<\/span>&<span class='white bold'>api_token<\/span>=<span class='orange bold api_token'>your_api_token<\/span><\/code><\/pre>\n                        <div class=\"api-key__register\">(<a href=\"\/register\">Sign up<\/a> for free to get an API token)<\/div>\n                                    <\/div>\n                                                                            <div class=\"api-key__panel\" data-panel=\"curl\">\n                                                                    <pre class=\"api-key__code\"><code>curl --location &quot;https:\/\/eodhd.com\/api\/news-word-weights?<span class='white bold'>s<\/span>=<span class='orange bold s'>AAPL.US<\/span>&<span class='white bold'>filter[date_from]<\/span>=<span class='orange bold filter[date_from]'>2026-06-01<\/span>&<span class='white bold'>filter[date_to]<\/span>=<span class='orange bold filter[date_to]'>2026-06-15<\/span>&<span class='white bold'>page[limit]<\/span>=<span class='orange bold page[limit]'>10<\/span>&<span class='white bold'>api_token<\/span>=<span class='orange bold api_token'>your_api_token<\/span>&<span class='white bold'>fmt<\/span>=<span class='orange bold fmt'>json<\/span>&quot;<\/code><\/pre>\n                        <div class=\"api-key__register\">(<a href=\"\/register\">Sign up<\/a> for free to get an API token)<\/div>\n                                    <\/div>\n                                                                            <div class=\"api-key__panel\" data-panel=\"php\">\n                                                                    <pre class=\"api-key__code\"><code>$curl = curl_init();\n\ncurl_setopt_array($curl, array(\n    CURLOPT_URL =&gt; &#039;https:\/\/eodhd.com\/api\/news-word-weights?<span class='white bold'>s<\/span>=<span class='orange bold s'>AAPL.US<\/span>&<span class='white bold'>filter[date_from]<\/span>=<span class='orange bold filter[date_from]'>2026-06-01<\/span>&<span class='white bold'>filter[date_to]<\/span>=<span class='orange bold filter[date_to]'>2026-06-15<\/span>&<span class='white bold'>page[limit]<\/span>=<span class='orange bold page[limit]'>10<\/span>&<span class='white bold'>api_token<\/span>=<span class='orange bold api_token'>your_api_token<\/span>&<span class='white bold'>fmt<\/span>=<span class='orange bold fmt'>json<\/span>&#039;,\n    CURLOPT_RETURNTRANSFER =&gt; true,\n    CURLOPT_ENCODING =&gt; &#039;&#039;,\n    CURLOPT_MAXREDIRS =&gt; 10,\n    CURLOPT_TIMEOUT =&gt; 0,\n    CURLOPT_FOLLOWLOCATION =&gt; true,\n    CURLOPT_HTTP_VERSION =&gt; CURL_HTTP_VERSION_1_1,\n    CURLOPT_CUSTOMREQUEST =&gt; &#039;GET&#039;,\n));\n\n$data = curl_exec($curl);\ncurl_close($curl);\n\ntry {\n    $data = json_decode($data, true, 512, JSON_THROW_ON_ERROR);\n    var_dump($data);\n} catch (Exception $e) {\n    echo &#039;Error. &#039;.$e-&gt;getMessage();\n}<\/code><\/pre>\n                        <div class=\"api-key__register\">(<a href=\"\/register\">Sign up<\/a> for free to get an API token)<\/div>\n                                    <\/div>\n                                                                            <div class=\"api-key__panel\" data-panel=\"python\">\n                                                                    <pre class=\"api-key__code\"><code>import requests\n\nurl = f&#039;https:\/\/eodhd.com\/api\/news-word-weights?<span class='white bold'>s<\/span>=<span class='orange bold s'>AAPL.US<\/span>&<span class='white bold'>filter[date_from]<\/span>=<span class='orange bold filter[date_from]'>2026-06-01<\/span>&<span class='white bold'>filter[date_to]<\/span>=<span class='orange bold filter[date_to]'>2026-06-15<\/span>&<span class='white bold'>page[limit]<\/span>=<span class='orange bold page[limit]'>10<\/span>&<span class='white bold'>api_token<\/span>=<span class='orange bold api_token'>your_api_token<\/span>&<span class='white bold'>fmt<\/span>=<span class='orange bold fmt'>json<\/span>&#039;\ndata = requests.get(url).json()\n\nprint(data)<\/code><\/pre>\n                        <div class=\"api-key__register\">(<a href=\"\/register\">Sign up<\/a> for free to get an API token)<\/div>\n                                    <\/div>\n                                                                            <div class=\"api-key__panel\" data-panel=\"r\">\n                                                                    <pre class=\"api-key__code\"><code>library(httr)\nlibrary(jsonlite)\n\nurl &lt;- &#039;https:\/\/eodhd.com\/api\/news-word-weights?<span class='white bold'>s<\/span>=<span class='orange bold s'>AAPL.US<\/span>&<span class='white bold'>filter[date_from]<\/span>=<span class='orange bold filter[date_from]'>2026-06-01<\/span>&<span class='white bold'>filter[date_to]<\/span>=<span class='orange bold filter[date_to]'>2026-06-15<\/span>&<span class='white bold'>page[limit]<\/span>=<span class='orange bold page[limit]'>10<\/span>&<span class='white bold'>api_token<\/span>=<span class='orange bold api_token'>your_api_token<\/span>&<span class='white bold'>fmt<\/span>=<span class='orange bold fmt'>json<\/span>&#039;\nresponse &lt;- GET(url)\n\nif (http_type(response) == &quot;application\/json&quot;) {\n    content &lt;- content(response, &quot;text&quot;, encoding = &quot;UTF-8&quot;)\n    cat(content)\n} else {\n    cat(&quot;Error while receiving data\\n&quot;)\n}<\/code><\/pre>\n                        <div class=\"api-key__register\">(<a href=\"\/register\">Sign up<\/a> for free to get an API token)<\/div>\n                                    <\/div>\n                                                                            <div class=\"api-key__panel\" data-panel=\"chatgpt\">\n                                            <div class=\"api-key__chatgpt\">\n                            New to coding? Our ChatGPT assistant can generate code in any language tailored to our API.\n                            Simply describe how you want to use our data, and get a working piece of code.\n                            Don&rsquo;t forget to replace the API token with your own.<br><br>\n                            <a href=\"\/lp\/eodhd-chatgpt\" target=\"_blank\">Try it now (it's free)!<\/a><br><br>\n                            <a href=\"https:\/\/www.youtube.com\/watch?v=QVWiLukag7o\" rel=\"nofollow\" target=\"_blank\">\n                                How to use it (YouTube)\n                            <\/a>\n                        <\/div>\n                                    <\/div>\n                                    <\/div>\n    <\/div>\n    <\/p>\n\n\n\n<h4 class=\"docs-content__heading docs-content__heading--h4 wp-block-heading\" id=\"h-weights-response-example\">Response Example<\/h4>\n\n\n<div class=\"code-block\">\n<pre class=\"docs-content__code-block wp-block-code\"><code class=\"language-json\">{\n  \"data\": {\n    \"stock\": 0.02227,\n    \"apple\": 0.01224,\n    \"companies\": 0.01029,\n    \"year\": 0.0097,\n    \"market\": 0.00945\n  },\n  \"meta\": {\n    \"news_processed\": 300,\n    \"news_found\": 4126\n  },\n  \"links\": {\n    \"next\": null\n  }\n}<\/code><\/pre>\n<\/div>\n\n\n<h4 class=\"docs-content__heading docs-content__heading--h4 wp-block-heading\" id=\"h-weights-response-fields\">Response Fields<\/h4>\n\n\n\n<figure class=\"docs-content__table-wrap wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th>Field<\/th><th>Type<\/th><th>Description<\/th><\/tr><\/thead><tbody><tr><td>data<\/td><td>object<\/td><td>Keywords with their corresponding weights, as key-value pairs<\/td><\/tr><tr><td>meta.news_found<\/td><td>integer<\/td><td>Total number of articles matched<\/td><\/tr><tr><td>meta.news_processed<\/td><td>integer<\/td><td>Number of articles actually processed<\/td><\/tr><tr><td>links.next<\/td><td>string or null<\/td><td>URL to the next page of results, if available<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<div style=\"height:50px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n    <div class=\"spotlight spotlight--accent spotlight--wide\">\n        <div class=\"spotlight__content\">\n            \n                            <div class=\"spotlight__title\">Compare plans and find your fit<\/div>\n            \n                            <div class=\"spotlight__desc\">Free and paid plans for individual and commercial use<\/div>\n                    <\/div>\n\n                    <a class=\"spotlight__action btn btn--white\"\n               href=\"https:\/\/eodhd.com\/pricing\"\n               target=\"_blank\"\n               rel=\"noopener\">\n                Go to Pricing            <\/a>\n            <\/div>\n    \n","protected":false},"excerpt":{"rendered":"<p>The Financial News API aggregates financial news from major sources and adds in-house sentiment analysis. It continuously processes the leading financial news portals, giving you constantly updated articles and daily sentiment scores for stocks, ETFs, Forex, and cryptocurrencies, based on positive and negative mentions. This page documents three related endpoints: the Financial News feed, the [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[119],"tags":[],"class_list":["post-2469","post","type-post","status-publish","format-standard","hentry","category-alternative-data-financial-api"],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v21.6 (Yoast SEO v26.7) - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Financial News Feed and Stock News Sentiment data API | EODHD APIs Documentation<\/title>\n<meta name=\"description\" content=\"The Financial News API is a powerful tool that helps you get company news and filter out them by date, type of news and certain tickers.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/eodhd.com\/financial-apis\/stock-market-financial-news-api\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Financial News Feed and Stock News Sentiment data API\" \/>\n<meta property=\"og:description\" content=\"The Financial News API is a powerful tool that helps you get company news and filter out them by date, type of news and certain tickers.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/eodhd.com\/financial-apis\/stock-market-financial-news-api\" \/>\n<meta property=\"og:site_name\" content=\"Stock Price Data, Financial and Stock Market API\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/eodhistoricaldata\" \/>\n<meta property=\"article:published_time\" content=\"2020-12-21T22:26:05+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2026-07-15T11:16:11+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/eodhd.com\/financial-apis\/wp-content\/uploads\/2024\/04\/financial-news-feed-API-EODHD-1.png\" \/>\n\t<meta property=\"og:image:width\" content=\"1880\" \/>\n\t<meta property=\"og:image:height\" content=\"930\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"EOD Historical Data Support\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@EOD_data\" \/>\n<meta name=\"twitter:site\" content=\"@EOD_data\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"EOD Historical Data Support\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"5 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/eodhd.com\/financial-apis\/stock-market-financial-news-api#article\",\"isPartOf\":{\"@id\":\"https:\/\/eodhd.com\/financial-apis\/stock-market-financial-news-api\"},\"author\":{\"name\":\"EOD Historical Data Support\",\"@id\":\"https:\/\/eodhd.com\/financial-apis\/#\/schema\/person\/fa5be3606e0cd967a175978cebe97415\"},\"headline\":\"Financial News Feed and Stock News Sentiment data API\",\"datePublished\":\"2020-12-21T22:26:05+00:00\",\"dateModified\":\"2026-07-15T11:16:11+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/eodhd.com\/financial-apis\/stock-market-financial-news-api\"},\"wordCount\":676,\"publisher\":{\"@id\":\"https:\/\/eodhd.com\/financial-apis\/#organization\"},\"image\":{\"@id\":\"https:\/\/eodhd.com\/financial-apis\/stock-market-financial-news-api#primaryimage\"},\"thumbnailUrl\":\"https:\/\/eodhd.com\/financial-apis\/wp-content\/uploads\/2024\/04\/financial-news-feed-API-EODHD-1.png\",\"articleSection\":[\"4. Alternative &amp; Derived Data\"],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/eodhd.com\/financial-apis\/stock-market-financial-news-api\",\"url\":\"https:\/\/eodhd.com\/financial-apis\/stock-market-financial-news-api\",\"name\":\"Financial News Feed and Stock News Sentiment data API | EODHD APIs Documentation\",\"isPartOf\":{\"@id\":\"https:\/\/eodhd.com\/financial-apis\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/eodhd.com\/financial-apis\/stock-market-financial-news-api#primaryimage\"},\"image\":{\"@id\":\"https:\/\/eodhd.com\/financial-apis\/stock-market-financial-news-api#primaryimage\"},\"thumbnailUrl\":\"https:\/\/eodhd.com\/financial-apis\/wp-content\/uploads\/2024\/04\/financial-news-feed-API-EODHD-1.png\",\"datePublished\":\"2020-12-21T22:26:05+00:00\",\"dateModified\":\"2026-07-15T11:16:11+00:00\",\"description\":\"The Financial News API is a powerful tool that helps you get company news and filter out them by date, type of news and certain tickers.\",\"breadcrumb\":{\"@id\":\"https:\/\/eodhd.com\/financial-apis\/stock-market-financial-news-api#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/eodhd.com\/financial-apis\/stock-market-financial-news-api\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/eodhd.com\/financial-apis\/stock-market-financial-news-api#primaryimage\",\"url\":\"https:\/\/eodhd.com\/financial-apis\/wp-content\/uploads\/2024\/04\/financial-news-feed-API-EODHD-1.png\",\"contentUrl\":\"https:\/\/eodhd.com\/financial-apis\/wp-content\/uploads\/2024\/04\/financial-news-feed-API-EODHD-1.png\",\"width\":1880,\"height\":930},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/eodhd.com\/financial-apis\/stock-market-financial-news-api#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/eodhd.com\/financial-apis\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Financial News Feed and Stock News Sentiment data API\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/eodhd.com\/financial-apis\/#website\",\"url\":\"https:\/\/eodhd.com\/financial-apis\/\",\"name\":\"Historical Stock Prices and Fundamental Financial Data APIs | EODHD\",\"description\":\"End Of Day (EOD), Fundamental and Real-time\/Live Data Market API\",\"publisher\":{\"@id\":\"https:\/\/eodhd.com\/financial-apis\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/eodhd.com\/financial-apis\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/eodhd.com\/financial-apis\/#organization\",\"name\":\"EODHD (EOD Historical Data)\",\"url\":\"https:\/\/eodhd.com\/financial-apis\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/eodhd.com\/financial-apis\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/eodhd.com\/financial-apis\/wp-content\/uploads\/2023\/12\/EODHD-Logo.png\",\"contentUrl\":\"https:\/\/eodhd.com\/financial-apis\/wp-content\/uploads\/2023\/12\/EODHD-Logo.png\",\"width\":159,\"height\":82,\"caption\":\"EODHD (EOD Historical Data)\"},\"image\":{\"@id\":\"https:\/\/eodhd.com\/financial-apis\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/eodhistoricaldata\",\"https:\/\/x.com\/EOD_data\",\"https:\/\/www.reddit.com\/r\/EODHistoricalData\/\",\"https:\/\/eod-historical-data.medium.com\/\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/eodhd.com\/financial-apis\/#\/schema\/person\/fa5be3606e0cd967a175978cebe97415\",\"name\":\"EOD Historical Data Support\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/eodhd.com\/financial-apis\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/3599a531133e7fc83654b72e3103c05b1bbeb91168cf4786cbad64afa9b82413?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/3599a531133e7fc83654b72e3103c05b1bbeb91168cf4786cbad64afa9b82413?s=96&d=mm&r=g\",\"caption\":\"EOD Historical Data Support\"}}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"Financial News Feed and Stock News Sentiment data API | EODHD APIs Documentation","description":"The Financial News API is a powerful tool that helps you get company news and filter out them by date, type of news and certain tickers.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/eodhd.com\/financial-apis\/stock-market-financial-news-api","og_locale":"en_US","og_type":"article","og_title":"Financial News Feed and Stock News Sentiment data API","og_description":"The Financial News API is a powerful tool that helps you get company news and filter out them by date, type of news and certain tickers.","og_url":"https:\/\/eodhd.com\/financial-apis\/stock-market-financial-news-api","og_site_name":"Stock Price Data, Financial and Stock Market API","article_publisher":"https:\/\/www.facebook.com\/eodhistoricaldata","article_published_time":"2020-12-21T22:26:05+00:00","article_modified_time":"2026-07-15T11:16:11+00:00","og_image":[{"width":1880,"height":930,"url":"https:\/\/eodhd.com\/financial-apis\/wp-content\/uploads\/2024\/04\/financial-news-feed-API-EODHD-1.png","type":"image\/png"}],"author":"EOD Historical Data Support","twitter_card":"summary_large_image","twitter_creator":"@EOD_data","twitter_site":"@EOD_data","twitter_misc":{"Written by":"EOD Historical Data Support","Est. reading time":"5 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/eodhd.com\/financial-apis\/stock-market-financial-news-api#article","isPartOf":{"@id":"https:\/\/eodhd.com\/financial-apis\/stock-market-financial-news-api"},"author":{"name":"EOD Historical Data Support","@id":"https:\/\/eodhd.com\/financial-apis\/#\/schema\/person\/fa5be3606e0cd967a175978cebe97415"},"headline":"Financial News Feed and Stock News Sentiment data API","datePublished":"2020-12-21T22:26:05+00:00","dateModified":"2026-07-15T11:16:11+00:00","mainEntityOfPage":{"@id":"https:\/\/eodhd.com\/financial-apis\/stock-market-financial-news-api"},"wordCount":676,"publisher":{"@id":"https:\/\/eodhd.com\/financial-apis\/#organization"},"image":{"@id":"https:\/\/eodhd.com\/financial-apis\/stock-market-financial-news-api#primaryimage"},"thumbnailUrl":"https:\/\/eodhd.com\/financial-apis\/wp-content\/uploads\/2024\/04\/financial-news-feed-API-EODHD-1.png","articleSection":["4. Alternative &amp; Derived Data"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/eodhd.com\/financial-apis\/stock-market-financial-news-api","url":"https:\/\/eodhd.com\/financial-apis\/stock-market-financial-news-api","name":"Financial News Feed and Stock News Sentiment data API | EODHD APIs Documentation","isPartOf":{"@id":"https:\/\/eodhd.com\/financial-apis\/#website"},"primaryImageOfPage":{"@id":"https:\/\/eodhd.com\/financial-apis\/stock-market-financial-news-api#primaryimage"},"image":{"@id":"https:\/\/eodhd.com\/financial-apis\/stock-market-financial-news-api#primaryimage"},"thumbnailUrl":"https:\/\/eodhd.com\/financial-apis\/wp-content\/uploads\/2024\/04\/financial-news-feed-API-EODHD-1.png","datePublished":"2020-12-21T22:26:05+00:00","dateModified":"2026-07-15T11:16:11+00:00","description":"The Financial News API is a powerful tool that helps you get company news and filter out them by date, type of news and certain tickers.","breadcrumb":{"@id":"https:\/\/eodhd.com\/financial-apis\/stock-market-financial-news-api#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/eodhd.com\/financial-apis\/stock-market-financial-news-api"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/eodhd.com\/financial-apis\/stock-market-financial-news-api#primaryimage","url":"https:\/\/eodhd.com\/financial-apis\/wp-content\/uploads\/2024\/04\/financial-news-feed-API-EODHD-1.png","contentUrl":"https:\/\/eodhd.com\/financial-apis\/wp-content\/uploads\/2024\/04\/financial-news-feed-API-EODHD-1.png","width":1880,"height":930},{"@type":"BreadcrumbList","@id":"https:\/\/eodhd.com\/financial-apis\/stock-market-financial-news-api#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/eodhd.com\/financial-apis"},{"@type":"ListItem","position":2,"name":"Financial News Feed and Stock News Sentiment data API"}]},{"@type":"WebSite","@id":"https:\/\/eodhd.com\/financial-apis\/#website","url":"https:\/\/eodhd.com\/financial-apis\/","name":"Historical Stock Prices and Fundamental Financial Data APIs | EODHD","description":"End Of Day (EOD), Fundamental and Real-time\/Live Data Market API","publisher":{"@id":"https:\/\/eodhd.com\/financial-apis\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/eodhd.com\/financial-apis\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/eodhd.com\/financial-apis\/#organization","name":"EODHD (EOD Historical Data)","url":"https:\/\/eodhd.com\/financial-apis\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/eodhd.com\/financial-apis\/#\/schema\/logo\/image\/","url":"https:\/\/eodhd.com\/financial-apis\/wp-content\/uploads\/2023\/12\/EODHD-Logo.png","contentUrl":"https:\/\/eodhd.com\/financial-apis\/wp-content\/uploads\/2023\/12\/EODHD-Logo.png","width":159,"height":82,"caption":"EODHD (EOD Historical Data)"},"image":{"@id":"https:\/\/eodhd.com\/financial-apis\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/eodhistoricaldata","https:\/\/x.com\/EOD_data","https:\/\/www.reddit.com\/r\/EODHistoricalData\/","https:\/\/eod-historical-data.medium.com\/"]},{"@type":"Person","@id":"https:\/\/eodhd.com\/financial-apis\/#\/schema\/person\/fa5be3606e0cd967a175978cebe97415","name":"EOD Historical Data Support","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/eodhd.com\/financial-apis\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/3599a531133e7fc83654b72e3103c05b1bbeb91168cf4786cbad64afa9b82413?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/3599a531133e7fc83654b72e3103c05b1bbeb91168cf4786cbad64afa9b82413?s=96&d=mm&r=g","caption":"EOD Historical Data Support"}}]}},"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_shortlink":"https:\/\/wp.me\/p8NjB1-DP","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/eodhd.com\/financial-apis\/wp-json\/wp\/v2\/posts\/2469","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/eodhd.com\/financial-apis\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/eodhd.com\/financial-apis\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/eodhd.com\/financial-apis\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/eodhd.com\/financial-apis\/wp-json\/wp\/v2\/comments?post=2469"}],"version-history":[{"count":80,"href":"https:\/\/eodhd.com\/financial-apis\/wp-json\/wp\/v2\/posts\/2469\/revisions"}],"predecessor-version":[{"id":8017,"href":"https:\/\/eodhd.com\/financial-apis\/wp-json\/wp\/v2\/posts\/2469\/revisions\/8017"}],"wp:attachment":[{"href":"https:\/\/eodhd.com\/financial-apis\/wp-json\/wp\/v2\/media?parent=2469"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/eodhd.com\/financial-apis\/wp-json\/wp\/v2\/categories?post=2469"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/eodhd.com\/financial-apis\/wp-json\/wp\/v2\/tags?post=2469"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}