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

# /tracxn/legal-entities

> Get a Tracxn (tracxn.com) legal entity (registered company) profile by profile URL or profile id

**Price:** 20 credits

**⚠️ Common errors:** 412: Legal entity not found, or the id belongs to a different entity type.



## OpenAPI

````yaml /openapi/company-startup-intel.json post /api/tracxn/legal-entities
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/tracxn/legal-entities:
    post:
      tags:
        - /tracxn
      summary: /tracxn/legal-entities
      description: >-
        Get a Tracxn (tracxn.com) legal entity (registered company) profile by
        profile URL or profile id


        **Price:** 20 credits


        **⚠️ Common errors:** 412: Legal entity not found, or the id belongs to
        a different entity type.
      operationId: __api_tracxn_legal_entities_post
      parameters:
        - name: access-token
          in: header
          required: true
          schema:
            anyOf:
              - type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/TracxnLegalEntitiesPayload'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/TracxnLegalEntity'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    TracxnLegalEntitiesPayload:
      properties:
        timeout:
          type: integer
          maximum: 1500
          minimum: 20
          default: 300
        entity:
          type: string
          pattern: ^[A-Za-z0-9_:/.?=&%+-]{6,400}$
      type: object
      required:
        - entity
    TracxnLegalEntity:
      properties:
        '@type':
          type: string
          default: TracxnLegalEntity
        id:
          type: string
        alias:
          anyOf:
            - type: string
            - type: 'null'
        url:
          type: string
        name:
          type: string
        country:
          anyOf:
            - type: string
            - type: 'null'
        cin:
          anyOf:
            - type: string
            - type: 'null'
        status:
          anyOf:
            - type: string
            - type: 'null'
        legal_form:
          anyOf:
            - type: string
            - type: 'null'
        incorporated_at:
          anyOf:
            - type: integer
            - type: 'null'
        company_age:
          anyOf:
            - type: string
            - type: 'null'
        registrar:
          anyOf:
            - type: string
            - type: 'null'
        last_agm_at:
          anyOf:
            - type: integer
            - type: 'null'
        latest_revenue:
          anyOf:
            - type: string
            - type: 'null'
        latest_employee_count:
          anyOf:
            - type: integer
            - type: 'null'
        authorized_capital:
          anyOf:
            - type: string
            - type: 'null'
        paid_up_capital:
          anyOf:
            - type: string
            - type: 'null'
        registered_address:
          anyOf:
            - type: string
            - type: 'null'
        brands:
          items:
            $ref: '#/components/schemas/TracxnLegalEntityBrand'
          type: array
          default: []
        business_activities:
          items:
            $ref: '#/components/schemas/TracxnBusinessActivity'
          type: array
          default: []
        documents:
          items:
            $ref: '#/components/schemas/TracxnLegalEntityDocument'
          type: array
          default: []
        revenue_growth:
          items:
            $ref: '#/components/schemas/TracxnGrowthRate'
          type: array
          default: []
        ebitda_growth:
          items:
            $ref: '#/components/schemas/TracxnGrowthRate'
          type: array
          default: []
        charges:
          items:
            $ref: '#/components/schemas/TracxnLegalEntityCharge'
          type: array
          default: []
        cap_table:
          items:
            $ref: '#/components/schemas/TracxnShareholderGroup'
          type: array
          default: []
        directors:
          items:
            $ref: '#/components/schemas/TracxnLegalEntityDirector'
          type: array
          default: []
        related_entities:
          items:
            $ref: '#/components/schemas/TracxnRelatedLegalEntity'
          type: array
          default: []
        competitors:
          items:
            $ref: '#/components/schemas/TracxnCompetitor'
          type: array
          default: []
        employee_count_history:
          items:
            $ref: '#/components/schemas/TracxnEmployeeCountPoint'
          type: array
          default: []
        news:
          items:
            $ref: '#/components/schemas/TracxnNewsItem'
          type: array
          default: []
        faqs:
          items:
            $ref: '#/components/schemas/TracxnFaq'
          type: array
          default: []
      type: object
      required:
        - id
        - url
        - name
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
      type: object
    TracxnLegalEntityBrand:
      properties:
        '@type':
          type: string
          default: TracxnLegalEntityBrand
        name:
          type: string
        id:
          anyOf:
            - type: string
            - type: 'null'
        url:
          anyOf:
            - type: string
            - type: 'null'
        founded_year:
          anyOf:
            - type: integer
            - type: 'null'
        location:
          anyOf:
            - type: string
            - type: 'null'
        stage:
          anyOf:
            - type: string
            - type: 'null'
      type: object
      required:
        - name
    TracxnBusinessActivity:
      properties:
        '@type':
          type: string
          default: TracxnBusinessActivity
        main_activity_code:
          anyOf:
            - type: string
            - type: 'null'
        main_activity:
          anyOf:
            - type: string
            - type: 'null'
        business_activity_code:
          anyOf:
            - type: string
            - type: 'null'
        business_activity:
          anyOf:
            - type: string
            - type: 'null'
      type: object
    TracxnLegalEntityDocument:
      properties:
        '@type':
          type: string
          default: TracxnLegalEntityDocument
        document_name:
          type: string
        category:
          anyOf:
            - type: string
            - type: 'null'
        filed_at:
          anyOf:
            - type: integer
            - type: 'null'
      type: object
      required:
        - document_name
    TracxnGrowthRate:
      properties:
        '@type':
          type: string
          default: TracxnGrowthRate
        period:
          type: string
        growth_percent:
          anyOf:
            - type: number
            - type: 'null'
      type: object
      required:
        - period
    TracxnLegalEntityCharge:
      properties:
        '@type':
          type: string
          default: TracxnLegalEntityCharge
        charge_id:
          anyOf:
            - type: string
            - type: 'null'
        lender:
          anyOf:
            - $ref: '#/components/schemas/TracxnEntityRef'
            - type: 'null'
        charge_amount:
          anyOf:
            - type: string
            - type: 'null'
        created_at:
          anyOf:
            - type: integer
            - type: 'null'
      type: object
    TracxnShareholderGroup:
      properties:
        '@type':
          type: string
          default: TracxnShareholderGroup
        group_name:
          type: string
        holding_percent:
          anyOf:
            - type: number
            - type: 'null'
        net_worth:
          anyOf:
            - type: string
            - type: 'null'
        shareholders:
          items:
            $ref: '#/components/schemas/TracxnEntityRef'
          type: array
          default: []
      type: object
      required:
        - group_name
    TracxnLegalEntityDirector:
      properties:
        '@type':
          type: string
          default: TracxnLegalEntityDirector
        name:
          type: string
        designation:
          anyOf:
            - type: string
            - type: 'null'
        status:
          anyOf:
            - type: string
            - type: 'null'
        appointed_at:
          anyOf:
            - type: integer
            - type: 'null'
        duration:
          anyOf:
            - type: string
            - type: 'null'
      type: object
      required:
        - name
    TracxnRelatedLegalEntity:
      properties:
        '@type':
          type: string
          default: TracxnRelatedLegalEntity
        name:
          type: string
        id:
          anyOf:
            - type: string
            - type: 'null'
        url:
          anyOf:
            - type: string
            - type: 'null'
        cin:
          anyOf:
            - type: string
            - type: 'null'
        country:
          anyOf:
            - type: string
            - type: 'null'
        status:
          anyOf:
            - type: string
            - type: 'null'
      type: object
      required:
        - name
    TracxnCompetitor:
      properties:
        '@type':
          type: string
          default: TracxnCompetitor
        name:
          type: string
        url:
          anyOf:
            - type: string
            - type: 'null'
        id:
          anyOf:
            - type: string
            - type: 'null'
        rank:
          anyOf:
            - type: integer
            - type: 'null'
        founded_year:
          anyOf:
            - type: integer
            - type: 'null'
        location:
          anyOf:
            - type: string
            - type: 'null'
        stage:
          anyOf:
            - type: string
            - type: 'null'
        total_funding:
          anyOf:
            - type: number
            - type: 'null'
        investors:
          items:
            $ref: '#/components/schemas/TracxnEntityRef'
          type: array
          default: []
        tracxn_score:
          anyOf:
            - type: integer
            - type: 'null'
      type: object
      required:
        - name
    TracxnEmployeeCountPoint:
      properties:
        '@type':
          type: string
          default: TracxnEmployeeCountPoint
        period:
          type: string
        employee_count:
          anyOf:
            - type: integer
            - type: 'null'
      type: object
      required:
        - period
    TracxnNewsItem:
      properties:
        '@type':
          type: string
          default: TracxnNewsItem
        news_title:
          type: string
        url:
          anyOf:
            - type: string
            - type: 'null'
        publisher:
          anyOf:
            - type: string
            - type: 'null'
        published_at:
          anyOf:
            - type: integer
            - type: 'null'
        related:
          items:
            $ref: '#/components/schemas/TracxnEntityRef'
          type: array
          default: []
      type: object
      required:
        - news_title
    TracxnFaq:
      properties:
        '@type':
          type: string
          default: TracxnFaq
        question:
          type: string
        answer:
          anyOf:
            - type: string
            - type: 'null'
      type: object
      required:
        - question
    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
    TracxnEntityRef:
      properties:
        '@type':
          type: string
          default: TracxnEntityRef
        name:
          type: string
        id:
          anyOf:
            - type: string
            - type: 'null'
        namespace:
          anyOf:
            - type: string
            - type: 'null'
        url:
          anyOf:
            - type: string
            - type: 'null'
      type: object
      required:
        - name
  securitySchemes:
    AccessToken:
      type: apiKey
      in: header
      name: access-token
      description: API token from the dashboard

````