MacroTape market brief
v1.3.0Treasury and USD FX brief, daily history and webhook alerts for AI agents.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
get_latest_brief Latest MacroTape brief
Latest MacroTape market brief (newest weekday AM/PM edition): U.S. Treasury par curve, spreads and curve shape; every ECB currency vs USD with top movers and dollar breadth. format=text gives one compact line (cheapest), json the full structured brief. Needs an API key: send 'Authorization: Bearer <key>' or 'X-API-Key: <key>' on the HTTP connection. Counts against the key's daily limit. Quote each section's as_of; not investment advice.
| Parameter | Type | Description |
|---|---|---|
format | string | text = one compact line; json = full structured brief. |
get_brief_by_date MacroTape brief for a date
A past MacroTape brief by date (YYYY-MM-DD, U.S. weekdays) and optional edition (am|pm; omit for the newest edition that day). List available dates with the open /api/index.json. Needs an API key: send 'Authorization: Bearer <key>' or 'X-API-Key: <key>' on the HTTP connection. Counts against the key's daily limit.
| Parameter | Type | Description |
|---|---|---|
date * | string | Brief date, YYYY-MM-DD. |
edition | string | am = overnight edition (~7 AM ET); pm = midday edition (~1 PM ET). Omit for the newest edition that day. |
format | string | text = one compact line; json = full structured brief. |
list_topics List MacroTape topics
Every queryable subject (each Treasury tenor and spread, FX pair, aggregate) with its JSON field path, unit and source. Open, no API key needed.
get_sample Free MacroTape sample
Free headline sample of the latest brief (2Y/10Y, 2s10s, curve shape, EURUSD/USDJPY). Open, no API key needed. format=text gives one compact line.
| Parameter | Type | Description |
|---|---|---|
format | string | text = one compact line; json = full structured brief. |
list_alert_webhooks List MacroTape webhook alerts
List the webhook alert hooks registered for your API key (no secrets), your plan and hook limit. Needs an API Light, Pro or internal key in 'Authorization: Bearer <key>' (trial keys get 403). Informational market data only; not investment advice.
register_alert_webhook Register a MacroTape webhook alert
Register an https URL to receive signed JSON alerts when the 10-year Treasury par yield moves more than 10 bp vs the prior close or MacroTape's computed DXY-style index from ECB reference rates (not the ICE U.S. Dollar Index) moves more than 1%. Returns the signing secret ONCE (header MacroTape-Signature: t=..,v1=HMAC-SHA256(secret, t + '.' + body)). Needs an API Light, Pro or internal key in 'Authorization: Bearer <key>' (trial keys get 403). Informational market data only; not investment advice.
| Parameter | Type | Description |
|---|---|---|
url * | string | https URL on port 443 with a public domain name. |
description | string | Optional short label for this hook (max 100 characters). |
events | array | Which alert metrics to subscribe to. Omit for all currently enabled events. |
delete_alert_webhook Delete a MacroTape webhook alert
Delete one of your webhook alert hooks by id (wh_...). Needs an API Light, Pro or internal key in 'Authorization: Bearer <key>' (trial keys get 403). Informational market data only; not investment advice.
| Parameter | Type | Description |
|---|---|---|
id * | string | Webhook id returned at registration (wh_...). |
test_alert_webhook Send a test ping to a MacroTape webhook
Send one signed test.ping event to one of your hooks now and report the receiver's HTTP status. A successful ping re-enables a disabled hook. Needs an API Light, Pro or internal key in 'Authorization: Bearer <key>' (trial keys get 403). Informational market data only; not investment advice.
| Parameter | Type | Description |
|---|---|---|
id * | string | Webhook id returned at registration (wh_...). |
get_history MacroTape daily history for one topic
Daily history for one MacroTape topic: U.S. Treasury par yields (14 tenors, 1M-30Y) and 5 curve spreads since Jan 2, 2025; 29 USD FX pairs from ECB reference rates and MacroTape's computed DXY-style index (ECB rates, not the ICE U.S. Dollar Index) for the last year. days = calendar days back from the latest date (trial keys up to 30, API Light 365, API Pro the full series). Rows are [date, value]; quote the source and dates. Needs an API key ('Authorization: Bearer <key>'); counts as 1 request. Informational market data only; not investment advice.
| Parameter | Type | Description |
|---|---|---|
topic * | string | Topic id, e.g. ust_10y, ust_2s10s, fx_eurusd, dxy_style_index (list: /api/history/index.json). |
days | integer | Optional. Calendar days back from the latest date; default = your plan's cap. |