Direction générale des Finances publiques (DGFiP) OS044 - RechercherComptesParSiretSiren API

The OS044 - RechercherComptesParSiretSiren API from Direction générale des Finances publiques (DGFiP) — 1 operation(s) for os044 - recherchercomptesparsiretsiren.

GitHub OpenAPI

Operations 1

POST /comptes/siretSiren Rechercher compte par siret siren #

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-os044-recherchercomptesparsiretsiren-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-os044-recherchercomptesparsiretsiren-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Direction Generale Des Finances Publiques OS044…
  version: v2
  description: 'Operations tagged OS044 - RechercherComptesParSiretSiren across 2 of this provider''s published API definitions: ficoba.json, direction-generale-des-finances-publiques-ficoba-openapi.yml. Each path carries the servers of the definition it was published in.'
servers:
- url: https://IP-GATEWAY/ficoba-api/v2
- url: http://IP-GATEWAY/ficoba-api/v2
tags:
- name: OS044 - RechercherComptesParSiretSiren
paths:
  /comptes/siretSiren:
    post:
      tags:
      - OS044 - RechercherComptesParSiretSiren
      description: Rechercher compte par SIRET SIREN
      operationId: rechercherCompteParSiretSiren
      parameters:
      - $ref: '#/components/parameters/paramAuthorization'
      - $ref: '#/components/parameters/XCorrelationID'
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/DemandeRestitSiretSiren'
        required: true
      responses:
        '200':
          description: 'Recherche effectuée avec succés '
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ReponseListeFinaleComptesPourPM'
        '400':
          description: Erreur pendant le traitement de la recherche
        default:
          $ref: '#/components/responses/defaultErrorApim'
      security:
      - default: []
      x-auth-type: Application & Application User
      x-throttling-tier: 7000_appels_par_min
      summary: Rechercher compte par siret siren
      x-summary-source: derived
    servers:
    - url: https://IP-GATEWAY/ficoba-api/v2
    - url: http://IP-GATEWAY/ficoba-api/v2
