Companies & Events

Every article can carry tagged companies (each with a role and a relevance) and events (each with a type, direction and importance). This page shows how to filter on them and how to say that several conditions are about the same company or the same event.


The fields

FieldBelongs toValuesExample
rolecompanyacquirer, target, seller, defendant, subject, counterparty, supplier, customer, competitor, mentionedrole:target
relevancecompany0 to 1, compare with >=, >, <=, <relevance:>=0.8
eventTypeeventearnings, guidance, mna, ipo_listing, capital_action, rating_action, management_change, legal, regulatory, bankruptcy_distress, product_partnership, investment_expansion, operational_incident, labor_restructuring, macro, geopoliticseventType:mna
eventDirectioneventpositive, negative, neutral, uncleareventDirection:negative
eventImportanceeventlow, medium, high, critical (ordered)eventImportance:>=high
eventConfidenceevent0 to 1, compare with >=, >, <=, <eventConfidence:>=0.8

The company identity fields ticker, isin and companyId, and the company facts exchange, sector and companyCountry, work on companies and on events. See Fields for all fields, and Companies & Roles and Events for what the values mean.

eventImportance is ordered, so eventImportance:>=high matches high and critical. You never need to know the internal order.


Conditions without a group

Outside curly braces, each condition stands on its own. A condition on a company field matches when any tagged company fits. A condition on an event field matches when any event fits.

ticker:NVDA AND role:subject

This matches an article where NVIDIA is tagged and some company has the role subject. That company can be NVIDIA, but it can also be another one.

ticker:AAPL AND ticker:NVDA

This matches articles that tag both Apple and NVIDIA.

A field that exists on companies and on events (ticker, isin, companyId, exchange, sector, companyCountry) means the tagged company when it stands alone. ticker:NVDA means "NVIDIA is tagged", not "there is an event about NVIDIA".


Correlation groups

Put conditions in curly braces when they must all hold for the same company or the same event.

{ticker:NVDA AND role:subject}

NVIDIA is tagged and NVIDIA itself has the role subject.

{eventType:mna AND eventImportance:>=high}

One event is an M&A event and has importance high or critical.

{eventType:mna AND ticker:NVDA}

There is an M&A event about NVIDIA.

Inside a group you can use AND, OR, NOT, -, round brackets and value lists:

{eventType:earnings AND eventDirection:negative AND ticker:(NVDA OR AMD)}
{ticker:NVDA AND NOT role:mentioned}

Groups combine with the rest of the query like any other condition:

sourceType:newswire AND {eventType:mna AND eventImportance:>=high}
{ticker:NVDA AND role:subject} OR {ticker:AMD AND role:subject}

Round brackets keep their old meaning: they only group. (ticker:NVDA AND role:subject) is the same as the query without brackets.


How a group picks its object

You never write whether a group is about a company or an event. The fields decide:

  1. If every field of the group exists on companies, and some field exists only on companies (such as role or relevance), the group is about one company.
  2. If every field exists on events, and some field exists only on events (such as eventType), the group is about one event.
  3. If every field exists on both (for example {ticker:NVDA} or {ticker:NVDA AND sector:Technology}), the group is about one tagged company.
  4. If the group mixes company-only and event-only fields, it is split into a company part and an event part. This works only when the group contains ticker, isin or companyId. That identity is used in both parts, so both parts are about the same company. See the next section.
  5. If the group mixes company-only and event-only fields and has no ticker, isin or companyId, the query is rejected.

Two more rules:

  • Article fields such as source, country or sentiment are not allowed inside a group. Write them outside.
  • Free text is not allowed inside a group. Write it outside.

Groups that span company and event

{ticker:AMD AND role:acquirer AND eventType:mna}

This group mixes a company-only field (role) and an event-only field (eventType), and it contains a ticker. It is read as:

  • AMD is tagged with the role acquirer, and
  • there is an M&A event about AMD.

Without an identity field the same idea is an error, because the API cannot tell which company the event is about:

{role:acquirer AND eventType:mna}

The error message offers two ways out: add ticker, isin or companyId to the group, or write two separate groups if the link does not matter:

{role:acquirer} AND {eventType:mna}

In a group that is split, join the company part and the event part with AND. An OR between a company-only condition and an event-only condition, such as {ticker:NVDA AND (role:subject OR eventType:mna)}, is rejected. Write two groups instead: {ticker:NVDA AND role:subject} OR {ticker:NVDA AND eventType:mna}.


