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

query: str
The search word(s). Use semi-colon to separate multiple queries as an & operator.


Returns

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

symbol: str
Symbol representing the entity requested in the data.

title: str
The title of the series.

survey_name: str
The name of the survey.