opa_get_market_brief
Retrieve a multi-commodity market brief with spot prices, 24h changes, one-month forecasts, and spreads. Optionally get a plain-English summary with market context.
Instructions
Get a multi-commodity market brief: latest spot prices, 24h changes, 1-month forecasts (for Brent/WTI/Natural Gas), and notable spreads — for several commodities in ONE call. Use when the user wants a market snapshot, morning brief, or an at-a-glance read across multiple commodities. Set narrative: true to also get a plain-English summary plus market context (active supply disruptions, key economic indicators). Accepts natural language ('brent', 'us gas') or API codes. REQUIRES an API key (OILPRICEAPI_KEY); counts as 1 request. Per-tier code limits apply (free: 3 codes). For a single price use opa_get_price; for ongoing recurring monitoring use opa_create_price_subscription.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| codes | Yes | Commodity names or codes to include (e.g., ['brent', 'wti'] or ['BRENT_CRUDE_USD', 'NATURAL_GAS_USD']). Free tier allows up to 3. | |
| narrative | No | If true, also include a plain-English summary + market context (disruptions, indicators). Default: false (structured data only). |