https://api.cdp.coinbase.com/platform/v2/x402).
Discovery: /.well-known/x402 |
agent.json |
OpenAPI spec |
llms.txt
Returns a US Treasury yield curve snapshot covering 2-year, 5-year, 10-year, and 30-year constant-maturity yields plus the 10-year minus 2-year spread. Includes concise AI commentary on whether the curve is normal, flat, or inverted and what that may imply for growth expectations and Fed policy.
This endpoint is designed for AI agents. Typical callers include:
{
"as_of": "2026-05-14",
"yields": {
"DGS2": { "value": 4.82, "unit": "percent" },
"DGS10": { "value": 4.55, "unit": "percent" },
"T10Y2Y": { "value": -0.27, "unit": "percent_points" }
},
"curve_shape": "inverted",
"commentary": "..."
}
GET https://globalapi.dev/us/yields — $0.005 USDC via x402
payment-required header containing base64-encoded payment instructionspayment-signature headerCompatible client libraries: @x402/client (TypeScript), x402-python (Python).