News
Get SEC-related press releases and market news.
GET
/newsParameters
| Parameter | Type | Description |
|---|---|---|
newsType | string | Type of news (default: PressReleases) |
startDate | string | Start date filter (ISO 8601) |
endDate | string | End date filter (ISO 8601) |
limit | integer | Number of results (default: 40, max: 100) |
Example request
typescript
import { SecDailyAPI } from "sec-daily-api";const client = new SecDailyAPI({ apiKey: process.env.SEC_DAILY_API_KEY });const { news } = await client.getNews({newsType: "PressReleases",limit: 5,});for (const item of news) {console.log(`${item.publishedDateInUtc?.slice(0, 10)} ${item.title}`);}
Response
json
{"news": [{"id": "news-abc123","title": "Apple Reports Q1 2025 Results","summary": "Apple today announced financial results for its fiscal 2025 first quarter...","newsType": "PressReleases","publishedDateInUtc": "2025-01-30T21:30:00Z","source": "BusinessWire","linkToNews": "https://example.com/news/apple-q1-2025"}],"count": 1,"newsType": "PressReleases","lastUpdated": "2025-01-30T22:00:00Z"}
Response fields
| Field | Type | Description |
|---|---|---|
id | string | Unique news item identifier |
title | string | News headline |
summary | string | Brief summary |
publishedDateInUtc | string | Publication timestamp (ISO 8601 UTC) |
source | string | News source (BusinessWire, PRNewswire, etc.) |
linkToNews | string | URL to the full article |