{"id":45662,"library":"openbb-benzinga","title":"OpenBB Benzinga Extension","description":"OpenBB extension providing Benzinga financial data (news, analyst ratings, earnings, etc.). Current version 1.6.1. Release cadence matches OpenBB 4.x releases; breaking changes may occur when OpenBB core updates.","status":"active","version":"1.6.1","language":"python","source_language":"en","source_url":"https://github.com/OpenBB-finance/OpenBB","tags":["openbb","benzinga","finance","stock","news","analyst","earnings"],"install":[{"cmd":"pip install openbb-benzinga","lang":"bash","label":"Default"}],"dependencies":[{"reason":"Requires OpenBB core (v4.x) for platform integration","package":"openbb-core","optional":true}],"imports":[{"note":"Direct import from openbb_benzinga may skip platform initialization.","wrong":"from openbb_benzinga import obb","symbol":"OBB","correct":"from openbb import obb"},{"note":"Wrong module path, fetcher is in models subpackage.","wrong":"from openbb_benzinga.fetcher import BenzingaFetcher","symbol":"BenzingaFetcher","correct":"from openbb_benzinga.models.benzinga_models import BenzingaFetcher"}],"quickstart":{"code":"from openbb import obb\nobb.account.login(pat=os.environ.get('OPENBB_PAT'))\nresults = obb.news.company(provider='benzinga', symbol='AAPL', limit=5)\ndf = results.to_dataframe()\nprint(df)","lang":"python","description":"Query Benzinga news for AAPL using the OpenBB platform. Requires an OpenBB Personal Access Token (PAT) and a Benzinga API key set in environment variables (OPENBB_PAT, BENZINGA_API_KEY)."},"warnings":[{"fix":"Replace .results with .to_dataframe() or .to_dict().","message":"OpenBB v4.x changed from OBBject to structured DataFrames. Direct attribute access (e.g., .results) no longer works; use .to_dataframe() or .to_dict().","severity":"breaking","affected_versions":">=4.0.0"},{"fix":"Set OPENBB_PAT and BENZINGA_API_KEY environment variables before making calls.","message":"Some endpoints require both an OpenBB PAT and a Benzinga API key. Missing credentials return cryptic errors.","severity":"gotcha","affected_versions":"all"},{"fix":"Use analyst_search_v2 instead.","message":"Endpoint /benzinga/analyst_search is deprecated in favor of /benzinga/analyst_search_v2.","severity":"deprecated","affected_versions":">=1.5.0"},{"fix":"Always pass provider='benzinga' (lowercase) in function calls.","message":"Provider name in OpenBB v4 is 'benzinga' (lowercase). Using 'Benzinga' or 'BENZINGA' will fail.","severity":"gotcha","affected_versions":">=4.0.0"}],"env_vars":null,"search_vec":"'1.6.1':17 '4':22 'analyst':11,38 'benzinga':2,7,34 'break':25 'cadenc':19 'chang':26 'core':31 'current':15 'data':9 'earn':13,39 'etc':14 'extens':3,5 'financ':35 'financi':8 'match':20 'may':27 'news':10,37 'occur':28 'openbb':1,4,21,30,33 'provid':6 'rate':12 'releas':18,24 'stock':36 'updat':32 'version':16 'x':23","created_at":"2026-06-07T12:56:07.098180+00:00","updated_at":"2026-06-07T12:56:07.098180+00:00","problems":[{"fix":"pip install openbb-benzinga","cause":"Package not installed.","error":"ModuleNotFoundError: No module named 'openbb_benzinga'"},{"fix":"Set OPENBB_PAT environment variable with a valid personal access token from OpenBB Hub.","cause":"Missing OPENBB_PAT environment variable or invalid token.","error":"AuthenticationError: No PAT provided or invalid PAT"},{"fix":"Verify you installed openbb-benzinga and use provider='benzinga' (all lowercase).","cause":"Provider name misspelled or extension not loaded.","error":"ProviderError: Provider 'benzinga' not found. Please check available providers."}],"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"],"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}}