v2.0 • REST API

API ドキュメント

経済カレンダーREST API - トレーダー向けAI分析付きリアルタイム経済ニュースを取得。

概要

Forex Calendar Proは、金融ソースからスクレイピングしたリアルタイム経済カレンダーデータを提供し、トレーダー向けのオプションのAI分析機能を備えています。APIは複数のタイムゾーン、インパクトフィルタリング、インテリジェントキャッシングをサポートしています。

ベースURL

https://api.forex-calendar.pro

Telegram通知

Proユーザーは取引日開始前にTelegram経由で経済ニュースのデイリーダイジェストを受け取ることができます。

1

ボットを見つける

Telegramで@ForexCalendarProBotを検索

2

IDを取得

ボットに/startを送信

3

IDを保存

アプリケーションダッシュボードにTelegram IDを入力して保存

4

設定

ダッシュボードから:Telegram通知を有効にし、受け取りたい通知タイプを選択

5

楽しむ

毎日のブリーフィングと経済発表リストを毎日受け取る

認証

X-API-Keyヘッダーを使用してリクエストを認証します:

curl -H "X-API-Key: your_api_key" https://api.forex-calendar.pro/api/announcements

APIキーを取得するには、ダッシュボードにアクセスしてください

Dashboard

プラン&アクセスレベル

機能FreeBasicPro
/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応答言語

エンドポイント

GET/

API情報と利用可能なエンドポイントを返します。

GET/api/announcements

インパクトフィルタリング付きで本日の経済ニュースを取得。

GET/api/announcements/weekFree+

今週のすべてのニュースを取得。

GET/api/briefing/dailyPro

トレーダー向けAI生成デイリーブリーフィングを取得。

GET/api/announcements/analyzePro

特定の経済ニュースのAI分析を取得。

GET/api/account/usageFree+

アカウントの使用状況とレート制限ステータスを取得。

GET/api/notifications/settingsBasic+

通知設定を取得または更新。

GET/api/health

ヘルスチェックエンドポイント。

GET /api/announcements

本日の経済ニュースを取得。

パラメータタイプデフォルト説明
impact
stringhigh,mediumインパクトレベルでフィルタ
tz
stringnyタイムゾーンコード(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
stringallインパクトレベルでフィルタ

レスポンス形式は同じです /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応答言語
parisFrench
frankfurtGerman
london, ny, dubai, mumbai, singapore, sydneyEnglish
tokyoJapanese
hongkongChinese
{
  "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プランが必要です。

パラメータタイプ必須説明
announcementstringYes本日のニュースタイトル(/api/announcementsの'announcement'フィールド)
currency
stringNo通貨でフィルタ
tz
stringNo言語選択用タイムゾーン
{
  "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オフセット
nyNew York (default)-5
parisParis+1
frankfurtFrankfurt+1
londonLondon+0
dubaiDubai+4
mumbaiMumbai+5:30
singaporeSingapore+8
hongkongHong Kong+8
tokyoTokyo+9
sydneySydney+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

ホームに戻る