Getting Started

Introduction

Our API provides access to market news for global exchanges, and trading data for US stocks, sourced from IEX. We also provide near real-time and historical crypto and forex data.

Business + stock market news and analysis APIs can be used to create news feeds. News feed APIs can be filtered with numerous criteria, including symbol, type, exchange, industry, country and much more.

Our news data allow us to identify which stocks are trending (i.e. mentioned more frequently than normal) and identify best and worst performing stocks based on sentiment, all of which is available from our market news analysis endpoints.

We support over 5,000 news sources globally in over 30 languages, tracking over 150,000 entities every minute from over 70 markets worldwide.

Data provided by this API and website is indicative and not appropriate for trading purposes.

To get started simply sign up and use your API token in any of the available API endpoints documented below for instant access.

If you have any questions or concerns, feel free to contact us.

Authentication

When you sign up for free you will find your API token on your dashboard. Simply add this to any of our API endpoints as a GET parameter to gain access. Examples of how this is done can be found below.

API Endpoints

Stock Data Prices

Stock prices Available on: All plans

Endpoint

            
                GET https://api.stockdata.org/v1/data/quote HTTP/1.1
            
        

Get prices for US-listed stocks using this endpoint, updated from trade reports from IEX. Also includes pre and post market data (see extended_hours parameter).

HTTP GET Parameters

name required description
api_token true Your API token which can be found on your account dashboard.
symbols true Specify symbol(s) to return data for. See limits on symbols per request on our pricing page.
Example: symbols=AAPL,TSLA,MSFT
extended_hours false Include pre and post market data when set to true.
key_by_ticker false Key each quote by the ticker/symbol.

Response Objects

name description
meta > requested The number of symbols requested.
meta > returned The number of symbols returned.
data > ticker The symbol/ticker of the quote.
data > name The name of the stock.
data > exchange_short The listing exchange of the stock (short code).
data > exchange_long The listing exchange of the stock (full name).
data > mic_code The exchanges ISO 10383 market identifier code.
data > currency Currency of the stock.
data > price Last trade price.
data > day_high Highest trade price that day.
data > day_low Lowest trade price that day.
data > day_open Opening price.
data > 52_week_high Highest trade price in the past 52 weeks.
data > 52_week_low Lowest trade price in the past 52 weeks.
data > market_cap Market cap of the stock.
data > previous_close_price Previous close price.
data > previous_close_price_time Time of the previous close price (local time).
data > day_change Percentage difference between price and previous_close_price.
data > volume Total of all trades for the stock.
data > is_extended_hours_price Boolean to identify if the quote is provided from extended hours data.
data > last_trade_time The time the last trade was identified (local time).

If no results are found, the data object will be empty.

Example Request

            
                GET https://api.stockdata.org/v1/data/quote?symbols=AAPL%2CTSLA%2CMSFT&api_token=YOUR_API_TOKEN
            
        

Example Response

            
                {
    "meta": {
        "requested": 3,
        "returned": 3
    },
    "data": [
        {
            "ticker": "TSLA",
            "name": "Tesla Inc",
            "exchange_short": null,
            "exchange_long": null,
            "mic_code": "IEXG",
            "currency": "USD",
            "price": 267.46,
            "day_high": 278.32,
            "day_low": 266.72,
            "day_open": 270.75,
            "52_week_high": 314.67,
            "52_week_low": 101.81,
            "market_cap": null,
            "previous_close_price": 273.63,
            "previous_close_price_time": "2023-09-11T16:00:00.000000",
            "day_change": -2.31,
            "volume": 796531,
            "is_extended_hours_price": false,
            "last_trade_time": "2023-09-12T16:00:00.000000"
        },
        {
            "ticker": "AAPL",
            "name": "Apple Inc",
            "exchange_short": null,
            "exchange_long": null,
            "mic_code": "IEXG",
            "currency": "USD",
            "price": 176.29,
            "day_high": 180.11,
            "day_low": 174.84,
            "day_open": 179.46,
            "52_week_high": 186.51,
            "52_week_low": 124.17,
            "market_cap": null,
            "previous_close_price": 179.4,
            "previous_close_price_time": "2023-09-11T15:59:59.000000",
            "day_change": -1.76,
            "volume": 1454605,
            "is_extended_hours_price": false,
            "last_trade_time": "2023-09-12T16:00:00.000000"
        },
        {
            "ticker": "V",
            "name": "Visa Inc",
            "exchange_short": null,
            "exchange_long": null,
            "mic_code": "IEXG",
            "currency": "USD",
            "price": 247.31,
            "day_high": 247.74,
            "day_low": 246.14,
            "day_open": 246.66,
            "52_week_high": 235.57,
            "52_week_low": 174.6,
            "market_cap": null,
            "previous_close_price": 247.24,
            "previous_close_price_time": "2023-09-11T15:59:59.000000",
            "day_change": 0.03,
            "volume": 119599,
            "is_extended_hours_price": false,
            "last_trade_time": "2023-09-12T15:59:56.000000"
        }
    ]
}
            
        

Intraday data (adjusted) Available on: Standard plan and above

Endpoint

            
                GET https://api.stockdata.org/v1/data/intraday/adjusted HTTP/1.1
            
        

Get intraday data for US-listed stocks using this endpoint, updated from trade reports from IEX. Also includes pre and post market data (see extended_hours parameter). You can obtain 6+ years of historical intraday data using this endpoint. This endpoint provides historical intraday data adjusted for splits.

HTTP GET Parameters

name required description
api_token true Your API token which can be found on your account dashboard.
symbols true Specify symbol(s) to return data for. See limits on symbols per request on our pricing page.
Example: symbols=AAPL
interval false Specify the interval at which you want to retrieve data.
Options: minute | hour
Default interval=minute

IMPORTANT: the max range for minute interval is 7 days and 180 days for the hour interval due to these intervals retrieving a lot of data. If the range from the date_from and date_to parameters is larger than these limits, the max interval will be applied starting at the date_from parameter. If the date parameters are omitted the max range will be applied.
sort false Specify the sort order by date.
Options: asc | desc
Default desc
date_from false Find all data after the specified date. Supported formats include: Y-m-d | Y-m | Y.
Examples: 2024-11-07 | 2024-11 | 2024
date_to false Find all data before the specified date. Supported formats include: Y-m-d | Y-m | Y.
Examples: 2024-11-07 | 2024-11 | 2024
date false Find all data on the specified date. Supported formats include: Y-m-d.
Example: 2024-11-07
extended_hours false Include pre and post market data when set to true.
key_by_date false Key each result by date/time.
key_by_ticker false Key each quote by the ticker/symbol.
format false Get result as CSV. Default is JSON.
Example: format=csv

Response Objects

name description
meta > date_from Date that data was collected from.
meta > date_to Date that data was collected to. This will be overridden if the interval max period is exceeded.
meta > max_period_days Max period in days depending on the interval. Will return null if no max period is specified for the interval.
data > date Date of the related data (local time).
data > ticker The symbol/ticker of the quote.
data > data > open Open price for the specified date/time range.
data > data > high Highest price for the specified date/time range.
data > data > low Lowest price for the specified date/time range.
data > data > close Close price for the specified date/time range.
data > data > volume Trading volume for the specified date/time range.
data > data > is_extended_hours Specifies if the open price in the time frame is a pre/post trading hours price. Mainly useful for the minute interval.

If no results are found, the data object will be empty.

Example Request

            
                GET https://api.stockdata.org/v1/data/intraday/adjusted?symbols=AAPL&api_token=YOUR_API_TOKEN
            
        

Example Response

            
                {
    "meta": {
        "date_from": "2023-09-11",
        "date_to": "2023-09-14",
        "max_period_days": 7
    },
    "data": [
        {
            "date": "2023-09-12T16:00:00.000Z",
            "ticker": "AAPL",
            "data": {
                "open": 176.29,
                "high": 176.29,
                "low": 176.29,
                "close": 176.29,
                "volume": 300,
                "is_extended_hours": false
            }
        },
        {
            "date": "2023-09-12T15:59:00.000Z",
            "ticker": "AAPL",
            "data": {
                "open": 176.31,
                "high": 176.46,
                "low": 176.22,
                "close": 176.41,
                "volume": 22946,
                "is_extended_hours": false
            }
        },
        {
            "date": "2023-09-12T15:58:00.000Z",
            "ticker": "AAPL",
            "data": {
                "open": 176.3,
                "high": 176.32,
                "low": 176.25,
                "close": 176.3,
                "volume": 9442,
                "is_extended_hours": false
            }
        },
        {
            "date": "2023-09-12T15:57:00.000Z",
            "ticker": "AAPL",
            "data": {
                "open": 176.29,
                "high": 176.33,
                "low": 176.25,
                "close": 176.31,
                "volume": 11994,
                "is_extended_hours": false
            }
        },
        {
            "date": "2023-09-12T15:56:00.000Z",
            "ticker": "AAPL",
            "data": {
                "open": 176.27,
                "high": 176.29,
                "low": 176.24,
                "close": 176.29,
                "volume": 11966,
                "is_extended_hours": false
            }
        },
        ...
    ]
}
            
        

Intraday data (unadjusted) Available on: All plans

Endpoint

            
                GET https://api.stockdata.org/v1/data/intraday HTTP/1.1
            
        

Get intraday data for US-listed stocks using this endpoint, updated from trade reports from IEX. Also includes pre and post market data (see extended_hours parameter). You can also obtain 6+ years of historical intraday data using this endpoint. Note that this endpoint provides unadjusted historical intraday data.

HTTP GET Parameters

name required description
api_token true Your API token which can be found on your account dashboard.
symbols true Specify symbol(s) to return data for. See limits on symbols per request on our pricing page.
Example: symbols=AAPL
interval false Specify the interval at which you want to retrieve data.
Options: minute | hour
Default interval=minute

IMPORTANT: the max range for minute interval is 7 days and 180 days for the hour interval due to these intervals retrieving a lot of data. If the range from the date_from and date_to parameters is larger than these limits, the max interval will be applied starting at the date_from parameter. If the date parameters are omitted the max range will be applied.
sort false Specify the sort order by date.
Options: asc | desc
Default desc
date_from false Find all data after the specified date. Supported formats include: Y-m-d | Y-m | Y.
Examples: 2024-11-07 | 2024-11 | 2024
date_to false Find all data before the specified date. Supported formats include: Y-m-d | Y-m | Y.
Examples: 2024-11-07 | 2024-11 | 2024
date false Find all data on the specified date. Supported formats include: Y-m-d.
Example: 2024-11-07
extended_hours false Include pre and post market data when set to true.
key_by_date false Key each result by date/time.
key_by_ticker false Key each quote by the ticker/symbol.
format false Get result as CSV. Default is JSON.
Example: format=csv

Response Objects

