{"uid":"cap_qS0Q9mTAqDr2WNNVSCo8M","slug":"script-master-labs-x402-data-api-u-s-federal-data-chat-completions-49d327da","name":"Script Master Labs x402 Data API — U.S. Federal Data Chat Completions","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/chat/completions","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"model":{"type":"string"},"messages":{"type":"array"},"max_tokens":{"type":"integer"}}},"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":null,"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_3L_O4tpTesRKEkOoLhCA6","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":"Provides pay-per-call access to U.S. federal government data via a chat completions interface, with micropayments settled in USDC on Base via x402 protocol","exampleAgentPrompt":"Can you use the Script Master Labs federal data API to look up recent U.S. federal spending figures — send up to 500 tokens in the response and use the default model?","exampleUseCases":[{"title":"Federal spending research query","prompt":"Look up how much the U.S. federal government spent on defense contracts last year and summarize the key figures for me — keep the answer under 400 tokens."},{"title":"Regulatory data lookup for compliance","prompt":"I need to find the current EPA regulations on industrial emissions from U.S. federal sources — can you query the federal data API and give me a concise breakdown, max 300 tokens?"},{"title":"Congressional legislation summary","prompt":"What bills related to healthcare reform were introduced in the last session of Congress? Pull that from the U.S. federal data API and summarize the main ones in under 500 tokens."}],"resultDescription":"A chat completions response containing an AI-generated answer grounded in U.S. federal government data, including the model's reply message, finish reason, and token usage counts. Each call is charged $0.001 USDC settled on Base via the x402 payment protocol.","failureModes":["Payment failure: insufficient USDC balance or x402 payment not accepted returns 402 Payment Required","Invalid model name returns an error or falls back to default","Messages array malformed or empty may return a 400 Bad Request","Rate limiting or server overload on the Render-hosted instance may return 429 or 503","Max tokens set too low may result in truncated or incomplete answers","Network timeout if the Render cold-start takes too long on first call"],"whenToPreferThis":"Choose this endpoint when you need natural-language query access to U.S. federal government data on a pay-per-call basis without a monthly subscription, and your agent infrastructure supports the x402 micropayment protocol for USDC settlements on Base. It is especially useful for sporadic or low-volume queries where a subscription API would be cost-inefficient.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T18:57:44.750Z","isFirstParty":false}