DINUM (Direction interministérielle du numérique) Site API
Site global namespace
Site global namespace
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
find_apisBrowse and filter every API in the catalog.get_api_artifactsOne API's artifacts, grouped by type.get_openapiThe primary OpenAPI for this API.find_similar_apisAPIs that look like this one.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.curl "https://apis.io/api/v1/apis/dinum:dinum-site-api"
curl "https://apis.io/api/v1/apis?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
openapi: 3.2.0
info:
title: Dinum Site API
version: '1.0'
description: 'Operations tagged site across 2 of this provider''s published API definitions: data-gouv-fr-api-v1-swagger.json, dinum-data-gouv-fr-v1-openapi.yml. Each path carries the servers of the definition it was published in.'
servers:
- url: https://www.data.gouv.fr/api/1
tags:
- description: Site global namespace
name: Site
paths:
/activity/:
get:
operationId: activity
parameters:
- description: The page to fetch
in: query
name: page
schema:
type: integer
default: 1
exclusiveMinimum: 0
- description: The page size to fetch
in: query
name: page_size
schema:
type: integer
default: 20
exclusiveMinimum: 0
- description: The field (and direction) on which sorting apply
in: query
name: sort
schema:
type: string
enum:
- created_at
- -created_at
default: -created_at
- description: Filter activities for that particular user
in: query
name: user
schema:
type: string
- description: Filter activities for that particular organization
in: query
name: organization
schema:
type: string
- description: 'Filter activities on those keys (ex : dataset:updated). Repeatable.'
in: query
name: key
style: form
explode: true
schema:
type: array
items:
type: string
- description: 'Filter activities on the kind of their actor (ex : HarvestSource). Repeatable.'
in: query
name: actor_kind
style: form
explode: true
schema:
type: array
items:
type: string
enum:
- User
- HarvestSource
- ApiToken
- OAuth2Token
- description: 'Filter activities for that particular object id (ex : reuse, dataset, etc.)'
in: query
name: related_to
schema:
type: string
- description: An optional fields mask
in: header
name: X-Fields
schema:
type: string
format: mask
responses:
'200':
description: Success
content:
application/json:
schema:
$ref: '#/components/schemas/ActivityPage'
summary: Fetch site activity, optionally filtered by user or org
tags:
- Site
servers:
- url: https://www.data.gouv.fr/api/1
/site/:
get:
operationId: get_site
parameters:
- description: An optional fields mask
in: header
name: X-Fields
schema:
type: string
format: mask
responses:
'200':
description: Success
content:
application/json:
schema:
$ref: '#/components/schemas/Site%20%28read%29'
summary: Site-wide variables
tags:
- Site
patch:
operationId: set_site
parameters:
- description: An optional fields mask
in: header
name: X-Fields
schema:
type: string
format: mask
responses:
'200':
description: Success
content:
application/json:
schema:
$ref: '#/components/schemas/Site%20%28read%29'
tags:
- Site
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/Site%20%28write%29'
required: true
summary: Set site
x-summary-source: derived
servers:
- url: https://www.data.gouv.fr/api/1
/site/catalog:
get:
operationId: get_site_rdf_catalog
parameters:
- description: The search query
in: query
name: q
schema:
type: string
- description: The field (and direction) on which sorting apply
in: query
name: sort
schema:
type: string
enum:
- title
- created
- last_update
- reuses
- followers
- views
- -title
- -created
- -last_update
- -reuses
- -followers
- -views
- description: The page to fetch
in: query
name: page
schema:
type: integer
default: 1
exclusiveMinimum: 0
- description: The page size to fetch
in: query
name: page_size
schema:
type: integer
default: 100
maximum: 1000
minimum: 1
- in: query
name: tag
style: form
explode: true
schema:
type: array
items:
type: string
- in: query
name: license
schema:
type: string
- description: If set to true, it will filter on featured datasets only. If set to false, it will exclude featured datasets.
in: query
name: featured
schema:
type: boolean
- in: query
name: geozone
schema:
type: string
- in: query
name: granularity
schema:
type: string
- in: query
name: temporal_coverage
schema:
type: string
- in: query
name: access_type
schema:
type: string
enum:
- open
- open_with_account
- restricted
- in: query
name: organization
schema:
type: string
- in: query
name: badge
schema:
type: string
enum:
- pivotal-data
- spd
- inspire
- hvd
- sl
- sr
- in: query
name: organization_badge
schema:
type: string
enum:
- public-service
- certified
- association
- company
- local-authority
- in: query
name: owner
schema:
type: string
- description: (beta, subject to change/be removed)
in: query
name: followed_by
schema:
type: string
- in: query
name: format
schema:
type: string
- in: query
name: schema
schema:
type: string
- in: query
name: schema_version
schema:
type: string
- in: query
name: topic
schema:
type: string
- in: query
name: credit
schema:
type: string
- in: query
name: dataservice
schema:
type: string
- in: query
name: reuse
schema:
type: string
- description: If set to true, it will filter on archived datasets only. If set to false, it will exclude archived datasets. User must be authenticated and results are limited to user visibility
in: query
name: archived
schema:
type: boolean
- description: If set to true, it will filter on deleted datasets only. If set to false, it will exclude deleted datasets. User must be authenticated and results are limited to user visibility
in: query
name: deleted
schema:
type: boolean
- description: If set to true, it will filter on private datasets only. If set to false, it will exclude private datasets. User must be authenticated and results are limited to user visibility
in: query
name: private
schema:
type: boolean
responses:
'200':
description: Success
summary: Root RDF endpoint with content negociation handling
tags:
- Site
servers:
- url: https://www.data.gouv.fr/api/1
/site/catalog.{_format}:
parameters:
- in: path
name: _format
required: true
schema:
type: string
get:
description: Filtering, sorting and paginating abilities apply to the datasets elements.
operationId: get_site_rdf_catalog_format
parameters:
- description: The search query
in: query
name: q
schema:
type: string
- description: The field (and direction) on which sorting apply
in: query
name: sort
schema:
type: string
enum:
- title
- created
- last_update
- reuses
- followers
- views
- -title
- -created
- -last_update
- -reuses
- -followers
- -views
- description: The page to fetch
in: query
name: page
schema:
type: integer
default: 1
exclusiveMinimum: 0
- description: The page size to fetch
in: query
name: page_size
schema:
type: integer
default: 100
maximum: 1000
minimum: 1
- in: query
name: tag
style: form
explode: true
schema:
type: array
items:
type: string
- in: query
name: license
schema:
type: string
- description: If set to true, it will filter on featured datasets only. If set to false, it will exclude featured datasets.
in: query
name: featured
schema:
type: boolean
- in: query
name: geozone
schema:
type: string
- in: query
name: granularity
schema:
type: string
- in: query
name: temporal_coverage
schema:
type: string
- in: query
name: access_type
schema:
type: string
enum:
- open
- open_with_account
- restricted
- in: query
name: organization
schema:
type: string
- in: query
name: badge
schema:
type: string
enum:
- pivotal-data
- spd
- inspire
- hvd
- sl
- sr
- in: query
name: organization_badge
schema:
type: string
enum:
- public-service
- certified
- association
- company
- local-authority
- in: query
name: owner
schema:
type: string
- description: (beta, subject to change/be removed)
in: query
name: followed_by
schema:
type: string
- in: query
name: format
schema:
type: string
- in: query
name: schema
schema:
type: string
- in: query
name: schema_version
schema:
type: string
- in: query
name: topic
schema:
type: string
- in: query
name: credit
schema:
type: string
- in: query
name: dataservice
schema:
type: string
- in: query
name: reuse
schema:
type: string
- description: If set to true, it will filter on archived datasets only. If set to false, it will exclude archived datasets. User must be authenticated and results are limited to user visibility
in: query
name: archived
schema:
type: boolean
- description: If set to true, it will filter on deleted datasets only. If set to false, it will exclude deleted datasets. User must be authenticated and results are limited to user visibility
in: query
name: deleted
schema:
type: boolean
- description: If set to true, it will filter on private datasets only. If set to false, it will exclude private datasets. User must be authenticated and results are limited to user visibility
in: query
name: private
schema:
type: boolean
responses:
'200':
description: Success
summary: Return the RDF catalog in the requested format
tags:
- Site
servers:
- url: https://www.data.gouv.fr/api/1
/site/context.jsonld:
get:
operationId: get_site_json_ld_context
responses:
'200':
description: Success
tags:
- Site
summary: Get site json ld context
x-summary-source: derived
servers:
- url: https://www.data.gouv.fr/api/1
/site/data.{_format}:
parameters:
- in: path
name: _format
required: true
schema:
type: string
get:
operationId: get_site_data_portal
responses:
'200':
description: Success
summary: Root RDF endpoint with content negociation handling
tags:
- Site
servers:
- url: https://www.data.gouv.fr/api/1
/site/dataservices.csv:
get:
operationId: get_site_dataservices_csv
responses:
'200':
description: Success
tags:
- Site
summary: Get site dataservices csv
x-summary-source: derived
servers:
- url: https://www.data.gouv.fr/api/1
/site/datasets.csv:
get:
operationId: get_site_datasets_csv
responses:
'200':
description: Success
tags:
- Site
summary: Get site datasets csv
x-summary-source: derived
servers:
- url: https://www.data.gouv.fr/api/1
/site/harvests.csv:
get:
operationId: get_site_harvests_csv
responses:
'200':
description: Success
tags:
- Site
summary: Get site harvests csv
x-summary-source: derived
servers:
- url: https://www.data.gouv.fr/api/1
/site/organizations.csv:
get:
operationId: get_site_organizations_csv
responses:
'200':
description: Success
tags:
- Site
summary: Get site organizations csv
x-summary-source: derived
servers:
- url: https://www.data.gouv.fr/api/1
/site/resources.csv:
get:
operationId: get_site_resources_csv
responses:
'200':
description: Success
tags:
- Site
summary: Get site resources csv
x-summary-source: derived
servers:
- url: https://www.data.gouv.fr/api/1
/site/reuses.csv:
get:
operationId: get_site_reuses_csv
responses:
'200':
description: Success
tags:
- Site
summary: Get site reuses csv
x-summary-source: derived
servers:
- url: https://www.data.gouv.fr/api/1
/site/tags.csv:
get:
operationId: get_site_tags_csv
responses:
'200':
description: Success
tags:
- Site
summary: Get site tags csv
x-summary-source: derived
servers:
- url: https://www.data.gouv.fr/api/1
components:
schemas:
Badge__read:
properties:
kind:
type: string
required:
- kind
type: object
BaseReference:
discriminator:
propertyName: class
properties:
class:
description: The object class
type: string
id:
description: The object unique identifier
type: string
required:
- class
- id
type: object
Activity__read:
properties:
actor:
description: Who performed the action
readOnly: true
type: object
changes:
description: Changed attributes as list
items:
description: Changed attributes as list
readOnly: true
type: string
readOnly: true
type: array
created_at:
description: When the action has been performed
format: date-time
readOnly: true
type: string
extras:
description: Extras attributes as key-value pairs
readOnly: true
type: object
icon:
description: The icon of the activity
readOnly: true
type: string
id:
readOnly: true
type: string
key:
description: The key of the activity
readOnly: true
type: string
label:
description: The label of the activity
readOnly: true
type: string
organization:
allOf:
- $ref: '#/components/schemas/OrganizationReference'
description: The organization who performed the action
readOnly: true
related_to:
description: The activity target name
readOnly: true
type: string
related_to_id:
description: The activity target object identifier
readOnly: true
type: string
related_to_kind:
description: The activity target object class name
readOnly: true
type: string
related_to_url:
description: The activity target url
readOnly: true
type: string
required:
- actor
- created_at
- id
- related_to
type: object
OrganizationReference:
allOf:
- $ref: '#/components/schemas/BaseReference'
- properties:
acronym:
maxLength: 128
type: string
badges:
items:
allOf:
- $ref: '#/components/schemas/Badge__read'
readOnly: true
readOnly: true
type: array
logo:
description: URL of the image
readOnly: true
type: string
logo_thumbnail:
description: URL of the cropped and squared image (100x100)
readOnly: true
type: string
name:
type: string
page:
description: Link to the udata web page for this organization
readOnly: true
type: string
permissions:
allOf:
- $ref: '#/components/schemas/OrganizationPermissions'
readOnly: true
slug:
maxLength: 255
readOnly: true
type: string
uri:
description: Link to the API endpoint for this organization
readOnly: true
type: string
required:
- name
- slug
type: object
ActivityPage:
properties:
data:
description: The page data
items:
$ref: '#/components/schemas/Activity__read'
type: array
next_page:
description: The next page URL if exists
type: string
page:
description: The current page
minimum: 1
type: integer
page_size:
description: The page size used for pagination
minimum: 0
type: integer
previous_page:
description: The previous page URL if exists
type: string
total:
description: The total paginated items
minimum: 0
type: integer
required:
- page
- page_size
- total
type: object
OrganizationPermissions:
properties:
delete:
type: boolean
edit:
type: boolean
harvest:
type: boolean
members:
type: boolean
private:
type: boolean
type: object
securitySchemes:
apikey:
in: header
name: X-API-KEY
type: apiKey
x-refined-from:
- data-gouv-fr-api-v1-swagger.json
- dinum-data-gouv-fr-v1-openapi.yml