name description
meta > date_from Date that data was collected from.
meta > date_to Date that data was collected to. This will be overridden if the interval max period is exceeded.
meta > max_period_days Max period in days depending on the interval. Will return null if no max period is specified for the interval.
data > date Date of the related data (local time).
data > ticker The symbol/ticker of the quote.
data > data > open Open price for the specified date/time range.
data > data > high Highest price for the specified date/time range.
data > data > low Lowest price for the specified date/time range.
data > data > close Close price for the specified date/time range.
data > data > volume Trading volume for the specified date/time range.
data > data > is_extended_hours Specifies if the open price in the time frame is a pre/post trading hours price. Mainly useful for the minute interval.

If no results are found, the data object will be empty.

Example Request

            
                GET https://api.stockdata.org/v1/data/intraday?symbols=AAPL&api_token=YOUR_API_TOKEN
            
        

Example Response

            
                {
    "meta": {
        "date_from": "2023-09-11",
        "date_to": "2023-09-14",
        "max_period_days": 7
    },
    "data": [
        {
            "date": "2023-09-12T16:00:00.000Z",
            "ticker": "AAPL",
            "data": {
                "open": 176.29,
                "high": 176.29,
                "low": 176.29,
                "close": 176.29,
                "volume": 300,
                "is_extended_hours": false
            }
        },
        {
            "date": "2023-09-12T15:59:00.000Z",
            "ticker": "AAPL",
            "data": {
                "open": 176.31,
                "high": 176.46,
                "low": 176.22,
                "close": 176.41,
                "volume": 22946,
                "is_extended_hours": false
            }
        },
        {
            "date": "2023-09-12T15:58:00.000Z",
            "ticker": "AAPL",
            "data": {
                "open": 176.3,
                "high": 176.32,
                "low": 176.25,
                "close": 176.3,
                "volume": 9442,
                "is_extended_hours": false
            }
        },
        {
            "date": "2023-09-12T15:57:00.000Z",
            "ticker": "AAPL",
            "data": {
                "open": 176.29,
                "high": 176.33,
                "low": 176.25,
                "close": 176.31,
                "volume": 11994,
                "is_extended_hours": false
            }
        },
        {
            "date": "2023-09-12T15:56:00.000Z",
            "ticker": "AAPL",
            "data": {
                "open": 176.27,
                "high": 176.29,
                "low": 176.24,
                "close": 176.29,
                "volume": 11966,
                "is_extended_hours": false
            }
        },
        ...
    ]
}
            
        

End-of-day historical data Available on: All plans

Endpoint

            
                GET https://api.stockdata.org/v1/data/eod HTTP/1.1
            
        

Get historical end of day data for US stocks, adjusted for splits.
This endpoint also supports crypto and forex history.

HTTP GET Parameters

name required description
api_token true Your API token which can be found on your account dashboard.
symbols true Specify symbol to return data for.
Example: symbols=AAPL
interval false Specify the interval at which you want to retrieve data.
Options: day | week | month | quarter | year
Default interval=day
sort false Specify the sort order by date.
Options: asc | desc
Default desc
date_from false Find all data after the specified date. Supported formats include: Y-m-d | Y-m | Y.
Examples: 2024-11-07 | 2024-11 | 2024
date_to false Find all data before the specified date. Supported formats include: Y-m-d | Y-m | Y.
Examples: 2024-11-07 | 2024-11 | 2024
date false Find all data on the specified date. Supported formats include: Y-m-d.
Example: 2024-11-07
key_by_date false Key each result by date/time.
format false Get result as CSV. Default is JSON.
Example: format=csv

Response Objects

name description
meta > date_from Date that data was collected from.
meta > date_to Date that data was collected to. This will be overridden if the interval max period is exceeded.
meta > max_period_days Max period in days depending on the interval. Will return null if no max period is specified for the interval.
data > date Date of the related data (local time).
data > ticker The symbol/ticker of the quote.
data > data > open Open price for the specified date/time range.
data > data > high Highest price for the specified date/time range.
data > data > low Lowest price for the specified date/time range.
data > data > close Close price for the specified date/time range.
data > data > volume Trading volume for the specified date/time range.

If no results are found, the data object will be empty.

Example Request

            
                GET https://api.stockdata.org/v1/data/eod?symbols=AAPL&api_token=YOUR_API_TOKEN
            
        

Example Response

            
                {
    "meta": {
        "date_from": "2023-03-18",
        "date_to": "2023-09-14",
        "max_period_days": 180
    },
    "data": [
        {
            "date": "2023-09-12T00:00:00.000Z",
            "open": 179.49,
            "high": 180.11,
            "low": 174.84,
            "close": 176.29,
            "volume": 1454605
        },
        {
            "date": "2023-09-11T00:00:00.000Z",
            "open": 180.08,
            "high": 180.3,
            "low": 177.35,
            "close": 179.39,
            "volume": 909570
        },
        {
            "date": "2023-09-08T00:00:00.000Z",
            "open": 178.33,
            "high": 180.23,
            "low": 177.82,
            "close": 178.2,
            "volume": 1135994
        },
        {
            "date": "2023-09-07T00:00:00.000Z",
            "open": 175.22,
            "high": 178.21,
            "low": 173.55,
            "close": 177.6,
            "volume": 2195944
        },
        {
            "date": "2023-09-06T00:00:00.000Z",
            "open": 188.39,
            "high": 188.7,
            "low": 181.47,
            "close": 182.89,
            "volume": 2116076
        },
        ...
    ]
}
            
        

Stock Splits and Dividends

Stock splits Available on: Standard plan and above

Endpoint

            
                GET https://api.stockdata.org/v1/data/splits HTTP/1.1
            
        

Get stock splits.

HTTP GET Parameters

name required description
api_token true Your API token which can be found on your account dashboard.
symbols true Specify symbol to return data for.
Example: symbols=AAPL

Response Objects

name description
data > ticker The symbol/ticker of the split.
data > date Date of the related data (local time).
data > numerator The split numerator.
data > denominator The split denominator.
data > ratio The split numerator to denominator ratio.

If no results are found, the data object will be empty.

Example Request

            
                GET https://api.stockdata.org/v1/data/splits?symbols=AAPL&api_token=YOUR_API_TOKEN
            
        

Example Response

            
                {
    "data": [
        {
            "ticker": "AAPL",
            "date": "1987-06-16",
            "numerator": 2,
            "denominator": 1,
            "ratio": "2:1"
        },
        {
            "ticker": "AAPL",
            "date": "2000-06-21",
            "numerator": 2,
            "denominator": 1,
            "ratio": "2:1"
        },
        {
            "ticker": "AAPL",
            "date": "2005-02-28",
            "numerator": 2,
            "denominator": 1,
            "ratio": "2:1"
        },
        ...
    ]
}
            
        

Stock dividends Available on: Standard plan and above

Endpoint

            
                GET https://api.stockdata.org/v1/data/dividends HTTP/1.1
            
        

Get stock dividends.

HTTP GET Parameters

name required description
api_token true Your API token which can be found on your account dashboard.
symbols true Specify symbol to return data for.
Example: symbols=AAPL

Response Objects

name description
data > ticker The symbol/ticker of the split.
data > date Date of the related data (local time).
data > amount The dividend amount.

If no results are found, the data object will be empty.

Example Request

            
                GET https://api.stockdata.org/v1/data/dividends?symbols=AAPL&api_token=YOUR_API_TOKEN
            
        

Example Response

            
                {
    "data": [
        {
            "ticker": "AAPL",
            "date": "1987-05-11",
            "amount": 0.00054
        },
        {
            "ticker": "AAPL",
            "date": "1987-08-10",
            "amount": 0.00054
        },
        {
            "ticker": "AAPL",
            "date": "1987-11-17",
            "amount": 0.00071
        },
        ...
    ]
}
            
        

Crypto and Forex Data

EOD crypto and forex data Available on: All plans

End of day crypto and forex data is available from the stock end-of-day data endpoint.

News Feeds

Finance & Market News Available on: All plans

Endpoint

            
                GET https://api.stockdata.org/v1/news/all HTTP/1.1
            
        

Get all the latest global financial news and filter by entities identified within articles to build concise news feeds. Also provided is analysis of each entity identified in articles. Note that not every article may have entities identified. To retrieve all news for articles with identified entities, use the parameter must_have_entities, or specify any of the entity params such as symbols or exchanges as defined below to produce more concise results.

All news dates are returned as UTC +0.

HTTP GET Parameters

name required description
api_token true Your API token which can be found on your account dashboard.
symbols false Specify entity symbol(s) which have been identified within the article. Find entity symbols in our entity search endpoint.
Example: symbols=TSLA,AMZN,MSFT
entity_types false Specify the type of entities which have been identified within the article. Find entity types in our entity type metadata endpoint.
Example: entity_types=index,equity
industries false Specify the industries of entities which have been identified within the article. Find entity types in our entity industry metadata endpoint.
Example: industries=Technology,Industrials
countries false Specify the country of the exchange of which entities have been identified within the article. Find countries as part of our entity exchanges metadata endpoint.
Example: countries=us,ca
sentiment_gte false Use this to find all articles with entities with a sentiment_score of greater than or equal to x.
Example: sentiment_gte=0 - this will find all articles which are neutral or positive

Sentiment is between -1 and +1. Anything 0 = neutral, above 0 = positive, below 0 = negative. The higher or lower the sentiment score the more positive or negative it is identified as.
sentiment_lte false Use this to find all articles with entities with a sentiment_score of less than or equal to x.
Example: sentiment_lte=0 - this will find all articles which are neutral or negative
min_match_score false Use this to find all articles with entities with a match_score of geater than or equal to min_match_score.
filter_entities false By default all entities for each article are returned - by setting this to true, only the relevant entities to your query will be returned with each article. For example, if you set symbols=TSLA and filter_entities=true, only "TSLA" entities will be returned with the articles.
Default: false
must_have_entities false By default all articles are returned, set this to true to ensure that at least one entity has been identified within the article.
Default: false
group_similar false Group similar articles to avoid displaying multiple articles on the same topic/subject.
Default: true
search false Use the search as a basic search tool by entering regular search terms or it has more advanced usage to build search queries:
+ signifies AND operation
| signifies OR operation
- negates a single token
" wraps a number of tokens to signify a phrase for searching
* at the end of a term signifies a prefix query
( and ) signify precedence
To use one of these characters literally, escape it with a preceding backslash (\).
This searches the full body of the text and the title.

Example: "ipo" -nyse (searches for articles which must include the string "ipo" but articles must NOT mention NYSE.)

