Skip to main content

search

Search for stock symbol, CIK, LEI, or company name.

Example​

from openbb import obb
obb.equity.search(query="AAPL", is_symbol=False, use_cache=True)

Parameters​

NameTypeDescriptionDefaultOptional
querystrSearch query.True
is_symbolboolWhether to search by ticker symbol.FalseTrue
use_cacheboolWhether to use the cache or not.TrueTrue
providerLiteral['cboe', 'intrinio', 'nasdaq', 'sec', 'tmx']The provider to use for the query, by default None. If None, the provider specified in defaults is selected or 'cboe' if there is no default.cboeTrue

Returns​

OBBject
results : List[EquitySearch]
Serializable results.

provider : Optional[Literal['cboe', 'intrinio', 'nasdaq', 'sec', 'tmx']]
Provider name.

warnings : Optional[List[Warning_]]
List of warnings.

chart : Optional[Chart]
Chart object.

extra : Dict[str, Any]
Extra info.

Data​

NameTypeDescription
symbolstrSymbol representing the entity requested in the data.
namestrName of the company.