H

Hstgr · Route Macro Econ

by Hstgr

GETBase

$0.007

per call · USD Coin on Base

US macro indicators (CPI, core CPI, unemployment, Fed funds, GDP, 10y/2y yields, M2) with latest value + YoY + recent history, via FRED. ?series=cpi. Public-domain data, 6h cache. Never charged on failure.

Endpoint

GET https://srv1553682.hstgr.cloud/route/macro-econ

3

Calls / 30d

2

Unique payers / 30d

Aug 28

Last called

exact

Payment scheme

Call this service

TypeScript · @x402/fetch
import { wrapFetchWithPayment } from "@x402/fetch";
import { privateKeyToAccount } from "viem/accounts";

const account = privateKeyToAccount(process.env.PRIVATE_KEY);
const fetchWithPay = wrapFetchWithPayment(fetch, account);

const res = await fetchWithPay("https://srv1553682.hstgr.cloud/route/macro-econ", {
  method: "GET",
});
const data = await res.json();
cURL
curl -X GET \
  "https://srv1553682.hstgr.cloud/route/macro-econ?series=cpi" \
  -H "X-PAYMENT: <signed x402 payment>"

Example response

{
  "latest": {
    "date": "2026-07-01",
    "value": 332.8
  },
  "series": "cpi",
  "yoy_pct": 3.3
}

Payment details

Pay to0xd32714cc95753d5cd50f56570e98c9d87e7c6dfe
AssetUSD Coin · 0x833589fcd6edb6e08f4c7c32d4f71b54bda02913
NetworksBase
Schemesexact

Is this your API?

Pin it to the top of Other and the homepage with a featured placement.

Get featured →

More from Hstgr & similar services