For more advanced query examples, see our API Examples section.
domains false Comma separated list of domains to include. List of domains can be obtained through our Sources endpoint, found further down this page.
Example: adweek.com,adage.com
exclude_domains false Comma separated list of domains to exclude
source_ids false Comma separated list of source_ids to include. List of source_ids can be obtained through our Sources endpoint, found further down this page.
Example: adweek.com-1,adage.com-1
exclude_source_ids false Comma separated list of source_ids to exclude.
language false Comma separated list of languages to include. Default is all.
Click here for a list of supported languages.
Examples: en,es (English + Spanish)
published_before false Find all articles published before the specified date. Supported formats include: Y-m-d\TH:i:s | Y-m-d\TH:i | Y-m-d\TH | Y-m-d | Y-m | Y.
Examples: 2024-11-07T23:21:17 | 2024-11-07T23:21 | 2024-11-07T23 | 2024-11-07 | 2024-11 | 2024
published_after false Find all articles published after the specified date. Supported formats include: Y-m-d\TH:i:s | Y-m-d\TH:i | Y-m-d\TH | Y-m-d | Y-m | Y.
Examples: 2024-11-07T23:21:17 | 2024-11-07T23:21 | 2024-11-07T23 | 2024-11-07 | 2024-11 | 2024
published_on false Find all articles published on the specified date. Supported formats include: Y-m-d.
Examples: 2024-11-07
sort false Sort by published_on, entity_match_score, entity_sentiment_score or relevance_score (only available when used in conjunction with search). Default is published_at unless search is used and sorting by published_at is not included, in which case relevance_score is used.
When using entity_match_score, entity_sentiment_score this will sort by the average of the filtered entities (filter_entities does not need to be applied for this).
sort_order false Sort order of the sort parameter. NOTE: this can only be used with sort = entity_match_score or entity_sentiment_score.
Options: desc | asc
Default: desc
limit false Specify the number of articles you want to return in the request. The maximum limit is based on your plan. The default limit is the maximum specified for your plan.
page false Use this to paginate through the result set. Default is 1. Note that the max result set can't exceed 20,000. For example if your limit is 50, the max page you can have is 400 (50 * 400 = 20,000).
Example: page=2

Response Objects

name description
meta > found The number of articles found for the request.
meta > returned The number of articles returned on the page. This is useful to determine the end of the result set as if this is lower than limit, there are no more articles after this page.
meta > limit The limit based on the limit parameter.
meta > page The page number based on the page parameter.
data > uuid The unique identifier for an article in our system. Store this and use it to find specific articles using our single article endpoint.
data > title The article title.
data > description The article meta description.
data > keywords The article meta keywords.
data > snippet A short snippet of the article body.
data > url The URL to the article.
data > image_url The URL to the article image.
data > language The language of the source.
data > published_at The datetime the article was published.
data > source The domain of the source.
data > relevance_score Relevance score based on the search parameter. If the search parameter is not used, this will be null.
data > entities > symbol Symbol of the identified entity.
data > entities > name Name of the identified entity.
data > entities > exchange Exchange identifier of the identified entity.
data > entities > exchange_long Exchange name of the identified entity.
data > entities > country Exchange country of the identified entity.
data > entities > type Type of the identified entity.
data > entities > industry Industry of the identified entity.
data > entities > match_score The overall strength of the matching for the identified entity.
data > entities > sentiment_score Average sentiment of all highlighted text found for the identified entity.
data > entities > highlights > highlight Snippet of text from the article where the entity has been identified.
data > entities > highlights > sentiment The sentiment of the highlighed text.
data > entities > highlights > highlighted_in Where the highlight was found (title | main_text).
data > similar Array of news articles which are very similar to the main article.

If no results are found, the data object will be empty.

Example Request

            
                GET https://api.stockdata.org/v1/news/all?symbols=TSLA%2CAMZN%2CMSFT&filter_entities=true&language=en&api_token=YOUR_API_TOKEN
            
        

