# Maxwell x402 – France Open Data Portal Search

> Maxwell x402 – France Open Data Portal Search is a paid API for AI agents from api.maxwellinternational.ai, paid per call via x402, $0.005/call, status unknown (last checked 2026-10-02).

Search or fetch datasets from France's national open data portal (data.gouv.fr) by keyword or dataset ID, returning title, organization, modification date, file count, and official link.

## Facts

- Endpoint: GET https://api.maxwellinternational.ai/v1/gov/fr/open-data?utm_source=zero.xyz
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-02
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/maxwell-x402-france-open-data-portal-search-74a06720
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_HkC3x-3ds-cp9ghUPkTD3

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability maxwell-x402-france-open-data-portal-search-74a06720
```

Example prompt: Search France's national open data portal for datasets about air quality — give me the titles, publishing organizations, and links for the top results.

## When to prefer this

Choose this endpoint when you need to search or look up datasets specifically from France's official national open data portal (data.gouv.fr / Etalab). It is preferable over generic web search when you need structured, authoritative dataset metadata (title, organization, modification date, file count, link) directly from the French government catalogue. Use sibling endpoints for other national portals (Australia, Austria, EU, US, Germany).

## Known failure modes

- 404 returned when dataset ID does not exist — not charged
- No results returned for obscure or misspelled keywords
- Dataset metadata may lag behind the portal's actual state if recently updated
- Licence terms shown cover catalogue metadata only; each dataset's own licence is on its official page
- Response latency may reach ~1 minute for uncached results

## How this service works

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.

## Output

A JSON response with an array of matching datasets, each including the dataset ID, title, publishing organization, last modified date, number of resource files, and a direct link to the dataset page on data.gouv.fr. Also includes the total result count, the query used, the source portal (data.gouv.fr / Etalab), country (France), licence information, and a fetchedAt timestamp.

## Request schema (JSON Schema)

```json
{
 "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"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

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

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/maxwell-x402-france-open-data-portal-search-74a06720/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.maxwellinternational.ai](https://www.zero.xyz/host/api.maxwellinternational.ai/llms.txt)
