Skip to main content
Version: v5

indicators

Fetch IMF economic indicators or presentation tables by dataflow::code symbol.

Examples​

from openbb import obb
# Fetch a single indicator series by ``dataflow::code`` symbol.
obb.imf.indicators(provider='imf', symbol='IL::RGV_REVS', country='*', frequency='month', limit=1, start_date='2025-09-30')
# Fetch a full presentation table for a country.
obb.imf.indicators(provider='imf', symbol='DIP::H_DIP_INDICATOR', country='BRA', frequency='annual', limit=2, pivot=True)

Parameters​

symbol: str | list[str]
Symbol to get data for. Multiple items allowed for provider(s): imf.

country: str | None | list[str | None]
The country to get data. Multiple items allowed for provider(s): imf.

frequency: str | None
The frequency of the data.

start_date: date | None | str
Start date of the data, in YYYY-MM-DD format.

end_date: date | None | str
End date of the data, in YYYY-MM-DD format.


Returns​

results: ImfIndicators

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​

date: date | None | str
The date of the data.

symbol_root: str | None
The root symbol for the indicator (e.g. GDP).

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

country: str | None
The country represented by the data.

value: float | int | None