# Finnhub on Onekey > 5 endpoints for Finnhub (0 stable, 5 beta), 1 to 5 credits 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/finnhub Reference (Markdown): https://onekey.dev/docs/api/finnhub.md All docs: https://onekey.dev/llms.txt ## Canonical fields returned Unified-schema fields (same names on every platform), with how many of the 5 mapped Finnhub endpoints return each: - `market.symbol` (string): 3 - `author.displayName` (string): 2 - `content.createdAt` (ISO 8601 date): 2 - `content.id` (string): 2 - `content.text` (string): 2 - `content.title` (string): 2 - `content.url` (URL): 2 - `entity.category` (string): 2 - `entity.name` (string): 2 - `media.thumbnailUrl` (URL): 2 - `entity.createdAt` (ISO 8601 date): 1 - `entity.date` (ISO 8601 date): 1 - `entity.url` (URL): 1 - `market.currency` (string): 1 - `market.exchange` (string): 1 - `market.marketCap` (number): 1 - `market.open` (number): 1 - `market.price` (number): 1 - plus 8 platform-specific fields under `ext.` ## Endpoints ### finnhub.company_news Company news between two dates. - Price: 5 credits per fresh call. Status: beta. Returns: a list. - Request: `GET https://api.onekey.dev/v1/finnhub/company_news?symbol=AAPL&from_date=2026-09-20&to_date=2026-09-27` with header `x-api-key: YOUR_API_KEY` - Parameters: - `symbol` (string, required): Ticker, e.g. AAPL - `from_date` (string, required): From YYYY-MM-DD - `to_date` (string, required): To YYYY-MM-DD - Fields returned: `content.id`, `content.title`, `content.text`, `content.url`, `content.createdAt`, `author.displayName` - Reference: https://onekey.dev/docs/api/finnhub/company_news.md ### finnhub.market_news General market news headlines. - Price: 5 credits per fresh call. Status: beta. Returns: a list. - Request: `GET https://api.onekey.dev/v1/finnhub/market_news` with header `x-api-key: YOUR_API_KEY` - Parameters: - `category` (string, optional, default general): Category - Fields returned: `content.id`, `content.title`, `content.text`, `content.url`, `content.createdAt`, `author.displayName`, `media.thumbnailUrl`, `market.symbol` - Reference: https://onekey.dev/docs/api/finnhub/market_news.md ### finnhub.profile Company profile (name, exchange, industry, market cap). - Price: 1 credit per fresh call. Status: beta. Returns: one record. - Request: `GET https://api.onekey.dev/v1/finnhub/profile?symbol=AAPL` with header `x-api-key: YOUR_API_KEY` - Parameters: - `symbol` (string, required): Ticker, e.g. AAPL - Fields returned: `market.symbol`, `entity.name`, `entity.category`, `market.exchange`, `market.currency`, `market.marketCap`, `entity.url`, `media.thumbnailUrl`, `entity.createdAt`, `ext.country`, `ext.sharesOutstanding` - Reference: https://onekey.dev/docs/api/finnhub/profile.md ### finnhub.quote Real-time quote for a US ticker. - Price: 1 credit per fresh call. Status: beta. Returns: one record. - Request: `GET https://api.onekey.dev/v1/finnhub/quote?symbol=AAPL` with header `x-api-key: YOUR_API_KEY` - Parameters: - `symbol` (string, required): Ticker, e.g. AAPL - Fields returned: `market.price`, `market.open`, `entity.date`, `ext.change`, `ext.changePct`, `ext.dayHigh`, `ext.dayLow`, `ext.previousClose` - Reference: https://onekey.dev/docs/api/finnhub/quote.md ### finnhub.search Search symbols by name or ticker. - Price: 5 credits per fresh call. Status: beta. Returns: a list. - Request: `GET https://api.onekey.dev/v1/finnhub/search?q=apple` with header `x-api-key: YOUR_API_KEY` - Parameters: - `q` (string, required): Search text - Fields returned: `market.symbol`, `entity.name`, `entity.category`, `ext.displaySymbol` - Reference: https://onekey.dev/docs/api/finnhub/search.md ## Sample request ```bash curl "https://api.onekey.dev/v1/finnhub/profile?symbol=AAPL" \ -H "x-api-key: YOUR_API_KEY" ```