{"id":45681,"library":"openbb-oecd","title":"OpenBB OECD Extension","description":"OpenBB extension providing data connectors for the Organisation for Economic Co-operation and Development (OECD) via the OpenBB Platform v4. As of version 1.6.1, it enables fetching GDP, inflation, unemployment, and other economic indicators. Released on a rolling cadence with the OpenBB Platform releases.","status":"active","version":"1.6.1","language":"python","source_language":"en","source_url":"https://github.com/OpenBB-finance/OpenBB","tags":["openbb","oecd","economics","data","finance"],"install":[{"cmd":"pip install openbb-oecd","lang":"bash","label":"Install from PyPI"}],"dependencies":[{"reason":"Core OpenBB Platform required","package":"openbb","optional":false}],"imports":[{"note":"OBB is deprecated; use lowercase obb instance.","wrong":"from openbb import OBB","symbol":"OBBbject","correct":"from openbb import obb"},{"note":"Direct fetcher for advanced use.","symbol":"OECDFetcher","correct":"from openbb_oecd import OECDFetcher"}],"quickstart":{"code":"from openbb import obb\nimport os\n\nobb.account.login(pat=os.environ.get('OPENBB_PAT', ''))\ndf = obb.economy.oecd.gdp(country='united_states', start_date='2020-01-01', end_date='2023-12-31').to_df()\nprint(df.head())","lang":"python","description":"Fetch OECD GDP data for the United States using the OpenBB platform."},"warnings":[{"fix":"Update to keyword arguments and use the new nested command path.","message":"OpenBB v4 changed the command structure: use \n`obb.economy.oecd.<indicator>(...)` instead of `obb.economy.oecd.<indicator>()` with positional arguments. Parameters are now keyword-only.","severity":"breaking","affected_versions":">=4.0.0"},{"fix":"Monitor OpenBB announcements; no action required yet.","message":"The 'oecd' provider is being merged into 'openbb-economy' in future releases. This extension may become a meta-package.","severity":"deprecated","affected_versions":">=1.5.0"},{"fix":"Set OPENBB_PAT environment variable or use obb.account.login(pat='...').","message":"Authentication via OpenBB Personal Access Token (PAT) is required even for public OECD data. Missing PAT will raise 'AuthenticateError'.","severity":"gotcha","affected_versions":"all"}],"env_vars":null,"search_vec":"'1.6.1':28 'cadenc':43 'co':15 'co-oper':14 'connector':8 'data':7,52 'develop':18 'econom':13,37,51 'enabl':30 'extens':3,5 'fetch':31 'financ':53 'gdp':32 'indic':38 'inflat':33 'oecd':2,19,50 'openbb':1,4,22,46,49 'oper':16 'organis':11 'platform':23,47 'provid':6 'releas':39,48 'roll':42 'unemploy':34 'v4':24 'version':27 'via':20","created_at":"2026-06-07T12:56:12.074798+00:00","updated_at":"2026-06-07T12:56:12.074798+00:00","problems":[{"fix":"Set the OPENBB_PAT environment variable or call obb.account.login(pat='your_token').","cause":"Missing or invalid OpenBB PAT token.","error":"openbb.errors.OpenBBError: Authentication is required for this endpoint."},{"fix":"Install both: pip install openbb openbb-oecd","cause":"Extension not installed or installed without the openbb package.","error":"ModuleNotFoundError: No module named 'openbb_oecd'"},{"fix":"Use new syntax: obb.economy.oecd.gdp(country='united_states') instead of obb.economy.oecd('gdp', 'united_states').","cause":"Using old OpenBB v3 style API with positional arguments.","error":"TypeError: oecd() got an unexpected keyword argument 'indicator'"}],"ecosystem":"pypi","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":null,"cli_version":null,"type":"library","homepage":null,"github":null,"docs":null,"changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["analytics","database"],"base_url":null,"auth_type":null,"provenance":{"verified_status":"passing","verified_at":"2026-06-29","last_verified":"2026-06-29","next_check":"2026-07-29","install_tag":null}}