Yahoo Finance API endpoint
Returns the Yahoo Finance news stream for the ticker in the `symbol` path parameter, such as `AAPL`. `count` limits the items (default 8, max 250) and `tab` picks `news` (default), `all` or `press_releases`. Stories have title, provider, dates and URLs. A valid empty stream returns `news: []`.
/yahoo-finance/ticker/{symbol}/newsPath parameters:
symbol: ticker symbol, for example AAPL.Query parameters:
count: optional item limit (default 8, maximum 250).tab: optional stream selection: news (default), all, or press_releases.The response items have news[].id and news[].content, with title, provider, dates, and nested URL objects. A valid empty stream returns news: []; blocked, malformed, or missing responses return an upstream error.
| Field | Filled in, of 20 checked |
|---|---|
| content | 20 |
| id | 20 |
| Parameter | Type | Required | Default | Description | Example |
|---|---|---|---|---|---|
| symbol (path) | string | Yes | Yahoo Finance symbol such as AAPL | AAPL | |
| count | integer | No | News result count | ||
| tab | string | No | News tab: news, all, or press_releases | ||
| x-api-key (header) | string | Yes | API key required |
curl -X GET "https://api.crawlora.net/api/v1/yahoo-finance/ticker/AAPL/news?count=10" \ -H "x-api-key: $CRAWLORA_API_KEY"
{
"code": 200,
"msg": "OK",
"data": {
"query": "AAPL",
"news": [
{
"id": "story-id",
"content": {
"id": "story-id",
"title": "Apple news",
"contentType": "STORY",
"provider": {
"displayName": "Publisher"
},
"canonicalUrl": {
"url": "https://finance.yahoo.com/news/example.html"
}
}
}
]
}
}Request schema
No body schema
Response schema
#/definitions/yahoofinance.searchResponseDoc
| Field | Type | Required | Enum | Bounds | Example | Description |
|---|---|---|---|---|---|---|
| code | integer | No | 200 | |||
| data | yahoofinance.SearchResponse | No | ||||
| data.lists | array | No | Yahoo Finance lists matching the query. | |||
| data.news | array | No | News articles matching the query. | |||
| data.query | string | No | Search text that was run. | |||
| data.quotes | array | No | Ticker and company matches. | |||
| data.research | array | No | ||||
| msg | string | No | OK |
| Status | Description | Schema |
|---|---|---|
| 400 | Bad Request | #/definitions/app.Response |
| 404 | Not Found | #/definitions/app.Response |
| 500 | Internal Server Error | #/definitions/app.Response |
| 503 | Service Unavailable | #/definitions/app.Response |
Use environment variables for secrets and keep Crawlora API keys server-side.
curl -X GET "https://api.crawlora.net/api/v1/yahoo-finance/ticker/AAPL/news?count=10" \
-H "x-api-key: $CRAWLORA_API_KEY"