{"uid":"cap_vWLHfD0aYA6MKxKTkgP1s","slug":"agent402-tools-us-government-dataset-search-14e41c35","name":"agent402.tools US Government Dataset Search","description":"Search 300,000+ US government datasets on catalog.data.gov (Catalog API): titles, publishing org, formats, and direct resource URLs - the index agents need before fetching public data. ?q=electric+vehicles&rows=5.","url":"https://agent402.tools/api/gov-data","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":"Search query"},"rows":{"type":"number","description":"Results to return, 1-20 (default 5)"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","required":["query","totalFound","results"],"properties":{"query":{"type":"string"},"results":{"type":"array","items":{"type":"object","properties":{"title":{"type":"string"},"formats":{"type":"array","items":{"type":"string"}},"resources":{"type":"array","items":{"type":"object"}},"datasetUrl":{"type":"string"},"organization":{"type":"string"}}}},"totalFound":{"type":"integer"}}}}}}},"responseSchema":{"type":"json","example":{"query":"electric vehicle charging stations","results":[{"title":"Electric Vehicle Charging Stations","formats":["json","csv"],"resources":[{"url":"https://…","format":"csv"}],"datasetUrl":"https://catalog.data.gov/dataset/…","organization":"Town of Cary, North Carolina"}],"totalFound":5}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.002","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.002/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_WTHm8l3iQ4TjuGmN8-gPO","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.002","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Searches 300,000+ US government datasets on catalog.data.gov (CKAN) by keyword, returning dataset titles, publishing organizations, formats, and direct resource URLs.","exampleAgentPrompt":"Search catalog.data.gov for up to 10 government datasets about electric vehicles — I want to see the titles, publishing agencies, available formats, and download URLs.","exampleUseCases":null,"resultDescription":"A list of matching government dataset records including dataset title, publishing organization, available file formats (CSV, JSON, shapefile, etc.), and direct resource URLs for downloading or accessing the data — essentially an index for agents to know what's available before fetching.","failureModes":["Empty results if query is too specific or uses uncommon terminology — try broader synonyms","Rate limit or payment failure if x402 USDC payment is not properly handled","rows parameter out of range (must be 1-20) returns error","Stale index if data.gov catalog has been updated more recently than the index","Network timeout if catalog.data.gov upstream is slow"],"whenToPreferThis":"Use this endpoint when you need to discover and index US federal government datasets before fetching them — especially when you don't know the exact dataset URL and need to search by topic, agency, or keyword across all 300,000+ entries on catalog.data.gov. Prefer this over direct data.gov API calls when operating in an x402 payment context or when you need a lightweight, agent-optimized search interface.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T00:57:04.435Z","isFirstParty":false}