Yahoo Finance API endpoint
Returns Yahoo Finance detail for one sector `key` such as `technology`: name, overview, top companies, top ETFs, top mutual funds, the sector's industries and research reports. Valid keys come from `/yahoo-finance/sectors`.
/yahoo-finance/sectors/{key}Path parameters: key.
Query parameters: none.
Notable response behavior: sector data is fetched from Yahoo's crumb-backed public finance domain endpoint.
| Field | Filled in, of 50 checked | Values in the sample |
|---|---|---|
| market_weight | 50 | 0 to 0.18, median 0.01 |
| name | 50 | “NVIDIA Corporation” and 49 other values |
| rating | 49 | Buy (26), Strong Buy (19), Hold (4) |
| symbol | 50 | “NVDA” and 49 other values |
| Parameter | Type | Required | Default | Description | Example |
|---|---|---|---|---|---|
| key (path) | string | Yes | Sector key such as technology | technology | |
| x-api-key (header) | string | Yes | API key required |
curl -X GET "https://api.crawlora.net/api/v1/yahoo-finance/sectors/technology" \ -H "x-api-key: $CRAWLORA_API_KEY"
{
"code": 200,
"msg": "OK",
"data": {
"key": "technology",
"name": "Technology",
"industries": [
{
"key": "semiconductors",
"name": "Semiconductors"
}
]
}
}Request schema
No body schema
Response schema
#/definitions/yahoofinance.sectorResponseDoc
| Field | Type | Required | Enum | Bounds | Example | Description |
|---|---|---|---|---|---|---|
| code | integer | No | 200 | |||
| data | yahoofinance.SectorResponse | No | ||||
| data.industries | array | No | ||||
| data.key | string | No | technology | |||
| data.name | string | No | Technology | |||
| data.overview | object | No | ||||
| data.research_reports | array | No | ||||
| data.symbol | string | No | ^IXT | |||
| data.top_companies | array | No | ||||
| data.top_etfs | object | No | ||||
| data.top_mutual_funds | object | 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/sectors/technology" \
-H "x-api-key: $CRAWLORA_API_KEY"