Search articles
Search all finlight articles with one request. Combine a query with filters for sources, source types, tickers, company roles, events and dates. Choose with include which blocks each article carries, and page through the results with a cursor.
Search articles
Send a JSON body. Every field is optional. An empty body {} returns the newest English articles from your default sources (plus any custom sources granted to you), 20 per page.
Each request costs 1 credit, and so does every further page. See Rate limits & credits.
Query and sources
- Name
query- Type
- string
- Description
Search query in the query language: words, phrases,
AND/OR/NOTand fields liketicker:NVDAoreventType:mna. An unknown field name gives400. Free text that contains a colon must be in quotes.
- Name
sources- Type
- string[]
- Description
Only articles from these sources, given as domains (for example
www.reuters.com). The domains are listed byGET /v3/sources. Cannot be combined withoptInSources.
- Name
optInSources- Type
- string[]
- Description
Sources to add on top of your default sources. Use this for sources that are not in the default set. Every plan can add them. Cannot be combined with
sources.
- Name
excludeSources- Type
- string[]
- Description
Sources (domains) to leave out.
- Name
sourceTypes- Type
- string[]
- Description
Only articles whose source has one of these source types:
newswire,press_release,financial_media,general_media,aggregator,blog,government. Articles from sources without a type never match.
- Name
excludeSourceTypes- Type
- string[]
- Description
Leave out articles whose source has one of these types. Same values as
sourceTypes. Articles from sources without a type are kept.
Dates and languages
- Name
from- Type
- string
- Description
Start of the date range, inclusive. A date (
2026-09-01) or an ISO 8601 time (2026-09-01T00:00:00.000Z). It applies to the timestamp chosen withorderBy.
- Name
to- Type
- string
- Description
End of the date range, inclusive. Same format as
from. A date without a time means 00:00:00.000 UTC, so"to": "2026-09-30"ends at the start of that day. To include the whole day, send2026-09-30T23:59:59.999Z. Default: now.
- Name
languages- Type
- string[]
- Description
Article languages as ISO 639-1 codes. Default:
["en"], which returns English only. Must not be empty:[]gives400.
Article filters
- Name
tickers- Type
- string[]
- Description
Articles tagged with one of these companies. Accepts
SYMBOL,SYMBOL@MICand vendor notations like000660.KSorNASDAQ:AAPL. See Tickers & exchanges.
- Name
countries- Type
- string[]
- Description
The countries the story is about, as ISO 3166-1 alpha-2 codes. This is not where a company is based (use
companyCountriesfor that). Send the codes in upper case (US). A lower-case code is accepted but matches no article. A value that is not a country code gives400.
- Name
categories- Type
- string[]
- Description
Article categories, for example
markets,economyortechnology. The list of categories can grow. Values are lower case and must match exactly.
Company filters
- Name
roles- Type
- string[]
- Description
The role a tagged company has in the story:
acquirer,target,seller,defendant,subject,counterparty,supplier,customer,competitor,mentioned. Applies to the same company astickersandminRelevance.
- Name
minRelevance- Type
- number
- Description
Minimum relevance of a tagged company, from
0to1. Relevance says how much the article is about the company. Applies to the same company astickersandroles.
- Name
sectors- Type
- string[]
- Description
Sector of the company, as in
sectorof the company record, for exampleTechnology. The value must match exactly, including upper and lower case.
- Name
companyCountries- Type
- string[]
- Description
Country where the company is based, as ISO 3166-1 alpha-2 codes in upper case (
US).
- Name
exchanges- Type
- string[]
- Description
Exchange of the company's primary listing, as a MIC (for example
XNAS).
sectors, companyCountries and exchanges describe the companies in an event when you also set an event filter. Otherwise they describe the tagged company. See How filters combine.
Event filters
- Name
eventTypes- Type
- string[]
- Description
Event types:
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.
- Name
eventDirections- Type
- string[]
- Description
Expected direction of the event:
positive,negative,neutral,unclear.
- Name
minImportance- Type
- string
- Description
Minimum importance of the event:
low,medium,highorcritical. The values are ordered, sohighmatcheshighandcritical.
Sorting, paging and blocks
- Name
orderBy- Type
- string
- Description
The timestamp to sort by and to apply
from/toto:publishedAt,firstSeenAt,revisedAtoravailableAt. Default:publishedAt. See Dates and sorting.
- Name
order- Type
- string
- Description
desc(newest first, the default) orasc. Lowercase only.
- Name
limit- Type
- integer
- Description
Articles per page, from 1 to 100. Default: 20.
- Name
cursor- Type
- string
- Description
pagination.nextCursorfrom the previous page. Leave it out on the first page. See Pagination.
- Name
include- Type
- string[]
- Description
Extra blocks to add to each article:
companies,events. Do not repeat a value. Default: none. See Choosing blocks with include.
Request
curl -X POST 'https://api.finlight.me/v3/articles/search' \
-H 'Content-Type: application/json' \
-H 'X-API-KEY: YOUR_API_KEY' \
-d '{
"tickers": ["AMD"],
"roles": ["acquirer"],
"eventTypes": ["mna"],
"minImportance": "high",
"sourceTypes": ["newswire", "financial_media"],
"from": "2026-09-01",
"include": ["companies", "events"],
"limit": 10
}'
Response
{
"articles": [
{
"id": "pXhK9f2aQ1mZ0bT7cY3rLw",
"link": "https://www.reuters.com/markets/amd-zt-systems",
"source": { "domain": "www.reuters.com", "type": "newswire" },
"title": "AMD to buy ZT Systems",
"summary": "AMD agreed to buy server maker ZT Systems ...",
"language": "en",
"media": [{ "url": "https://www.reuters.com/resizer/lead.jpg" }],
"publishedAt": "2026-09-18T12:01:03.000Z",
"firstSeenAt": "2026-09-18T12:01:41.000Z",
"revisedAt": null,
"availableAt": "2026-09-18T12:03:05.000Z",
"countries": ["US"],
"categories": ["markets"],
"sentiment": { "label": "positive", "confidence": 0.98 },
"companies": [
{
"companyId": 13,
"name": "Advanced Micro Devices, Inc.",
"isin": "US0079031078",
"primaryListing": { "ticker": "AMD", "mic": "XNAS", "country": "US" },
"confidence": 0.97,
"role": "acquirer",
"relevance": 0.95
},
{
"companyId": 90412,
"name": "ZT Systems",
"isin": null,
"primaryListing": null,
"confidence": 0.88,
"role": "target",
"relevance": 0.9
}
],
"events": [
{
"type": "mna",
"direction": "positive",
"importance": "high",
"confidence": 0.9,
"companyIds": [13, 90412]
}
]
}
],
"pagination": {
"limit": 10,
"returned": 1,
"hasMore": false,
"nextCursor": null
}
}
Response
A successful search returns 200 with two keys.
- Name
articles- Type
- Article[]
- Description
The articles of this page, in the requested order. Each one is an article object. Can be
[].
- Name
pagination.limit- Type
- integer
- Description
The page size that was used (your
limit, or 20).
- Name
pagination.returned- Type
- integer
- Description
How many articles this page contains.
- Name
pagination.hasMore- Type
- boolean
- Description
truewhen there is another page.
- Name
pagination.nextCursor- Type
- string | null
- Description
Send this value as
cursorto get the next page.nullon the last page.
There is no total count. To get all results, follow nextCursor until hasMore is false. See Pagination.
pagination
{
"limit": 20,
"returned": 20,
"hasMore": true,
"nextCursor": "eyJ2IjoxLCJrIjpbMTc5NTU0MjQzNjAwMCwi..."
}
Choosing blocks with include
Each article always has the same basic fields: id, link, source, title, summary, language, media, the timestamps, countries and categories. The larger blocks are added only when you ask for them:
include value | Adds | Also needs on your plan |
|---|---|---|
companies | companies, the tagged companies with role and relevance | entityAccess |
events | events, the classified events | eventAccess (Pro Standard and higher) |
sentiment needs no include. It is added whenever your plan has sentimentAnalysisAccess.
If your plan does not cover a block, the key is left out of the article. You do not get an error. events[].companyIds appears only when companies is in the same response. The full rules for absent keys, null and [] are on Plans & entitlements.
You can change include from one page to the next. It does not change which articles match.
How filters combine
All filters are combined with AND. Inside one list, values are combined with OR: "eventTypes": ["earnings", "guidance"] matches either type.
Some filters must hold for the same company or the same event:
- Company filters:
tickers,rolesandminRelevancemust all match one tagged company.{"tickers": ["AMD"], "roles": ["acquirer"]}finds articles where AMD is the acquirer, not articles that mention AMD and some other acquirer. - Event filters:
eventTypes,eventDirectionsandminImportancemust all match one event.{"eventTypes": ["earnings"], "eventDirections": ["negative"]}finds a negative earnings event, not an article with any earnings event and some other negative event. sectors,companyCountriesandexchangesjoin the event filters when you set at least one event filter. They then describe the companies in that event. Without an event filter they join the company filters.
The company filters and the event filters are not tied to each other. {"tickers": ["NVDA"], "eventTypes": ["earnings"]} matches an article that tags NVIDIA and has an earnings event, even if the earnings event is about another company. To require that the event is about NVIDIA, use a group in the query instead, as in {ticker:NVDA eventType:earnings}. See Companies & events. Company fields inside an event group exist only on articles indexed after the v3 rollout, so such a group misses older articles. See Coverage of newer fields.
The query and the filters are also combined with AND. Use the filters for simple cases, and the query language when you need OR across fields, groups or comparisons.
Dates and sorting
orderBy picks one of four timestamps. The same timestamp is used to sort and to apply from and to.
orderBy | Meaning |
|---|---|
publishedAt | When the source says it published the article. Some sources publish with dates in the past. Default. |
firstSeenAt | When finlight first saw the article. |
revisedAt | When the source last revised the article. An article that was never revised is sorted and filtered by its publishedAt here, and still shows revisedAt: null. |
availableAt | When the article became available with all its enrichment. Use this to fetch new articles in the order they arrived. |
Things to know:
- An article that does not have the chosen timestamp never appears. For example,
orderBy: "availableAt"returns only articles indexed afteravailableAtwas introduced, even with an oldfrom. - Results are always sorted by time. There is no sort by relevance.
todefaults to now. When you page, do not compute a newtofor each page. See Pagination.
Sources and source types
- Without source fields, you search your default sources and the custom sources granted to you.
sourceslimits the search to the domains you list.optInSourcesadds sources that are not in your default set. Every plan can do that. Non-default sources are simply the less common ones.- An
optInSources:condition in thequerydoes the same as theoptInSourcesfield, for exampleoptInSources:www.example.com AND ticker:AMD. See Sources in the query. sourcesandoptInSourcescannot be used together. That gives400on the fieldoptInSources. Asource:condition in thequerycounts as a source filter too, so it cannot be combined with thesourcesfield or withoptInSources.- An
optInSources:condition in thequerynever causes this error. Next tosourcesor asource:condition it has no effect, because the source filter decides. Next to theoptInSourcesfield, both lists are used. excludeSourcesremoves domains.sourceTypesandexcludeSourceTypesfilter by the type of the source. They only narrow the sources you already search. They never add a source.- An article's source type is
source.type. It isnullwhen the source has no type yet. Such articles never matchsourceTypesand are kept byexcludeSourceTypes.
Custom sources are searched only for subscriptions they were granted to. Without a grant, no source field and no query condition returns their articles, not even sources with that domain or a source: condition. The request still answers 200. GET /v3/sources lists all domains you can use, with their type, and explains the three kinds of sources.
Languages
languages defaults to ["en"]. To search more languages, list them all, for example ["en", "de", "ja"]. The codes are matched without regard to case, so "DE" means German. For Chinese and English a region or script suffix is ignored too: "zh-Hant", "zh-TW" and "ZH" all mean Chinese, "en-US" means English. For every other language send the plain two-letter code: "de-AT" matches nothing.
When you search a Chinese language, the query text is converted to Simplified Chinese, so a query in Traditional characters also finds matches.
What your plan changes
- Filters are never limited by plan. Every plan can use every filter, including
rolesandeventTypes. - Blocks are limited by plan. Your plan decides whether articles carry
sentiment,companiesandevents. See Choosing blocks with include. - The date range is limited by plan, without an error. If your plan covers a shorter history or has a delay,
fromandtoare moved into the allowed window. You get fewer results, not an error.
Plans and their features are on Plans & entitlements and finlight.me/pricing.
Errors
Errors are application/problem+json. Branch on code.
| Status | code | Typical cause |
|---|---|---|
| 400 | VALIDATION_FAILED | A value outside its list, limit outside 1 to 100, languages: [], an unknown field in query, or sources together with optInSources. errors[] names the field. |
| 400 | CURSOR_INVALID | The cursor is not a cursor from this API. |
| 400 | CURSOR_MISMATCH | The sort or the filters changed between pages. |
| 401 | UNAUTHORIZED | Missing or wrong API key. |
| 429 | RATE_LIMITED | Burst limit or monthly quota reached. Check limitType. |
| 500 | INTERNAL_ERROR | Something went wrong on our side. Send the requestId to support. |
For fields with a fixed list of values, the error names the allowed values in allowedValues.
Response (400)
{
"type": "https://docs.finlight.me/errors/validation-failed",
"title": "Validation failed",
"status": 400,
"detail": "1 request field is not valid.",
"code": "VALIDATION_FAILED",
"requestId": "req_d908ff56-2328-4643-a530-ae56b4718f76",
"errors": [
{
"field": "eventTypes",
"issue": "each value in eventTypes must be one of the following values: 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",
"allowedValues": [
"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"
]
}
]
}