Negation

Where you put NOT changes the meaning:

QueryMeaning
bitcoin AND NOT {eventType:legal}No event of the article is a legal event
{ticker:NVDA AND NOT role:mentioned}NVIDIA is tagged with a role other than mentioned
{ticker:NVDA AND NOT eventType:legal}There is an event about NVIDIA that is not a legal event
ticker:NVDA AND NOT {ticker:NVDA AND eventType:legal}NVIDIA is tagged, and there is no legal event about NVIDIA
ticker:NVDA AND {NOT eventType:macro}NVIDIA is tagged, and the article has at least one event that is not macro
ticker:NVDA AND NOT eventType:*NVIDIA is tagged and the article has no event at all

A group with ticker and an event field, but no company-only field, is about one event (rule 2). That is why {ticker:NVDA AND NOT eventType:legal} still needs an event about NVIDIA. In a group that is split (rule 4), a negated event condition excludes the whole event part instead. {ticker:AMD AND role:acquirer AND NOT eventType:mna} means "AMD is the acquirer, and there is no M&A event about AMD".

A query still needs one condition that is not negated. NOT {eventType:legal} alone is rejected.


Limits of event conditions

  • Only known companies. An event lists the companies finlight could identify. Private or unknown companies (for example a private startup that is being bought) have no ticker, so {eventType:mna AND ticker:...} never finds them through that company.
  • Company facts on an event are not paired. Inside an event group, ticker, exchange, sector and companyCountry each look at all companies of the event. {eventType:mna AND exchange:XNAS AND ticker:NVDA} matches an M&A event about NVIDIA that also involves some NASDAQ-listed company. That company does not have to be NVIDIA.
  • No role inside an event. Roles belong to the company in the article, not to the event. {ticker:NVDA AND role:target AND eventType:mna} means "NVIDIA is tagged as target, and there is an M&A event about NVIDIA". In almost all articles that is the same as "NVIDIA is the target of this deal", but it is not guaranteed.
  • Older articles. Roles, events and the company facts on events exist only for articles tagged or indexed after these features were introduced. See Coverage of newer fields.

REST search also has flat request fields for the most common cases. They are easier to build in code, and they are linked like groups:

Request fieldsLinked on
tickers, roles, minRelevancethe same tagged company
eventTypes, eventDirections, minImportancethe same event
sectors, companyCountries, exchangesthe same event when any event field above is set, otherwise the same company as tickers

Things to know:

  • The flat filters and the query are combined with AND.
  • The flat tickers field is not linked to the flat event fields. tickers: ["NVDA"] with eventTypes: ["mna"] means "NVIDIA is tagged and there is some M&A event". For an M&A event about NVIDIA, write {eventType:mna AND ticker:NVDA} in the query.
  • A flat filter and a group in the query are separate conditions. They are not linked to each other.
  • Use the query when you need OR between different fields, brackets, or several groups.
  • WebSocket subscriptions and webhook criteria have no flat role or event fields. Use the query there.

Filtering versus receiving

Filtering on companies and events is free on every plan. What you receive depends on include and on your plan:

  • The companies block needs include: ["companies"] and company access on your plan.
  • The events block needs include: ["events"] and event access, which comes with Pro Standard and every higher plan.

So the Launchpad (free) plan can search {eventType:mna AND ticker:NVDA} and gets the matching articles, but without the events block. Details are on Plans & Entitlements.


Example

Find articles where AMD is the acquirer in an M&A deal, with the companies and events in the response.

{ticker:AMD AND role:acquirer AND eventType:mna}

The response shows AMD with role: "acquirer" and an mna event that lists AMD's companyId.

Request

POST
/v3/articles/search
curl -X POST 'https://api.finlight.me/v3/articles/search' \
  -H 'Content-Type: application/json' \
  -H 'X-API-KEY: YOUR_API_KEY' \
  -d '{
    "query": "{ticker:AMD AND role:acquirer AND eventType:mna}",
    "include": ["companies", "events"],
    "limit": 5
  }'

Response (shortened)

{
  "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",
      "publishedAt": "2026-09-18T12:01:03.000Z",
      "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
        }
      ],
      "events": [
        {
          "type": "mna",
          "direction": "positive",
          "importance": "high",
          "confidence": 0.9,
          "companyIds": [13]
        }
      ]
    }
  ],
  "pagination": { "limit": 5, "returned": 1, "hasMore": false, "nextCursor": null }
}