81trust / 100

Fr Open Data

by Maxwell x402 in Search & web

x402 APIPassing, checked 1 h ago

Search the national open data portal of France (data.gouv.fr) 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/fr/open-data

Last 30 days

All checks passedSome failedAll failedNot checked
Uptime
100%
Response time
82 ms typical, 82 ms slowest 5%
Last check
1 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/fr/open-data?q=climat"
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%2Ffr%2Fopen-data
const res = await pay("https://api.maxwellinternational.ai/v1/gov/fr/open-data?q=climat");
console.log(await res.json());

Example input

{
  "q": "climat"
}

Example output

{
  "count": 10,
  "country": "France",
  "family": "open_data",
  "hash": "8a9e24448abf822c",
  "items": [
    {
      "id": "67377b46b034c8d8c3c40aff",
      "modified": "2026-04-21T00:00:00+00:00",
      "organization": "Direction Departementale des Territoires et de la Mer de Loire-Atlantique",
      "resourceCount": 6,
      "sourceUrl": "https://www.data.gouv.fr/datasets/avancement-des-plans-climat-air-energie-cli...",
      "title": "Avancement des Plans Climat Air Energie Climat territoriaux (PCAET) en Loire ..."
    }
  ],
  "licence": {
    "name": "Licence Ouverte / Open Licence 2.0 (Etalab) for catalogue metadata; each data...",
    "url": "https://www.etalab.gouv.fr/licence-ouverte-open-licence/"
  },
  "ok": true,
  "query": "climat",
  "sku": "gov.fr.open_data",
  "source": "data.gouv.fr (Etalab)",
  "sourceUrl": "https://www.data.gouv.fr/",
  "totalCount": 87
}

Security scan

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

Recent checks

WhenResultHTTPTimePrice
1 h agoPassed40282 ms$0.005
7 h agoPassed402193 ms$0.005