Example Response

            
                {
    "meta": {
        "found": 113557,
        "returned": 3,
        "limit": 3,
        "page": 1
    },
    "data": [
        {
            "uuid": "36d4ba57-fca4-4cbc-b8db-59d0290e7b09",
            "title": "Dow Jones Touches Record Highs, Helped By These Economic Data Surprises",
            "description": "Dow Jones stocks were flat on economic data as an inflation report looms. Shares of Google broke out, while Apple is in a buy zone.",
            "keywords": "",
            "snippet": "The Dow Jones Industrial Average started to take a breather Wednesday after scaling to record highs, but the index pared its losses by midday and headed for its...",
            "url": "https://www.investors.com/market-trend/stock-market-today/dow-jones-flat-after-economic-data-magnificent-seven-stock-googl-breaks-out-to-new-high-apple-in-buy-zone/",
            "image_url": "https://www.investors.com/wp-content/uploads/2018/12/stock-Google-13-shutter.jpg",
            "language": "en",
            "published_at": "2023-12-20T17:20:19.000000Z",
            "source": "investors.com",
            "relevance_score": null,
            "entities": [
                {
                    "symbol": "MSFT",
                    "name": "Microsoft Corporation",
                    "exchange": null,
                    "exchange_long": null,
                    "country": "us",
                    "type": "equity",
                    "industry": "Technology",
                    "match_score": 9.811225,
                    "sentiment_score": 0.3818,
                    "highlights": [
                        {
                            "highlight": "Microsoft (MSFT) and Chevron (CVX) also gained.\n\nCaterpillar (CAT) is near a buy point at 293.88. And Nike (NKE) is building a long cup base with a buy point of 131.31. Earnings are due Thursday.",
                            "sentiment": 0.3818,
                            "highlighted_in": "main_text"
                        }
                    ]
                }
            ],
            "similar": [
                {
                    "uuid": "58d9124b-c573-47b1-b230-f4e45b34b9d2",
                    "title": "Dow Jones Futures Fall Ahead Of Key Economic Data; FedEx Dives On Earnings",
                    "description": "Dow Jones futures dropped Wednesday ahead of key economic data. Shipping giant FedEx dived on weak earnings results.",
                    "keywords": "",
                    "snippet": "Dow Jones futures fell Wednesday, threatening to snap their nine-day win streak, as the stock market seemed ready to take a breather. Meanwhile, investors await...",
                    "url": "https://www.investors.com/market-trend/stock-market-today/dow-jones-nasdaq-threaten-to-snap-win-streak-fedex-dives-on-earnings/",
                    "image_url": "https://www.investors.com/wp-content/uploads/2017/10/stock-WallStreet-03-adobe.jpg",
                    "language": "en",
                    "published_at": "2023-12-20T13:13:35.000000Z",
                    "source": "investors.com",
                    "relevance_score": null,
                    "entities": [
                        {
                            "symbol": "QQQ",
                            "name": "Invesco QQQ Trust",
                            "exchange": null,
                            "exchange_long": null,
                            "country": "us",
                            "type": "etf",
                            "industry": "N/A",
                            "match_score": 32.388443,
                            "sentiment_score": -0.6486,
                            "highlights": [
                                {
                                    "highlight": "Among U.S. exchange traded funds, the Nasdaq 100 tracker Invesco QQQ Trust (QQQ) moved down 0.3%, while the SPDR S&P 500 ETF (SPY) lost 0.2% early Wednesday.\n\nThe yield on the 10-year U.S. Treasury bond sank even lower, to 3.87% in premarket action. On Tuesday. the benchmark bounced to 3.92%, just off its lowest level since late July.",
                                    "sentiment": -0.6486,
                                    "highlighted_in": "main_text"
                                }
                            ]
                        },
                        {
                            "symbol": "^GSPC",
                            "name": "S&P 500",
                            "exchange": null,
                            "exchange_long": null,
                            "country": "us",
                            "type": "index",
                            "industry": "N/A",
                            "match_score": 25.122562,
                            "sentiment_score": 0.5154,
                            "highlights": [
                                {
                                    "highlight": "X\n\nAhead of Wednesday's opening bell, Dow Jones futures fell 0.2% vs. fair value, as did S&P 500 futures. Tech-heavy Nasdaq 100 futures dropped 0.3% in premarket action.\n\nAmong U.S. exchange traded funds, the Nasdaq 100 tracker Invesco QQQ Trust (QQQ) moved down 0.3%, while the SPDR S&P 500 ETF (SPY) lost 0.2% early Wednesday.",
                                    "sentiment": 0.6908,
                                    "highlighted_in": "main_text"
                                },
                                {
                                    "highlight": "The S&P 500 and the Dow Jones Industrial Average picked up 0.6% and 0.7%, respectively.\n\nThe Dow marked its fifth-straight record close on Tuesday. That's the first time it's done that since the five days ended Aug. 16, 2021, according to Dow Jones Market Data.",
                                    "sentiment": 0.34,
                                    "highlighted_in": "main_text"
                                }
                            ]
                        },
                        {
                            "symbol": "AAPL",
                            "name": "Apple Inc.",
                            "exchange": null,
                            "exchange_long": null,
                            "country": "us",
                            "type": "equity",
                            "industry": "Technology",
                            "match_score": 12.361347,
                            "sentiment_score": 0.56335,
                            "highlights": [
                                {
                                    "highlight": "Dow Jones Leaders: Apple, Microsoft Two Dow Jones stocks in the Magnificent Seven, Apple (AAPL) and Microsoft (MSFT), traded lower ahead of today's stock market open. Apple stock moved up 0.5% Tuesday, as its breakout move looks to stabilize after recent two days of losses. Shares are barely above a cup-with-handle entry at 192.93.",
                                    "sentiment": 0.296,
                                    "highlighted_in": "main_text"
                                },
                                {
                                    "highlight": "Apple shares were off 0.5% Wednesday. Microsoft stock added to its gains above a 366.78 cup-base buy point during Tuesday's 0.2% rise. And the software giant was down 0.3% Wednesday morning. Be sure to follow Scott Lehtonen on X, formerly known as Twitter, at @IBD_SLehtonen for more on growth stocks and the Dow Jones Industrial Average.",
                                    "sentiment": 0.8307,
                                    "highlighted_in": "main_text"
                                }
                            ]
                        },
                        {
                            "symbol": "AMAT",
                            "name": "Applied Materials, Inc.",
                            "exchange": null,
                            "exchange_long": null,
                            "country": "us",
                            "type": "equity",
                            "industry": "Technology",
                            "match_score": 13.355015,
                            "sentiment_score": 0.7269,
                            "highlights": [
                                {
                                    "highlight": "Company Name Symbol Correct Buy Point Type Of Buy Point Applied Materials (AMAT) 145.86 Alternate entry Caterpillar (CAT) 293.88 Cup base Netflix (NFLX) 482.70 Cup with handle Snowflake (SNOW) 192.66 Cup with handle\n\nSource: IBD Data As Of Dec. 20, 2023\n\nJoin IBD experts as they analyze leading stocks in the current stock market rally on IBD Live\n\nMagnificent",
                                    "sentiment": 0.7269,
                                    "highlighted_in": "main_text"
                                }
                            ]
                        },
                        {
                            "symbol": "NVDA",
                            "name": "NVIDIA Corporation",
                            "exchange": null,
                            "exchange_long": null,
                            "country": "us",
                            "type": "equity",
                            "industry": "Technology",
                            "match_score": 13.846456,
                            "sentiment_score": 0.6123,
                            "highlights": [
                                {
                                    "highlight": "Correct Buy Point Type Of Buy Point Applied Materials (AMAT) 145.86 Alternate entry Caterpillar (CAT) 293.88 Cup base Netflix (NFLX) 482.70 Cup with handle Snowflake (SNOW) 192.66 Cup with handle\n\nSource: IBD Data As Of Dec. 20, 2023\n\nJoin IBD experts as they analyze leading stocks in the current stock market rally on IBD Live\n\nMagnificent Seven Stocks: Nvidia",
                                    "sentiment": 0.7269,
                                    "highlighted_in": "main_text"
                                },
                                {
                                    "highlight": ", Tesla Among the so-called \"Magnificent Seven\" stocks, Tesla (TSLA) moved down 0.5% early Wednesday, while Nvidia (NVDA) dropped 0.6%.",
                                    "sentiment": 0.5994,
                                    "highlighted_in": "main_text"
                                },
                                {
                                    "highlight": "Graphics-chip giant Nvidia lost nearly 1% Tuesday, snapping a five-day win streak. NVDA stock is at the top of the buy zone above a 476.09 double-bottom entry. Tesla stock rallied 2% Tuesday, closing back above an early entry at 252.75. The stock's big double-bottom pattern has a 278.98 buy point.",
                                    "sentiment": 0.5106,
                                    "highlighted_in": "main_text"
                                }
                            ]
                        },
                        {
                            "symbol": "MSFT",
                            "name": "Microsoft Corporation",
                            "exchange": null,
                            "exchange_long": null,
                            "country": "us",
                            "type": "equity",
                            "industry": "Technology",
                            "match_score": 12.196723,
                            "sentiment_score": 0.52975,
                            "highlights": [
                                {
                                    "highlight": "Dow Jones Leaders: Apple, Microsoft Two Dow Jones stocks in the Magnificent Seven, Apple (AAPL) and Microsoft (MSFT), traded lower ahead of today's stock market open. Apple stock moved up 0.5% Tuesday, as its breakout move looks to stabilize after recent two days of losses. Shares are barely above a cup-with-handle entry at 192.93.",
                                    "sentiment": 0.296,
                                    "highlighted_in": "main_text"
                                },
                                {
                                    "highlight": "Microsoft stock added to its gains above a 366.78 cup-base buy point during Tuesday's 0.2% rise. And the software giant was down 0.3% Wednesday morning. Be sure to follow Scott Lehtonen on X, formerly known as Twitter, at @IBD_SLehtonen for more on growth stocks and the Dow Jones Industrial Average.",
                                    "sentiment": 0.7635,
                                    "highlighted_in": "main_text"
                                }
                            ]
                        },
                        {
                            "symbol": "DDOG",
                            "name": "Datadog, Inc.",
                            "exchange": null,
                            "exchange_long": null,
                            "country": "us",
                            "type": "equity",
                            "industry": "Technology",
                            "match_score": 17.787151,
                            "sentiment_score": 0.489067,
                            "highlights": [
                                {
                                    "highlight": "Learn How To Time The Stock Market With IBD's ETF Market Strategy\n\nStock Market Today: Best Stocks To Buy And Watch\n\nIBD Leaderboard stock Datadog (DDOG), Monday.com (MNDY), IBD SwingTrader issue Netflix (NFLX) and Snowflake (SNOW) — along with Dow Jones stocks American Express (AXP), Caterpillar (CAT) and Visa (V) — are among the best stocks to buy",
                                    "sentiment": 0.8555,
                                    "highlighted_in": "main_text"
                                },
                                {
                                    "highlight": "Datadog and ELF Beauty are featured in this Stocks Near A Buy Zone column.\n\nGet Real-time Buy And Sell Alerts On Stock Market Leaders With IBD Leaderboard\n\nDow Jones Stocks To Watch: CAT Eyes Buy Point\n\nFinancial leader American Express is extended past a 175.31 buy point in a cup with handle, after a 1.6% rally Tuesday.",
                                    "sentiment": 0.5859,
                                    "highlighted_in": "main_text"
                                },
                                {
                                    "highlight": "IBD Leaderboard stock Datadog is breaking out past an alternate handle buy trigger at 120.26 after big gains in recent weeks. DDOG stock lost 0.5% Wednesday.\n\nMonday.com is in buy range past a 185.81 buy point in a cup with handle in the wake of the Dec. 14 breakout, according to IBD MarketSmith. MNDY stock dropped 1.2% Wednesday.",
                                    "sentiment": 0.0258,
                                    "highlighted_in": "main_text"
                                }
                            ]
                        },
                        {
                            "symbol": "TSLA",
                            "name": "Tesla, Inc.",
                            "exchange": null,
                            "exchange_long": null,
                            "country": "us",
                            "type": "equity",
                            "industry": "Consumer Cyclical",
                            "match_score": 13.134539,
                            "sentiment_score": 0.576067,
                            "highlights": [
                                {
                                    "highlight": "Point Type Of Buy Point Applied Materials (AMAT) 145.86 Alternate entry Caterpillar (CAT) 293.88 Cup base Netflix (NFLX) 482.70 Cup with handle Snowflake (SNOW) 192.66 Cup with handle\n\nSource: IBD Data As Of Dec. 20, 2023\n\nJoin IBD experts as they analyze leading stocks in the current stock market rally on IBD Live\n\nMagnificent Seven Stocks: Nvidia, Tesla",
                                    "sentiment": 0.7269,
                                    "highlighted_in": "main_text"
                                },
                                {
                                    "highlight": "Among the so-called \"Magnificent Seven\" stocks, Tesla (TSLA) moved down 0.5% early Wednesday, while Nvidia (NVDA) dropped 0.6%.",
                                    "sentiment": 0.5994,
                                    "highlighted_in": "main_text"
                                },
                                {
                                    "highlight": "Tesla stock rallied 2% Tuesday, closing back above an early entry at 252.75. The stock's big double-bottom pattern has a 278.98 buy point. Dow Jones Leaders: Apple, Microsoft Two Dow Jones stocks in the Magnificent Seven, Apple (AAPL) and Microsoft (MSFT), traded lower ahead of today's stock market open.",
                                    "sentiment": 0.4019,
                                    "highlighted_in": "main_text"
                                }
                            ]
                        },
                        {
                            "symbol": "MU",
                            "name": "Micron Technology, Inc.",
                            "exchange": null,
                            "exchange_long": null,
                            "country": "us",
                            "type": "equity",
                            "industry": "Technology",
                            "match_score": 14.127843,
                            "sentiment_score": 0,
                            "highlights": [
                                {
                                    "highlight": "Finally, late Wednesday, Micron Technology (MU) will report its quarterly earnings results.",
                                    "sentiment": 0,
                                    "highlighted_in": "main_text"
                                }
                            ]
                        },
                        {
                            "symbol": "NFLX",
                            "name": "Netflix, Inc.",
                            "exchange": null,
                            "exchange_long": null,
                            "country": "us",
                            "type": "equity",
                            "industry": "Communication Services",
                            "match_score": 12.652122,
                            "sentiment_score": 0.808867,
                            "highlights": [
                                {
                                    "highlight": "Learn How To Time The Stock Market With IBD's ETF Market Strategy\n\nStock Market Today: Best Stocks To Buy And Watch\n\nIBD Leaderboard stock Datadog (DDOG), Monday.com (MNDY), IBD SwingTrader issue Netflix (NFLX) and Snowflake (SNOW) — along with Dow Jones stocks American Express (AXP), Caterpillar (CAT) and Visa (V) — are among the best stocks to buy",
                                    "sentiment": 0.8555,
                                    "highlighted_in": "main_text"
                                },
                                {
                                    "highlight": "V stock inched lower Wednesday.\n\n4 Top Growth Stocks To Watch In The Stock Market Rally\n\nStocks To Buy And Watch: NFLX Extends Gains\n\nIBD SwingTrader stock Netflix now ranks among the best stocks to buy and watch as it gained another 1.8% Tuesday. The streaming giant broke out past a 482.70 buy point in a cup with handle on Monday.",
                                    "sentiment": 0.8442,
                                    "highlighted_in": "main_text"
                                },
                                {
                                    "highlight": "Company Name Symbol Correct Buy Point Type Of Buy Point Applied Materials (AMAT) 145.86 Alternate entry Caterpillar (CAT) 293.88 Cup base Netflix (NFLX) 482.70 Cup with handle Snowflake (SNOW) 192.66 Cup with handle\n\nSource: IBD Data As Of Dec. 20, 2023\n\nJoin IBD experts as they analyze leading stocks in the current stock market rally on IBD Live\n\nMagnificent",
                                    "sentiment": 0.7269,
                                    "highlighted_in": "main_text"
                                }
                            ]
                        },
                        {
                            "symbol": "^DJI",
                            "name": "Dow Jones Industrial Average",
                            "exchange": null,
                            "exchange_long": null,
                            "country": "us",
                            "type": "index",
                            "industry": "N/A",
                            "match_score": 35.017235,
                            "sentiment_score": 0.4872,
                            "highlights": [
                                {
                                    "highlight": "The S&P 500 and the Dow Jones Industrial Average picked up 0.6% and 0.7%, respectively.\n\nThe Dow marked its fifth-straight record close on Tuesday. That's the first time it's done that since the five days ended Aug. 16, 2021, according to Dow Jones Market Data.",
                                    "sentiment": 0.34,
                                    "highlighted_in": "main_text"
                                },
                                {
                                    "highlight": "Be sure to follow Scott Lehtonen on X, formerly known as Twitter, at @IBD_SLehtonen for more on growth stocks and the Dow Jones Industrial Average.",
                                    "sentiment": 0.6344,
                                    "highlighted_in": "main_text"
                                }
                            ]
                        }
                    ]
                }
            ]
        },
        {
            "uuid": "1d751e37-32de-4867-8327-1154878551ee",
            "title": "Seven tech stocks that can broaden your exposure beyond the “Magnificent Seven”",
            "description": "During the bull market of 2023, the \"Magnificent Seven\" stocks have dominated financial media coverage, and rightly so, but investors might want to gain...",
            "keywords": "article_normal, Computers/Consumer Electronics, Software, Applications Software, Wholesalers, Retail/Wholesale, Motor Vehicle Dealing, Specialty Retailing, Computer Services, Market Research/Public Relations, Public Relations, Rating Agencies, Internet Search Engines, Real Estate Services/Transactions, Health Care, Advertising/Marketing/Public Relations, Business/Consumer Services, Building Materials/Products, Commercial/Industrial Real Estate, Computing, Real Estate/Construction, Data Services, Financial Services, Financial Technology, Online Service Providers, Medical Software, Healthcare Information Technologies, Real Estate, Retail, Specialized Consumer Services, Technology, Analyst Comment/Recommendation, Corporate Funding, Corporate Debt Instruments, Corporate Credit Ratings, Research/Development, Information Technology, Marketing, Corporate Actions, Corporate/Industrial News, Markets/Marketing, Market Research, Political/General News, Personal Finance, Real Estate/Property, Real Estate Listings, Equity Markets, Commodity/Financial Market News, Content Types, Commentary/Opinion, Factiva Filters, C&E Exclusion Filter, C&E Executive News Filter, C&E Industry News Filter, IWE Filter, Routine General News, Verisk Analytics Inc., VRSK, CoStar Group Inc., CSGP, Equifax Inc., EFX, IQVIA Holdings Inc., IQV, Zillow Group Inc. Cl C, Z, SPDR S&P 500 ETF Trust, SPY, Buffalo Mid Cap Fund;Invest, BUFMX, analyst comment, recommendation, corporate funding, corporate debt instruments, corporate credit ratings, research, development, information technology, marketing, corporate actions, corporate, industrial news, markets, market research, political, general news, personal finance, real estate, property, real estate listings, equity markets, commodity, financial market news, content types, commentary, opinion, factiva filters, c&e exclusion filter, c&e executive news filter, c&e industry news filter, iwe filter, routine general news, computers, consumer electronics, software, applications software, wholesalers, retail, wholesale, motor vehicle dealing, specialty retailing, computer services, public relations, rating agencies, internet search engines, real estate services, transactions, health care, advertising, business, consumer services, building materials, products, commercial, industrial real estate, computing, construction, data services, financial services, financial technology, online service providers, medical software, healthcare information technologies, specialized consumer services, technology",
            "snippet": "During the bull market of 2023, the “Magnificent Seven” stocks have dominated financial media coverage, and rightly so. There is no question that this group...",
            "url": "https://www.marketwatch.com/story/seven-tech-stocks-that-can-broaden-your-exposure-beyond-the-magnificent-seven-05f198d2?mod=mw_rss_topstories",
            "image_url": "https://images.mktw.net/im-15783720/social",
            "language": "en",
            "published_at": "2023-12-20T17:11:00.000000Z",
            "source": "marketwatch.com",
            "relevance_score": null,
            "entities": [
                {
                    "symbol": "AMZN",
                    "name": "Amazon.com, Inc.",
                    "exchange": null,
                    "exchange_long": null,
                    "country": "us",
                    "type": "equity",
                    "industry": "Consumer Cyclical",
                    "match_score": 8.500875,
                    "sentiment_score": 0,
                    "highlights": [
                        {
                            "highlight": "MSFT, +0.62% , Amazon.com Inc. AMZN, +0.30% , Nvidia Corp. AMZN, +0.30% , Alphabet Inc. GOOGL, +2.92% GOOG, +2.79% , Tesla Inc. TSLA, -0.58% and Meta Platforms Inc. META, +0.55% — the group makes up 28% of the SPY portfolio.",
                            "sentiment": 0,
                            "highlighted_in": "main_text"
                        }
                    ]
                },
                {
                    "symbol": "TSLA",
                    "name": "Tesla, Inc.",
                    "exchange": null,
                    "exchange_long": null,
                    "country": "us",
                    "type": "equity",
                    "industry": "Consumer Cyclical",
                    "match_score": 7.166572,
                    "sentiment_score": 0.5994,
                    "highlights": [
                        {
                            "highlight": "GOOGL, +2.92% GOOG, +2.79% , Tesla Inc. TSLA, -0.58% and Meta Platforms Inc. META, +0.55% — the group makes up 28% of the SPY portfolio.\n\nIf we weight the Magnificent Seven by their market capitalizations at the end of last year, the group has contributed 58% of this year’s 26% total return for the S&P 500.",
                            "sentiment": 0.5994,
                            "highlighted_in": "main_text"
                        }
                    ]
                }
            ],
            "similar": []
        },
        ...
    ]
}
            
        

