# Yahoo on Onekey > 3 endpoints for Yahoo (3 stable, 0 beta), 1 credit each. Category: Finance & markets. One key, one JSON shape. Base URL: https://api.onekey.dev Auth: header `x-api-key: `. Call shape: `GET /v1/{platform}/{endpoint}?{params}`. Every response is `{success, data, metadata, error}`; check `success` first. Cost is in `metadata.credits_charged`. Free when served from cache (0.2 credit for a cached response over 100 KB). Failed and not-found calls are refunded. Status: stable = verified against the live source; beta = not yet verified, fields may be missing. Page: https://onekey.dev/platforms/yahoo Reference (Markdown): https://onekey.dev/docs/api/yahoo.md All docs: https://onekey.dev/llms.txt ## Canonical fields returned Unified-schema fields (same names on every platform), with how many of the 3 mapped Yahoo endpoints return each: - `market.symbol` (string): 3 - `entity.category` (string): 2 - `entity.description` (string): 2 - `entity.name` (string): 2 - `market.currency` (string): 2 - `market.exchange` (string): 2 - `market.volume` (number): 2 - `entity.date` (ISO 8601 date): 1 - `market.close` (number): 1 - `market.high` (number): 1 - `market.low` (number): 1 - `market.open` (number): 1 - `market.price` (number): 1 - plus 8 platform-specific fields under `ext.` ## Endpoints ### yahoo.history Historical OHLCV as columnar arrays (timestamp, open, high, low, close, volume). - Price: 1 credit per fresh call. Status: stable. Returns: one record. - Request: `GET https://api.onekey.dev/v1/yahoo/history?symbol=AAPL` with header `x-api-key: YOUR_API_KEY` - Parameters: - `symbol` (string, required): Ticker, e.g. AAPL, ^GSPC, BTC-USD, EURUSD=X - `range` (string, optional, default 1mo): Range - `interval` (string, optional, default 1d): Interval - Fields returned: `market.symbol`, `market.currency`, `market.open`, `market.high`, `market.low`, `market.close`, `market.volume`, `ext.timestamps` - Reference: https://onekey.dev/docs/api/yahoo/history.md ### yahoo.quote Latest quote and 52-week range for a ticker (from the chart meta block). - Price: 1 credit per fresh call. Status: stable. Returns: one record. - Request: `GET https://api.onekey.dev/v1/yahoo/quote?symbol=AAPL` with header `x-api-key: YOUR_API_KEY` - Parameters: - `symbol` (string, required): Ticker, e.g. AAPL, ^GSPC, BTC-USD, EURUSD=X - Fields returned: `market.symbol`, `entity.name`, `entity.description`, `entity.category`, `market.exchange`, `market.currency`, `market.price`, `market.volume`, `entity.date`, `ext.previousClose`, `ext.dayHigh`, `ext.dayLow`, `ext.high52w`, `ext.low52w` - Reference: https://onekey.dev/docs/api/yahoo/quote.md ### yahoo.search Search tickers and companies. - Price: 1 credit per fresh call. Status: stable. Returns: a list. - Request: `GET https://api.onekey.dev/v1/yahoo/search?q=apple` with header `x-api-key: YOUR_API_KEY` - Parameters: - `q` (string, required): Search text - Fields returned: `market.symbol`, `entity.name`, `entity.description`, `entity.category`, `market.exchange`, `ext.sector`, `ext.industry` - Reference: https://onekey.dev/docs/api/yahoo/search.md ## Sample request ```bash curl "https://api.onekey.dev/v1/yahoo/history?symbol=AAPL" \ -H "x-api-key: YOUR_API_KEY" ```