datagouv-apis

Search data.gouv.fr datasets and query CSV rows via its APIs.

60|10|Updated Feb 3, 2026
One-click install
npx skills add https://github.com/datagouv/datagouv-skill --skill datagouv-apis
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: datagouv-apis
Source: https://github.com/datagouv/datagouv-skill/tree/main
Command: npx skills add https://github.com/datagouv/datagouv-skill --skill datagouv-apis

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

It helps you find the right data.gouv.fr datasets and then retrieve exactly what you need—dataset metadata, download/usage metrics, or filtered rows from tabular CSV resources—without manually navigating multiple APIs.

Core Features & Use Cases

  • Dataset & catalog discovery (Main API): search datasets, organizations, users, resources, reuses, discussions, and more to resolve stable identifiers like UUIDs and slugs.
  • Usage & download metrics (Metrics API): filter, sort, and export model usage and download statistics for analysis.
  • CSV row querying (Tabular API): filter, sort, paginate, and aggregate rows from a tabular resource by its resource UUID.
  • Dataservices support: discover external HTTP APIs listed on data.gouv.fr, then follow the dataservice documentation and OpenAPI for correct calls.

Quick Start

Use the skill to search for a dataset on data.gouv.fr, select a tabular CSV resource, then query the resource’s rows through the Tabular API using its resource UUID.

Frequently Asked Questions about datagouv-apis

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I search data.gouv.fr datasets and extract tabular CSV rows?

You retrieve data.gouv.fr metrics by using the Metrics API to filter usage and download statistics by model. This allows you to sort and export model usage data for detailed analysis without manual API navigation.

How does API pagination work when querying data.gouv.fr tabular resources?

API pagination for tabular resources is handled by honoring the next_page parameter in the API response. You must sequentially request the next_page URL to safely retrieve all available rows and avoid missing data during extraction.

Do I need an API key to search the data.gouv.fr catalog?

You do not need an API key to search the data.gouv.fr catalog or read datasets, metrics, and rows. API keys are only required for optional write operations and must be used safely with explicit user intent.

Can I query external HTTP APIs listed on data.gouv.fr?

You can query external HTTP APIs listed on data.gouv.fr by discovering dataservices through the platform. You must then follow the specific dataservice documentation and its live OpenAPI specification to ensure correct parameter usage.