Similar News Available on: All plans

Endpoint

            
                GET https://api.stockdata.org/v1/news/similar/uuid HTTP/1.1
            
        

Use this endpoint to find similar stories to a specific article based on its UUID.

HTTP GET Parameters

name required description
api_token true Your API token which can be found on your account dashboard.
symbols false Specify entity symbol(s) which have been identified within the article. Find entity symbols in our entity search endpoint.
Example: symbols=TSLA,AMZN,MSFT
entity_types false Specify the type of entities which have been identified within the article. Find entity types in our entity type metadata endpoint.
Example: entity_types=index,equity
industries false Specify the industries of entities which have been identified within the article. Find entity types in our entity industry metadata endpoint.
Example: industries=Technology,Industrials
countries false Specify the country of the exchange of which entities have been identified within the article. Find countries as part of our entity exchanges metadata endpoint.
Example: countries=us,ca
sentiment_gte false Use this to find all articles with entities with a sentiment_score of greater than or equal to x.
Example: sentiment_gte=0 - this will find all articles which are neutral or positive
sentiment_lte false Use this to find all articles with entities with a sentiment_score of less than or equal to x.
Example: sentiment_lte=0 - this will find all articles which are neutral or negative
filter_entities false By default all entities for each article are returned - by setting this to true, only the relevant entities to your query will be returned with each article. For example, if you set symbols=TSLA and filter_entities=true, only "TSLA" entities will be returned with the articles.
Default: false
must_have_entities false By default all articles are returned, set this to true to ensure that at least one entity has been identified within the article.
Default: false
group_similar false Group similar articles to avoid displaying multiple articles on the same topic/subject.
Default: true
domains false Comma separated list of domains to include. List of domains can be obtained through our Sources endpoint, found further down this page.
Example: adweek.com,adage.com
exclude_domains false Comma separated list of domains to exclude
source_ids false Comma separated list of source_ids to include. List of source_ids can be obtained through our Sources endpoint, found further down this page.
Example: adweek.com-1,adage.com-1
exclude_source_ids false Comma separated list of source_ids to exclude.
language false Comma separated list of languages to include. Default is all.
Click here for a list of supported languages.
Examples: en,es (English + Spanish)
published_before false Find all articles published before the specified date. Supported formats include: Y-m-d\TH:i:s | Y-m-d\TH:i | Y-m-d\TH | Y-m-d | Y-m | Y.
Examples: 2024-11-07T23:21:17 | 2024-11-07T23:21 | 2024-11-07T23 | 2024-11-07 | 2024-11 | 2024
published_after false Find all articles published after the specified date. Supported formats include: Y-m-d\TH:i:s | Y-m-d\TH:i | Y-m-d\TH | Y-m-d | Y-m | Y.
Examples: 2024-11-07T23:21:17 | 2024-11-07T23:21 | 2024-11-07T23 | 2024-11-07 | 2024-11 | 2024
published_on false Find all articles published on the specified date. Supported formats include: Y-m-d.
Examples: 2024-11-07
limit false Specify the number of articles you want to return in the request. The maximum limit is based on your plan. The default limit is the maximum specified for your plan.
page false Use this to paginate through the result set. Default is 1. Note that the max result set can't exceed 20,000. For example if your limit is 50, the max page you can have is 400 (50 * 400 = 20,000).
Example: page=2

Response Objects

name description
meta > found The number of articles found for the request.
meta > returned The number of articles returned on the page. This is useful to determine the end of the result set as if this is lower than limit, there are no more articles after this page.
meta > limit The limit based on the limit parameter.
meta > page The page number based on the page parameter.
data > uuid The unique identifier for an article in our system. Store this and use it to find specific articles using our single article endpoint.
data > title The article title.
data > description The article meta description.
data > keywords The article meta keywords.
data > snippet The first 60 characters of the article body.
data > url The URL to the article.
data > image_url The URL to the article image.
data > language The language of the source.
data > published_at The datetime the article was published.
data > source The domain of the source.
data > relevance_score Relevance score based on the article provided.
data > entities > symbol Symbol of the identified entity.
data > entities > name Name of the identified entity.
data > entities > exchange Exchange identifier of the identified entity.
data > entities > exchange_long Exchange name of the identified entity.
data > entities > country Exchange country of the identified entity.
data > entities > type Type of the identified entity.
data > entities > industry Industry of the identified entity.
data > entities > match_score The overall strength of the matching for the identified entity.
data > entities > sentiment_score Average sentiment of all highlighted text found for the identified entity.
data > entities > highlights > highlight Snippet of text from the article where the entity has been identified.
data > entities > highlights > sentiment The sentiment of the highlighed text.
data > entities > highlights > highlighted_in Where the highlight was found (title | main_text).
data > similar Array of news articles which are very similar to the main article.

If no results are found, the data object will be empty.

Example Request

            
                GET https://api.stockdata.org/v1/news/similar/cc11e3ab-ced0-4a42-9146-e426505e2e67?api_token=YOUR_API_TOKEN&language=en&published_on=2020-12-01
            
        

Example Response

            
                
            {
                "meta": {
                    "found": 222,
                    "returned": 3,
                    "limit": 3,
                    "page": 1
                },
                "data": [
                    {
                        "uuid": "489e4ec4-84a9-4628-966c-95c3741c6dfc",
                        "title": "Bitcoin Drops below $47K: Is BTC in a Bear Market?",
                        "description": "Bitcoin's rally seems to have made a sharp U-turn. Is this a short-lived correction or a longer-term trend?",
                        "keywords": "",
                        "snippet": "The market correction that many crypto analysts have been predicting for weeks seems to have finally arrived. Indeed, crypto markets are seeing red across the ...",
                        "url": "https://www.financemagnates.com/cryptocurrency/news/bitcoin-drops-below-47k-is-btc-in-a-bear-market/",
                        "image_url": "https://www.financemagnates.com/wp-content/uploads/2020/02/bitcoin-tightrope.jpg",
                        "language": "en",
                        "published_at": "2021-02-23T11:00:40.000000Z",
                        "source": "financemagnates.com",
                        "relevance_score": 106.05874,
                        "entities": [ ],
                        "similar": [ ]
                    },
                    {
                        "uuid": "61be555e-3120-44b0-ad13-6f985ea92f63",
                        "title": "Bitcoin ETFs vs Spot BTC",
                        "description": "Bitcoin is now the largest and most well-known cryptocurrency. This cryptocurrency has a market cap of several hundred billion dollars and as a result, has ...",
                        "keywords": "",
                        "snippet": "Bitcoin is now the largest and most well-known cryptocurrency. This cryptocurrency has a market cap of several hundred billion dollars and as a result, has mass...",
                        "url": "https://www.benzinga.com/markets/cryptocurrency/21/02/19808328/bitcoin-etfs-vs-spot-btc",
                        "image_url": "https://cdn.benzinga.com/files/imagecache/og_image_social_share_1200x630/images/story/2012/investing.jpg",
                        "language": "en",
                        "published_at": "2021-02-23T21:11:34.000000Z",
                        "source": "benzinga.com",
                        "relevance_score": 95.900276,
                        "entities": [ ],
                        "similar": [ ]
                    },
                    ...
                ]
            }
        
            
        

