通过本API,可查询WTI和布伦特原油的昨日结算价、开盘价、最高价、最低价及价格变化幅度,帮助您了解原油市场走势与趋势。
国际原油价格查询API可提供全球原油市场价格变动信息,辅助用户了解市场动态,为相关决策提供数据参考。
showapi_res_body
curl -X POST "https://route.showapi.com/1108-1?appKey=YOUR_APPKEY" \ -H "content-type: application/x-www-form-urlencoded" \ -d "code=wti"
{ "showapi_res_id": "", "showapi_res_error": "", "showapi_res_code": 0, "showapi_res_body": { "ret_code": 0, "nowPrice": 44.94, "yestoday_closePrice": "44.44", "today_openPrice": "45.05", "todayMax": "45.62", "todayMin": "44.72", "diff_num": "0.5", "diff_rate": "1.13%", "time": "2025-02-11 14:05:34", "stockNum": "10045", "name": "WTI原油(NYMEX原油)" } }
在 Cherry Studio、ChatBox 等支持 MCP 的客户端中配置,将 {your_appKey} 替换为真实 AppKey(AppKey 管理)。该服务覆盖本接口全部接入点。
{ "mcpServers": { "showapi-mcp-1108": { "url": "http://www.showapi.com.cn/mcp/1108/{your_appKey}" } } }
标准 OpenAPI 3.0 文档,覆盖本接口全部接入点,可导入 Apifox / Postman / Swagger UI,或供 AI Agent 直接消费。
客服热线请拨打
400-998-8033