fxmacrodata
できること
このスキルは、インフレ率、失業率、中央銀行の政策決定など、さまざまな国の公式な経済データを取得します。為替レートや投資家のポジションに関する情報も提供します。
使う場面
- ✓ある国の公式なインフレ率を知りたいとき。
- ✓中央銀行がいつ決定を発表するかを確認したいとき。
- ✓2か国の金利を比較したいとき。
スキルのリンク
https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/fxmacrodata/SKILL.mdコピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。
使い方
いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。
貼り付け用メッセージ
Claude Code、Codex、Cursorの場合:プロジェクトのフォルダで実行するとスキルがインストールされます。
SKILL.mdをダウンロードして、エージェントのスキル用フォルダに入れてください。
AIへの頼み方の例
“アメリカの直近に発表された月の公式な失業率はいくつでしたか?”
毎週5つの新しいスキル。1分で読めます。
仕組み
このスキルは、公式な経済データのソースに問い合わせます。指定された国とデータの種類(インフレや金利など)に基づいて、特定の情報を探します。
技術的な内容(元のSKILL.md)
作者による元のテキスト(英語)をGitHubからそのまま表示しています。
FXMacroData: Macro and FX Data
Overview
FXMacroData is a REST API for macroeconomic data taken from official publishers (statistics offices, central banks, the CFTC). It covers 22 currencies: AUD, BRL, CAD, CHF, CNH, CNY, DKK, EUR, GBP, HUF, ILS, JPY, KRW, MYR, NGN, NOK, NZD, PEN, SEK, THB, TWD and USD. Each series carries its publisher, source URL and the time the number was released, so answers can cite where a figure came from and when it became public.
This skill covers discovering indicator slugs, pulling release history, reading the release calendar, comparing policy rates between two currencies, and the access limits that apply without an API key.
When to Use
- Use when the user asks for an official macro figure for a country or currency: CPI, core inflation, GDP, unemployment, payrolls, retail sales, business and consumer confidence, trade balance, bond yields.
- Use when the user asks when the next CPI, payrolls, GDP or central-bank decision is due, or wants the release calendar for a week.
- Use when comparing central-bank policy rates or yield differentials between two currencies (for example USD vs JPY carry).
- Use when the user wants daily FX reference rates or CFTC Commitments of Traders positioning for a currency future.
- Do not use for intraday tick data, equities, crypto, or order execution. This is read-only reference data.
Access and Authentication
- Base URL:
https://api.fxmacrodata.com/v1 - Authentication is optional. If the user has a key, read it from the
FXMACRODATA_API_KEYenvironment variable and send it in theX-API-Keyheader. Never put the key in the URL or print it in output. - Without a key:
- USD indicators, the USD release calendar, the USD data catalogue and USD COT data work.
- USD announcement data is delayed by 15 minutes. Each response includes a
freemium_delayobject with the cutoff time andwithheld_count, the number of releases newer than the cutoff. - History is limited to the most recent 90 days. The
freemium_windowobject shows the applied cutoff date, andrequested_start_datein the response shows the start date actually used.
- Every other currency,
/forex,/rate_differentialsand/commoditiesneed a key. Without one they return HTTP 401 with"code": "api_key_required". That means the data exists but needs a subscription; do not report it as missing.
# Keyless (USD only)
curl -s "https://api.fxmacrodata.com/v1/announcements/usd/policy_rate?limit=3"
# With a key, from the environment
curl -s -H "X-API-Key: $FXMACRODATA_API_KEY" \
"https://api.fxmacrodata.com/v1/announcements/eur/policy_rate?limit=3"
Endpoints
| Endpoint | Purpose | Keyless |
|---|---|---|
GET /data_catalogue/{currency} |
Every indicator slug for a currency, with name, unit, frequency, source and coverage | Yes (all currencies) |
GET /announcements/{currency}/{indicator} |
Release history for one indicator, most recent first | USD only |
GET /announcements/{currency}/latest |
Latest value of every indicator for a currency | USD only |
GET /calendar/{currency} |
Upcoming scheduled releases with UTC timestamps | USD only |
GET /cot/{currency} |
Weekly CFTC COT positioning (AUD, CAD, CHF, EUR, GBP, JPY, MXN, NZD, USD, XAU) | USD only |
GET /forex/{base}/{quote} |
Daily FX reference rates | No |
GET /rate_differentials/{base}/{quote} |
Aligned rate spread between two currencies in percentage points and basis points | No |
Currency codes and indicator slugs are lowercase in paths (usd, policy_rate).
Common query parameters
| Parameter | Endpoints | Notes |
|---|---|---|
start_date, end_date |
announcements, calendar, cot, forex, rate_differentials | YYYY-MM-DD, inclusive |
limit, offset, page |
announcements, cot, forex, rate_differentials | Rows are most recent first. Default limit is 20 |
timezone |
calendar | IANA name such as Europe/London; adds an announcement_datetime_requested_timezone field |
indicator |
calendar | Filter the calendar to one slug |
revisions |
announcements | latest, first, final or all, where supported |
measure |
rate_differentials | auto, policy_rate, risk_free_rate, gov_bond_2y, gov_bond_10y |
Response shape
Announcement responses carry metadata (source, source_url, source_series_name, seasonal_adjustment, pagination) and a data array. Each row has:
…
よくある質問
「インジケーター・スラッグ」とは何ですか?
各種類の経済データを識別する短いコードのことです。たとえばインフレなら「inflation」、失業率なら「unemployment」のように、私たちが普段使う名称とは異なります。
どの国のデータでも見られますか?
米ドル(USD)、ユーロ(EUR)、ブラジル・レアル(BRL)などを含む22通貨をカバーしています。ただし、新しいデータや特定の通貨のデータには、有料のサブスクリプションが必要な場合があります。
データはリアルタイムですか?
米ドル(USD)のデータは最大15分の遅延がある場合があります。その他の通貨や、より詳細なデータの種類では、有料のサブスクリプションが必要になることがあり、リアルタイムではない場合もあります。
詳細
作者による元の説明
Query FXMacroData for official-source macro indicators, release calendars, central-bank policy rates, FX rates and CFTC positioning across 22 currencies.
人気
- GitHubのスター
- 48k
- ランキング
- #4680
- ライセンス
- MIT
- 更新日
- 2026/10/15
コメント
- …
このリポジトリの他のスキル
00-andruia-consultant
48kエージェントがAIプロジェクトの立ち上げや改善を支援します。コードを分析し、ツールを提案し、スペイン語で行動計画を作成します。
007
48kエージェントがセキュリティ監査と脅威モデリングを行えるようにします。攻撃や脆弱性からプロジェクトを守るのに役立ちます。
10-andruia-skill-smith
48kエージェントがAIツールの作成や改善を支援します。ツールの動作を定義し、ドキュメントを書き、構造を検証します。
20-andruia-niche-intelligence
48kエージェントが特定の業界に関する要約を作成できるようにします。信頼できる情報源を使って、プロジェクトの背景、ルール、利用パターン、リスクを把握するのに役立ちます。
似ているスキル
gitcrawl
394k保存されたGitHubのイシューとプルリクエストのアーカイブを検索し、重複をまとめ、GitHub上の現在の状態を確認するようエージェントを支援します。
slacrawl
394kローカルのSlackアーカイブ内のメッセージを検索して件数を数え、アーカイブの新しさを確認し、必要に応じて更新するようエージェントを支援します。
goplaces
394kGoogle Placesを使って、場所を検索し、詳細や口コミを取得し、場所の名前を解決するようエージェントを支援します。スクリプト用にJSON出力もできます。