{"uid":"cap_RgcB4F6xmNpFr0XDQswgr","slug":"x402-government-datasets-search-api-5c8fab13","name":"x402 Government Datasets Search API","description":"66 pay-per-call APIs: AI text/image generation ($0.01), Polymarket odds, crypto prices, DeFi yields, FX rates, weather, IP/geo, FBI wanted, SEC tickers, clinical trials, 250M academic papers, Stack Overflow, meme-coin launchpads (pump.fun, Clanker, Four.meme, SunPump), tokenized stocks, Solana top 100, and 40+ more. $0.005/call standard. USDC on Base and Solana via x402.","url":"https://workspace-x402-paywall.onrender.com/gov/datasets?utm_source=zero.xyz","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":{"enum":["GET"],"type":"string"},"queryParams":{"type":"object","required":["q"],"properties":{"q":{"type":"string","description":"Requires a text search query string"}}}},"additionalProperties":false}}},"responseSchema":{"type":"object"},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.005","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.005/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_IjmRQ0fLiwdk15mwkxPZc","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.005","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Search US government datasets via a pay-per-call endpoint that accepts USDC micropayments via x402 protocol on Base and Solana mainnet.","exampleAgentPrompt":"Search the government datasets endpoint for records related to 'climate change emissions' and return only the name and price_usd fields — I need to find relevant federal datasets on this topic.","exampleUseCases":[{"title":"Federal regulatory dataset discovery","prompt":"Find me government datasets related to pharmaceutical drug approvals — search for 'drug approval clinical trials' and return the name and description fields."},{"title":"Environmental policy research","prompt":"Search government datasets for 'air quality pollution standards' — I'm trying to find relevant federal open data for an environmental policy report, just give me the name and source fields."},{"title":"Financial regulation data lookup","prompt":"Can you query the government datasets search for 'SEC financial disclosures' and filter to just the name and url fields so I can see what public datasets are available on corporate filings?"}],"resultDescription":"Returns a JSON object containing government dataset records matching the search query. Results can be filtered to specific fields (e.g. name, price_usd) using the fields parameter. The response schema is generic/open, so the exact structure depends on the datasets available for the given query.","failureModes":["Payment not included or insufficient — endpoint returns HTTP 402 requiring USDC payment via x402 on Base or Solana","Query parameter 'q' missing — returns 400 or validation error","No datasets found matching the query — returns empty result set","Render.com cold start latency causing slow first response","Invalid fields parameter value causing partial or malformed response"],"whenToPreferThis":"Choose this endpoint when you need to search US government open datasets by keyword and can pay $0.005 USDC per query via x402 micropayment protocol. It is best suited for agents that need programmatic, pay-per-use access to federal/government data without a subscription. Prefer this over free government data portals when building automated pipelines that require reliable API access with crypto-native payments.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-11T18:43:40.723Z","isFirstParty":false,"canonicalSlug":"x402-government-datasets-search-api-5c8fab13"}