Explorateur Sirene

Explorateur Sirene · GPT アクション

Simplified Enterprise Information API

  • GET /entreprises/sirene/V3/siren/{siren}Retrieve detailed information about a legal unit using its SIREN number.
元の API スキーマ
{
  "openapi": "3.0.1",
  "info": {
    "title": "Simplified Enterprise Information API",
    "version": "1.0.0"
  },
  "servers": [
    {
      "url": "https://api.insee.fr",
      "description": "API server"
    }
  ],
  "paths": {
    "/entreprises/sirene/V3/siren/{siren}": {
      "get": {
        "summary": "Retrieve detailed information about a legal unit using its SIREN number.",
        "operationId": "getEntrepriseInfo",
        "tags": [
          "Informations générales"
        ],
        "parameters": [
          {
            "name": "siren",
            "in": "path",
            "required": true,
            "description": "The SIREN number of the legal unit.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "header": {
                      "type": "object",
                      "properties": {
                        "statut": {
                          "type": "integer"
                        },
                        "message": {
                          "type": "string"
                        },
                        "total": {
                          "type": "integer"
                        },
                        "debut": {
                          "type": "integer"
                        },
                        "nombre": {
                          "type": "integer"
                        }
                      }
                    },
                    "unitesLegales": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "siren": {
                            "type": "string"
                          },
                          "statutDiffusionUniteLegale": {
                            "type": "string"
                          },
                          "dateCreationUniteLegale": {
                            "type": "string",
                            "format": "date"
                          },
                          "sigleUniteLegale": {
                            "type": "string"
                          },
                          "sexeUniteLegale": {
                            "type": "string"
                          },
                          "prenom1UniteLegale": {
                            "type": "string"
                          },
                          "prenom2UniteLegale": {
                            "type": "string"
                          },
                          "prenom3UniteLegale": {
                            "type": "string"
                          },
                          "prenom4UniteLegale": {
                            "type": "string"
                          },
                          "prenomUsuelUniteLegale": {
                            "type": "string"
                          },
                          "pseudonymeUniteLegale": {
                            "type": "string"
                          },
                          "identifiantAssociationUniteLegale": {
                            "type": "string"
                          },
                          "trancheEffectifsUniteLegale": {
                            "type": "string"
                          },
                          "anneeEffectifsUniteLegale": {
                            "type": "string"
                          },
                          "dateDernierTraitementUniteLegale": {
                            "type": "string",
                            "format": "date-time"
                          },
                          "nombrePeriodesUniteLegale": {
                            "type": "integer"
                          },
                          "categorieEntreprise": {
                            "type": "string"
                          },
                          "anneeCategorieEntreprise": {
                            "type": "string"
                          },
                          "periodesUniteLegale": {
                            "type": "array",
                            "items": {
                              "type": "object",
                              "properties": {
                                "dateFin": {
                                  "type": "string",
                                  "format": "date"
                                },
                                "dateDebut": {
                                  "type": "string",
                                  "format": "date"
                                },
                                "etatAdministratifUniteLegale": {
                                  "type": "string"
                                },
                                "changementEtatAdministratifUniteLegale": {
                                  "type": "boolean"
                                },
                                "nomUniteLegale": {
                                  "type": "string"
                                },
                                "changementNomUniteLegale": {
                                  "type": "boolean"
                                },
                                "nomUsageUniteLegale": {
                                  "type": "string"
                                },
                                "changementNomUsageUniteLegale": {
                                  "type": "boolean"
                                },
                                "denominationUniteLegale": {
                                  "type": "string"
                                },
                                "changementDenominationUniteLegale": {
                                  "type": "boolean"
                                },
                                "denominationUsuelle1UniteLegale": {
                                  "type": "string"
                                },
                                "denominationUsuelle2UniteLegale": {
                                  "type": "string"
                                },
                                "denominationUsuelle3UniteLegale": {
                                  "type": "string"
                                },
                                "changementDenominationUsuelleUniteLegale": {
                                  "type": "boolean"
                                },
                                "categorieJuridiqueUniteLegale": {
                                  "type": "string"
                                },
                                "changementCategorieJuridiqueUniteLegale": {
                                  "type": "boolean"
                                },
                                "activitePrincipaleUniteLegale": {
                                  "type": "string"
                                },
                                "nomenclatureActivitePrincipaleUniteLegale": {
                                  "type": "string"
                                },
                                "changementActivitePrincipaleUniteLegale": {
                                  "type": "boolean"
                                },
                                "nicSiegeUniteLegale": {
                                  "type": "string"
                                },
                                "changementNicSiegeUniteLegale": {
                                  "type": "boolean"
                                },
                                "economieSocialeSolidaireUniteLegale": {
                                  "type": "string"
                                },
                                "changementEconomieSocialeSolidaireUniteLegale": {
                                  "type": "boolean"
                                },
                                "societeMissionUniteLegale": {
                                  "type": "string"
                                },
                                "changementSocieteMissionUniteLegale": {
                                  "type": "boolean"
                                },
                                "caractereEmployeurUniteLegale": {
                                  "type": "string"
                                },
                                "changementCaractereEmployeurUniteLegale": {
                                  "type": "boolean"
                                }
                              }
                            }
                          }
                        }
                      }
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}