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

# Get Entity by ID

> Retrieve a specific entity using its unique ID

Use this endpoint to fetch a specific entity. You must provide the entity ID as a path parameter.


## OpenAPI

````yaml GET /entities/{id}
openapi: 3.0.1
info:
  title: Antei API Reference
  description: >-
    Programmatic access to Antei’s platform. Use this API to manage core objects
    and retrieve taxation insights.
  version: 1.0.0
  license:
    name: MIT
  contact:
    name: Antei Developer Support
    email: support@antei.com
    url: https://antei.com
servers:
  - url: https://api.antei.com
security:
  - bearerAuth: []
paths:
  /entities/{id}:
    get:
      summary: Get Entity by ID
      description: Retrieve an entity by its unique ID.
      parameters:
        - name: id
          in: path
          required: true
          description: The entity ID
          schema:
            type: string
      responses:
        '200':
          description: Entity object
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Entity'
        '404':
          description: Entity not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
components:
  schemas:
    Entity:
      type: object
      required:
        - id
        - name
        - country
      properties:
        id:
          type: string
          description: Unique ID of the entity
        name:
          type: string
          description: Legal name of the entity
        country:
          type: string
          description: Country of registration
        tax_id:
          type: string
          description: Official tax ID for the entity
        is_primary:
          type: boolean
          description: Indicates whether this is the primary entity
    Error:
      type: object
      properties:
        error:
          type: string
        message:
          type: string
        status:
          type: integer
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer

````