$0.01
per call · USD Coin on Base
LastLook Data — current 30-year US Treasury yield (DGS30). Alias for /api/current?id=DGS30.
Endpoint
GET https://api.lastlookdata.com/api/treasury/current5
Calls / 30d
4
Unique payers / 30d
Aug 30
Last called
exact
Payment scheme
Call this service
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://api.lastlookdata.com/api/treasury/current", {
method: "GET",
});
const data = await res.json();curl -X GET \
"https://api.lastlookdata.com/api/treasury/current" \
-H "X-PAYMENT: <signed x402 payment>"Example response
{
"date": "2026-05-09",
"note": "Source: Federal Reserve Bank of St. Louis (FRED)",
"series": "DGS30 - 30-Year Treasury Constant Maturity Rate",
"service": "LastLook Data",
"yield_percent": 4.97
}Payment details
0xb4848d1b4b7e31b75b9b30d717f89777dc65d68eUSD Coin · 0x833589fcd6edb6e08f4c7c32d4f71b54bda02913Is this your API?
Pin it to the top of Developer Tools and the homepage with a featured placement.
More from Lastlookdata & similar services
Lastlookdata · Crypto Price
api.lastlookdata.com
LastLook Data — current price, 24h change, market cap, and volume for any supported cryptocurrency. Use ?coin=BTC|ETH|SOL|BNB|XRP|ADA|AVAX|DOGE|LINK|DOT|etc. Source: CoinGecko.
Lastlookdata · Derived Policy Spread
api.lastlookdata.com
LastLook Data — EFFR vs IORB spread. Shows where the effective Fed funds rate trades relative to interest on reserves.
Lastlookdata · Derived Recession
api.lastlookdata.com
LastLook Data — real-time Sahm Rule recession indicator. Value >= 0.5 signals recession underway. Source: FRED SAHMREALTIME.