Ticker search API
Find tickers by company name or symbol, narrowed to stocks, indices, funds, currencies, futures, ETFs or crypto.
GET /v1/finance/ticker-search1 credit per callRefunded on failureimport os, requests
res = requests.get(
"https://api.groundsocial.dev/v1/finance/ticker-search?keyword=tesla&category=stock",
headers={"Authorization": f"Bearer {os.environ['GROUNDSOCIAL_API_KEY']}"},
)
res.raise_for_status()
data = res.json()Response
200 · 1 credit{ "quotes": [ { "symbol": "TSLA", "shortname": "Tesla, Inc.", "longname": "Tesla, Inc.", "quoteType": "EQUITY", "typeDisp": "Equity", "exchange": "NMS", "exchDisp": "NASDAQ", "sector": "Consumer Cyclical", "industry": "Auto Manufacturers", "index": "quotes", "score": 353195, "dispSecIndFlag": true, "isYahooFinance": true }, { "symbol": "TL0.DE", "shortname": "Tesla Inc. R", "longname": "Tesla, Inc.", "quoteType": "EQUITY", "typeDisp": "Equity", "exchange": "GER", "exchDisp": "XETRA", "sector": "Consumer Cyclical", "industry": "Auto Manufacturers", "index": "quotes", "score": 20356, "isYahooFinance": true } ]}Parameters
| Name | Type | Description |
|---|---|---|
keywordquery · required | string | A ticker (AAPL, ^GSPC, EURUSD=X, BTC-USD) or a company name. Example: AAPL. |
categoryquery | "all" | "stock" | "index" | "mutual_fund" | "currency" | "futures" | "etf" | "crypto" | One of all, stock, index, mutual_fund, currency, futures, etf, crypto. |
languagequery | string | Language, e.g. en or en-US (default), fr-FR. |
locationquery | string | Two-letter country for regional listings, e.g. US (default), GB, IN. |
Response fields
200 with a FinanceTickerSearch, in Finance’s own JSON.
| Field | Type | Description |
|---|---|---|
quotes | FinanceSearchQuote[] |
Status codes
| Status | Meaning |
|---|---|
200 | Matching tickers. |
400 | Invalid input. Nothing was charged. |
401 | Missing or invalid API key. |
402 | Not enough credits, a spend cap was reached, or payment is required. |
403 | The target is private, or the account is suspended. |
404 | No ticker or data matches. |
429 | Too many requests. Wait for Retry-After seconds. |
503 | Finance is temporarily unavailable. Retryable; nothing was charged. |
Every error has code, message, hint and retryable. All error codes
Questions
Which exchanges?
Worldwide listings.
Finance is a trademark of Yahoo Inc. We are not affiliated with or endorsed by Yahoo Inc.