跳到正文
cccskills
免费在 GitHub 公开

fxmacrodata

Macroeconomic releases, release calendars, and FX spot rates from official sources. Read-only. Trigger phrases: fxmacrodata, cpi release, inflation data, non-farm payrolls, policy rate, economic calendar, fx rate.

中文简介正在准备中。当前显示原文说明。

查看安装方法

包含的文件(2)

  • SKILL.md4.4 KB
  • bin/fxmacrodata.py7.6 KB

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

FXMacroData

Purpose

Read-only macroeconomic and FX data from FXMacroData: the indicator catalogue for a currency, the release history of one indicator (CPI, payrolls, policy rate, bond yields and so on, each row with its official source link), upcoming release dates, and daily FX spot rates. Use when the user asks for a macro release, an economic calendar, or an exchange rate.

Currencies: AUD, BRL, CAD, CHF, CNH, CNY, DKK, EUR, GBP, HUF, ILS, JPY, KRW, MYR, NGN, NOK, NZD, PEN, SEK, THB, TWD, USD.

Source: the public OpenAPI spec at https://api.fxmacrodata.com/openapi.json and the reference at https://fxmacrodata.com/documentation/reference, both checked on 2026-10-04.

Tooling

All commands go through bin/fxmacrodata.py. Each prints the API's JSON response unchanged.

bin/fxmacrodata.py status                                   # GET /v1/health, plus which auth mode is in use
bin/fxmacrodata.py catalogue USD                            # GET /v1/data_catalogue/USD: indicator slugs, units, coverage
bin/fxmacrodata.py history USD inflation --limit 12         # GET /v1/announcements/USD/inflation, most recent first
bin/fxmacrodata.py history USD non_farm_payrolls --start 2026-01-01 --end 2026-09-30
bin/fxmacrodata.py calendar USD --start 2026-10-01 --end 2026-10-31   # GET /v1/calendar/USD
bin/fxmacrodata.py calendar USD --indicator inflation
bin/fxmacrodata.py forex EUR USD --limit 20                 # GET /v1/forex/EUR/USD (API key required)

history and forex take --start/--end (YYYY-MM-DD) and --limit (1-100). calendar takes --indicator, --start, and --end. Use catalogue to find the indicator slug before calling history.

Auth

  • Provider id: fxmacrodata (credential is collected as custom.fxmacrodata)
  • Collection: API key via the secure credential flow (credentials.request_api_access). Outside Muse, the CLI reads the key from the FXMACRODATA_API_KEY environment variable. It never accepts a key as an argument.
  • Connect placement: custom_header:X-API-Key (the key is never put in the query string)
  • Required scopes: none; the API has no scopes. Access depends on the key's plan.
  • Allowed hosts: api.fxmacrodata.com (HTTPS only; redirects to any other host are refused)
  • Status check: bin/fxmacrodata.py status. The health check does not need a key; bin/fxmacrodata.py forex EUR USD --limit 1 confirms a key works.

Without a key, USD data still works: catalogue, history, and calendar. The catalogue answers for every currency. Keyless USD history is delayed by 15 minutes and limited to the last 90 days. Those responses carry freemium_delay and freemium_window objects, which the CLI also summarises on stderr. Other currencies' history and calendar, and all FX rates, return HTTP 401 api_key_required without a key.

Operating Rules

  1. This connector is read-only: every call is a GET. It never places trades, changes an account, or sends anything on the user's behalf.
  2. When freemium_delay.withheld_count is above zero, a newer release exists but is not shown yet. Say so and do not present the older value as the latest.
  3. When freemium_window is present, the history was cut to the last 90 days. Do not describe it as the full series.
  4. Report HTTP errors verbatim (api_key_required, invalid_api_key, and so on). A 401 means the data needs a key, not that it is missing.
  5. Quote the row's source and source_url when citing a figure. This is data, not financial advice.
  6. Never print, log, or transmit the key value.

Files

  • SKILL.md
  • bin/fxmacrodata.py

Maturity

🧪 Draft: keyless USD commands (status, catalogue, history, calendar) were live-tested against api.fxmacrodata.com on 2026-10-04, as was the 401 path for forex and non-USD history. Keyed calls and the Muse credential flow have not been tested end-to-end.

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

<What it does, one line>. Trigger phrases: <phrases>.

中文简介正在准备中。当前显示原文说明。

Anil-matcha/awesome-muse-connectors13722026年10月14日 更新

airtable

免费

List Airtable bases, read table records, and add records. Trigger phrases: airtable, my base, add a record, spreadsheet.

中文简介正在准备中。当前显示原文说明。

Anil-matcha/awesome-muse-connectors13722026年10月14日 更新

Stock quotes and daily price history. Trigger phrases: stock quote, alphavantage, stock price.

中文简介正在准备中。当前显示原文说明。

Anil-matcha/awesome-muse-connectors13722026年10月14日 更新

amadeus

免费

Search travel with Amadeus: flight offers and prices, airport autocomplete, hotel offers, cheapest dates. Trigger phrases: amadeus, flight search, flight prices, hotel search.

中文简介正在准备中。当前显示原文说明。

Anil-matcha/awesome-muse-connectors13722026年10月14日 更新

anthropic

免费

Check Anthropic API access and list available Claude models. Read-only. Trigger phrases: anthropic, claude models, anthropic api.

中文简介正在准备中。当前显示原文说明。

Anil-matcha/awesome-muse-connectors13722026年10月14日 更新

apollo

免费

Search B2B contacts with Apollo.io: find people by title and company, enrich contacts and companies. Trigger phrases: apollo, find prospects, enrich contact.

中文简介正在准备中。当前显示原文说明。

Anil-matcha/awesome-muse-connectors13722026年10月14日 更新

查看 Anil-matcha 的全部技能

报告此技能的问题