News by UUID Available on: All plans

Endpoint

            
                GET https://api.stockdata.org/v1/news/uuid/uuid HTTP/1.1
            
        

Use this endpoint to find specific articles by the UUID which is returned on our search endpoints. This is useful if you wish to store the UUID to return the article later.

HTTP GET Parameters

name required description
api_token true Your API token which can be found on your account dashboard.

Response Objects

name description
uuid The unique identifier for an article in our system. Store this and use it to find specific articles using our single article endpoint.
title The article title.
description The article meta description.
keywords The article meta keywords.
snippet The first 60 characters of the article body.
url The URL to the article.
image_url The URL to the article image.
language The language of the source.
published_at The datetime the article was published.
source The domain of the source.
entities > symbol Symbol of the identified entity.
entities > name Name of the identified entity.
entities > exchange Exchange identifier of the identified entity.
entities > exchange_long Exchange name of the identified entity.
entities > country Exchange country of the identified entity.
entities > type Type of the identified entity.
entities > industry Industry of the identified entity.
entities > match_score The overall strength of the matching for the identified entity.
entities > sentiment_score Average sentiment of all highlighted text found for the identified entity.
entities > highlights > highlight Snippet of text from the article where the entity has been identified.
entities > highlights > sentiment The sentiment of the highlighed text.
entities > highlights > highlighted_in Where the highlight was found (title | main_text).

If no results are found, a resource_not_found error will be returned.

Example Request

            
                GET https://api.stockdata.org/v1/news/uuid/147013d8-6c2c-4d50-8bad-eb3c8b7f5740?api_token=YOUR_API_TOKEN
            
        

Example Response

            
                
            {
                "uuid": "9b9fb67e-9438-4263-815e-ef6a7d36af07",
                "title": "Bitcoin (BTC/USD), Ethereum (ETH/USD) Crushed as Cryptocurrency Market is Overrun by Sellers",
                "description": "The cryptocurrency market has been experiencing wild price swings over the last two days with sellers in complete control as prices slump across the board",
                "keywords": "",
                "snippet": "Bitcoin (BTC/USD) Price, Analysis and Chart: Bullish channel is broken in a two day sell-off...",
                "url": "https://www.dailyfx.com/forex/market_alert/2021/02/23/Bitcoin-BTCUSD-Ethereum-ETHUSD-Crushed-as-Cryptocurrency-Market-is-Overrun-by-Sellers.html",
                "image_url": "https://a.c-dn.net/b/2jPuVf/headline_shutterstock_365875643.jpg",
                "language": "en",
                "published_at": "2021-02-23T10:30:00.000000Z",
                "source": "dailyfx.com",
                "entities": [
                    {
                        "symbol": "BTCUSD",
                        "name": "Bitcoin USD",
                        "exchange": "CC",
                        "exchange_long": "Cryptocurrency",
                        "country": "global",
                        "type": "cryptocurrency",
                        "industry": "N/A",
                        "match_score": 82.04055,
                        "sentiment_score": -0.177075,
                        "highlights": [
                            {
                                "highlight": "Bitcoin (BTC/USD) Price, Analysis and Chart: Bullish channel is broken in a two day sell-off. No specific driver of price action.",
                                "sentiment": -0.6486,
                                "highlighted_in": "main_text"
                            },
                            ...
                        ]
                    },
                    {
                        "symbol": "ETHUSD",
                        "name": "Ethereum USD",
                        "exchange": "CC",
                        "exchange_long": "Cryptocurrency",
                        "country": "global",
                        "type": "cryptocurrency",
                        "industry": "N/A",
                        "match_score": 65.22654,
                        "sentiment_score": -0.4215,
                        "highlights": [
                            {
                                "highlight": "Bitcoin (BTC/USD), Ethereum (ETH/USD) Crushed as Cryptocurrency Market is Overrun by Sellers",
                                "sentiment": -0.4215,
                                "highlighted_in": "title"
                            }
                        ]
                    }
                ]
            }
        
            
        

Market News Analysis

Entity Stats (time series) Available on: Standard and above

Endpoint

            
                GET https://api.stockdata.org/v1/news/stats/intraday HTTP/1.1
            
        

Get an intraday view of how well entities performed over different intervals using this endpoint. Find the best or worst performing entities broken down to every minute, hour, day, week, month, quarter or year. Useful for comparing entities and creating graphs and charts

Adding symbols to the request is not necessary - by default all of the best performing stocks are returned. Filter entities by symbols, exchanges, industries, countries, entity types and more.

HTTP GET Parameters

name required description
api_token true Your API token which can be found on your account dashboard.
interval false The interval of the time series.

Options: minute | hour | day | week | month | quarter | year
Default: day
Example: interval=day

Note: there are restrictions on the maximum time frame for each interval. This is based on the published_before parameter. From the published_before date specified, the maximum time frame that can be retrieved is as following:

minute = 7 days
hour = 1 month
day = 3 years
week = 5 years
month = 5 years
quarter = 10 years
year = 10 years

By default the maximum allowed time frame will be applied. If the time frame is exceeded by the date parameters provided, the default will be applied - no error will be thrown.

For example, if interval=minute and published_before=2021-01-10, the max that can be returned will be back to 2021-01-03. You can specify a published_after value to reduce this time frame if necessary (e.g. published_after=2021-01-08).
group_by false Group results by symbol | exchange | industry | country
Default: symbol
min_doc_count false The minimum number of total_documents an entity should be identified within to be returned with the results.
Example: min_doc_count=10
symbols false Specify entity symbol(s) which have been identified within the article. Find entity symbols in our entity search endpoint.
Example: symbols=TSLA,AMZN,MSFT
entity_types false Specify the type of entities which have been identified within the article. Find entity types in our entity type metadata endpoint.
Example: entity_types=index,equity
industries false Specify the industries of entities which have been identified within the article. Find entity types in our entity industry metadata endpoint.
Example: industries=Technology,Industrials
countries false Specify the country of the exchange of which entities have been identified within the article. Find countries as part of our entity exchanges metadata endpoint.
Example: countries=us,ca
sentiment_avg_gte false Use this to refine results to find all entities with an overall sentiment_avg greater than or equal to x.
Example: sentiment_avg_gte=0 - this will find all entities which are neutral or positive
sentiment_avg_lte false Use this to refine results to find all entities with an overall sentiment_avg less than or equal to x.
Example: sentiment_avg_lte=0 - this will find all entities which are neutral or negative
sentiment_gte false Use this to refine results to find all documents for entities with a sentiment_score greater than or equal to x.
Example: sentiment_gte=0 - this will find all document entities which are neutral or positive
sentiment_lte false Use this to refine results to find all documents for entities with a sentiment_score less than or equal to x.
Example: sentiment_lte=0 - this will find all document entities which are neutral or negative
search false Use the search as a basic search tool by entering regular search terms or it has more advanced usage to build search queries:
+ signifies AND operation
| signifies OR operation
- negates a single token
" wraps a number of tokens to signify a phrase for searching
* at the end of a term signifies a prefix query
( and ) signify precedence
To use one of these characters literally, escape it with a preceding backslash (\).
This searches the full body of the text and the title.

Example: "ipo" -nyse (searches for articles which must include the string "ipo" but articles must NOT mention NYSE.)

For more advanced query examples, see our API Examples section.
domains false Comma separated list of domains to include. List of domains can be obtained through our Sources endpoint, found further down this page.
Example: adweek.com,adage.com
exclude_domains false Comma separated list of domains to exclude
source_ids false Comma separated list of source_ids to include. List of source_ids can be obtained through our Sources endpoint, found further down this page.
Example: adweek.com-1,adage.com-1
exclude_source_ids false Comma separated list of source_ids to exclude.
language false Comma separated list of languages to include. Default is all.
Click here for a list of supported languages.
Examples: en,es (English + Spanish)
published_before false Refine results for articles before the specified date. Supported formats include: Y-m-d\TH:i:s | Y-m-d\TH:i | Y-m-d\TH | Y-m-d | Y-m | Y.
Examples: 2024-11-07T23:21:17 | 2024-11-07T23:21 | 2024-11-07T23 | 2024-11-07 | 2024-11 | 2024
published_after false Refine results for articles published after the specified date. Supported formats include: Y-m-d\TH:i:s | Y-m-d\TH:i | Y-m-d\TH | Y-m-d | Y-m | Y.
Examples: 2024-11-07T23:21:17 | 2024-11-07T23:21 | 2024-11-07T23 | 2024-11-07 | 2024-11 | 2024
published_on false Refine results for articles published on the specified date. Supported formats include: Y-m-d.
Examples: 2024-11-07
sort false Sort by total_documents or sentiment_avg
Default: total_documents
sort_order false Sort order of the sort parameter.
Options: desc | asc
Default: desc
date_order false Ordering of the date keys.
Options: desc | asc
Default: desc
limit false Specify the number of entities you want to return in the request. The maximum limit is based on your plan. The default limit is the maximum specified for your plan.

Response Objects

name description
data > date Date of the time series data.
data > data > key The key based on the group_by parameter. For example, this could be symbol, exchange, industry or country.
data > data > total_documents Total number of documents identified for the key and also based on the query parameters provided.
data > data > sentiment_avg Average sentiment of the key and also based on the query parameters provided.

If no results are found, the data object will be empty.

Example Request

            
                GET https://api.stockdata.org/v1/news/stats/intraday?symbols=TSLA%2CAMZN%2CMSFT&interval=day&published_after=2024-11-06T23%3A21&language=en&api_token=YOUR_API_TOKEN
            
        

Example Response

            
                {
    "data": [
        {
            "date": "2023-12-20T00:00:00.000Z",
            "data": [
                {
                    "key": "TSLA",
                    "total_documents": 40,
                    "sentiment_avg": 0.31920232214033606
                },
                {
                    "key": "MSFT",
                    "total_documents": 36,
                    "sentiment_avg": 0.48552060520483387
                },
                {
                    "key": "AMZN",
                    "total_documents": 24,
                    "sentiment_avg": 0.4618048352810244
                }
            ]
        },
        {
            "date": "2023-12-19T00:00:00.000Z",
            "data": [
                {
                    "key": "TSLA",
                    "total_documents": 15,
                    "sentiment_avg": 0.36700599640607834
                },
                {
                    "key": "AMZN",
                    "total_documents": 10,
                    "sentiment_avg": 0.32552999407052996
                },
                {
                    "key": "MSFT",
                    "total_documents": 10,
                    "sentiment_avg": 0.48831209242343904
                }
            ]
        }
    ]
}
            
        

Entity Stats (aggregation) Available on: Standard and above

