News¶
GET /v1/news¶
Overview¶
Purpose: Get financial news
Response Format: Array of news articles with metadata
Authentication¶
Optional authentication via x-api-key header token
Request Parameters¶
| Parameter | Type | Required | Description | Example |
|---|---|---|---|---|
symbol |
string | Ticker symbol (returns general news if omitted) | AAPL |
Responses:
-
200 OK
- Content-Type:
application/json - Schema: Array of
Newsobjects. - Example (200):
- Content-Type:
-
404 Not Found
-
422 Unprocessable Entity
Schema References¶
News Schema¶
| Field | Type | Description | Required |
|---|---|---|---|
| title | string | Title of the news article | ✓ |
| link | string | URL to the full article | ✓ |
| source | string | News source | ✓ |
| img | string | URL to accompanying image | ✓ |
| time | string | Time relative to now | ✓ |