Search French open datasets.
Searches data.gouv.fr, the French government open data portal, like its dataset search page: dataset title, link and short description, in the site's order. Also returns the total number of matching datasets as shown on the page. First page only (about 20 datasets). Returns an empty list when nothing matches.
- Site
- data.gouv.fr, France
- Version
- v1
- Runs, last 7 days
- No reports yet
- sha256
- b7b2b07efdc9…
Run it with your agent
after installing WieldAsk in plain words. Your agent finds this recipe and calls it:
“Search French open datasets.”
Read-only: it changes nothing on the site. No login needed.
{ "tool": "run", "arguments": { "recipe_id": "data.gouv.fr/search-open-data", "params": { "query": "population" } } }
Requests
sent from your browser, in order- 1GET/datasets/search?qServer-rendered dataset search page /datasets/search?q=…; read-only GET. Each result is an article inside the result list; the title link is the h3 link.
Parameters
from your agentReturns
to your agentWhere it can send
- www.data.gouv.fr
Anything else is blocked by the extension.
Reads from your session
Nothing. Your browser attaches the site's cookies by itself.
Used only in requests to the addresses on the left. Never sent to wield.run or your agent.
Checks
a run passes when- length(output.datasets) > `0`
- length(output.datasets[?title != `null`]) == length(output.datasets)
- length(output.datasets[?starts_with(url, 'https://www.data.gouv.fr/datasets/')]) == length(output.datasets)
Raw recipe
Served as canonical JSON from /api/v1/recipes/data.gouv.fr/search-open-data, so its sha256 matches the ETag and the index.
curl -s https://wield.run/api/v1/recipes/data.gouv.fr/search-open-data | shasum -a 256 # b7b2b07efdc9957d7402ed4f2f83470e5d3c81a1ceaebe96f4188b93fd19d3f1
{ "description": "Searches data.gouv.fr, the French government open data portal, like its dataset search page: dataset title, link and short description, in the site's order. Also returns the total number of matching datasets as shown on the page. First page only (about 20 datasets). Returns an empty list when nothing matches.", "effect": "read", "id": "data.gouv.fr/search-open-data", "keywords": [ "data.gouv.fr", "data gouv", "open data", "données ouvertes", "jeux de données", "datasets", "statistiques", "population", "transports", "élections", "france", "government" ], "output": { "schema": { "properties": { "datasets": { "items": { "properties": { "description": { "description": "Short description, may be truncated", "type": [ "string", "null" ] }, "title": { "type": "string" }, "url": { "type": "string" } }, "required": [ "title", "url" ], "type": "object" }, "type": "array" }, "query": { "type": "string" }, "total_text": { "description": "Result count as shown on the page, e.g. '2754 résultats'", "type": [ "string", "null" ] } }, "required": [ "query", "datasets" ], "type": "object" }, "value": "{query: params.query, total_text: steps.search.total_text || `null`, datasets: map(&{title: title, description: description || `null`, url: join('', ['https://www.data.gouv.fr', href])}, steps.search.datasets[?title != `null` && href != `null`] || `[]`)}" }, "params": { "additionalProperties": false, "properties": { "query": { "description": "Search term, e.g. 'population', 'transports', 'élections'", "maxLength": 100, "minLength": 2, "type": "string" } }, "required": [ "query" ], "type": "object" }, "provenance": { "method": "har", "notes": "One GET to /datasets/search?q=…, which answers 200 server-rendered HTML (Nuxt SSR) with 20 dataset articles per page. Titles and links come from the h3 link, descriptions from the short paragraph, and the result count from data-testid=search-result-count. Hrefs are relative (/datasets/…) and are joined to the origin. Views and download counts are not returned because only aria-labels carry them.", "recorded_at": "2026-11-08T15:30:00.000Z", "recorded_by": "wield-forge (claude-haiku agent)" }, "requires_login": false, "schema": "https://wield.run/schema/recipe/v1.json", "site": { "country": "FR", "id": "data.gouv.fr", "language": "fr", "name": "data.gouv.fr", "origin": "https://www.data.gouv.fr", "origins": [ "https://www.data.gouv.fr" ] }, "steps": [ { "description": "Server-rendered dataset search page /datasets/search?q=…; read-only GET. Each result is an article inside the result list; the title link is the h3 link.", "expect": { "content_type": "html", "status": [ 200 ] }, "extract": { "html": { "total_text": { "selector": "[data-testid='search-result-count']" } }, "html_items": { "datasets": { "fields": { "description": { "selector": "p.overflow-wrap-anywhere" }, "href": { "attr": "href", "selector": "h3 a" }, "title": { "selector": "h3 a" } }, "max": 50, "selector": "ul li article" } } }, "id": "search", "request": { "headers": { "Accept": "text/html" }, "method": "GET", "query": { "q": "{{params.query}}" }, "url": "/datasets/search" } } ], "task": "Search French open datasets", "tos": { "notes": "Not reviewed. One search page per call, the same page a visitor loads. The site's terms on automated access were not checked.", "reviewed": false }, "verify": { "checks": [ "length(output.datasets) > `0`", "length(output.datasets[?title != `null`]) == length(output.datasets)", "length(output.datasets[?starts_with(url, 'https://www.data.gouv.fr/datasets/')]) == length(output.datasets)" ], "example_params": { "query": "population" }, "max_ms": 5000 }, "version": 1 }