api.gouv.fr Transfer API

The transfer API from api.gouv.fr — 2 operation(s) for transfer.

GitHub OpenAPI

Operations 4

GET /transfer/ List transfers #
POST /transfer/ Initiate transfer request #
GET /transfer/{id}/ Fetch a transfer request given its identifier #
POST /transfer/{id}/ Respond to a transfer request #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • 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.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/api-gouv-fr:api-gouv-fr-transfer-api"
All apis
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.

Get an API 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 Specification

api-gouv-fr-transfer-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  description: uData API
  title: uData Transfer API
  version: '1.0'
servers:
- url: https://www.data.gouv.fr/api/1
tags:
- name: Transfer
paths:
  /transfer/:
    get:
      operationId: list_transfers
      parameters:
      - description: ID of dataset, dataservice, reuse…
        in: query
        name: subject
        schema:
          type: string
      - description: Type of the transferred object
        in: query
        name: subject_type
        schema:
          type: string
          enum:
          - Dataset
          - Reuse
          - Dataservice
          - Topic
      - description: ID of user or organization
        in: query
        name: recipient
        schema:
          type: string
      - description: Status of the transfer request
        in: query
        name: status
        schema:
          type: string
          enum:
          - pending
          - accepted
          - refused
      - description: An optional fields mask
        in: header
        name: X-Fields
        schema:
          type: string
          format: mask
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/Transfer'
                type: array
      tags:
      - Transfer
      summary: List transfers
      x-summary-source: derived
    post:
      operationId: request_transfer
      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/Transfer'
      summary: Initiate transfer request
      tags:
      - Transfer
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/TransferRequest'
        required: true
  /transfer/{id}/:
    parameters:
    - in: path
      name: id
      required: true
      schema:
        type: string
    get:
      operationId: get_transfer
      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/Transfer'
      summary: Fetch a transfer request given its identifier
      tags:
      - Transfer
    post:
      operationId: respond_to_transfer
      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/Transfer'
      summary: Respond to a transfer request
      tags:
      - Transfer
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/TransferResponse'
        required: true
components:
  schemas:
    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
    TransferResponse:
      properties:
        comment:
          description: An optional comment about the transfer response
          type: string
        response:
          description: The response
          enum:
          - accept
          - refuse
          example: accept
          type: string
      required:
      - response
      type: object
    Transfer:
      properties:
        comment:
          description: A comment about the transfer request
          readOnly: true
          type: string
        created:
          description: The transfer request date
          format: date-time
          readOnly: true
          type: string
        id:
          description: The transfer unique identifier
          readOnly: true
          type: string
        owner:
          allOf:
          - $ref: '#/components/schemas/BaseReference'
          description: The user or organization currently owning the transfered object
          readOnly: true
        recipient:
          allOf:
          - $ref: '#/components/schemas/BaseReference'
          description: The user or organization receiving the transfered object
          readOnly: true
        reponse_comment:
          description: A comment about the transfer response
          readOnly: true
          type: string
        responded:
          description: The transfer response date
          format: date-time
          readOnly: true
          type: string
        status:
          description: The current transfer request status
          enum:
          - pending
          - accepted
          - refused
          example: pending
          type: string
        subject:
          allOf:
          - $ref: '#/components/schemas/BaseReference'
          description: The transfered object
          readOnly: true
        user:
          allOf:
          - $ref: '#/components/schemas/UserReference'
          description: The user who requested the transfer
          readOnly: true
      type: object
    TransferRequest:
      properties:
        comment:
          description: An explanation about the transfer request
          type: string
        recipient:
          allOf:
          - $ref: '#/components/schemas/BaseReference'
          description: The transfer recipient, either an user or an organization
        subject:
          allOf:
          - $ref: '#/components/schemas/BaseReference'
          description: The transfered subject
      required:
      - comment
      - recipient
      - subject
      type: object
    UserReference:
      allOf:
      - $ref: '#/components/schemas/BaseReference'
      - properties:
          avatar:
            description: URL of the image
            readOnly: true
            type: string
          avatar_thumbnail:
            description: URL of the cropped and squared image (500x500)
            readOnly: true
            type: string
          deleted:
            description: The date the account was deleted, null for a live account
            format: date-time
            readOnly: true
            type: string
          first_name:
            maxLength: 255
            type: string
          last_name:
            maxLength: 255
            type: string
          page:
            description: Link to the udata web page for this user
            readOnly: true
            type: string
          slug:
            maxLength: 255
            readOnly: true
            type: string
          uri:
            description: Link to the API endpoint for this user
            readOnly: true
            type: string
        required:
        - first_name
        - last_name
        - slug
        type: object
  securitySchemes:
    apikey:
      in: header
      name: X-API-KEY
      type: apiKey