Monthly US trade in goods and services
macro.x3digitalcapital.com/macro/trade
Monthly US trade in goods and services: balance, exports, imports, goods vs services balance, year-to-date vs prior year, 12-month trend, and optional top 10 trading partners (?partners=true). Bad params return 400 before payment. US government public-domain data. Not financial advice.
GET
https://macro.x3digitalcapital.com/macro/tradeUptime100% of 1 check in 30 days
30 days agoToday
Try it
Pays from your browser wallet in USDC on Base or USDG on Robinhood Chain, whichever the endpoint takes. The provider is paid directly; failed calls aren't refunded by Fourohtwo.
The response shows up here.
Call it from an agent
import { createPayer } from "fourohtwo";
// One agent key pays USDC on Base or USDG on Robinhood Chain,
// inside the spending rules you set on Fourohtwo.
const pay = createPayer({ privateKey: process.env.AGENT_KEY });
const res = await pay("https://macro.x3digitalcapital.com/macro/trade");
console.log(await res.json());Example input
{}More from MacroBroski
- macro.x3digitalcapital.com/macro/bankruptciesCompany bankruptcies only: US Courts business filings for the latest 12 months by chapter (7/11/13) with y/y and top states, public companies that filed SEC 8-K Item 1.03 (bankruptcy or receivership) in the window, and recent Chapter 11 business dockets. No individual or consumer cases. ?days= 1-90 (default 30), optional ?state=, ?limit= 1-50. Bad params return 400 before payment. US government pu0.02
- macro.x3digitalcapital.com/macro/businessCensus Business Formation Statistics: monthly business applications, high-propensity (likely employer) applications, planned-wage and corporate applications with m/m and y/y, a 12-month trend, plus 12-month business bankruptcy totals from US Courts. Optional ?state=. Bad params return 400 before payment. US government public-domain data. Not financial advice.0.02
- macro.x3digitalcapital.com/macro/calendarUpcoming US economic releases with exact ET/UTC times: CPI, PPI, jobs report, JOLTS, GDP, PCE, trade, weekly jobless claims, and FOMC rate decisions (with SEP flag). Highlights the next CPI, jobs report, FOMC, GDP and PCE. ?days= 1-90 (default 30), ?type= all|inflation|jobs|gdp|fed|trade. Bad params return 400 before payment. US government public-domain data. Not financial advice.0.02
- macro.x3digitalcapital.com/macro/cpiLatest US Consumer Price Index: headline and core m/m, y/y and annualized, plus 15 categories (groceries, restaurants, gasoline, electricity, shelter, rent, used cars, medical, airfare...), hottest/coolest categories, and a 12-month trend. ?months= 3-24 trend length. Bad params return 400 before payment. US government public-domain data. Not financial advice.0.02
- macro.x3digitalcapital.com/macro/debtUS national debt to the penny with 1-day, 30-day and 1-year changes and average daily increase, Treasury General Account cash, latest monthly and fiscal-year-to-date deficit vs prior year, and average interest rate on the debt with estimated annual interest. Bad params return 400 before payment. US government public-domain data. Not financial advice.0.01
- macro.x3digitalcapital.com/macro/energyEIA weekly retail regular gasoline and diesel prices, labeled level=national (U.S. average), region (PADD 1-5 and subregions), or state (CA, CO, FL, MA, MN, NY, OH, TX, WA), with weekly and yearly change; plus WTI and Brent crude, Henry Hub natural gas, and crude/gasoline/distillate/SPR inventories. ?region=all (default) returns every area, or a code such as r20 (Midwest), sca (California), stx (T0.02
- macro.x3digitalcapital.com/macro/housingHousing starts, permits, new home sales and supply, FHFA house price index, median sales price, rental vacancy, homeownership, rent and OER inflation, mortgage rates, and a monthly payment estimate for the median home. Bad params return 400 before payment. US government public-domain data. Not financial advice.0.02
- macro.x3digitalcapital.com/macro/jobsUS labor market: unemployment (U-3, U-6), participation, payrolls with monthly changes and 3-month average, wage growth, job openings, Sahm rule, and weekly initial/continuing jobless claims. Optional ?state= adds that state's unemployment and payrolls. Bad params return 400 before payment. US government public-domain data. Not financial advice.0.02
- macro.x3digitalcapital.com/macro/ppiLatest US Producer Price Index for final demand: headline and core (less foods and energy) m/m and y/y, goods/foods/energy/services breakdown, and a trend. ?months= 3-24. Bad params return 400 before payment. US government public-domain data. Not financial advice.0.02
- macro.x3digitalcapital.com/macro/ratesDaily Treasury par yield curve (1m-30y) with 1-week and 1-month changes in bp, 10y-2y and 10y-3m spreads and inversion flags, effective Fed funds rate and target range, SOFR, and Freddie Mac 30y/15y mortgage rates with weekly change. Bad params return 400 before payment. US government public-domain data. Not financial advice.0.02
- macro.x3digitalcapital.com/macro/recallsRecent and searchable US recalls: vehicles and equipment (NHTSA), food (FDA enforcement reports), and consumer products (CPSC). ?type= all|vehicle|food|product, ?q= keyword, ?make= &model= &year= for a specific vehicle, ?days= 1-365 (default 30), ?limit= 1-50 (default 10). Bad params return 400 before payment. US government public-domain data. Not financial advice.0.01
- macro.x3digitalcapital.com/macro/recessionOne-call US economy health score (0-100) and label from 8 government indicators: 10y-3m yield curve, Sahm rule, jobless claims vs 52-week low, payroll growth, industrial production, real retail sales, building permits, and Chicago Fed financial conditions. Each input shows value, thresholds, weight, risk and contribution. Bad params return 400 before payment. US government public-domain data. Not 0.05
