Raw Stream
The raw stream sends each article as soon as finlight has read it, before sentiment, company tagging and event detection run. You get the article skeleton earlier, but without the enriched blocks.
When to use the raw stream
Use the raw stream when you need the headline as early as possible and do your own analysis. Use the enriched stream when you need sentiment, companies or events, or when you filter on them.
Both streams share the same connection rules, the same control frames and the same connection limit. See Connect and Frames.
Subscribe to the raw stream
Connect to wss://wss.finlight.me/raw and send a subscribe message with "payloadVersion": 3. The raw stream accepts only these fields:
- Name
payloadVersion- Type
- number
- Description
Must be
3. Anything else means a v2 subscribe.
- Name
query- Type
- string
- Description
A search query. See Query syntax. Company and event fields cannot match here, because raw articles are not enriched yet.
- Name
sources- Type
- string[]
- Description
Only articles from these source domains. Together with a
query, a source that is neither a default source nor a custom source granted to you is delivered only when the query names it withsource:. A custom source that was not granted to you is never delivered, even when the query names it. See Which sources you can use.
- Name
excludeSources- Type
- string[]
- Description
Source domains to leave out.
- Name
sourceTypes- Type
- string[]
- Description
Only articles whose source has one of these types. Same values and rules as on the enriched stream. See Source types.
- Name
excludeSourceTypes- Type
- string[]
- Description
Leave out articles whose source has one of these types. Articles from unclassified sources are kept.
- Name
language- Type
- string
- Description
One language as an ISO 639-1 code. Default
en.
- Name
includeUpdates- Type
- boolean
- Description
Also send
article.updatedwhen the title or summary changes. Defaultfalse.
- Name
clientNonce- Type
- string
- Description
Echoed in
connection.admitted.
Other fields are ignored without an error. This includes tickers, countries, categories and optInSources: they do not filter on the raw stream.
Do not send include. Any value in it, also a valid enriched value such as companies, is rejected with VALIDATION_FAILED and the connection is closed. An empty list [] is accepted.
Raw stream
{
"payloadVersion": 3,
"sourceTypes": ["newswire", "press_release"],
"language": "en",
"includeUpdates": true,
"clientNonce": "raw-1"
}
What a raw frame contains
Raw frames use the same article.created and article.updated frames as the enriched stream. The article in data is the skeleton:
- Always present:
id,link,source,title,summary,language,media,publishedAt,firstSeenAt,revisedAt,availableAt,countries,categories. availableAtis alwaysnull, because it marks the moment the enriched article became available.- Never present:
sentiment,companiesandevents. The keys are absent, notnull. source.typeis filled in as on the enriched stream.
The id is the same as in the enriched stream, REST and webhooks. Use it to join a raw article with its enriched version later.
Raw article.created
{
"event": "article.created",
"payloadVersion": 3,
"data": {
"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://img.example.com/fixtures/lead.jpg" }],
"publishedAt": "2026-09-18T12:01:03.000Z",
"firstSeenAt": "2026-09-18T12:01:41.000Z",
"revisedAt": null,
"availableAt": null,
"countries": ["US"],
"categories": ["markets"]
}
}
Differences from the enriched stream
| Enriched | Raw | |
|---|---|---|
| URL | wss://wss.finlight.me | wss://wss.finlight.me/raw |
| Initial push after subscribe | Yes, the newest matching article | No |
include | companies, events | Not allowed |
sentiment | With the plan entitlement | Never |
availableAt | Set, or null for old articles | Always null |
| Flat filters | All subscribe fields | sources, excludeSources, sourceTypes, excludeSourceTypes, language |
| Query check at subscribe | Yes: errors close the connection with SEARCH_FAILED | Yes, the query is compiled: errors close the connection with SEARCH_FAILED |
The raw stream runs no first search, but it compiles your query when you subscribe. A query that cannot be built, for example Tesla AND or sourceType:wire, gets a connection.error with code SEARCH_FAILED whose message is the query error (for Tesla AND: Unexpected end of input). Then the connection is closed and nothing is stored. A query of only spaces is rejected with Query is empty. An unknown field name such as evenType:mna is not an error here: it is searched as free text, so test new queries with REST search first.
Filling gaps
Use firstSeenAt to fill gaps after a reconnect, because raw articles have no availableAt. Search with orderBy: "firstSeenAt" and from set to the last firstSeenAt you saw. See Lifecycle & limits.