Yahoo Finance API endpoint
Lists the Yahoo Finance calendar types available through the API: `earnings`, `ipo`, `economic-events` and `splits`. The list is static. Takes no parameters.
/yahoo-finance/calendarsReturns the supported global Yahoo Finance calendar types.
Path parameters: none.
Query parameters: none.
Notable response behavior: the list is static and includes earnings, ipo, economic-events, and splits.
| Parameter | Type | Required | Default | Description | Example |
|---|---|---|---|---|---|
| x-api-key (header) | string | Yes | API key required |
curl -X GET "https://api.crawlora.net/api/v1/yahoo-finance/calendars" \ -H "x-api-key: $CRAWLORA_API_KEY"
{
"code": 200,
"msg": "OK",
"data": {
"calendars": [
"earnings",
"economic-events",
"ipo",
"splits"
]
}
}Request schema
No body schema
Response schema
#/definitions/yahoofinance.calendarsResponseDoc
| Field | Type | Required | Enum | Bounds | Example | Description |
|---|---|---|---|---|---|---|
| code | integer | No | 200 | |||
| data | yahoofinance.CalendarsResponse | No | ||||
| data.calendars | array | No | Names of the available calendars. | |||
| msg | string | No | OK |
| Status | Description | Schema |
|---|---|---|
| 500 | Internal Server Error | #/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/calendars" \
-H "x-api-key: $CRAWLORA_API_KEY"