Skip to main content
Version: v5

data_browser

Query any EIA APIv2 data route directly by path, with facet filters and pagination.

Examples​

from openbb import obb
# Query any APIv2 route directly - Brent spot price, monthly.
obb.eia.data_browser(provider='eia', route='petroleum/pri/spt', frequency='monthly', facets='product:EPCBRENT', limit=12)

Parameters​


Returns​

results: EiaDataBrowser

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​