OilPriceAPI hosted energy data

io.github.OilpriceAPI由 GitHub 账号 OilpriceAPI 发布v0.1.2更新于 Nov 11, 2026

Hosted energy prices: crude, gas, refined products, marine fuels, futures. Keyless demo.

发布方自己的服务:PriceWin

已验证Streamable HTTP可网页运行金融数据与分析

概览

AI 生成的概览

托管的 OilPriceAPI 连接器,让助手获取带来源时间戳的能源价格:原油、天然气、成品油、船用燃料与期货,并提供免密钥演示。

可以做什么
  • 读取单个基准的最新价格,或最多六个基准的分组市场概览
  • 并排比较 2 至 5 个基准,保留各自的单位、货币与时间戳
  • 读取单个基准最多 30 天的每日历史,以及最多 12 个合约的远期曲线
  • 读取一到两个港口的船用燃料报价,以及某一地区的钻井情报
  • 按名称或代码搜索完整商品目录,并按精确代码读取最新价格
适用场景
当助手需要基于规范化数据源而非网页搜索来回答能源市场问题(原油、天然气、成品油、船用燃料、期货曲线或钻井活动)时使用;也适合在开通账户前先做免密钥试用。
运行要求
远程 streamable HTTP 端点 mcp.oilpriceapi.com,无需安装。演示模式无需注册即可获取受支持的最新价格与比较。历史、期货曲线、船用燃料、钻井与目录查询需要连接 OilPriceAPI 账户,访问范围取决于账户套餐与权限。
安装前请注意
高级数据集受账户套餐限制,超出权限的请求会返回错误而非数据。服务器要求助手不要在对话中索取密钥,并遵守账户权限。数据为第三方市场数据,服务器声明不提供任何投资保证;应视为参考信息而非交易建议。

安装

在 SourceWeft 中

  1. 打开 控制台中的 OilPriceAPI hosted energy data,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

Web executable,通过 Streamable HTTP。 远程服务在工作区中配置后即可从网页运行时运行。

交给智能体安装

把这段提示词粘贴到 Claude Code、Codex、Cursor 等智能体,或 SourceWeft 对话中。智能体会读取该服务器的安装指南,先向你展示发布者、端点和登录方式,经你同意后再把它添加到你的客户端。密钥不会写进任何命令。

阅读 https://sourceweft.com/mcp/io.github.OilpriceAPI%2Fhosted-energy/install.md,并按其中说明把这个 MCP 服务器接入我的客户端。修改任何配置之前,先告诉我它的发布者、端点和登录方式,等我确认。不要把 API 密钥写进命令或我会提交的文件;问我密钥应从哪里获取。

查看智能体所依据的安装指南

其他 MCP 客户端

把它添加到你客户端的 mcpServers 配置中。

{
  "mcpServers": {
    "oilpriceapi-hosted-energy-data": {
      "type": "http",
      "url": "https://mcp.oilpriceapi.com/mcp"
    }
  }
}

README

OilPriceAPI MCP Server

Give compatible AI clients source-timestamped oil, gas, LNG, carbon, fuel, and related energy data through MCP. No API key is needed to try the limited demo.

[npm] [Downloads] [license]

Get a Free API Key · Documentation · API Explorer · Pricing

Backed by OilPriceAPI, a normalized REST API for energy dashboards, fleet and logistics tools, maritime workflows, and market research.

Canonical sources: Public product facts · Official MCP Registry record

Features

  • Reviewed product facts — a keyless read-only tool and stable resource for offer, freshness, authentication, catalog, entitlement, and data-rights questions
  • Data and workflow tools — latest values, history, futures, marine fuels, fuel surcharges, energy intelligence, alerts, market briefs, and persistent watches
  • Resources — the reviewed product contract plus subscribable price snapshots
  • Prompts — analyst templates for briefings, spread analysis, gas markets, diesel costs, and supply analysis
  • Natural language — ask for "brent oil" or "natural gas", not codes
  • Broad catalog — oil, gas, coal, refined products, metals, forex, bunker fuels, state diesel, and selected energy-intelligence datasets; access varies by plan and account
  • Smart errors — unrecognized commodities get suggestions, not silent fallbacks

Quick Start

bash
npx oilpriceapi-mcp

The default scope is read-only. Account mutations are not listed and direct mutation calls are rejected unless write scope is explicitly enabled:

