fxmacrodata
What it does
This tool fetches official economic data from various countries, such as inflation rates, unemployment figures, and central bank policy decisions. It also provides exchange rates and investor positioning information.
When to use it
- ✓When you want to know a country's official inflation rate.
- ✓To see when the central bank will announce a decision.
- ✓To compare interest rates between two countries.
Skill link
https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/fxmacrodata/SKILL.mdCopy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.
How to use
The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.
Ready-to-paste message
For Claude Code, Codex or Cursor: run it in your project folder and the skill gets installed.
Download the SKILL.md and drop it into your agent’s skills folder.
Example of what to ask your AI
“What was the official unemployment rate in the US for the last reported month?”
5 new skills a week. 1 minute to read.
How it works
The tool queries official economic data sources. It looks for specific information based on the country and data type you request, like inflation or interest rates.
Technical content (original SKILL.md)
Original text by the author, straight from 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:
…
FAQ
What are 'indicator slugs'?
These are short codes that identify each type of economic data, like 'inflation' for inflation or 'unemployment' for unemployment. They are different from the common names we use.
Can I see data for any country?
The tool covers 22 currencies, including the US dollar (USD), Euro (EUR), and Brazilian Real (BRL). However, some newer data or specific currency data may require a paid subscription.
Is the data real-time?
Data for the US dollar (USD) may have a delay of up to 15 minutes. Data for other currencies or more specific data types might require a paid subscription and may not be real-time.
Details
Original description by the author
Query FXMacroData for official-source macro indicators, release calendars, central-bank policy rates, FX rates and CFTC positioning across 22 currencies.
Popularity
- GitHub stars
- 48k
- Ranking position
- #4680
- License
- MIT
- Updated
- 10/15/2026
Comments
- …
More skills from this repository
00-andruia-consultant
48kHelps your agent start or improve AI projects. It analyzes code, suggests tools, and creates action plans in Spanish.
007
48kLets your agent perform security audits and threat modeling. It's useful for protecting projects against attacks and vulnerabilities.
10-andruia-skill-smith
48kHelps your agent create or improve AI tools. It defines how tools work, writes documentation, and validates the structure.
20-andruia-niche-intelligence
48kLets your agent create a summary about a specific industry. It's useful for understanding the context, rules, usage patterns, and risks of a project, using reliable sources.
Similar skills
gitcrawl
394kLets your agent search a saved archive of GitHub issues and pull requests, group duplicates, and check their current status on GitHub.
slacrawl
394kLets your agent search and count messages in a local Slack archive, check how fresh that archive is, and refresh it when needed.
goplaces
394kHelps your agent search for places, get their details and reviews, and resolve place names using Google Places, with JSON output for scripts.