Yahoo Finance API endpoint
Returns profile and quote information for a Yahoo Finance `symbol` such as `AAPL`, under `modules`: the profile, quote type (`quoteType`), price, statistics and summary modules. The symbol is the only input.
/yahoo-finance/ticker/{symbol}/info| Field | Filled in, of 10 checked | Values in the sample |
|---|---|---|
| age | 8 | 44 to 64, median 55 |
| exercisedValue | 10 | 0 |
| fiscalYear | 10 | 2,025 |
| maxAge | 10 | 1 |
| name | 10 | “Mr. Timothy D. Cook” and 9 other values |
| title | 10 | “Executive Chairman of the Board” and 9 other values |
| totalPay | 5 | 4,034,174 to 16,759,518, median 5,022,482 |
| unexercisedValue | 10 | 0 |
| yearBorn | 8 | 1,961 to 1,981, median 1,967 |
| Parameter | Type | Required | Default | Description | Example |
|---|---|---|---|---|---|
| symbol (path) | string | Yes | Yahoo Finance symbol such as AAPL | AAPL | |
| x-api-key (header) | string | Yes | API key required |
curl -X GET "https://api.crawlora.net/api/v1/yahoo-finance/ticker/AAPL/info" \ -H "x-api-key: $CRAWLORA_API_KEY"
{
"code": 200,
"msg": "OK",
"data": {
"symbol": "AAPL",
"modules": {
"quoteType": {
"quoteType": "EQUITY"
},
"price": {
"symbol": "AAPL"
}
}
}
}Request schema
No body schema
Response schema
#/definitions/yahoofinance.infoResponseDoc
| Field | Type | Required | Enum | Bounds | Example | Description |
|---|---|---|---|---|---|---|
| code | integer | No | 200 | |||
| data | yahoofinance.InfoResponse | No | ||||
| data.modules | object | No | Company and quote information grouped by section. | |||
| data.symbol | string | No | AAPL | Ticker symbol, for example `AAPL`. | ||
| 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/info" \
-H "x-api-key: $CRAWLORA_API_KEY"