components:
  schemas:
    DemandeRestitSiretSiren:
      type: object
      properties:
        dateDemande:
          type: string
        motif:
          type: string
        siretDemandeur:
          type: string
        sirenDemandeur:
          type: string
        justification:
          type: string
        criteresRecherche:
          $ref: '#/components/schemas/CriteresRechercheSiretSiren'
    CompteCaracteristiques:
      type: object
      properties:
        iban:
          type: string
        dateOuverture:
          type: string
        dateFiscale:
          type: string
        codeMotifOuverture:
          type: string
        libelleMotifOuverture:
          type: string
        dateCloture:
          type: string
        nature:
          $ref: '#/components/schemas/NatureCompteDto'
        type:
          $ref: '#/components/schemas/TypeCompte'
        formatCompte:
          type: string
        caracteristique:
          $ref: '#/components/schemas/CaracteristiqueCompte'
        succession:
          type: string
        resident:
          type: string
        devise:
          $ref: '#/components/schemas/DeviseCompte'
    CriteresRechercheSiretSiren:
      type: object
      properties:
        siret:
          type: string
        siren:
          type: string
    DeviseCompte:
      type: object
      properties:
        codeDevise:
          type: string
    Adresse:
      type: object
      properties:
        codePaysResidence:
          type: string
        libellePaysResidence:
          type: string
        codeDepartementResidence:
          type: string
        libelleDepartementResidence:
          type: string
        codeCommuneResidence:
          type: string
        libelleCommuneResidence:
          type: string
        codeNatureVoie:
          type: string
        libelleVoie:
          type: string
        numeroVoie:
          type: string
        indiceRepetition:
          type: string
        indicateurCodifAdresse:
          type: string
        codePostal:
          type: string
        libelleComplAdr:
          type: string
    AdresseGuichet:
      type: object
      properties:
        libAdr1:
          type: string
        libAdr2:
          type: string
        libAdr3:
          type: string
        libAdr4:
          type: string
    ReponseListeComptesPourPM:
      type: object
      properties:
        caracteristiquesDemande:
          $ref: '#/components/schemas/DemandeRestit'
        referenceDemande:
          type: string
        nombreReponses:
          type: string
        messageInformatif:
          $ref: '#/components/schemas/ReponseErreur'
        personneRecherche:
          $ref: '#/components/schemas/PersonneMorale'
        nombreComptes:
          type: string
        comptes:
          type: array
          items:
            $ref: '#/components/schemas/CompteStructure'
    NatureCompteDto:
      type: object
      properties:
        codeNature:
          type: integer
          format: int32
        libelleNature:
          type: string
    GuichetDto:
      type: object
      properties:
        numeroGuichet:
          type: string
        libelleGuichet:
          type: string
        adresse:
          $ref: '#/components/schemas/AdresseGuichet'
    ReponseErreur:
      type: object
      properties:
        code:
          type: string
        message:
          type: string
        horodatage:
          type: string
    ReponseListeFinaleComptesPourPM:
      type: object
      properties:
        caracteristiquesDemande:
          $ref: '#/components/schemas/DemandeRestit'
        referenceDemande:
          type: string
        nombreReponses:
          type: string
        messageInformatif:
          $ref: '#/components/schemas/ReponseErreur'
        reponses:
          type: array
          items:
            $ref: '#/components/schemas/ReponseListeComptesPourPM'
    CompteStructure:
      type: object
      properties:
        caracteristiqueCompte:
          $ref: '#/components/schemas/CompteCaracteristiques'
        etablissementGestionnaire:
          $ref: '#/components/schemas/EtablissementGestionnaire'
        ayantsDroits:
          type: array
          items:
            $ref: '#/components/schemas/TitulaireCompte'
    TitulaireCompte:
      type: object
    EtablissementBancaire:
      type: object
      properties:
        numeroEtablissement:
          type: string
        libelleEtablissement:
          type: string
        bicEtablissement:
          type: string
    PersonneMorale:
      type: object
      properties:
        raisonSociale:
          type: string
        sigle:
          type: string
        enseigne:
          type: string
        siret:
          type: string
        categorieJuridique:
          type: integer
          format: int32
        siren:
          type: string
        adresse:
          $ref: '#/components/schemas/Adresse'
        scoreAppariement:
          type: number
          format: double
    DemandeRestit:
      type: object
      properties:
        dateDemande:
          type: string
        motif:
          type: string
        siretDemandeur:
          type: string
        sirenDemandeur:
          type: string
        justification:
          type: string
    CaracteristiqueCompte:
      type: object
      properties:
        codeCaracteristique:
          type: integer
          format: int32
        libelleCaracteristique:
          type: string
    EtablissementGestionnaire:
      type: object
      properties:
        etablissement:
          $ref: '#/components/schemas/EtablissementBancaire'
        guichet:
          $ref: '#/components/schemas/GuichetDto'
    TypeCompte:
      type: object
      properties:
        codeType:
          type: integer
          format: int32
        libelleType:
          type: string
  parameters:
    paramAuthorization:
      name: Authorization
      in: header
      description: 'Jeton d''authentification. Header Authorization standard, utilisant un schéma Bearer. Exemple: "bearer {token}"'
      required: true
      style: simple
      explode: false
      schema:
        type: string
    XCorrelationID:
      name: X-Correlation-ID
      in: header
      description: Identifiant de corrélation de la requête (format UUID)
      required: true
      style: simple
      explode: false
      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: 62d8e8ff-ce4f-4e50-b318-1edd2dab0f9f
  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)
      headers:
        X-Correlation-ID:
          description: Identifiant de corrélation de la requête (format UUID)
          required: true
          style: simple
          explode: false
          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: 62d8e8ff-ce4f-4e50-b318-1edd2dab0f9f
      content:
        application/json:
          schema:
            type: object
            properties:
              erreur:
                type: object
                properties:
                  code:
                    type: integer
                    format: int32
                    example: 84000
                  message:
                    type: string
                    example: Anomalies bloquantes
                  horodatage:
                    type: string
                    format: date-time
                    example: '2021-06-25T19:39:56+02:00'
          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'
  securitySchemes:
    default:
      type: oauth2
      flows:
        implicit:
          authorizationUrl: https://IP-GATEWAY/authorize
          scopes:
            VerifParIban: ''
            RechercheParPersonneMorale: ''
            RechercheParNumCompte: ''
            RechercheParSiret: ''
            RechercheParPersonnePhysique: ''
            RechercheParSpi: ''
            VerifMultiDetention: ''
          x-scopes-bindings:
            VerifParIban: ''
            RechercheParPersonneMorale: ''
            RechercheParSpi: ''
            RechercheParSiret: ''
            VerifMultiDetention: ''
            RechercheParNumCompte: ''
            RechercheParPersonnePhysique: ''
x-refined-from:
- ficoba.json
- direction-generale-des-finances-publiques-ficoba-openapi.yml