Skip to main content

FXMacroData public integration client

Connect Python applications and native integrations to FXMacroData's official macroeconomic history, release calendars and market data through one REST and MCP client. Results retain the original response and provide an additional tabular view.

Subscribe to FXMacroData for non-USD indicator history, full available history, FX, commodities and positioning. Use the public USD workflow to evaluate the integration before connecting your subscription.

The packaged discovery snapshot includes 29 documented REST operations and 50 hosted MCP tools. MCP discovery can refresh the tool inventory. The research-panel operation accepts its documented JSON request as body; all other REST arguments retain their documented parameter names.

Read FXMacroData documentation or visit FXMacroData.

Install from the package directory or its built wheel:

python -m pip install .
from fxmacrodata_public import FXMacroDataClient

with FXMacroDataClient() as client:
    result = client.execute("release_calendar", {"currency": "usd"})
    rows = result.records()
    original_response = result.payload

For evaluation, the USD catalogue, recent macro history and calendar work without an API key. Anonymous indicator history currently covers a rolling 90-day window. Set FXMACRODATA_API_KEY or pass api_key to the constructor to connect your subscription for protected data access. Credentials are excluded from operation schemas and errors. Requests send X-API-Key only in headers, without following redirects. There are no tracking calls; attribution parameters appear only on website links.

The client redacts credential echoes in results and its requests/urllib3 diagnostics. Its own HTTPS connections keep wire debugging disabled even when the application enables the global http.client debug flag. Injected sessions remain the caller's responsibility. Keep credentials in user-managed environment variables or a host secret store; never put them in prompts or shared workflow files.

Use list_operations() for all REST and MCP input schemas; MCP operation names begin with mcp_. For example, client.execute("mcp_seasonality", {"instrument": "eur_usd"}) calls the hosted seasonality tool when the account has access. client.discover_mcp_tools() refreshes the hosted catalogue.

stream_events is a finite capture bounded by max_events and max_seconds. It retains SSE IDs, event types and original data. No events does not imply there were no economic releases. The records projection is for presentation; use .payload whenever the complete response metadata or original nesting is required.

Forecast sources, units, dates and publication timestamps are preserved. FX reference rates are not executable broker quotes. The client never infers missing values or future release dates.

For historical research, use history_path with revisions="all", series_mode="raw" and value_mode="source". Every page must explicitly confirm source values and no normalization; unsupported responses raise an error. align_macro selects only independently evidenced vintages before each decision, retains the original reference period and excludes unknown publication timing. Always inspect source units before combining different indicators or countries.

Metadata

Release files for fxmacrodata-public-client 0.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for fxmacrodata-public-client 0.1.1
File Size Uploaded Provenance Actions
fxmacrodata_public_client-0.1.1.tar.gz 56.4 kB Without provenance Details for fxmacrodata_public_client-0.1.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for fxmacrodata-public-client 0.1.1
File Interpreter ABI Platform Actions
fxmacrodata_public_client-0.1.1-py3-none-any.whl Python 3 none any Details for fxmacrodata_public_client-0.1.1-py3-none-any.whl

Total release size: 105.8 kB

Release files / fxmacrodata_public_client-0.1.1.tar.gz

Download URL fxmacrodata_public_client-0.1.1.tar.gz
Size 56.4 kB
Tags Source
SHA-256 checksum
How to use checksums
625f9acae0e488ccc566891242e3587e1ca9a5aa3275385dba25fb1cee4771c9
BLAKE2b-256 checksum
How to use checksums
bf43453900244038768eda21cc3d383914ce992721ae21c0e4acbe7acf99c84b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via FXMacroData-PackagePublisher/1.0

Release files / fxmacrodata_public_client-0.1.1-py3-none-any.whl

Download URL fxmacrodata_public_client-0.1.1-py3-none-any.whl
Size 49.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
1223f3bcdc65e35134f66fd3068bbd40cf32b6d212ac186aad51ceb8f96e1b82
BLAKE2b-256 checksum
How to use checksums
2ba36b847786b62c200af7a0c385abc852fe082202eebf7cfc91f990c8f4d4de
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via FXMacroData-PackagePublisher/1.0

Security for fxmacrodata-public-client 0.1.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.1 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page