Skip to main content

search

Search for ETFs.

An empty query returns the full list of ETFs from the provider.

Examples

from openbb import obb
# An empty query returns the full list of ETFs from the provider.
obb.etf.search(provider='fmp')
# The query will return results from text-based fields containing the term.
obb.etf.search(query='commercial real estate', provider='fmp')

Parameters

NameTypeDescriptionDefaultOptional
querystrSearch query.True

Returns

OBBject
results : List[EtfSearch]
Serializable results.

provider : Optional[Literal['fmp', 'intrinio', '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.(ETF)
namestrName of the ETF.