bash
npx oilpriceapi-mcp --scope write

Inspect the package without opening an MCP stdio session:

bash
npx oilpriceapi-mcp --versionnpx oilpriceapi-mcp --list-toolsnpx oilpriceapi-mcp --list-tools --json --profile corenpx oilpriceapi-mcp doctor --demonpx oilpriceapi-mcp doctornpx oilpriceapi-mcp --capabilities --jsonnpx oilpriceapi-mcp --config claude-codenpx oilpriceapi-mcp --config vscode

--config generates client-native, copy/paste-valid JSON for claude-desktop, claude-code, cursor, vscode, cline, or windsurf. It never reads or prints the configured API key. Claude Code, VS Code, and Windsurf outputs use their supported environment or secure-input references; Claude Desktop, Cursor, and Cline use an explicit local replacement marker. Add --demo to omit API-key configuration entirely. Scope, profile, and category options are preserved in the generated server arguments.

What can your agent get?

Example commodity codes:

CodeWhat it isTypical agent use
BRENT_CRUDE_USDBrent crude (global)market briefings, dashboards
WTI_USDWTI crude (US)trading context, macro models
NATURAL_GAS_USDHenry Hub natural gasenergy analytics
DUTCH_TTF_EURTTF gas (Europe)European energy, LNG analysis
JKM_LNG_USDJKM LNG (Asia)LNG trading & shipping
EU_CARBON_EUREU ETS carbon allowancesCBAM, maritime compliance, ESG
DIESEL_USDDiesel (Gulf Coast)fleet & fuel-surcharge math
JET_FUEL_USDJet fuelaviation ops
VLSFO_USDMarine bunker fuelvoyage costing
GOLD_USDGoldmacro & portfolio context

Installation

Try it without an API key

The server works out of the box in keyless demo mode — just omit OILPRICEAPI_KEY from the configs below. The price tools (opa_get_price, opa_compare_prices, opa_list_commodities, opa_market_overview) serve latest available values for a limited demo commodity set, and every other data tool explains its account requirements. Demo responses are marked with a footer. For the broader account-enabled catalog, history, futures, and alerts, get a free API key and add it to your config.

Claude Desktop

Add to ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows):

json
{  "mcpServers": {    "oilpriceapi": {      "command": "npx",      "args": ["-y", "oilpriceapi-mcp"],      "env": {        "OILPRICEAPI_KEY": "your-api-key-here"      }    }  }}

Claude Code

Add to your project's .mcp.json:

json
{  "mcpServers": {    "oilpriceapi": {      "command": "npx",      "args": ["-y", "oilpriceapi-mcp"],      "env": {        "OILPRICEAPI_KEY": "your-api-key-here"      }    }  }}

Cursor

Add to .cursor/mcp.json in your project root:

json
{  "mcpServers": {    "oilpriceapi": {      "command": "npx",      "args": ["-y", "oilpriceapi-mcp"],      "env": {        "OILPRICEAPI_KEY": "your-api-key-here"      }    }  }}

VS Code + Cline

Add to .vscode/mcp.json:

json
{  "servers": {    "oilpriceapi": {      "type": "stdio",      "command": "npx",      "args": ["-y", "oilpriceapi-mcp"],      "env": {        "OILPRICEAPI_KEY": "your-api-key-here"      }    }  }}

Windsurf

Add to ~/.codeium/windsurf/mcp_config.json:

json
{  "mcpServers": {    "oilpriceapi": {      "command": "npx",      "args": ["-y", "oilpriceapi-mcp"],      "env": {        "OILPRICEAPI_KEY": "your-api-key-here"      }    }  }}

Global Install

bash
npm install -g oilpriceapi-mcp

Build the Container

Container builds require the source revision and commit timestamp so the image, capability manifest, and build metadata are traceable to the same checkout:

bash
docker build \  --build-arg SOURCE_COMMIT="$(git rev-parse HEAD)" \  --build-arg SOURCE_DATE_EPOCH="$(git show -s --format=%ct HEAD)" \  -t oilpriceapi-mcp .docker run --rm oilpriceapi-mcp --versiondocker run --rm oilpriceapi-mcp --capabilities --json

The runtime image uses the unprivileged node user. Omit OILPRICEAPI_KEY for the limited keyless demo, or inject it with your container platform's secret manager. Do not bake credentials into the image.

Transport

