{"uid":"cap_JKXHU3kIEUrj6XLtt_k4D","slug":"maxwell-x402-uk-open-data-portal-search-d5457a85","name":"Maxwell x402 – UK Open Data Portal Search","description":"Search the national open data portal of the United Kingdom (data.gov.uk) 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/gb/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.gb.open_data","count":10,"items":[{"id":"climate-resilience-documents","title":"Climate resilience documents","modified":"2026-09-25T12:07:29.749997","sourceUrl":"https://www.data.gov.uk/dataset/9023a2a3-bf51-48f6-bb93-6c1d4acaa424/climate-...","organization":"Data Mill North","resourceCount":6}],"query":"climate","family":"open_data","source":"data.gov.uk (CKAN)","country":"United Kingdom","licence":{"url":"https://www.nationalarchives.gov.uk/doc/open-government-licence/version/3/","name":"Open Government Licence v3.0 (catalogue); each dataset states its own licence","attribution":"Contains public sector information licensed under the Open Government Licence..."},"fetchedAt":"2026-09-29T13:35:51.472Z","sourceUrl":"https://www.data.gov.uk/","totalCount":2908}},"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_mGle-HIBeEDM8VeN7RJJr","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 datasets from the UK national open data portal (data.gov.uk) by keyword or dataset ID, returning title, organization, last modified date, file count, and official link.","exampleAgentPrompt":"Search data.gov.uk for datasets about air quality in the UK and show me the titles, publishing organizations, and links for the top results.","exampleUseCases":[{"title":"Discovering UK climate datasets","prompt":"Can you search the UK national open data portal for datasets related to climate resilience and tell me who published them, when they were last updated, and how many files each has?"},{"title":"Fetching a specific dataset by ID","prompt":"I have the dataset ID 'road-casualties-great-britain' from data.gov.uk — can you fetch the full metadata for it, including the official link and which organization published it?"},{"title":"Research on UK housing open data","prompt":"Find me open datasets about housing affordability or social housing from data.gov.uk — I need the titles, organizations, and links so I can dig into the actual files."}],"resultDescription":"A JSON object containing a list of matching datasets (up to ~10 per call), each with an ID, title, publishing organization, last modified timestamp, number of resource files, and a direct URL to the dataset page on data.gov.uk. Also includes the total count of matching datasets, the query used, the data source (data.gov.uk CKAN), and licence attribution information (Open Government Licence v3.0 for the catalogue metadata).","failureModes":["404 returned when a specific dataset ID does not exist on data.gov.uk — not charged","No results returned for obscure or misspelled keyword queries","Stale or missing 'modified' dates when the portal does not provide them","Rate limiting or temporary unavailability of the upstream data.gov.uk CKAN API","Network timeout if upstream portal is slow (fetch takes up to ~1 minute for uncached requests)"],"whenToPreferThis":"Choose this endpoint when you need to discover or retrieve metadata for datasets published on the UK government's official open data portal (data.gov.uk). Prefer it over generic web search when you want structured, machine-readable catalogue metadata — titles, organizations, file counts, and direct links — rather than scraped HTML. Use it specifically for UK national or local government open data; for EU data use the Europa endpoint, for Germany use GovData, and for Austria use data.gv.at endpoints from the same provider.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-02T03:18:13.503Z","isFirstParty":false,"canonicalSlug":"maxwell-x402-uk-open-data-portal-search-d5457a85"}