# api.gouv.fr Datasets API

**Canonical:** https://apis.io/apis/api-gouv-fr/api-gouv-fr-datasets-api/  
**Provider:** api.gouv.fr — https://apis.io/providers/api-gouv-fr/  
**Base URL:** https://www.data.gouv.fr/api/1  
**Documentation:** https://guides.data.gouv.fr/api-de-data.gouv.fr/reference

api.gouv.fr Datasets API is one of 51 APIs that [api.gouv.fr](https://apis.io/providers/api-gouv-fr/) publishes on the [APIs.io](https://apis.io/) network, described by a machine-readable OpenAPI specification. This API exposes 6 JSON Schema definitions. Tagged areas include Datasets. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, and 6 JSON Schemas.

Dataset related operations

## Operations (41)

| Method | Path | Summary |
|---|---|---|
| GET | `/datasets/` | List or search all datasets |
| POST | `/datasets/` | Create a new dataset |
| GET | `/datasets/badges/` | List all available dataset badges and their labels |
| GET | `/datasets/community_resources/` | List all community resources |
| POST | `/datasets/community_resources/` | Create a new community resource |
| DELETE | `/datasets/community_resources/{community}/` | Delete a given community resource |
| GET | `/datasets/community_resources/{community}/` | Retrieve a community resource given its identifier |
| PUT | `/datasets/community_resources/{community}/` | Update a given community resource |
| POST | `/datasets/community_resources/{community}/upload/` | Update the file related to a given community resource |
| GET | `/datasets/extensions/` | List all allowed resources extensions |
| GET | `/datasets/frequencies/` | List all available frequencies |
| GET | `/datasets/licenses/` | List all available licenses |
| GET | `/datasets/r/{id}` | Redirect to the latest version of a resource given its identifier |
| GET | `/datasets/recent.atom` | Recent datasets atom feed |
| GET | `/datasets/resource_types/` | List all resource types |
| GET | `/datasets/schemas/` | List all available schemas |
| GET | `/datasets/suggest/` | Datasets suggest endpoint using mongoDB contains |
| GET | `/datasets/suggest/formats/` | Suggest file formats |
| GET | `/datasets/suggest/mime/` | Suggest mime types |
| DELETE | `/datasets/{dataset}/` | Delete a dataset given its identifier |
| GET | `/datasets/{dataset}/` | Get a dataset given its identifier |
| PUT | `/datasets/{dataset}/` | Update a dataset given its identifier |
| POST | `/datasets/{dataset}/badges/` | Create a new badge for a given dataset |
| DELETE | `/datasets/{dataset}/badges/{badge_kind}/` | Delete a badge for a given dataset |
| POST | `/datasets/{dataset}/doi/` | Mint a DOI for the dataset and attach it |
| DELETE | `/datasets/{dataset}/featured/` | Unmark the dataset as featured |
| POST | `/datasets/{dataset}/featured/` | Mark the dataset as featured |
| GET | `/datasets/{dataset}/rdf` | Rdf dataset |
| GET | `/datasets/{dataset}/rdf.{_format}` | Rdf dataset format |
| POST | `/datasets/{dataset}/resources/` | Create a new resource for a given dataset |
| PUT | `/datasets/{dataset}/resources/` | Reorder resources |
| DELETE | `/datasets/{dataset}/resources/{rid}/` | Delete a given resource on a given dataset |
| GET | `/datasets/{dataset}/resources/{rid}/` | Get a resource given its identifier |
| PUT | `/datasets/{dataset}/resources/{rid}/` | Update a given resource on a given dataset |
| POST | `/datasets/{dataset}/resources/{rid}/analysis/` | Force the resources analyser to check and analyse a resource again |
| POST | `/datasets/{dataset}/resources/{rid}/upload/` | Upload a file related to a given resource on a given dataset |
| POST | `/datasets/{dataset}/upload/` | Upload a file for a new dataset resource |
| POST | `/datasets/{dataset}/upload/community/` | Upload a new community resource |
| DELETE | `/datasets/{id}/followers/` | Unfollow an object given its ID |
| GET | `/datasets/{id}/followers/` | List all followers for a given object |
| POST | `/datasets/{id}/followers/` | Follow an object given its ID |

## Machine-readable artifacts (9)

- **OpenAPI** — https://artifacts.apis.io/api-gouv-fr/openapi/api-gouv-fr-datasets-api-openapi.yml
- **Documentation** — https://entreprise.api.gouv.fr/developpeurs/openapi
- **Documentation** — https://particulier.api.gouv.fr/developpeurs/openapi
- **JSONSchema** — https://artifacts.apis.io/api-gouv-fr/json-schema/api-gouv-fr-dataset-schema.json
- **JSONSchema** — https://artifacts.apis.io/api-gouv-fr/json-schema/api-gouv-fr-resource-schema.json
- **JSONSchema** — https://artifacts.apis.io/api-gouv-fr/json-schema/api-gouv-fr-catalog-schema-schema.json
- **JSONSchema** — https://artifacts.apis.io/api-gouv-fr/json-schema/api-gouv-fr-license-schema.json
- **JSONSchema** — https://artifacts.apis.io/api-gouv-fr/json-schema/api-gouv-fr-community-resource-page-schema.json
- **JSONSchema** — https://artifacts.apis.io/api-gouv-fr/json-schema/api-gouv-fr-dataset-page-schema.json

## Other api.gouv.fr APIs (12)

- [api.gouv.fr Access Type API](https://apis.io/apis/api-gouv-fr/api-gouv-fr-access-type-api/)
- [api.gouv.fr Attestations sociales et fiscales API](https://apis.io/apis/api-gouv-fr/api-gouv-fr-attestations-sociales-et-fiscales-api/)
- [api.gouv.fr Avatars API](https://apis.io/apis/api-gouv-fr/api-gouv-fr-avatars-api/)
- [api.gouv.fr Certifications professionnelles API](https://apis.io/apis/api-gouv-fr/api-gouv-fr-certifications-professionnelles-api/)
- [api.gouv.fr Contacts API](https://apis.io/apis/api-gouv-fr/api-gouv-fr-contacts-api/)
- [api.gouv.fr Dataservices API](https://apis.io/apis/api-gouv-fr/api-gouv-fr-dataservices-api/)
- [api.gouv.fr Discussions API](https://apis.io/apis/api-gouv-fr/api-gouv-fr-discussions-api/)
- [api.gouv.fr Disponibilité API](https://apis.io/apis/api-gouv-fr/api-gouv-fr-disponibilite-api/)
- [api.gouv.fr Extrait d'immatriculation véhicule API](https://apis.io/apis/api-gouv-fr/api-gouv-fr-extrait-d-immatriculation-vehicule-api/)
- [api.gouv.fr Geopf API](https://apis.io/apis/api-gouv-fr/api-gouv-fr-geopf-api/)
- [API Géo](https://apis.io/apis/api-gouv-fr/api-gouv-fr-geo-api/)
- [api.gouv.fr Harvest API](https://apis.io/apis/api-gouv-fr/api-gouv-fr-harvest-api/)

## Tags

Datasets

## Use this from code or an agent

- **REST, no key:** `GET https://apis.io/api/v1/providers/api-gouv-fr` returns the provider's full profile as JSON.
- **MCP:** `https://apis.io/mcp` (Streamable HTTP) — search the catalog, read any provider, compare providers, check agent readiness.
- **Free API key** for catalog-wide search, ratings and comparisons: sign in with GitHub, Google or LinkedIn at https://apis.io/developer/account/ (plans: https://apis.io/developer/plans/).

---

Profiled by [API Evangelist](https://apievangelist.com) and published on [APIs.io](https://apis.io/apis/api-gouv-fr/api-gouv-fr-datasets-api/). The API's provider profile, Kin Score and agent-readiness rating are at https://apis.io/providers/api-gouv-fr/.
