Yahoo Finance API endpoint
Returns Yahoo Finance detail for one industry `key` such as `semiconductors`: name, overview, its parent sector (`sector_key`, `sector_name`), top companies, top performing companies, top growth companies and research reports. Valid keys come from `/yahoo-finance/industries`.
/yahoo-finance/industries/{key}Path parameters: key.
Query parameters: none.
Notable response behavior: industry data is fetched from Yahoo's crumb-backed public finance domain endpoint.
| Field | Filled in, of 48 checked | Values in the sample |
|---|---|---|
| market_weight | 48 | 0 to 0.45, median 0 |
| name | 47 | “NVIDIA Corporation” and 46 other values |
| rating | 46 | Strong Buy (20), Buy (17), Hold (9) |
| symbol | 48 | “NVDA” and 47 other values |
| Parameter | Type | Required | Default | Description | Example |
|---|---|---|---|---|---|
| key (path) | string | Yes | Industry key such as semiconductors | semiconductors | |
| x-api-key (header) | string | Yes | API key required |
curl -X GET "https://api.crawlora.net/api/v1/yahoo-finance/industries/semiconductors" \ -H "x-api-key: $CRAWLORA_API_KEY"
{
"code": 200,
"msg": "OK",
"data": {
"key": "semiconductors",
"name": "Semiconductors",
"sector_key": "technology"
}
}Request schema
No body schema
Response schema
#/definitions/yahoofinance.industryResponseDoc
| Field | Type | Required | Enum | Bounds | Example | Description |
|---|---|---|---|---|---|---|
| code | integer | No | 200 | |||
| data | yahoofinance.IndustryResponse | No | ||||
| data.key | string | No | semiconductors | Identifier of the industry. | ||
| data.name | string | No | Semiconductors | Name of the industry. | ||
| data.overview | object | No | Summary figures for the industry. | |||
| data.research_reports | array | No | Research reports about the industry. | |||
| data.sector_key | string | No | technology | Identifier of the sector the industry belongs to. | ||
| data.sector_name | string | No | Technology | Name of the sector the industry belongs to. | ||
| data.symbol | string | No | Index symbol that tracks the industry. | |||
| data.top_companies | array | No | Largest companies in the industry. | |||
| data.top_growth_companies | array | No | Fastest-growing companies in the industry. | |||
| data.top_performing_companies | array | No | Best-performing companies in the industry. | |||
| 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/industries/semiconductors" \
-H "x-api-key: $CRAWLORA_API_KEY"