Direction générale des Finances publiques (DGFiP) Health API

Opérations sur l'état de santé de l'API

GitHub OpenAPI

Operations 1

GET /etatSante Connaitre l'état de santé de l'API #

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/direction-generale-des-finances-publiques:direction-generale-des-finances-publiques-health-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

direction-generale-des-finances-publiques-health-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Direction Generale Des Finances Publiques Health API
  version: v1
  termsOfService: https://adefinir.economie.gouv.fr/terms
  description: 'Operations tagged Health across 2 of this provider''s published API definitions: imprimfip.json, direction-generale-des-finances-publiques-imprimfip-openapi.yml. Each path carries the servers of the definition it was published in.'
servers:
- url: http://localhost:7009/api/v1
  description: Développement
- url: http://vimpfip-piom1a:7009/api/v1
  description: Qualification BlueCrest
- url: http://impfip-piom1t:7009/api/v1
  description: Qualification
- url: http://impfip-piom1a:7009/api/v1
  description: Production
- url: http://impfip-piom1b:7009/api/v1
  description: Backup
tags:
- name: Health
  description: Opérations sur l'état de santé de l'API
paths:
  /etatSante:
    get:
      tags:
      - Health
      summary: Connaitre l'état de santé de l'API
      parameters:
      - $ref: '#/components/parameters/XJWTAssertion'
      - $ref: '#/components/parameters/XCorrelationID'
      - $ref: '#/components/parameters/XRequestID'
      responses:
        '200':
          description: L'API est opérationnelle
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Information'
        default:
          $ref: '#/components/responses/defaultErrorApim'
      operationId: getEtatSante
      x-operation-id-source: derived
    servers:
    - url: http://localhost:7009/api/v1
      description: Développement
    - url: http://vimpfip-piom1a:7009/api/v1
      description: Qualification BlueCrest
    - url: http://impfip-piom1t:7009/api/v1
      description: Qualification
    - url: http://impfip-piom1a:7009/api/v1
      description: Production
    - url: http://impfip-piom1b:7009/api/v1
      description: Backup
components:
  schemas:
    Information:
      type: object
      properties:
        message:
          type: string
          description: Message d'information
          example: L'API est opérationnelle
      additionalProperties: false
    ErrorResponseJson:
      type: object
      properties:
        erreur:
          allOf:
          - $ref: '#/components/schemas/ErrorResponseDetails'
          description: Erreur au format Json
      additionalProperties: false
      description: Retour d'erreur au format Json
    ErrorResponseDetails:
      type: object
      properties:
        code:
          type: integer
          description: Code de l'erreur
          format: int32
          example: 89000
        message:
          type: string
          description: Message d'erreur
          example: Ceci est l'explication de l'erreur
        horodatage:
          type: string
          description: Horodatage de l'erreur
          example: '1978-05-10T06:06:06+00:01'
      additionalProperties: false
      description: Détail d'un message d'erreur
  parameters:
    XJWTAssertion:
      name: X-JWT-Assertion
      in: header
      description: Jeton JWT
      required: true
      style: simple
      schema:
        type: string
    XRequestID:
      name: X-Request-ID
      in: header
      description: Identifiant de la requête
      required: true
      style: simple
      schema:
        type: string
      example: X-Request-ID
    XCorrelationID:
      name: X-Correlation-ID
      in: header
      description: Identifiant de corrélation de la requête (format UUID)
      required: true
      style: simple
      schema:
        pattern: ^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$
        type: string
        format: uuid
      example: 62069016-9780-11eb-a8b3-0242ac130003
  responses:
    defaultErrorApim:
      description: Erreurs retournées par la brique d'API Management DGFiP (voir guide pratique partenaire présent dans l'onglet documentation de l'API)
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponseJson'
          examples:
            ErreurJetonInvalide:
              description: Utilisation d'un jeton d'authentification invalide ou expiré. (voir guide pratique partenaire présent dans l'onglet documentation de l'API)
              value:
                erreur:
                  code: 900901
                  message: Invalid Credentials
                  horodatage: '2021-06-16T18:50:58+02:00'
            ErreurJetonAbsent:
              description: Le jeton d'authentification n'est pas présent dans l'en-tête Authorization de la requête. (voir guide pratique partenaire présent dans l'onglet documentation de l'API)
              value:
                erreur:
                  code: 900902
                  message: Missing Credentials
                  horodatage: '2021-06-16T18:52:12+02:00'
            ErreurScope:
              description: Utilisation d'un jeton d'authentification ne présentant pas les scopes nécessaires à l'appel de la ressource ciblée. (voir guide pratique partenaire présent dans l'onglet documentation de l'API)
              value:
                erreur:
                  code: 900910
                  message: The access token does not allow you to access the requested resource
                  horodatage: '2020-11-06T10:50:03+01:00'
            ErreurIdCorrelationAbsent:
              description: L'identifiant de corrélation est absent de la requête dans l'en-tête X-Correlation-ID. (voir guide pratique partenaire présent dans l'onglet documentation de l'API)
              value:
                erreur:
                  code: 910000
                  message: Le paramètre X-Correlation-ID n'est pas présent dans le header HTTP
                  horodatage: 2021-06-167T18:57:37+0200
            ErreurQuotaAtteint:
              description: Le quota d'appel souscrit a été dépassé. (voir guide pratique partenaire présent dans l'onglet documentation de l'API)
              value:
                erreur:
                  code: 900804
                  message: Message throttled out
                  horodatage: '2021-05-06T20:55:58+02:00'
x-refined-from:
- imprimfip.json
- direction-generale-des-finances-publiques-imprimfip-openapi.yml