Skip to main content

search

Search available cryptocurrency pairs within a provider.

Examples​

from openbb import obb
obb.crypto.search(provider='fmp')
obb.crypto.search(query='BTCUSD', provider='fmp')

Parameters​

NameTypeDescriptionDefaultOptional
querystrSearch query.NoneTrue
providerLiteral['fmp']The provider to use, by default None. If None, the priority list configured in the settings is used. Default priority: fmp.NoneTrue

Returns​

OBBject
results : List[CryptoSearch]
Serializable results.

provider : Optional[Literal['fmp']]
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. (Crypto)
namestrName of the crypto.