Endpoint

            
                GET https://api.stockdata.org/v1/news/stats/aggregation HTTP/1.1
            
        

Similar to the entity stats time series endpoint, this returns an aggregation of entities for a single time frame, rather than being broken down by date. Useful to find the best or worst performing stocks.

HTTP GET Parameters

name required description
api_token true Your API token which can be found on your account dashboard.
group_by false Group results by symbol | exchange | industry | country
Default: symbol
min_doc_count false The minimum number of total_documents an entity should be identified within to be returned with the results.
Example: min_doc_count=10
symbols false Specify entity symbol(s) which have been identified within the article. Find entity symbols in our entity search endpoint.
Example: symbols=TSLA,AMZN,MSFT
entity_types false Specify the type of entities which have been identified within the article. Find entity types in our entity type metadata endpoint.
Example: entity_types=index,equity
industries false Specify the industries of entities which have been identified within the article. Find entity types in our entity industry metadata endpoint.
Example: industries=Technology,Industrials
countries false Specify the country of the exchange of which entities have been identified within the article. Find countries as part of our entity exchanges metadata endpoint.
Example: countries=us,ca
sentiment_avg_gte false Use this to refine results to find all entities with an overall sentiment_avg greater than or equal to x.
Example: sentiment_avg_gte=0 - this will find all entities which are neutral or positive
sentiment_avg_lte false Use this to refine results to find all entities with an overall sentiment_avg less than or equal to x.
Example: sentiment_avg_lte=0 - this will find all entities which are neutral or negative
sentiment_gte false Use this to refine results to find all documents for entities with a sentiment_score greater than or equal to x.
Example: sentiment_gte=0 - this will find all document entities which are neutral or positive
sentiment_lte false Use this to refine results to find all documents for entities with a sentiment_score less than or equal to x.
Example: sentiment_lte=0 - this will find all document entities which are neutral or negative
search false Use the search as a basic search tool by entering regular search terms or it has more advanced usage to build search queries:
+ signifies AND operation
| signifies OR operation
- negates a single token
" wraps a number of tokens to signify a phrase for searching
* at the end of a term signifies a prefix query
( and ) signify precedence
To use one of these characters literally, escape it with a preceding backslash (\).
This searches the full body of the text and the title.

Example: "ipo" -nyse (searches for articles which must include the string "ipo" but articles must NOT mention NYSE.)

For more advanced query examples, see our API Examples section.
domains false Comma separated list of domains to include. List of domains can be obtained through our Sources endpoint, found further down this page.
Example: adweek.com,adage.com
exclude_domains false Comma separated list of domains to exclude
source_ids false Comma separated list of source_ids to include. List of source_ids can be obtained through our Sources endpoint, found further down this page.
Example: adweek.com-1,adage.com-1
exclude_source_ids false Comma separated list of source_ids to exclude.
language false Comma separated list of languages to include. Default is all.
Click here for a list of supported languages.
Examples: en,es (English + Spanish)
published_before false Refine results for articles published before the specified date. Supported formats include: Y-m-d\TH:i:s | Y-m-d\TH:i | Y-m-d\TH | Y-m-d | Y-m | Y.
Examples: 2024-11-07T23:21:17 | 2024-11-07T23:21 | 2024-11-07T23 | 2024-11-07 | 2024-11 | 2024
published_after false Refine results for articles published after the specified date. Supported formats include: Y-m-d\TH:i:s | Y-m-d\TH:i | Y-m-d\TH | Y-m-d | Y-m | Y.
Examples: 2024-11-07T23:21:17 | 2024-11-07T23:21 | 2024-11-07T23 | 2024-11-07 | 2024-11 | 2024
published_on false Refine results for articles published on the specified date. Supported formats include: Y-m-d.
Examples: 2024-11-07
sort false Sort by total_documents or sentiment_avg
Default: total_documents
sort_order false Sort order of the sort parameter.
Options: desc | asc
Default: desc
limit false Specify the number of entities you want to return in the request. The maximum limit is based on your plan. The default limit is the maximum specified for your plan.

Response Objects

name description
meta > returned The number of entities returned.
meta > limit The limit based on the limit parameter.
data > key The key based on the group_by parameter. For example, this could be symbol, exchange, industry or country.
data > total_documents Total number of documents identified for the key and also based on the query parameters provided.
data > sentiment_avg Average sentiment of the key and also based on the query parameters provided.

If no results are found, the data object will be empty.

Example Request

            
                GET https://api.stockdata.org/v1/news/stats/aggregation?symbols=TSLA%2CAMZN%2CMSFT&published_after=2024-11-06T23%3A21&language=en&api_token=YOUR_API_TOKEN
            
        

Example Response

            
                {
    "meta": {
        "returned": 3,
        "limit": 100
    },
    "data": [
        {
            "key": "TSLA",
            "total_documents": 55,
            "sentiment_avg": 0.33223968784917485
        },
        {
            "key": "MSFT",
            "total_documents": 46,
            "sentiment_avg": 0.48612745025235676
        },
        {
            "key": "AMZN",
            "total_documents": 34,
            "sentiment_avg": 0.421723999630879
        }
    ]
}
            
        

Endpoint

            
                GET https://api.stockdata.org/v1/news/stats/trending HTTP/1.1
            
        

Use this endpoint to identify trending entities. Filter by time frame and much more; e.g. find which stocks were trending on a specific day, within the past 24 hours, past 7 days, etc.

HTTP GET Parameters

name required description
api_token true Your API token which can be found on your account dashboard.
group_by false Group results by symbol | exchange | industry | country
Default: symbol
min_doc_count false The minimum number of total_documents an entity should be identified within to be returned with the results.
Example: min_doc_count=10
symbols false Specify entity symbol(s) which have been identified within the article. Find entity symbols in our entity search endpoint.
Example: symbols=TSLA,AMZN,MSFT
entity_types false Specify the type of entities which have been identified within the article. Find entity types in our entity type metadata endpoint.
Example: entity_types=index,equity
industries false Specify the industries of entities which have been identified within the article. Find entity types in our entity industry metadata endpoint.
Example: industries=Technology,Industrials
countries false Specify the country of the exchange of which entities have been identified within the article. Find countries as part of our entity exchanges metadata endpoint.
Example: countries=us,ca
sentiment_avg_gte false Use this to refine results to find all entities with an overall sentiment_avg greater than or equal to x.
Example: sentiment_avg_gte=0 - this will find all entities which are neutral or positive
sentiment_avg_lte false Use this to refine results to find all entities with an overall sentiment_avg less than or equal to x.
Example: sentiment_avg_lte=0 - this will find all entities which are neutral or negative
sentiment_gte false Use this to refine results to find all documents for entities with a sentiment_score greater than or equal to x.
Example: sentiment_gte=0 - this will find all document entities which are neutral or positive
sentiment_lte false Use this to refine results to find all documents for entities with a sentiment_score less than or equal to x.
Example: sentiment_lte=0 - this will find all document entities which are neutral or negative
search false Use the search as a basic search tool by entering regular search terms or it has more advanced usage to build search queries:
+ signifies AND operation
| signifies OR operation
- negates a single token
" wraps a number of tokens to signify a phrase for searching
* at the end of a term signifies a prefix query
( and ) signify precedence
To use one of these characters literally, escape it with a preceding backslash (\).
This searches the full body of the text and the title.

Example: "ipo" -nyse (searches for articles which must include the string "ipo" but articles must NOT mention NYSE.)

For more advanced query examples, see our API Examples section.
domains false Comma separated list of domains to include. List of domains can be obtained through our Sources endpoint, found further down this page.
Example: adweek.com,adage.com
exclude_domains false Comma separated list of domains to exclude
source_ids false Comma separated list of source_ids to include. List of source_ids can be obtained through our Sources endpoint, found further down this page.
Example: adweek.com-1,adage.com-1
exclude_source_ids false Comma separated list of source_ids to exclude.
language false Comma separated list of languages to include. Default is all.
Click here for a list of supported languages.
Examples: en,es (English + Spanish)
published_before false Refine results for articles published before the specified date. Supported formats include: Y-m-d\TH:i:s | Y-m-d\TH:i | Y-m-d\TH | Y-m-d | Y-m | Y.
Examples: 2024-11-07T23:21:17 | 2024-11-07T23:21 | 2024-11-07T23 | 2024-11-07 | 2024-11 | 2024
published_after false Refine results for articles published after the specified date. Supported formats include: Y-m-d\TH:i:s | Y-m-d\TH:i | Y-m-d\TH | Y-m-d | Y-m | Y.
Examples: 2024-11-07T23:21:17 | 2024-11-07T23:21 | 2024-11-07T23 | 2024-11-07 | 2024-11 | 2024
published_on false Refine results for articles published on the specified date. Supported formats include: Y-m-d.
Examples: 2024-11-07
sort false Sort by total_documents or sentiment_avg
Default: total_documents
sort_order false Sort order of the sort parameter.
Options: desc | asc
Default: desc
limit false Specify the number of entities you want to return in the request. The maximum limit is based on your plan. The default limit is the maximum specified for your plan.

Response Objects

name description
meta > returned The number of entities returned.
meta > limit The limit based on the limit parameter.
data > key The key based on the group_by parameter. For example, this could be symbol, exchange, industry or country.
data > total_documents Total number of documents identified for the key and also based on the query parameters provided.
data > sentiment_avg Average sentiment of the key and also based on the query parameters provided.
data > score The relevance score for the trending entity.

If no results are found, the data object will be empty.

Example Request

            
                GET https://api.stockdata.org/v1/news/stats/trending?countries=us%2Cca&min_doc_count=10&published_after=2024-11-06T23%3A21&language=en&api_token=YOUR_API_TOKEN
            
        

Example Response

            
                {
    "meta": {
        "returned": 31,
        "limit": 100
    },
    "data": [
        {
            "key": "SCS",
            "total_documents": 17,
            "sentiment_avg": 0.09388458838357645,
            "score": 7.747434538809275
        },
        {
            "key": "SONY",
            "total_documents": 128,
            "sentiment_avg": 0.3347119796962943,
            "score": 4.811609233429184
        },
        {
            "key": "FDX",
            "total_documents": 36,
            "sentiment_avg": -0.07052503047614461,
            "score": 4.201237651005911
        },
        {
            "key": "WGO",
            "total_documents": 11,
            "sentiment_avg": 0.04215091263706034,
            "score": 2.0968067853937757
        },
        {
            "key": "GIS",
            "total_documents": 20,
            "sentiment_avg": 0.047723403805866836,
            "score": 1.656708482508458
        },
        ...
    ]
}
            
        

Stock Metadata

Endpoint

            
                GET https://api.stockdata.org/v1/entity/search HTTP/1.1
            
        

Use this endpoint to search for entities. Note that the limit is 50 for all requests.

HTTP GET Parameters

