L

Lastlookdata · Treasury Current

by Lastlookdata

GETBase

$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/current

5

Calls / 30d

4

Unique payers / 30d

Aug 30

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://api.lastlookdata.com/api/treasury/current", {
  method: "GET",
});
const data = await res.json();
cURL
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

Pay to0xb4848d1b4b7e31b75b9b30d717f89777dc65d68e
AssetUSD Coin · 0x833589fcd6edb6e08f4c7c32d4f71b54bda02913
NetworksBase
Schemesexact

Is this your API?

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

Get featured →

More from Lastlookdata & similar services