Registry / analytics / openbb-benzinga

openbb-benzinga

JSON →
library1.6.1pypypi✓ verified 88d ago

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.

pip install openbb-benzinga
INSTALL
IMPORT
SIG · OPENBB-BENZINGA
O
openbb-benzinga
analyticspythonv1.6.1
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

OBB
✓ from openbb import obb
✗ from openbb_benzinga import obb
Direct import from openbb_benzinga may skip platform initialization.
BenzingaFetcher
✓ from openbb_benzinga.models.benzinga_models import BenzingaFetcher
✗ from openbb_benzinga.fetcher import BenzingaFetcher
Wrong module path, fetcher is in models subpackage.

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).

from openbb import obb obb.account.login(pat=os.environ.get('OPENBB_PAT')) results = obb.news.company(provider='benzinga', symbol='AAPL', limit=5) df = results.to_dataframe() print(df)
Debug
Known issues
breakingOpenBB v4.x changed from OBBject to structured DataFrames. Direct attribute access (e.g., .results) no longer works; use .to_dataframe() or .to_dict().
fix
Replace .results with .to_dataframe() or .to_dict().
affects: >=4.0.0
gotchaSome endpoints require both an OpenBB PAT and a Benzinga API key. Missing credentials return cryptic errors.
fix
Set OPENBB_PAT and BENZINGA_API_KEY environment variables before making calls.
affects: all
deprecatedEndpoint /benzinga/analyst_search is deprecated in favor of /benzinga/analyst_search_v2.
fix
Use analyst_search_v2 instead.
affects: >=1.5.0
gotchaProvider name in OpenBB v4 is 'benzinga' (lowercase). Using 'Benzinga' or 'BENZINGA' will fail.
fix
Always pass provider='benzinga' (lowercase) in function calls.
affects: >=4.0.0
Errors
Common errors & fixes
ModuleNotFoundError: No module named 'openbb_benzinga'
Package not installed.
fix
pip install openbb-benzinga
AuthenticationError: No PAT provided or invalid PAT
Missing OPENBB_PAT environment variable or invalid token.
fix
Set OPENBB_PAT environment variable with a valid personal access token from OpenBB Hub.
ProviderError: Provider 'benzinga' not found. Please check available providers.
Provider name misspelled or extension not loaded.
fix
Verify you installed openbb-benzinga and use provider='benzinga' (all lowercase).
Upgrade
Version history
1.6.1latest on PyPI · released May 26, 2026
Audit
Dependencies
openbb-coreoptionalRequires OpenBB core (v4.x) for platform integration
Agent activity
25 hits · last 30 days
node
22
Amazon
1
OpenAI (training)
1
Resources

No resource links recorded.

openbb-benzinga — pip install openbb-benzinga · libregistry