This server runs locally over stdio only. Its MCP Registry record lists the npm package and no remote endpoint.

The hosted connector at https://mcp.oilpriceapi.com/mcp is not this server. It is a separate, smaller set of energy_* tools with OAuth account linking, used by hosted clients that cannot launch a local process. Use this package for the full opa_* tool set. The hosted connector has its own MCP Registry record, io.github.OilpriceAPI/hosted-energy, defined in server.hosted.json and published by the manual registry-hosted.yml workflow.

Environment Variables

VariableRequiredDescription
OILPRICEAPI_KEYNoAPI key from oilpriceapi.com/auth/signup. After the core trial, use the public product facts or your account response for the current Free allowance and reset window. Dataset access and limits vary by plan and entitlement. Without a key, the server uses the limited demo.
OILPRICEAPI_BASE_URLNoOverride API base URL (for staging/testing). Default: https://api.oilpriceapi.com
OILPRICEAPI_MCP_SCOPENoread (default) hides and blocks create/delete tools. Set write only when account mutations are intended.
OILPRICEAPI_MCP_PROFILENoStable inventory profile: all (default), core, market, or automation.
OILPRICEAPI_MCP_CATEGORIESNoComma-separated category allowlist (core, market, automation). Overrides the selected profile.

Tool Scope and Profiles

read scope includes all non-mutating tools, including alert history, subscription listing, and subscription event polling. The four create/delete tools require --scope write or OILPRICEAPI_MCP_SCOPE=write. Unknown scope, profile, or category values fail closed before stdio starts.

Profiles reduce tool overload without replacing first-class MCP actions:

ProfileIncluded categories
allcore, market, automation
corecore
marketcore, market
automationcore, automation

For example, a read-only price and product-facts server can use:

json
{  "command": "npx",  "args": ["-y", "oilpriceapi-mcp", "--scope", "read", "--profile", "core"]}

Doctor and Capability Contract

doctor checks the Node runtime, package entry point, API reachability, key validity, current plan, and reported feature gates. doctor --demo performs a bounded keyless request. Failures distinguish missing configuration, 401, 402, 403, 429, timeout, DNS/TLS, and upstream 5xx responses. The API key is never printed.

Every package includes build/capabilities.json. It is generated from the same SDK registry used by tools/list and records the package/version/source commit, minimum Node version, scopes, profiles, exact inventories, per-tool annotations, key/entitlement requirements, resources, commands, and support URLs. Website and docs consumers should pin a package version, validate schemaVersion and sourceCommit, and update the artifact only through an explicit dependency upgrade. They should not scrape CLI prose or hard-code tool counts.

API-to-MCP capability ledger

