Yahoo Finance API endpoint
Returns the market summary rows for a Yahoo Finance `market` such as `US`, as a `summary` list of instruments, each with fields such as `symbol` and `shortName`.
/yahoo-finance/market/{market}/summary| Field | Filled in, of 7 checked | Values in the sample |
|---|---|---|
| cryptoTradeable | 7 | true in 0 of 7 |
| customPriceAlertConfidence | 7 | LOW (6), NONE (1) |
| exchange | 7 | “SNP” and 6 other values |
| exchangeDataDelayedBy | 7 | 0 to 15, median 10 |
| exchangeTimezoneName | 7 | America/New_York (5), America/Chicago (2) |
| exchangeTimezoneShortName | 7 | EDT (5), CDT (2) |
| firstTradeDateMilliseconds | 7 | -1,325,583,000,000 to 967,608,000,000, median 558,279,000,000 |
| fullExchangeName | 7 | “SNP” and 5 other values |
| fulldayChange | 7 | -194.77 to 0.28, median -12.85 |
| fulldayChangePercent | 7 | -0.46 to 1.84, median -0.2 |
| fulldayPrice | 7 | 5.24 to 51,655.78, median 4,176.4 |
| gmtOffSetMilliseconds | 7 | -18,000,000 to -14,400,000, median -14,400,000 |
| hasPrePostMarketData | 7 | true in 0 of 7 |
| language | 7 | en-US in all 7 |
| market | 7 | us_market (4), usir_market (1), cboe_market (1) and 1 more |
| marketState | 7 | REGULAR in all 7 |
| priceHint | 6 | 2 |
| quoteSourceName | 4 | Free Realtime Quote (3), Delayed Quote (1) |
| quoteType | 7 | INDEX (6), FUTURE (1) |
| region | 7 | US in all 7 |
| regularMarketChange | 7 | -194.77 to 0.28, median -12.85 |
| regularMarketChangePercent | 7 | -0.46 to 1.84, median -0.2 |
| regularMarketPreviousClose | 7 | 5.24 to 51,850.55, median 4,190.6 |
| regularMarketPrice | 7 | 5.24 to 51,655.78, median 4,176.4 |
| regularMarketTime | 7 | 1,791,910,861 to 1,791,911,768, median 1,791,911,167 |
| shortName | 7 | “S&P 500” and 6 other values |
| sourceInterval | 7 | 15 to 120, median 15 |
| symbol | 7 | “^GSPC” and 6 other values |
| tradeable | 7 | true in 0 of 7 |
| triggerable | 7 | true in 0 of 7 |
| typeDisp | 7 | Index (6), Futures (1) |
| contractSymbol | 1 | true in 0 of 1 |
| headSymbol | 1 | true in 1 of 1 |
| headSymbolAsString | 1 | “GC=F” |
| Parameter | Type | Required | Default | Description | Example |
|---|---|---|---|---|---|
| market (path) | string | Yes | Market such as US | US | |
| x-api-key (header) | string | Yes | API key required |
curl -X GET "https://api.crawlora.net/api/v1/yahoo-finance/market/US/summary" \ -H "x-api-key: $CRAWLORA_API_KEY"
{
"code": 200,
"msg": "OK",
"data": {
"market": "US",
"summary": [
{
"symbol": "ES=F",
"shortName": "E-Mini S&P 500 Jun 26"
}
]
}
}Request schema
No body schema
Response schema
#/definitions/yahoofinance.marketSummaryResponseDoc
| Field | Type | Required | Enum | Bounds | Example | Description |
|---|---|---|---|---|---|---|
| code | integer | No | 200 | |||
| data | yahoofinance.MarketSummaryResponse | No | ||||
| data.market | string | No | US | Market code, for example `US`. | ||
| data.summary | array | No | Market summary entries, one object per index or instrument. | |||
| 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/market/US/summary" \
-H "x-api-key: $CRAWLORA_API_KEY"