Skip to main content

bls_search

Search BLS surveys by category and keyword or phrase to identify BLS series IDs.

Examples

from openbb import obb
obb.economy.survey.bls_search(provider='bls', category=cpi)
# Use semi-colon to separate multiple queries as an & operator.
obb.economy.survey.bls_search(provider='bls', category=cpi, query='seattle;gasoline')

Parameters

NameTypeDescriptionDefaultOptional
querystrThe search word(s). Use semi-colon to separate multiple queries as an & operator.True

Returns

OBBject
results : List[BlsSearch]
Serializable results.

provider : Optional[Literal['bls']]
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.
titlestrThe title of the series.
survey_namestrThe name of the survey.