Skip to main content

search

Search available cryptocurrency pairs within a provider.

Example​

from openbb import obb
obb.crypto.search()
obb.crypto.search("BTCUSD")
obb.crypto.search("ETH-USD")

Parameters​

NameTypeDescriptionDefaultOptional
querystrSearch query.NoneTrue
providerLiteral['fmp']The provider to use for the query, by default None. If None, the provider specified in defaults is selected or 'fmp' if there is no default.fmpTrue

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.