HomeChatAlertsCalendarScreenerWatchlistsFiles
DocsSettings
Sign upJoinLog in

Docs

Overview

IntroductionMCP ServerOpenAPI Spec

REST API

GETMacro Series

WebSocket

Live Quotes (Per Second)Live Quotes (Per Minute)Live NewsLive SEC FilingsTrading Halts

Macro Series

GET/v1/macro
View as markdown

Retrieve macroeconomic time series stored by Vantafin. Call without a category to list available categories (e.g. treasury rates, central bank policy). With a category, returns series keys, as-of dates, numeric values and optional payload JSON for each observation - ideal for rates dashboards, macro context on research pages and tying equity analysis to the interest-rate environment.

Use cases

  • Central bank and Treasury rate dashboards
  • Macro context alongside equity research
  • Economic indicator charts and alerts
  • Risk models that need policy-rate or yield inputs

Input parameters

(*) Required

ParameterTypeDescription
categorystringMacro category; omit to list categories.
limitintegerMax rows (default 500).

Output parameters

FieldTypeDescription
resultsarrayMacro observations or category listing rows.
results[].categorystringMacro category key (e.g. treasury_rates).
results[].series_keystringSeries identifier within the category.
results[].as_of_datestringObservation date (YYYY-MM-DD).
results[].numeric_valuefloatPrimary numeric value for the series.
results[].payloadobjectAdditional structured fields for the observation.
results[].updated_atstringLast update timestamp (ISO 8601).
countintegerNumber of rows returned.
from vantafin import RESTClient

client = RESTClient("vf-live-your_api_key")

result = client.get_macro(category="treasury_rates")

print(result)
{
  "results": [
    {
      "category": "treasury_rates",
      "series_key": "",
      "as_of_date": "2026-06-05",
      "numeric_value": null,
      "payload": {
        "year1": 3.88,
        "year2": 4.17,
        "year3": 4.22,
        "year5": 4.29,
        "year7": 4.41,
        "month1": 3.71,
        "month2": 3.71,
        "month3": 3.78,
        "month6": 3.81,
        "year10": 4.55,
        "year20": 5.03,
        "year30": 5.01
      },
      "updated_at": "2026-06-06T02:00:00.283756+00:00"
    },
    {
      "category": "treasury_rates",
      "series_key": "",
      "as_of_date": "2026-06-04",
      "numeric_value": null,
      "payload": {
        "year1": 3.82,
        "year2": 4.05,
        "year3": 4.1,
        "year5": 4.18,
        "year7": 4.32,
        "month1": 3.71,
        "month2": 3.7,
        "month3": 3.78,
        "month6": 3.78,
        "year10": 4.47,
        "year20": 4.98,
        "year30": 4.97
      },
      "updated_at": "2026-06-06T02:00:00.286453+00:00"
    }
  ],
  "count": 500
}
Allocation Breakdown
Filings by Ticker