{"uid":"cap_f2biaAeGJHoF-VgI64Lf4","slug":"maxwell-x402-us-open-data-portal-search-data-gov-03344380","name":"Maxwell x402 – US Open Data Portal Search (data.gov)","description":"Search the national open data portal of the United States (catalog.data.gov) by keyword, or fetch one dataset by id: title, publishing organization, last modified date where the portal gives one, number of files and the official link, under the portal's licence terms (a dataset's own licence is on its official page). Uncached: 404, not charged, fetched within about a minute.","url":"https://api.maxwellinternational.ai/v1/gov/us/open-data?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","HEAD","DELETE"],"type":"string"},"headers":{"type":"object","additionalProperties":{"type":"string"}},"queryParams":{"type":"object","additionalProperties":{"type":"string"}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"ok":true,"sku":"gov.us.open_data","count":10,"items":[{"id":"nyc-climate-budgeting-report-climate-alignment-assessment-and-capital-climate...","title":"NYC Climate Budgeting Report: Climate Alignment Assessment and Capital Climat...","modified":"2026-08-11","sourceUrl":"https://catalog.data.gov/dataset/nyc-climate-budgeting-report-climate-alignme...","organization":"City of New York","resourceCount":3}],"query":"climate","family":"open_data","source":"data.gov catalogue (GSA)","country":"United States","licence":{"url":"https://www.usa.gov/government-copyright","name":"U.S. Government Works (public domain) for federal metadata; each dataset stat..."},"fetchedAt":"2026-09-29T13:35:32.004Z","sourceUrl":"https://catalog.data.gov/","totalCount":null}},"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_mP4GJfI6Y62DvQ3AHWhZQ","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 or fetch dataset metadata from the US national open data portal (catalog.data.gov) by keyword or dataset ID, returning title, organization, modified date, file count, and official link.","exampleAgentPrompt":"Search the US government's open data portal (data.gov) for datasets about renewable energy — give me titles, publishing organizations, and links to the official pages.","exampleUseCases":[{"title":"Finding climate datasets for research","prompt":"Search data.gov for datasets related to climate change and give me the titles, the agencies that published them, and links to each one."},{"title":"Fetching a specific data.gov dataset by ID","prompt":"Pull up the dataset with ID 'nyc-climate-budgeting-report-climate-alignment-assessment' from the US open data portal and tell me who published it, when it was last updated, and how many files it has."},{"title":"Discovering government health data","prompt":"What open datasets does the US government have on opioid addiction or substance abuse? Search data.gov and list what's available, including the organizations behind them."}],"resultDescription":"A JSON object containing a list of matching datasets (up to 10 per call), each with: dataset ID, title, last modified date, source URL on catalog.data.gov, publishing organization name, and resource/file count. Also includes the search query echoed back, the data source label, country, license info, and fetch timestamp. Uncached results return a 404 if not found and are fetched within about a minute.","failureModes":["Dataset ID not found: returns 404, not charged","Keyword returns zero results: empty items array","Portal temporarily unavailable: fetch timeout or upstream error","Missing modified date: field may be null if portal doesn't provide one","totalCount may be null if portal doesn't return total result count"],"whenToPreferThis":"Use this endpoint when you need to discover or retrieve metadata for publicly available US government datasets from catalog.data.gov. Prefer it over generic web search when you specifically want structured dataset metadata (title, organization, file count, official link) for US federal or state open data. Choose sibling endpoints for equivalent portals in Austria, Germany, the EU, or Czechia.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-02T18:46:22.263Z","isFirstParty":false,"canonicalSlug":"maxwell-x402-us-open-data-portal-search-data-gov-03344380"}