> ## 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/search

> Search French companies in the Infogreffe registry by name, brand, SIREN or address. Returns matching companies with id, siren, name, acronym, legal status, NAF activity (code/label), registered address, business sector, establishment count and KBIS availability.

**Price:** 20 credits per 100 results

**⚠️ Common errors:** 412: No companies matched the search query



## OpenAPI

````yaml /openapi/company-registries.json post /api/infogreffe/companies/search
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/search:
    post:
      tags:
        - /infogreffe
      summary: /infogreffe/companies/search
      description: >-
        Search French companies in the Infogreffe registry by name, brand, SIREN
        or address. Returns matching companies with id, siren, name, acronym,
        legal status, NAF activity (code/label), registered address, business
        sector, establishment count and KBIS availability.


        **Price:** 20 credits per 100 results


        **⚠️ Common errors:** 412: No companies matched the search query
      operationId: __api_infogreffe_companies_search_post
      parameters:
        - name: access-token
          in: header
          required: true
          schema:
            anyOf:
              - type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/InfogreffeCompaniesSearchPayload'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/InfogreffeCompanySearchItem'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    InfogreffeCompaniesSearchPayload:
      properties:
        timeout:
          type: integer
          maximum: 1500
          minimum: 20
          default: 300
        query:
          type: string
          minLength: 1
        count:
          type: integer
          minimum: 1
      type: object
      required:
        - query
        - count
    InfogreffeCompanySearchItem:
      properties:
        '@type':
          type: string
          default: InfogreffeCompanySearchItem
        id:
          type: string
        siren:
          type: string
        name:
          anyOf:
            - type: string
            - type: 'null'
        acronym:
          anyOf:
            - type: string
            - type: 'null'
        status:
          anyOf:
            - type: string
            - type: 'null'
        activity:
          anyOf:
            - $ref: '#/components/schemas/InfogreffeNafActivity'
            - type: 'null'
        address:
          anyOf:
            - $ref: '#/components/schemas/InfogreffeAddress'
            - type: 'null'
        sector:
          anyOf:
            - type: string
            - type: 'null'
        establishment_count:
          anyOf:
            - type: integer
            - type: 'null'
        has_kbis:
          anyOf:
            - type: boolean
            - 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
    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

````