Skip to main content
Version: v5

search

Search the BLS series catalog by category, keyword, or code.

Examples​

from openbb import obb
# Search the CPI category for series matching a query.
obb.bls.search(provider='bls', category='cpi', query='urban')
# List every series in the JOLTS category.
obb.bls.search(provider='bls', category='jolts')

Parameters​

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


Returns​

results: BlsSearch

Serializable results.

provider: str | None

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 | None
The title of the series.

survey_name: str | None
The name of the survey.