> ## Documentation Index
> Fetch the complete documentation index at: https://docs.anysite.io/llms.txt
> Use this file to discover all available pages before exploring further.

# /infogreffe/companies

> Get full French company details from the Infogreffe registry by SIREN (or SIRET): legal name, legal status, person type, registration and creation dates, declared activity and NAF activity (code/label), registered address, workforce range, employee count, legal form, share capital (amount/currency), fiscal year-end, social-economy / mission-company / single-shareholder flags and the beneficial owner declaration type.

**Price:** 20 credits

**⚠️ Common errors:** 412: Company not found (well-formed but nonexistent SIREN, or no matching company in the registry)



## OpenAPI

````yaml /openapi/company-registries.json post /api/infogreffe/companies
openapi: 3.1.0
info:
  title: Any Site API
  description: >+
    Any Site API provides programmatic access to data from LinkedIn, Instagram,
    Twitter, and other platforms.


    ## Authentication


    All API endpoints require an `access-token` header with a valid API token.
    Tokens can be created in the [dashboard](https://app.anysite.io/).


    ## Pricing


    Each endpoint has a credit cost listed in its description. Credits are
    deducted from your token balance per request.

  version: 0.0.1
servers: []
security:
  - AccessToken: []
paths:
  /api/infogreffe/companies:
    post:
      tags:
        - /infogreffe
      summary: /infogreffe/companies
      description: >-
        Get full French company details from the Infogreffe registry by SIREN
        (or SIRET): legal name, legal status, person type, registration and
        creation dates, declared activity and NAF activity (code/label),
        registered address, workforce range, employee count, legal form, share
        capital (amount/currency), fiscal year-end, social-economy /
        mission-company / single-shareholder flags and the beneficial owner
        declaration type.


        **Price:** 20 credits


        **⚠️ Common errors:** 412: Company not found (well-formed but
        nonexistent SIREN, or no matching company in the registry)
      operationId: __api_infogreffe_companies_post
      parameters:
        - name: access-token
          in: header
          required: true
          schema:
            anyOf:
              - type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/InfogreffeCompaniesPayload'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/InfogreffeCompany'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    InfogreffeCompaniesPayload:
      properties:
        timeout:
          type: integer
          maximum: 1500
          minimum: 20
          default: 300
        siren:
          type: string
          minLength: 1
      type: object
      required:
        - siren
    InfogreffeCompany:
      properties:
        '@type':
          type: string
          default: InfogreffeCompany
        id:
          type: string
        siren:
          type: string
        name:
          anyOf:
            - type: string
            - type: 'null'
        legal_status:
          anyOf:
            - type: string
            - type: 'null'
        person_type:
          anyOf:
            - type: string
            - type: 'null'
        registration_date:
          anyOf:
            - type: string
            - type: 'null'
        creation_date:
          anyOf:
            - type: string
            - type: 'null'
        radiation_date:
          anyOf:
            - type: string
            - type: 'null'
        is_inactive:
          anyOf:
            - type: boolean
            - type: 'null'
        declared_activity:
          anyOf:
            - type: string
            - type: 'null'
        activity:
          anyOf:
            - $ref: '#/components/schemas/InfogreffeNafActivity'
            - type: 'null'
        address:
          anyOf:
            - $ref: '#/components/schemas/InfogreffeAddress'
            - type: 'null'
        workforce_range:
          anyOf:
            - type: string
            - type: 'null'
        employee_count:
          anyOf:
            - type: integer
            - type: 'null'
        legal_form:
          anyOf:
            - $ref: '#/components/schemas/InfogreffeLegalForm'
            - type: 'null'
        capital:
          anyOf:
            - $ref: '#/components/schemas/InfogreffeCapital'
            - type: 'null'
        fiscal_year_end:
          anyOf:
            - type: string
            - type: 'null'
        is_ess:
          anyOf:
            - type: boolean
            - type: 'null'
        is_societe_mission:
          anyOf:
            - type: boolean
            - type: 'null'
        is_single_shareholder:
          anyOf:
            - type: boolean
            - type: 'null'
        at_legal_rep_domicile:
          anyOf:
            - type: boolean
            - type: 'null'
        beneficial_owner_declaration_type:
          anyOf:
            - type: string
            - type: 'null'
      type: object
      required:
        - id
        - siren
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
      type: object
    InfogreffeNafActivity:
      properties:
        '@type':
          type: string
          default: InfogreffeNafActivity
        code:
          anyOf:
            - type: string
            - type: 'null'
        label:
          anyOf:
            - type: string
            - type: 'null'
      type: object
    InfogreffeAddress:
      properties:
        '@type':
          type: string
          default: InfogreffeAddress
        line_1:
          anyOf:
            - type: string
            - type: 'null'
        line_2:
          anyOf:
            - type: string
            - type: 'null'
        line_3:
          anyOf:
            - type: string
            - type: 'null'
        postal_code:
          anyOf:
            - type: string
            - type: 'null'
        city:
          anyOf:
            - type: string
            - type: 'null'
        country:
          anyOf:
            - type: string
            - type: 'null'
      type: object
    InfogreffeLegalForm:
      properties:
        '@type':
          type: string
          default: InfogreffeLegalForm
        code:
          anyOf:
            - type: string
            - type: 'null'
        label:
          anyOf:
            - type: string
            - type: 'null'
      type: object
    InfogreffeCapital:
      properties:
        '@type':
          type: string
          default: InfogreffeCapital
        amount:
          anyOf:
            - type: number
            - type: 'null'
        currency:
          anyOf:
            - type: string
            - type: 'null'
        type:
          anyOf:
            - type: string
            - type: 'null'
      type: object
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
        msg:
          type: string
        type:
          type: string
        input: {}
        ctx:
          type: object
      type: object
      required:
        - loc
        - msg
        - type
  securitySchemes:
    AccessToken:
      type: apiKey
      in: header
      name: access-token
      description: API token from the dashboard

````