返回首页
API 平台 - 精英版

使用 FinVI 强大的 API 构建。

将实时市场情报集成到您的交易系统、自定义仪表板或交易机器人中。专为想要程序化访问 FinVI 所有功能的开发者打造。

构建所需的一切

全面的 REST API,支持实时数据和 webhook。

pages.platform.api.features.restfulApi.title

pages.platform.api.features.restfulApi.description

实时数据

在生成的那一刻访问实时股价、情绪分数和提醒。

Webhook 支持

当提醒触发或观察列表变化时,即时向您的服务器发送通知。

完整文档

完整的 API 参考,包含多种语言的代码示例和交互式测试。

pages.platform.api.features.generousLimits.title

pages.platform.api.features.generousLimits.description

pages.platform.api.features.sdkLibraries.title

pages.platform.api.features.sdkLibraries.description

pages.platform.api.examples.heading

pages.platform.api.examples.subheading

$pages.platform.api.examples.curl.title

curl -X GET https://api.finvi.ai/v1/watchlist \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json"

JSpages.platform.api.examples.javascript.title

const finvi = require('@finvi/sdk');

const client = new finvi.Client({
  apiKey: process.env.FINVET_API_KEY
});

// Add stock to watchlist
const result = await client.watchlist.add({
  ticker: 'NVDA',
  alertThresholds: {
    priceChange: 5,  // Alert on 5% price change
    volumeSpike: 2.0 // Alert on 2x volume spike
  }
});

console.log('Stock added:', result.data);

PYpages.platform.api.examples.python.title

import finvi

client = finvi.Client(api_key=os.getenv('FINVET_API_KEY'))

# Get all active alerts
alerts = client.alerts.list(
    status='active',
    limit=10
)

for alert in alerts:
    print(f"{alert.ticker}: {alert.message}")
    print(f"Triggered at: {alert.triggered_at}")
    print(f"Sentiment: {alert.sentiment_score}")
    print("---")

WHpages.platform.api.examples.webhook.title

{
  "event": "alert.triggered",
  "timestamp": "2025-10-31T08:45:30Z",
  "data": {
    "alert_id": "alert_abc123",
    "ticker": "TSLA",
    "type": "price_movement",
    "message": "TSLA up 6.2% in last hour",
    "current_price": 245.80,
    "previous_price": 231.50,
    "change_percent": 6.2,
    "sentiment_score": 0.85,
    "volume_ratio": 1.8
  }
}

可用端点

通过我们的 API 完全访问 FinVI 的数据和功能。

观察列表管理

GETpages.platform.api.endpoints.watchlist.endpoint1
POSTpages.platform.api.endpoints.watchlist.endpoint2
DELETEpages.platform.api.endpoints.watchlist.endpoint3
PATCHpages.platform.api.endpoints.watchlist.endpoint4

股票数据

GETpages.platform.api.endpoints.stocks.endpoint1
POSTpages.platform.api.endpoints.stocks.endpoint2
DELETEpages.platform.api.endpoints.stocks.endpoint3
PATCHpages.platform.api.endpoints.stocks.endpoint4

提醒

GETpages.platform.api.endpoints.alerts.endpoint1
POSTpages.platform.api.endpoints.alerts.endpoint2
DELETEpages.platform.api.endpoints.alerts.endpoint3
PATCHpages.platform.api.endpoints.alerts.endpoint4

Webhooks

GETpages.platform.api.endpoints.webhooks.endpoint1
POSTpages.platform.api.endpoints.webhooks.endpoint2
DELETEpages.platform.api.endpoints.webhooks.endpoint3
PATCHpages.platform.api.endpoints.webhooks.endpoint4

AI 对话

GETpages.platform.api.endpoints.chat.endpoint1
POSTpages.platform.api.endpoints.chat.endpoint2
DELETEpages.platform.api.endpoints.chat.endpoint3
PATCHpages.platform.api.endpoints.chat.endpoint4

投资组合(IBKR)

GETpages.platform.api.endpoints.portfolio.endpoint1
POSTpages.platform.api.endpoints.portfolio.endpoint2
DELETEpages.platform.api.endpoints.portfolio.endpoint3
PATCHpages.platform.api.endpoints.portfolio.endpoint4

您可以构建什么

来自我们 API 用户的真实案例。

交易机器人

基于 FinVI 提醒和情绪分数自动化交易。

自定义仪表板

使用实时数据构建个性化市场监控仪表板。

pages.platform.api.useCases.slackDiscord.title

pages.platform.api.useCases.slackDiscord.description

投资组合分析

同步 IBKR 数据并构建自定义业绩分析工具。

移动应用

创建由 FinVI 智能驱动的原生移动应用。

研究工具

汇总情绪和历史数据进行量化研究。

pages.platform.api.cta.title

pages.platform.api.cta.subtitle

pages.platform.api.cta.footer