name required description
api_token true Your API token which can be found on your account dashboard.
search false Dynamic search function to find entities.
symbols false Enter specific symbols to return.
exchanges false Filter results by specific exchanges. Comma separated list.
types false Filter results by entity types. Comma separated list.
industries false Filter results by industries. Comma separated list.
countries false Filter results by ISO 3166-1 two-letter country code of the exchange. Comma separated list.
page false Use this to paginate through the result set. Default is 1.
Example: page=2

Response Objects

name description
meta > found The number of entities found for the request.
meta > returned The number of entities returned on the page.
meta > limit The limit is 50. This currently can not be changed.
meta > page The page number based on the page parameter.
data > symbol Unique entity symbol (or ticker).
data > name Entity name.
data > type The entity type.
data > industry The entity industry.
data > exchange The exchange identifier.
data > exchange_long The exchange name.
data > mic_code The exchanges ISO 10383 market identifier code.
data > country The ISO 3166-1 two-letter country code of the exchange locale.

If no results are found, the data object will be empty.

Example Request

            
                GET https://api.stockdata.org/v1/entity/search?search=tsla&api_token=YOUR_API_TOKEN
            
        

Example Response

            
                {
    "meta": {
        "found": 1,
        "returned": 1,
        "limit": 50,
        "page": 1
    },
    "data": [
        {
            "symbol": "TSLA",
            "name": "Tesla Inc",
            "type": "equity",
            "industry": null,
            "exchange": null,
            "exchange_long": null,
            "mic_code": null,
            "country": "us"
        }
    ]
}
            
        

Entity Type List Available on: All plans

Endpoint

            
                GET https://api.stockdata.org/v1/entity/type/list HTTP/1.1
            
        

Use this endpoint to return all supported entity types.

HTTP GET Parameters

name required description
api_token true Your API token which can be found on your account dashboard.

Response Objects

name description
data Array of entity types.

If no results are found, the data object will be empty.

Example Request

            
                GET https://api.stockdata.org/v1/entity/type/list?api_token=YOUR_API_TOKEN
            
        

Example Response

            
                {
    "data": [
        "equity",
        "index",
        "etf",
        "mutualfund",
        "currency",
        "cryptocurrency"
    ]
}
            
        

Industry List Available on: All plans

Endpoint

            
                GET https://api.stockdata.org/v1/entity/industry/list HTTP/1.1
            
        

Use this endpoint to return all supported entity industries.

HTTP GET Parameters

name required description
api_token true Your API token which can be found on your account dashboard.

Response Objects

name description
data Array of industries.

If no results are found, the data object will be empty.

Example Request

            
                GET https://api.stockdata.org/v1/entity/industry/list?api_token=YOUR_API_TOKEN
            
        

Example Response

            
                {
    "data": [
        "Technology",
        "Industrials",
        "N/A",
        "Consumer Cyclical",
        "Healthcare",
        "Communication Services",
        "Financial Services",
        "Consumer Defensive",
        "Basic Materials",
        "Real Estate",
        "Energy",
        "Utilities",
        "Financial",
        "Services",
        "Consumer Goods",
        "Industrial Goods"
    ]
}
            
        

News Metadata

Sources Available on: All plans

Endpoint

            
                GET https://api.stockdata.org/v1/news/sources HTTP/1.1
            
        

Use this endpoint to view sources which can be used in other API requests. Note that the limit is 50 for all requests.

HTTP GET Parameters

name required description
api_token true Your API token which can be found on your account dashboard.
distinct_domain false Use this to group distinct domains from sources. This will make source_id null.
Example: distinct_domain=true
language false Comma separated list of languages to include. Default is all.
Click here for a list of supported languages.
Examples: en,es (English + Spanish)
page false Use this to paginate through the result set. Default is 1.
Example: page=2

Response Objects

name description
meta > found The number of sources found for the request.
meta > returned The number of sources returned on the page.
meta > limit The limit is 50. This currently can not be changed.
meta > page The page number based on the page parameter.
data > source_id The unique ID of the source feed. Use this for the source_ids or exclude_source_ids parameters in the news endpoints. There may be many source_ids for each domain, therefore we would generally suggest using the domains filter instead the source_ids filter.
data > domain The domain of the source. You can use this for the domains or exclude_domains parameters in the news endpoints.
data > language The source language.

If no results are found, the data object will be empty.

Example Request

            
                GET https://api.stockdata.org/v1/news/sources?api_token=YOUR_API_TOKEN&language=en
            
        

Example Response

            
                
            {
                "meta": {
                    "found": 5327,
                    "returned": 50,
                    "limit": 50,
                    "page": 1
                },
                "data": [
                    {
                        "source_id": "adweek.com-1",
                        "domain": "adweek.com",
                        "language": "en"
                    },
                    {
                        "source_id": "adage.com-1",
                        "domain": "adage.com",
                        "language": "en"
                    },
                    {
                        "source_id": "avc.com-1",
                        "domain": "avc.com",
                        "language": "en"
                    },
                    ...
                ]
            }
        
            
        

Errors

Errors

If your request was unsuccessful, you will receive a JSON formatted error. Below you will find the potential errors you may encounter when using the API.

Errors

error code HTTP status description
malformed_parameters 400 Validation of parameters failed. The failed parameters are usually shown in the error message.
invalid_api_token 401 Invalid API token.
usage_limit_reached 402 Usage limit of your plan has been reached. Usage limit and remaining requests can be found on the X-UsageLimit-Limit header.
endpoint_access_restricted 403 Access to the endpoint is not available on your current subscription plan.
resource_not_found 404 Resource could not be found.
invalid_api_endpoint 404 API route does not exist.
rate_limit_reached 429 Too many requests in the past 60 seconds. Rate limit and remaining requests can be found on the X-RateLimit-Limit header.
server_error 500 A server error occured.
maintenance_mode 503 The service is currently under maintenance.

Example Error Response

            
                
            {
                "error": {
                    "code": "malformed_parameters",
                    "message": "The published_before parameter(s) are incorrectly formatted."
                }
            }
        
            
        

Examples

API Examples

There are unlimited ways to filter and refine your results with our API, see a few examples below to help you get started.

If you need assistance creating the perfect query, feel free to contact us.

Retrieve all articles which have mentioned AAPL and TSLA, and filter the entities array so ONLY these are displayed with articles

    
        GET https://api.stockdata.org/v1/news/all?symbols=AAPL%2CTSLA&filter_entities=true&api_token=YOUR_API_TOKEN
    

Find all articles with positive entity sentiment in English

    
        GET https://api.stockdata.org/v1/news/all?sentiment_gte=0.1&language=en&api_token=YOUR_API_TOKEN
    

Find all articles with neutral entity sentiment in English

    
        GET https://api.stockdata.org/v1/news/all?sentiment_gte=0&sentiment_lte=0&language=en&api_token=YOUR_API_TOKEN
    

Find all articles with negative entity sentiment in English

    
        GET https://api.stockdata.org/v1/news/all?sentiment_lte=-0.1&language=en&api_token=YOUR_API_TOKEN
    

Get a day-by-day breakdown of top mentioned entities for exchanges in the US for last month (October 2024)

    
        GET https://api.stockdata.org/v1/news/stats/intraday?interval=day&group_by=symbol&countries=us&published_after=2024-10-01T00%3A00&published_before=2024-10-31T23%3A59&api_token=YOUR_API_TOKEN
    

Get an aggregation for the top entities by sentiment yesterday (06 November 2024)

    
        GET https://api.stockdata.org/v1/news/stats/intraday?group_by=symbol&sort=sentiment_avg&sort_order=desc&published_on=2024-11-06&api_token=YOUR_API_TOKEN
    

Code Examples

See our prepared examples below to quickly get started implementing our API into your next project.

PHP

    
        $queryString = http_build_query([
            'api_token' => 'YOUR_API_TOKEN',
            'symbols' => 'AAPL,TSLA',
            'filter_entities' => 'true',
            'limit' => 50,
        ]);

        $ch = curl_init(sprintf('%s?%s', 'https://api.stockdata.org/v1/news/all', $queryString));
        curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);

        $json = curl_exec($ch);

        curl_close($ch);

        $apiResult = json_decode($json, true);

        print_r($apiResult);
    

Python

    
        # Python 3
        import http.client, urllib.parse

        conn = http.client.HTTPSConnection('api.stockdata.org')

        params = urllib.parse.urlencode({
            'api_token': 'YOUR_API_TOKEN',
            'symbols': 'AAPL,TSLA',
            'limit': 50,
            })

        conn.request('GET', '/v1/news/all?{}'.format(params))

        res = conn.getresponse()
        data = res.read()

        print(data.decode('utf-8'))
    

Go

    
        package main

        import (
            "fmt"
            "io/ioutil"
            "net/http"
            "net/url"
        )

        func main() {
            baseURL, _ := url.Parse("https://api.stockdata.org")

            baseURL.Path += "v1/news/all"

            params := url.Values{}
            params.Add("api_token", "YOUR_API_TOKEN")
            params.Add("symbols", "aapl,tsla")
            params.Add("search", "ipo")
            params.Add("limit", "50")

            baseURL.RawQuery = params.Encode()

            req, _ := http.NewRequest("GET", baseURL.String(), nil)

            res, _ := http.DefaultClient.Do(req)

            defer res.Body.Close()

            body, _ := ioutil.ReadAll(res.Body)

            fmt.Println(string(body))
        }
    

JavaScript

    
        var requestOptions = {
            method: 'GET'
        };

        var params = {
            api_token: 'YOUR_API_TOKEN',
            symbols: 'msft,fb',
            limit: '50'
        };

        var esc = encodeURIComponent;
        var query = Object.keys(params)
            .map(function(k) {return esc(k) + '=' + esc(params[k]);})
            .join('&');

        fetch("https://api.stockdata.org/v1/news/all?" + query, requestOptions)
          .then(response => response.text())
          .then(result => console.log(result))
          .catch(error => console.log('error', error));
    

C#

    
        var client = new RestClient("https://api.stockdata.org/v1/news/all");
        client.Timeout = -1;

        var request = new RestRequest(Method.GET);

        request.AddQueryParameter("api_token", "YOUR_API_TOKEN");
        request.AddQueryParameter("symbols", "aapl,amzn");
        request.AddQueryParameter("limit", "50");

        IRestResponse response = client.Execute(request);
        Console.WriteLine(response.Content);
    

Java

    
        OkHttpClient client = new OkHttpClient().newBuilder()
          .build();

        HttpUrl.Builder httpBuilder = HttpUrl.parse("https://api.stockdata.org/v1/news/all").newBuilder();
        httpBuilder.addQueryParameter("api_token", "YOUR_API_TOKEN");
        httpBuilder.addQueryParameter("symbols", "aapl,msft");
        httpBuilder.addQueryParameter("limit", "50");

        Request request = new Request.Builder().url(httpBuilder.build()).build();

        Response response = client.newCall(request).execute();