get_market
Get market open/closed status and headline index summary. For the US, receive next open and close times; for all markets, see index price changes against previous close.
Instructions
Get the trading status and headline index summary for a market.
Answers questions like whether the market is open, when it opens or closes
next, and how the major indices are doing. Takes a market key such as
US or EUROPE — not a ticker symbol. status (open/closed plus the
next open and close times) is only available for US and is null for
every other key, which is an upstream limitation rather than an error. The
index summary, with price, previous close and change, works for all keys.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | No | A Yahoo market key (uppercase). One of: US, GB, ASIA, EUROPE, RATES, COMMODITIES, CURRENCIES, CRYPTOCURRENCIES. Only 'US' reports a trading status, the others return the index summary with 'status' set to null. | US |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||