API ドキュメント
経済カレンダーREST API - トレーダー向けAI分析付きリアルタイム経済ニュースを取得。
概要
Forex Calendar Proは、金融ソースからスクレイピングしたリアルタイム経済カレンダーデータを提供し、トレーダー向けのオプションのAI分析機能を備えています。APIは複数のタイムゾーン、インパクトフィルタリング、インテリジェントキャッシングをサポートしています。
ベースURL
https://api.forex-calendar.proTelegram通知
Proユーザーは取引日開始前にTelegram経由で経済ニュースのデイリーダイジェストを受け取ることができます。
ボットを見つける
Telegramで@ForexCalendarProBotを検索
IDを取得
ボットに/startを送信
IDを保存
アプリケーションダッシュボードにTelegram IDを入力して保存
設定
ダッシュボードから:Telegram通知を有効にし、受け取りたい通知タイプを選択
楽しむ
毎日のブリーフィングと経済発表リストを毎日受け取る
認証
X-API-Keyヘッダーを使用してリクエストを認証します:
curl -H "X-API-Key: your_api_key" https://api.forex-calendar.pro/api/announcementsAPIキーを取得するには、ダッシュボードにアクセスしてください
Dashboardプラン&アクセスレベル
| 機能 | Free | Basic | Pro |
|---|---|---|---|
| /api/announcements (NY TZ) | |||
| /api/announcements (All TZ) | |||
| /api/announcements/week | |||
| /api/account/usage | |||
| /api/briefing/daily | |||
| /api/announcements/analyze | |||
| /api/notifications/settings | |||
| Telegramデイリーダイジェスト | |||
| AI応答言語 | — | — |
エンドポイント
/API情報と利用可能なエンドポイントを返します。
/api/announcementsインパクトフィルタリング付きで本日の経済ニュースを取得。
/api/announcements/weekFree+今週のすべてのニュースを取得。
/api/briefing/dailyProトレーダー向けAI生成デイリーブリーフィングを取得。
/api/announcements/analyzePro特定の経済ニュースのAI分析を取得。
/api/account/usageFree+アカウントの使用状況とレート制限ステータスを取得。
/api/notifications/settingsBasic+通知設定を取得または更新。
/api/healthヘルスチェックエンドポイント。
GET /api/announcements
本日の経済ニュースを取得。
| パラメータ | タイプ | デフォルト | 説明 |
|---|---|---|---|
impact | string | high,medium | インパクトレベルでフィルタ |
tz | string | ny | タイムゾーンコード(Proのみ) |
{
"scrapeDate": "2025-12-23T10:30:00.000Z",
"announcementsCount": 5,
"timezone": "paris",
"announcements": [
{
"date": "Mon Dec 23",
"time": "8:30am",
"currency": "USD",
"impact": "high",
"announcement": "GDP q/q",
"actual": "2.1%",
"forecast": "2.0%",
"previous": "1.8%"
}
]
}GET /api/announcements/week
今週のすべてのニュースを取得。 Freeプラン以上が必要です。
| パラメータ | タイプ | デフォルト | 説明 |
|---|---|---|---|
impact | string | all | インパクトレベルでフィルタ |
レスポンス形式は同じです /api/announcements
{
"scrapeDate": "2025-12-25T15:02:57.863Z",
"announcementsCount": 3,
"announcements": [
{
"date": "Tue Dec 23",
"time": "8:30am",
"currency": "CAD",
"impact": "high",
"announcement": "GDP m/m",
"actual": "-0.3%",
"forecast": "-0.3%",
"previous": "0.2%"
},
{
"date": "Tue Dec 23",
"time": "8:30am",
"currency": "USD",
"impact": "high",
"announcement": "Prelim GDP q/q",
"actual": "4.3%",
"forecast": "3.3%",
"previous": "3.8%"
},
{
"date": "Wed Dec 24",
"time": "8:30am",
"currency": "USD",
"impact": "high",
"announcement": "Unemployment Claims",
"actual": "214K",
"forecast": "224K",
"previous": "224K"
}
]
}GET /api/briefing/daily
トレーダー向けAI生成デイリーブリーフィングを取得。 Proプランが必要です。
| タイムゾーン | AI応答言語 |
|---|---|
| paris | French |
| frankfurt | German |
| london, ny, dubai, mumbai, singapore, sydney | English |
| tokyo | Japanese |
| hongkong | Chinese |
{
"date": "2025-12-25",
"announcementsCount": 14,
"briefing": {
"summary": "A mixed bag of economic data today, with Japan's Housing Starts y/y surprising with a -8.5% decline...",
"key_announcements": [
"12:00am | JPY | LOW | Housing Starts y/y",
"6:50pm | JPY | LOW | Prelim Industrial Production m/m",
"6:50pm | JPY | LOW | Retail Sales y/y"
],
"market_movers": [
"JPY: Housing Starts y/y (-8.5%) deviated significantly from forecast (0.2%)",
"JPY: Prelim Industrial Production m/m and Retail Sales y/y may also have a significant impact"
],
"risk_windows": [
"6:50pm | JPY | LOW | Prelim Industrial Production m/m",
"6:50pm | JPY | LOW | Retail Sales y/y"
],
"currencies_in_focus": [
"JPY: Surprising economic data and bank holidays will impact JPY pairs",
"CHF: Bank holiday will lead to reduced trading volumes"
],
"recommendation": "Focus on JPY pairs and be cautious of potential market volatility...",
"volatility_forecast": "medium"
},
"announcements": [
{ "date": "Thu Dec 25", "time": "12:00am", "currency": "JPY", "impact": "low", "announcement": "Housing Starts y/y", "actual": "-8.5%", "forecast": "0.2%", "previous": "3.2%" },
{ "date": "Thu Dec 25", "time": "All Day", "currency": "CHF", "impact": "holiday", "announcement": "Bank Holiday", "actual": "", "forecast": "", "previous": "" },
{ "date": "Thu Dec 25", "time": "All Day", "currency": "EUR", "impact": "holiday", "announcement": "French Bank Holiday", "actual": "", "forecast": "", "previous": "" },
"..."
],
"language": "English",
"generatedAt": "2025-12-25T15:05:15.245Z"
}GET /api/announcements/analyze
特定の経済ニュースのAI分析を取得。 Proプランが必要です。
| パラメータ | タイプ | 必須 | 説明 |
|---|---|---|---|
| announcement | string | Yes | 本日のニュースタイトル(/api/announcementsの'announcement'フィールド) |
currency | string | No | 通貨でフィルタ |
tz | string | No | 言語選択用タイムゾーン |
{
"announcement": {
"date": "Thu Dec 25",
"time": "All Day",
"currency": "EUR",
"impact": "holiday",
"announcement": "German Bank Holiday",
"actual": "",
"forecast": "",
"previous": ""
},
"analysis": {
"explanation": "A German Bank Holiday may cause reduced market liquidity and trading volumes in the EUR...",
"importance": "This announcement is important for Forex traders as it can impact EUR price movements.",
"scenarios": {
"above_forecast": "If the holiday results in a significant increase in economic activity, the EUR may strengthen...",
"below_forecast": "If the holiday leads to a decrease in economic activity, the EUR may weaken..."
},
"pairs_to_watch": ["EUR/USD", "EUR/GBP", "EUR/JPY", "EUR/CHF"],
"risk_level": "medium",
"trading_tip": "Consider scaling back positions or adjusting stop-loss levels ahead of the holiday..."
},
"language": "English",
"generatedAt": "2025-12-25T15:06:33.662Z"
}GET /api/account/usage
アカウントの使用状況とレート制限ステータスを取得。 Freeプラン以上が必要です。
{
"plan": "pro",
"email": "user@example.com",
"language": "en",
"telegramConfigured": true,
"usage": {
"requestsToday": 45,
"requestsLimit": 100,
"resetAt": "2025-12-23T11:00:00.000Z"
},
"createdAt": "2025-01-15T10:00:00.000Z",
"lastUsedAt": "2025-12-23T10:30:00.000Z"
}GET /api/notifications/settings
通知設定を取得または更新。 Basicプラン以上が必要です。
{
"telegramEnabled": true,
"telegramId": "123456789",
"impactLevels": ["high", "medium"],
"alertDelay": 15,
"language": "en"
}タイムゾーン
| コード | 都市 | UTCオフセット |
|---|---|---|
| ny | New York (default) | -5 |
| paris | Paris | +1 |
| frankfurt | Frankfurt | +1 |
| london | London | +0 |
| dubai | Dubai | +4 |
| mumbai | Mumbai | +5:30 |
| singapore | Singapore | +8 |
| hongkong | Hong Kong | +8 |
| tokyo | Tokyo | +9 |
| sydney | Sydney | +11 |
インパクトレベル
high
主要な市場変動ニュース(NFP、金利、GDP)
medium
中程度のインパクトニュース
low
市場への影響が限定的なマイナーニュース
holiday
銀行休業日
キャッシング
| キャッシュ | 期間 | 無効化 |
|---|---|---|
| ニュース(今日) | 深夜まで | UTC 5時にCron |
| ニュース(週) | 月曜日まで | 毎週月曜UTC 5時にCron |
| AIブリーフィング | 毎日 | 新しい結果が公開されたとき |
| AI分析 | 毎日 | アナウンスメントごと |
エラーレスポンス
レート制限
100 リクエスト/ 15 分/IP
使用例
JavaScript (Fetch)
const response = await fetch('https://api.forex-calendar.pro/api/announcements?impact=high', {
headers: { 'X-API-Key': 'your_api_key' }
});
const data = await response.json();Python
import requests
headers = {'X-API-Key': 'your_api_key'}
response = requests.get(
'https://api.forex-calendar.pro/api/announcements',
params={'impact': 'high,medium'},
headers=headers
)
data = response.json()cURL
curl -H "X-API-Key: your_api_key" \
"https://api.forex-calendar.pro/api/announcements?impact=all"ヘルプが必要ですか?お問い合わせ: wdltradingapi@gmail.com
ホームに戻る