> ## 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.

# /pappers/companies/graph

> Get the corporate-network graph for a French company by SIREN

**Price:** 20 credits

**⚠️ Common errors:** 412: SIREN not found in the French company registry



## OpenAPI

````yaml /openapi/company-registries.json post /api/pappers/companies/graph
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/pappers/companies/graph:
    post:
      tags:
        - /pappers
      summary: /pappers/companies/graph
      description: >-
        Get the corporate-network graph for a French company by SIREN


        **Price:** 20 credits


        **⚠️ Common errors:** 412: SIREN not found in the French company
        registry
      operationId: __api_pappers_companies_graph_post
      parameters:
        - name: access-token
          in: header
          required: true
          schema:
            anyOf:
              - type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PappersGraphPayload'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/PappersGraph'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    PappersGraphPayload:
      properties:
        timeout:
          type: integer
          maximum: 1500
          minimum: 20
          default: 300
        siren:
          type: string
        include_managed_companies:
          type: boolean
          default: true
        include_cited_companies:
          type: boolean
          default: false
        include_sci:
          type: boolean
          default: true
      type: object
      required:
        - siren
    PappersGraph:
      properties:
        '@type':
          type: string
          default: PappersGraph
        siren:
          type: string
        companies:
          items:
            $ref: '#/components/schemas/PappersGraphCompany'
          type: array
        people:
          items:
            $ref: '#/components/schemas/PappersGraphPerson'
          type: array
        company_person_links:
          items:
            $ref: '#/components/schemas/PappersGraphCompanyPersonLink'
          type: array
        company_company_links:
          items:
            $ref: '#/components/schemas/PappersGraphCompanyCompanyLink'
          type: array
      type: object
      required:
        - siren
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
      type: object
    PappersGraphCompany:
      properties:
        '@type':
          type: string
          default: PappersGraphCompany
        node_id:
          type: string
        siren:
          anyOf:
            - type: string
            - type: 'null'
        name:
          anyOf:
            - type: string
            - type: 'null'
      type: object
      required:
        - node_id
    PappersGraphPerson:
      properties:
        '@type':
          type: string
          default: PappersGraphPerson
        node_id:
          type: string
        first_name:
          anyOf:
            - type: string
            - type: 'null'
        last_name:
          anyOf:
            - type: string
            - type: 'null'
        level:
          anyOf:
            - type: integer
            - type: 'null'
        birth_date:
          anyOf:
            - type: string
            - type: 'null'
      type: object
      required:
        - node_id
    PappersGraphCompanyPersonLink:
      properties:
        '@type':
          type: string
          default: PappersGraphCompanyPersonLink
        company_node_id:
          type: string
        person_node_id:
          type: string
      type: object
      required:
        - company_node_id
        - person_node_id
    PappersGraphCompanyCompanyLink:
      properties:
        '@type':
          type: string
          default: PappersGraphCompanyCompanyLink
        parent_node_id:
          type: string
        child_node_id:
          type: string
      type: object
      required:
        - parent_node_id
        - child_node_id
    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

````