capability-ledger.json records an explicit decision for every operation in the published OilPriceAPI contract (https://api.oilpriceapi.com/openapi.json). Each operation is either exposed, naming the registered tool(s), or not_exposed with a disposition (selected, deferred, alias, unsupported, internal) and a one-line reason. Families group operations into workflows, including preview API families the server calls that are not in the canonical contract yet.

npm run build && npm run check:capability-ledger compares the ledger with the live contract, build/capabilities.json and the REST paths src/index.ts calls. It exits 1 on drift, such as a new API operation with no decision, a removed one, or an unrecorded tool or path. It exits 2 when it cannot check: the contract is unreachable, the build manifest is missing, or the route-policy snapshot is older than its stated threshold. CI runs it on every pull request and daily. When a decision changes, bump ledgerVersion, append to changes, and link that change from the release notes.

Tools

All tools are prefixed with opa_ to avoid name collisions when multiple MCP servers are loaded.

ToolDescription
opa_get_product_factsReviewed product, offer, freshness, auth, integration, entitlement, and data-rights contract
opa_get_priceCurrent spot price for a single commodity
opa_market_overviewAccount-visible current prices returned by the API, grouped by category
opa_compare_pricesSide-by-side comparison of 2-5 commodities with spread
opa_list_commoditiesAccount-visible commodity catalog returned by the live API
opa_get_historyHistorical prices with high/low/avg/change (day/week/month/year)
opa_get_history_rangeDated price rows for 1-5 commodities over a start/end date range, hourly to monthly, paged
opa_get_futuresFront-month futures (Brent, WTI, gasoil, TTF, JKM, EU carbon)
opa_get_futures_curveFull forward curve with contango/backwardation analysis
opa_get_futures_historyBrent, WTI, NYMEX natural gas, ICE gasoil OHLC history per contract month, up to 730 days
opa_get_continuous_futures_historyContinuous front-month Brent or WTI daily/weekly/monthly bars (revisable snapshots, not settlements)
opa_get_marine_fuelsBunker fuel prices by port and fuel type (VLSFO/MGO/IFO380)
opa_get_marine_portsBunkering port directory (UN/LOCODE, region, fuel services) or one port with recent prices
opa_get_marine_fuel_historyDaily history of one marine fuel at one port; paid subscription or active trial
opa_get_rig_countsBaker Hughes US total rig count with region and observation date
opa_get_drillingDrilling snapshot: rig counts, frac spreads, 30-day permits, DUCs
opa_get_diesel_by_stateAAA retail diesel price for any US state (50 states + DC)
opa_get_fuel_surchargeLTL and parcel carrier fuel surcharge percentages with effective dates and source provenance
opa_calculate_fuel_surchargeYour own surcharge schedule (percent or per mile) applied to the EIA weekly diesel index
opa_get_storageCushing and SPR oil storage/inventory levels
opa_get_opec_productionOPEC country-level production data
opa_get_forecastsEIA STEO energy price forecasts
opa_get_oil_inventoriesEIA weekly petroleum stocks (latest/summary/by_product)
opa_get_macro_releasesScheduled BLS, EIA, Fed, OPEC and Baker Hughes releases over 1-90 days, with calendar coverage
opa_get_well_permitsUS well drilling permits (latest/by_state/by_operator)
opa_search_well_permitsState-scoped permit search by county/operator/date with measured freshness gate
opa_list_well_permitsPaged permit records across states and a permit-date range; Well Permits subscription
opa_preview_well_permitsUp to 25 recent permits for one state over 1-90 days, with as-of date; any API key incl. Free
opa_lookup_wellAPI-number lookup with promoted lifecycle and exact monthly production when available
opa_get_well_activityRecent permit counts/top operators/trends with explicit state-health warnings
opa_get_well_productionUS well production — beta coverage (summary/states/state/well/top_producers/cycle_time/cohorts)
opa_get_spreadCrack (type, crude), basis (pair, or all pairs), margin (index); optional date-range history
opa_get_price_statisticsZ-score, percentile and volatility of the latest price vs its trailing window; plan-gated
opa_get_price_trendTrend, RSI, SMA, support/resistance and signal, or one indicator series; plan-gated
opa_get_price_correlationCorrelation of two commodities (rolling series) or a matrix of up to 10; plan-gated
opa_get_spread_statisticsNamed basis/crack/ratio spread vs its trailing distribution, or its daily series; plan-gated
opa_get_natural_gas_hubsUS physical gas hub prices as basis to Henry Hub (Waha, SoCal, Chicago and more)
opa_get_natural_gas_storageEIA weekly Lower 48 working gas: level, change, year-ago, five-year average; plan-gated
opa_get_data_qualityOilPriceAPI's own data-quality grades per series (completeness, freshness and more)
opa_get_service_statusOilPriceAPI's own operational health by component and update tier; no API key needed
opa_get_account_statusPlan tier, request usage, remaining quota and reset date for the configured key
opa_get_plansCurrent subscription plans: price, request limits and included features

Price Alert Tools (authenticated)

These tools create and manage persistent price alerts tied to your OilPriceAPI account, so they require an API key (OILPRICEAPI_KEY). The alert engine evaluates eligible source updates and notifies you (by email, plus webhook if you provide one) when a condition is met.

ToolDescription
opa_create_price_alertCreate a persistent alert (commodity, operator, threshold, optional webhook)
opa_list_price_alertsList all alerts on the account
opa_delete_price_alertPermanently delete an alert by id
opa_get_alert_triggersRecent alert trigger activity (optionally filtered by since)
opa_test_price_alertDry-run one alert against the latest price (would it trigger, cooldown)

Market Brief & Subscription Tools (authenticated)

The market brief gives a multi-commodity snapshot in one call. Subscriptions ("watches") are persistent, recurring snapshots tied to your account — the API records an event every interval, and the agent polls for new events via a per-user cursor (events are polled, not pushed — there is no always-on connection). These require an API key (OILPRICEAPI_KEY). A subscription differs from an alert: a watch always emits an event each interval (a running log), whereas an alert fires only on a threshold crossing. Per-account code, watch, and cadence limits apply; the API response is authoritative and returns the current limit when exceeded.

ToolDescription
opa_get_market_briefMulti-commodity brief: prices, 24h changes, 1m forecasts, spreads, optional narrative
opa_create_price_subscriptionCreate a persistent recurring watch (codes, interval like 5m/1h/daily)
opa_list_subscriptionsList all subscriptions on the account
opa_delete_subscriptionPermanently delete a subscription by id
opa_get_subscription_eventsPoll for new watch events since a cursor (since); returns snapshots + deltas

Example Questions

"What's the current Brent oil price?""Compare Brent and WTI crude""Show me oil prices for the past month""What's diesel cost in California vs Texas?""Give me a market overview of refined products""What's the Brent futures curve look like?""How many rigs are active in the US?""What are OPEC production levels?""What are bunker fuel prices in Singapore?""Show me Cushing storage levels""What were the latest EIA crude oil inventories?""How many well permits were issued in Texas?""What's the current 3-2-1 crack spread?""What's the UPS ground fuel surcharge?""Show me the gasoil futures curve"

Resources

Subscribable price data (JSON):

ResourceURIDescription
Product Factsoilpriceapi://product-factsReviewed, versioned public product contract
Brent Crudeprice://brentGlobal benchmark crude oil price
WTI Crudeprice://wtiUS benchmark crude oil price
Natural Gasprice://natural-gasUS Henry Hub natural gas price
Dieselprice://dieselUS national average diesel price
Market Viewprice://allAccount-visible current prices from the API

Product Facts and Model Knowledge

opa_get_product_facts and oilpriceapi://product-facts improve accuracy for a connected MCP session. They do not retrain a model or update its general knowledge. The server prefers the canonical keyless contract, uses a bounded cache, and labels any checksum-verified package fallback with source and warning metadata.

Prompts

Pre-built analyst templates:

PromptDescription
daily-briefingEnergy market daily briefing with key prices and movers
brent-wti-spreadAnalyze the Brent-WTI crude oil spread
gas-market-analysisCompare US vs European natural gas markets
commodity-reportDetailed report on a specific commodity (parameterized)
diesel-cost-analysisCompare diesel prices across US states for fleet planning
supply-analysisAnalyze supply using OPEC production, rig counts, storage

Natural Language Support

You sayWe understand
"brent oil", "brent crude"BRENT_CRUDE_USD
"wti", "us oil"WTI_USD
"natural gas", "henry hub"NATURAL_GAS_USD
"european gas", "ttf"DUTCH_TTF_EUR
"diesel"DIESEL_USD
"gold"GOLD_USD
"jet fuel", "aviation fuel"JET_FUEL_USD
"carbon", "carbon credits"EU_CARBON_EUR

Development

bash
npm installnpm run buildnpm testOILPRICEAPI_KEY=your-key node build/index.js

Breaking Changes in v3.0.0

  • The default tool scope is now read-only. Create/delete alert and subscription tools require explicit --scope write or OILPRICEAPI_MCP_SCOPE=write.
  • Invalid scope/profile/category configuration now fails before MCP stdio starts.
  • Use --list-tools --json or --capabilities --json instead of relying on a hard-coded inventory.

Breaking Changes in v2.0.0

  • All tool names now use opa_ prefix (e.g., get_commodity_price -> opa_get_price)
  • Unrecognized commodity names now return an error with suggestions instead of silently defaulting to Brent
  • list_commodities now fetches live from the API (falls back to static list if unavailable)

The whole OilPriceAPI toolbox

Same data, every stack:

ToolInstall
Python SDKpip install oilpriceapi
Node/TypeScript SDKnpm install oilpriceapi
PHP SDKcomposer require oilpriceapi/oilpriceapi
Go SDKgo get github.com/OilpriceAPI/oilpriceapi-go
WordPress pluginno-code price widgets

Explore the API

Privacy Policy

This MCP server runs locally on your machine and only communicates with the OilPriceAPI service:

  • What is sent: tool requests are translated into HTTPS calls to api.oilpriceapi.com (commodity codes, query parameters such as time period or state, carrier slugs and service-level inputs for fuel surcharges, and — for alert/subscription tools — the alert parameters you specify), authenticated with your API key. No conversation content is transmitted — only the structured tool inputs above.
  • API key storage: your key is stored locally in your MCP client's configuration (or the OILPRICEAPI_KEY environment variable). It is sent only to api.oilpriceapi.com as an Authorization header.
  • Logging and demand telemetry: each tool emits a local structured hit/miss event to stderr and attributes its API request with the tool name plus a deliberately lossy argument shape. Commodity codes, intervals, state codes, and bounded numeric controls may be retained; free text, prompts, names, IDs, API well numbers, coordinates, and thresholds are reduced to provided. API request logging follows the OilPriceAPI Privacy Policy.
  • Third parties: no data is shared with third parties beyond what that policy describes.
  • Demo mode: without an API key, price tools call the keyless demo endpoint on the same host; no key or account data is involved.

Questions: [email protected]

Pricing Boundary (HTTP 402)

Where the free/paid line sits for this server (#10):

  • Always open: the MCP server itself (MIT), setup, docs, discovery (tool listing), and keyless demo mode for low-volume evaluation.
  • API key: use the public product facts and your account response for the current trial, allowance, reset window, and dataset entitlement. Keyless demo mode remains available for a limited dataset.
  • Behind the paywall: high-volume usage and premium datasets (futures, energy intelligence, well permits/production, alerts at scale). When a request crosses that boundary the API returns a standard HTTP 402/403/429 with the exact limit or feature gate in the body, and this server surfaces that message plus an upgrade link — agents get a machine-readable stop, never a silent failure.
  • x402 protocol: per-request crypto micropayments via the x402 protocol are not currently supported — payment is by account plan (Stripe), authenticated with your API key.

License

MIT

Links

Also Available As

来源:README.md,提交 cba0efb

工具

9

energy_get_price

Get Energy Price

Read one supported latest energy benchmark. Preserve dataset name, currency, unit and all available source/freshness fields. Latest benchmarks may be futures; never relabel them spot or settlement. Demo is available without signup.

输入参数benchmark必填

energy_market_overview

Energy Market Overview

Read a grouped snapshot of at most six supported energy benchmarks. Catalog enumeration and bulk extraction are outside this plugin. Missing values remain unavailable.

输入参数category必填

energy_compare

Compare Energy Benchmarks

Compare 2–5 distinct supported energy benchmarks with separate timestamps, dataset context, units and currencies. No currency conversion or timestamp alignment is implied.

输入参数benchmarks必填

energy_history

Energy Price History

Read one authenticated benchmark's daily historical observations over at most 30 days and 100 rows. No pagination or anonymous history. Derive summaries only from returned observations, which may be incomplete.

输入参数days必填limit必填benchmark必填

energy_futures_curve

Futures Curve

Read an authenticated energy forward curve, at most 12 contracts. Preserve contract month, trading date and expiration semantics. Missing expiration or source dates remain unreported. Account entitlement is enforced by OilPriceAPI.

输入参数limit必填instrument必填

energy_marine_fuels

Marine Fuel Prices

Read authenticated bunker quotes for 1–2 supported ports and one exact grade: VLSFO, MGO_05S or HFO_380. Preserve port, grade and per-quote freshness. No substitution when a quote is unavailable. Account entitlement is enforced by OilPriceAPI.

输入参数grade必填ports必填

energy_drilling

Drilling Activity

Read authenticated drilling intelligence for a supported geography. Preserve report dates and geography. Permian basin counts and prior-report changes are unavailable unless explicitly supplied; do not substitute US totals. Account entitlement is enforced by OilPriceAPI.

输入参数geography必填

energy_search_catalog

Search Commodity Catalog

Search the full OilPriceAPI commodity catalog (crude grades, regional natural gas hubs such as Waha, refined products, power, coal, metals, freight and more) by name or code. Returns at most 10 matching codes with name, category, unit and update frequency. Use it to find the code, then call energy_get_latest. Requires a connected OilPriceAPI account.

输入参数limit必填query必填

energy_get_latest

Get Latest Price by Code

Read the latest price for one exact commodity code from the catalog (find codes with energy_search_catalog). Preserve dataset name, currency, unit and all source/freshness fields; latest is not necessarily spot or settlement. Requires a connected account; access follows the account's plan.

输入参数code必填

版本历史

1
  1. v0.1.2最新Nov 11, 2026

评分

已满足适用检查项的 100%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通必需25 分
  • 已声明认证方式必需10 分
  • 已列出工具必需15 分
  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分

其他 Price 集成