Skip to content
Fourohtwo

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.

BaseArbitrumPolygonArcAnswering
GEThttps://macro.x3digitalcapital.com/macro/trade

Uptime100% 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