{"uid":"cap_S2Mr2R-QZSKw5gFKL4sw6","slug":"script-master-labs-treasury-yields-api-x402-cd2870b8","name":"Script Master Labs — Treasury Yields API (x402)","description":"Pay-per-call crypto, RWA, federal, SEC, Section 8/HUD housing, and compliance APIs via x402. Primary: USDC on Base (eip155:8453). Also accepts Global Dollar (USDG) on Robinhood Chain (eip155:4663) via sovereign X-PAYMENT-TX. Hyphen routes only (e.g. /x402/gas-tracker, /x402/pha-lookup, /x402/sec-8k). MARKETPLACE REVIEW: use free /x402/playground/* (no key, no payment). Production /x402/* returns 402 unless paid via x402 or X-Api-Market-Key / X-API-Key from seller dashboard.","url":"https://mcp-x402.onrender.com/x402/treasury-yields","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"type":"string"},"queryParams":{"type":"object","required":[],"properties":{"month":{"type":"string","description":"YYYYMM format (optional, defaults to current month). e.g. 202606."}}}}},"output":{"properties":{"example":{}}}}},"responseSchema":{"example":{}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.001","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":{"p10Cents":"0.1000","medianCents":"0.1000","p90Cents":"0.1000","minCents":"0.1000","maxCents":"0.1000","p95Cents":"0.1000","sampleCount":1,"varies":false,"failureChargeRate":1},"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_Kqh9bQkPFtoeBnsbrQx6I","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns U.S. Treasury yield data for a given month, billed at $0.05 USDC per call via x402 on Base.","exampleAgentPrompt":"What were the U.S. Treasury yields for October 2024? Pull the yield curve data for that month.","exampleUseCases":[{"title":"Monthly yield curve snapshot","prompt":"Can you grab the full Treasury yield curve for January 2024? I need rates across all maturities for that month to update my financial model."},{"title":"Risk-free rate for valuation","prompt":"What's the current 10-year Treasury yield? I need the risk-free rate to plug into my discounted cash flow analysis."},{"title":"Compare T-bill yields over time","prompt":"Pull the 3-month and 6-month T-bill yields for both March 2024 and June 2024 so I can compare how short-term rates shifted over that period."}],"resultDescription":"A structured response containing U.S. Treasury yield rates across maturities (e.g. 1-month, 3-month, 6-month, 1-year, 2-year, 5-year, 10-year, 30-year) for the requested month, sourced from U.S. federal data and returned after a $0.05 USDC micropayment settled on Base via x402.","failureModes":["Payment failure — insufficient USDC balance or x402 payment not accepted (402 Payment Required)","Invalid month format — non-ISO date string causes 400 Bad Request","Month out of range — future or very old months may return no data or 404","Service unavailable — hosted on Render free tier, may cold-start or be offline (503)","No data for requested month — Treasury data not yet published for the given period"],"whenToPreferThis":"Choose this endpoint when you need pay-per-call U.S. Treasury yield data without a subscription and can settle micropayments in USDC on Base via x402. Ideal for agents with x402 payment capability needing ad-hoc yield curve lookups rather than a bulk data subscription. Prefer over free alternatives when programmatic micropayment settlement is already wired into the agent workflow.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T06:44:32.895Z","isFirstParty":false}