POST /v1/articles/search
News search with the query language. Minimum plan: finnstream Free. Cursor pagination; the period and is echoed back. On a plan with newsData, without sources the search covers the default sources only (isDefault in GET /sources) plus those in optInSources; other plans search every source they may see. The same holds for source: in the query: source:x for a source that is not a default one finds nothing unless optInSources names it. optInSources, sourceTypes, excludeSourceTypes, sectors, companyCountries, exchanges, a list in language and orderBy firstSeenAt or availableAt need a news plan (newsData); roles and minRelevance need finnstream Pro or finnstream Pro Max (companyRoles), and so do the event filters (articleEvents); other plans get 403 forbidden_plan. Without those features the articles lack sourceType, firstSeenAt, availableAt, role, relevance and events; on a news plan the warning plan_feature_omitted names the missing feature.
Request body
| Field | Type | Description |
|---|---|---|
query | string | The query language. |
sources | string[] | Only these sources, default or not; ["*"] is every source. Not together with optInSources. A value is a source id as GET /sources lists it (news:cnbc.com/top) or a bare domain (cnbc.com, also www.cnbc.com), which stands for every news source on that domain. A value that matches no source answers 400 invalid_request with the parameter, and so do more than 50 values. |
excludeSources | string[] | Leaves these sources out. A value is a source id as GET /sources lists it (news:cnbc.com/top) or a bare domain (cnbc.com, also www.cnbc.com), which stands for every news source on that domain. A value that matches no source answers 400 invalid_request with the parameter, and so do more than 50 values. |
optInSources | string[] | Sources that are not default ones, searched in addition to the default sources. Not together with sources (400 invalid_request). News plans only (newsData); other plans get 403 forbidden_plan.A value is a source id as GET /sources lists it (news:cnbc.com/top) or a bare domain (cnbc.com, also www.cnbc.com), which stands for every news source on that domain. A value that matches no source answers 400 invalid_request with the parameter, and so do more than 50 values. |
sourceTypes | string[] | Only sources of these outlet types. News plans only (newsData); other plans get 403 forbidden_plan. One of: newswire, press_release, financial_media, general_media, aggregator, blog, government. |
excludeSourceTypes | string[] | Leaves sources of these outlet types out. News plans only (newsData); other plans get 403 forbidden_plan. One of: newswire, press_release, financial_media, general_media, aggregator, blog, government. |
tickers | string[] | Notations, at most 50 after deduplication. |
roles | string[] | finnstream Pro and finnstream Pro Max only (companyRoles). A company's part in the article (acquirer, target, seller, defendant, subject, counterparty, supplier, customer, competitor, mentioned; an open list, an unknown role matches nothing). The company filters (roles, minRelevance, sectors, companyCountries, exchanges and tickers) must all hold for the same company of an article. |
minRelevance | number | finnstream Pro and finnstream Pro Max only (companyRoles). How central the company is to the article. |
sectors | string[] | News plans only (newsData); other plans get 403 forbidden_plan. |
companyCountries | string[] | ISO 3166-1 alpha-2 codes of the companies, not of the sources. News plans only (newsData); other plans get 403 forbidden_plan. |
exchanges | string[] | MICs of a current listing of the company (XNAS). News plans only (newsData); other plans get 403 forbidden_plan. |
eventTypes | string[] | finnstream Pro and finnstream Pro Max only (articleEvents). Articles that report one of these events. One of: earnings, guidance, mna, ipo_listing, capital_action, rating_action, management_change, legal, regulatory, bankruptcy_distress, product_partnership, investment_expansion, operational_incident, labor_restructuring, macro, geopolitics. |
eventDirections | string[] | finnstream Pro and finnstream Pro Max only (articleEvents). One of: positive, negative, neutral, unclear. |
minImportance | string | finnstream Pro and finnstream Pro Max only (articleEvents). This importance of an event or higher. One of: low, medium, high, critical. |
countries | string[] | |
categories | string[] | |
sentiment | string | One of: positive, neutral, negative. |
language | object | ISO 639-1, a list of them, or * for every language. A list needs a news plan (newsData). |
from | string | |
to | string | |
orderBy | string | firstSeenAt and availableAt need a news plan (newsData). One of: publishDate, createdAt, revisedDate, firstSeenAt, availableAt. |
order | string | One of: ASC, DESC. |
pageSize | integer | |
cursor | string | From nextCursor of the previous page, with the same orderBy and order; under another order it is 400 invalid_request. A cursor issued before the order was part of it is accepted for publishDate DESC only. |
includeEntities | boolean | false leaves companies out of every article. |
Response
GET /v1/articles/{id}
One article. Minimum plan: finnstream Free. Entities are included; the logo is null on the news plans.
Parameters
| Name | In | Type | Description |
|---|---|---|---|
id required | path | string |
Response
GET /v1/articles/by-link
One article by its url. Minimum plan: finnstream Free. Any url that resolved to the article matches, including a syndicated copy. Tracking parameters are ignored. A link that is no http(s) url is invalid_request.
Parameters
| Name | In | Type | Description |
|---|---|---|---|
link required | query | string |
Response
GET /v1/companies
Company search and batch lookup. Minimum plan: finnstream Free (the companies feature; news plans only, 403 forbidden_plan on the others). Exactly one of q and ids. q finds up to 10 companies by ticker, notation (XNAS:AAPL, NASDAQ:AAPL, 000660.KS), ISIN, name or alias, best first; ids returns the companies of up to 10 ids in that order and skips unknown ones. Master data only: no sentiment, and no role or relevance (those exist only inside an article).
Parameters
| Name | In | Type | Description |
|---|---|---|---|
q | query | string | 1 to 200 characters. |
ids | query | string | Comma-separated company ids, 1 to 10. |
mic | query | string | With q only: an exchange MIC or prefix (XNAS, NASDAQ). Keeps the companies with a current listing there. It narrows the 50 best hits of a name search, so a company further down that list is not found. |
Response
GET /v1/companies/{id}
One company. Minimum plan: finnstream Free (the companies feature; news plans only, 403 forbidden_plan on the others).
Parameters
| Name | In | Type | Description |
|---|---|---|---|
id required | path | string |
Response
GET /v1/sources
Every source with its provenance. Minimum plan: finnstream Free. type is the outlet type (newswire, financial_media, ...). A news source we read from its sitemap or listing pages has provider: news.page and acquisition: self_scraped. isDefault says whether POST /articles/search covers the source without sources; the others need optInSources. type and the news-only sources are listed to plans with newsData only.
Response
Schemas
The objects the endpoints above return.
ArticleSearchResponse
Article
| Field | Type | Description |
|---|---|---|
id required | string | |
eventId required | string | |
link required | string | |
source required | string | |
sourceTier required | string | One of: regulatory, pressrelease, centralbank, headline, social, market. |
sourceType | string | null | The outlet type of the source: newswire, press_release, financial_media, general_media, aggregator, blog, government. Null where it is not set. News plans only (newsData); absent on the other plans. |
title required | string | |
summary required | string | null | |
publishDate required | string | |
createdAt required | string | |
firstSeenAt | string | When a collector first fetched the article; equal to createdAt for articles collected before this was kept. Not the firstSeenAt of GET /clusters/{id}, which is the earliest publishDate of the story. News plans only (newsData); absent on the other plans. |
availableAt | string | When the article became available through the API, after enrichment. News plans only (newsData); absent on the other plans. |
revisedDate required | string | null | |
isUpdate required | boolean | |
language required | string | |
categories required | string[] | |
countries required | string[] | |
sentiment required | string | null | One of: positive, neutral, negative. |
sentimentScore required | number | null | |
confidence required | number | null | |
images required | string[] | |
clusterId required | string | null | |
filingItems required | string[] | null | |
filingEvent required | string | null | |
events | object[] | finnstream Pro and finnstream Pro Max only (articleEvents). What the article reports, at most two events, the main one first. An empty list means none was found. Absent on the other plans (on finnstream Free the warning plan_feature_omitted names articleEvents) and for an article that was never checked. |
companies | Company[] |
Company
| Field | Type | Description |
|---|---|---|
companyId required | string | |
groupId required | string | |
name required | string | |
ticker required | string | |
exchange required | string | |
isin required | string | null | |
isins required | string[] | |
openfigi required | string | null | |
country required | string | null | |
sector required | string | null | |
industry required | string | null | |
confidence required | number | |
primaryListing required | object | |
otherListings required | object[] | |
logo required | Logo | null | |
brandColors required | object | |
sentiment | string | null | One of: positive, neutral, negative. |
sentimentScore | number | null | |
sentimentConfidence | number | null | |
role | string | null | Only on a company inside an article, on finnstream Pro and finnstream Pro Max (companyRoles): the company's part in the article (acquirer, target, seller, defendant, subject, counterparty, supplier, customer, competitor, mentioned; the list may grow). Null where none was given. Absent everywhere else and on the other plans (on finnstream Free the warning plan_feature_omitted names companyRoles). |
relevance | number | null | Only on a company inside an article, on finnstream Pro and finnstream Pro Max (companyRoles): how central the company is to the article, 0 to 1. Null where none was given. Absent everywhere else and on the other plans. |
Logo
| Field | Type | Description |
|---|---|---|
url required | string | |
format required | string | One of: svg, png. |
expiresAt required | string |
Period
| Field | Type | Description |
|---|---|---|
from required | string | |
to required | string | |
days required | integer | |
window required | string | null | One of: 1h, 4h, 24h. |
isLive required | boolean | |
visibleUntil | string |
Warning
| Field | Type | Description |
|---|---|---|
code required | string | One of: unknown_ticker, plan_feature_omitted, ambiguous_ticker, former_ticker, unknown_isin, unknown_openfigi, unknown_exchange, period_adjusted, period_clamped, superseded_isin, grouped. |
value required | string |
ArticleResponse
CompaniesResponse
| Field | Type | Description |
|---|---|---|
companies required | object[] |
CompanyResponse
| Field | Type | Description |
|---|---|---|
company required | object |
SourcesResponse
| Field | Type | Description |
|---|---|---|
sources required | Source[] |
Source
| Field | Type | Description |
|---|---|---|
id required | string | |
platform required | string | |
domain required | string | null | |
displayName required | string | |
originCountry required | string | null | |
languages required | string[] | |
tier required | string | One of: regulatory, pressrelease, centralbank, headline, social, market. |
isDefault required | boolean | |
type | string | null | The outlet type: newswire, press_release, financial_media, general_media, aggregator, blog, government. Null where it is not set. Absent on a plan without newsData. |
provider required | string | null | |
acquisition required | string | null | One of: official, open_protocol, public_feed, third_party, self_scraped. |