fxmacrodata
Skill này làm gì
Công cụ này lấy dữ liệu kinh tế chính thức từ nhiều quốc gia, như lạm phát, tỷ lệ thất nghiệp và các quyết định chính sách của ngân hàng trung ương. Nó cũng cung cấp tỷ giá hối đoái và thông tin về vị thế của nhà đầu tư.
Khi nào nên dùng
- ✓Khi bạn muốn biết tỷ lệ lạm phát chính thức của một quốc gia.
- ✓Khi muốn xem thời điểm ngân hàng trung ương công bố một quyết định.
- ✓Khi muốn so sánh lãi suất giữa hai quốc gia.
Liên kết skill
https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/fxmacrodata/SKILL.mdSao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.
Cách dùng
Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.
Tin nhắn có sẵn để dán
Dành cho Claude Code, Codex hoặc Cursor: chạy lệnh trong thư mục dự án của bạn và skill sẽ được cài đặt.
Tải tệp SKILL.md về và thả vào thư mục skill của agent.
Ví dụ cách nhờ AI
“Tỷ lệ thất nghiệp chính thức của Mỹ trong tháng gần nhất được báo cáo là bao nhiêu?”
5 skill mới mỗi tuần. Đọc chỉ 1 phút.
Cách hoạt động
Công cụ truy vấn các nguồn dữ liệu kinh tế chính thức. Nó tìm thông tin cụ thể dựa trên quốc gia và loại dữ liệu bạn yêu cầu, như lạm phát hoặc lãi suất.
Nội dung kỹ thuật (SKILL.md gốc)
Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.
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:
…
Câu hỏi thường gặp
'Indicator slugs' là gì?
Đây là các mã ngắn nhận diện từng loại dữ liệu kinh tế, như 'inflation' cho lạm phát hoặc 'unemployment' cho thất nghiệp. Chúng khác với tên gọi thông thường mà chúng ta hay dùng.
Tôi có thể xem dữ liệu của mọi quốc gia không?
Công cụ bao gồm 22 loại tiền tệ, trong đó có đô la Mỹ (USD), Euro (EUR) và Real Brazil (BRL). Tuy nhiên, một số dữ liệu mới hơn hoặc dữ liệu của loại tiền tệ cụ thể có thể cần gói trả phí.
Dữ liệu có theo thời gian thực không?
Dữ liệu của đô la Mỹ (USD) có thể bị trễ tối đa 15 phút. Dữ liệu của các loại tiền tệ khác hoặc các loại dữ liệu cụ thể hơn có thể cần gói trả phí và có thể không theo thời gian thực.
Chi tiết
Mô tả gốc của tác giả
Query FXMacroData for official-source macro indicators, release calendars, central-bank policy rates, FX rates and CFTC positioning across 22 currencies.
Độ phổ biến
- Sao GitHub
- 48k
- Vị trí xếp hạng
- #4680
- Giấy phép
- MIT
- Cập nhật
- 15/10/2026
Bình luận
- …
Thêm skill từ kho mã này
00-andruia-consultant
48kGiúp agent của bạn bắt đầu hoặc cải thiện các dự án AI. Phân tích mã, gợi ý công cụ và lập kế hoạch hành động bằng tiếng Tây Ban Nha.
007
48kCho phép agent của bạn thực hiện kiểm toán bảo mật và mô hình hóa mối đe dọa. Hữu ích để bảo vệ dự án khỏi các cuộc tấn công và lỗ hổng.
10-andruia-skill-smith
48kGiúp agent của bạn tạo hoặc cải thiện các công cụ AI. Xác định cách công cụ hoạt động, viết tài liệu và kiểm tra cấu trúc.
20-andruia-niche-intelligence
48kGiúp agent của bạn tạo bản tóm tắt về một ngành cụ thể. Hữu ích để hiểu bối cảnh, quy tắc, cách người dùng tương tác và rủi ro của dự án.
Skill tương tự
gitcrawl
394kCho phép agent của bạn tìm trong kho lưu trữ issue và pull request GitHub, gom các mục trùng lặp và kiểm tra trạng thái hiện tại trên GitHub.
slacrawl
394kCho phép agent của bạn tìm và đếm tin nhắn trong kho lưu trữ Slack cục bộ, kiểm tra kho đó mới đến mức nào và làm mới khi cần.
goplaces
394kGiúp agent của bạn tìm địa điểm, lấy chi tiết và đánh giá, và xác định tên địa điểm bằng Google Places, với đầu ra JSON cho script.