Fxmacrodata — independently scanned and version-tracked by SaferSkills.
SaferSkills independently audited Fxmacrodata (Agent Skill) and scored it 100/100 (green). The audit ran 55 deterministic rules across Security, Supply Chain, Maintenance, Transparency, and Community; it found 0 high-severity and 0 lower-severity findings. The full rule-by-rule trace and per-finding evidence are below. Free, methodology-open.
Findings & checks · 0 flagged
Every scanned point with the score it earned and what moved between them.
First recorded scan — no prior version to compare against.
The primary manifest — the file an agent reads to learn what this artifact does.
The FXMacroData Python SDK provides a simple and efficient interface for fetching macroeconomic indicators, forex prices, release calendars, COT positioning, and commodity prices from FXMacroData.
It includes both synchronous and asynchronous clients, supports free USD endpoints, and offers a free Forex Price API for exchange rate data.
get_fx_price).requests and aiohttp.Install from PyPI:
pip install fxmacrodataOr install the latest version from GitHub:
pip install git+https://github.com/fxmacrodata/fxmacrodata.gitfrom fxmacrodata import Client
client = Client(api_key="YOUR_API_KEY")
# Fetch macroeconomic indicators
data = client.get_indicator(
"aud", "policy_rate",
start_date="2023-01-01",
end_date="2023-11-01"
)
print(data)
# Free Forex Price Endpoint
fx = client.get_fx_price("usd", "gbp", start_date="2025-01-01")
print(fx)
# Forex with technical indicators
fx = client.get_fx_price("eur", "usd", indicators="sma_20,rsi_14,macd")
print(fx)
# Release calendar
calendar = client.get_calendar("usd")
print(calendar)
# Data catalogue — discover available indicators
catalogue = client.get_data_catalogue("usd")
print(catalogue)
# COT positioning data
cot = client.get_cot("eur", start_date="2025-01-01")
print(cot)
# Commodity prices
gold = client.get_commodities("gold", start_date="2026-01-01")
print(gold)import asyncio
from fxmacrodata import AsyncClient
async def main():
async with AsyncClient(api_key="YOUR_API_KEY") as client:
# Fetch macroeconomic indicators
data = await client.get_indicator("eur", "inflation")
print(data)
# Free Forex Price Endpoint
fx = await client.get_fx_price("usd", "jpy")
print(fx)
# Release calendar
calendar = await client.get_calendar("usd")
print(calendar)
# Data catalogue
catalogue = await client.get_data_catalogue("usd")
print(catalogue)
# COT positioning
cot = await client.get_cot("jpy")
print(cot)
# Commodity prices
gold = await client.get_commodities("gold")
print(gold)
asyncio.run(main())get_indicator(currency, indicator, start_date=None, end_date=None)Fetches macroeconomic indicator time series data.
currency: "usd", "aud", "eur", "gbp", "cad", "nok", "nzd", "jpy", "brl", "cny", "dkk", "pln", "sek", "sgd", etc.indicator: "policy_rate", "inflation", "gdp", "unemployment", "trade_balance", "current_account_balance", "gov_bond_10y", etc.get_fx_price(base, quote, start_date=None, end_date=None, indicators=None)Fetches daily FX spot rates (ECB reference rates) between two currencies.
indicators: Optional comma-separated technical indicators — "sma_20", "sma_50", "sma_200", "rsi_14", "macd", "ema_12", "ema_26", "bollinger_bands", or "all".get_calendar(currency, indicator=None)Fetches upcoming economic data release dates for a currency.
indicator: Optional filter to a specific indicator slug.announcement_datetime (Unix timestamp) and release (indicator slug).get_data_catalogue(currency, include_capabilities=False, include_coverage=False, indicator=None)Discovers available macroeconomic indicators for a given currency.
name, unit, frequency, and has_official_forecast.get_cot(currency, start_date=None, end_date=None)Fetches CFTC Commitment of Traders (COT) positioning data.
AUD, CAD, CHF, EUR, GBP, JPY, NZD, USD.get_commodities(indicator, start_date=None, end_date=None)Fetches commodity price time series.
indicator: "gold", "silver", or "platinum".18 currencies supported: USD, EUR, GBP, JPY, AUD, CAD, CHF, NZD, HKD, SGD, NOK, PLN, SEK, DKK, BRL, CNY, KRW, MXN.
The table below shows a sample of indicator coverage across four major currencies. Use get_data_catalogue() to discover the full list for any currency.
| Category | Metric | USD | EUR | AUD | GBP |
|---|---|---|---|---|---|
| Economy | GDP Growth | ✓ | ✓ | ✓ | ✓ |
| Inflation Rate | ✓ | ✓ | ✓ | ✓ | |
| Trade Balance | ✓ | ✓ | ✓ | ✓ | |
| Current Account Balance | ✓ | ✓ | ✓ | ✓ | |
| Retail Sales | ✓ | ✓ | ✓ | ✓ | |
| Industrial Production | ✓ | — | — | — | |
| Labor Market | Unemployment Rate | ✓ | ✓ | ✓ | ✓ |
| Employment Level | ✓ | ✓ | ✓ | ✓ | |
| Full-Time Employment | ✓ | ✓ | ✓ | — | |
| Part-Time Employment | ✓ | ✓ | ✓ | ✓ | |
| Participation Rate | ✓ | ✓ | ✓ | ✓ | |
| Non-Farm Payrolls | ✓ | — | — | — | |
| Monetary Policy | Policy Rate | ✓ | ✓ | ✓ | ✓ |
| Risk-Free Rate | ✓ | ✓ | ✓ | ✓ | |
| Central Bank Assets | ✓ | — | ✓ | — | |
| Government Bond Yields | 2-Year Govt Bond | ✓ | ✓ | ✓ | ✓ |
| 5-Year Govt Bond | ✓ | ✓ | ✓ | ✓ | |
| 10-Year Govt Bond | ✓ | ✓ | ✓ | ✓ | |
| Inflation-Linked Bond | ✓ | ✓ | ✓ | ✓ |
MIT License © FXMacroData
~30 seconds. Free. No account. Every finding cites a rule and a line of evidence.