81trust / 100

Gb Open Data

by Maxwell x402 in Search & web

x402 APIPassing, checked 4 h ago

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.

GET https://api.maxwellinternational.ai/v1/gov/gb/open-data

Last 30 days

All checks passedSome failedAll failedNot checked
Uptime
100%
Response time
227 ms typical, 227 ms slowest 5%
Last check
4 h ago
Next check
any minute now

How to call it

# See the payment challenge (nothing is charged)
curl -i -X GET "https://api.maxwellinternational.ai/v1/gov/gb/open-data?q=climate"
import { wrapFetchWithPayment } from "@x402/fetch";
import { x402Client } from "@x402/core/client";
import { ExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";

const client = new x402Client().register(
  "eip155:8453",
  new ExactEvmScheme(privateKeyToAccount(process.env.AGENT_KEY)),
);
const pay = wrapFetchWithPayment(fetch, client);

// Not sure it's safe to pay? Preflight it first for $0.005:
// GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Fapi.maxwellinternational.ai%2Fv1%2Fgov%2Fgb%2Fopen-data
const res = await pay("https://api.maxwellinternational.ai/v1/gov/gb/open-data?q=climate");
console.log(await res.json());

Example input

{
  "q": "climate"
}

Example output

{
  "count": 10,
  "country": "United Kingdom",
  "family": "open_data",
  "hash": "9d7ccb904a1e9cff",
  "items": [
    {
      "id": "climate-resilience-documents",
      "modified": "2026-09-25T12:07:29.749997",
      "organization": "Data Mill North",
      "resourceCount": 6,
      "sourceUrl": "https://www.data.gov.uk/dataset/9023a2a3-bf51-48f6-bb93-6c1d4acaa424/climate-...",
      "title": "Climate resilience documents"
    }
  ],
  "licence": {
    "attribution": "Contains public sector information licensed under the Open Government Licence...",
    "name": "Open Government Licence v3.0 (catalogue); each dataset states its own licence",
    "url": "https://www.nationalarchives.gov.uk/doc/open-government-licence/version/3/"
  },
  "ok": true,
  "query": "climate",
  "sku": "gov.gb.open_data",
  "source": "data.gov.uk (CKAN)",
  "sourceUrl": "https://www.data.gov.uk/",
  "totalCount": 3091
}

Security scan

  • No findings. We scan names, descriptions and tool definitions for hidden instructions and other prompt-injection patterns.

Recent checks

WhenResultHTTPTimePrice
4 h agoPassed402227 ms$0.005