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

<AgentInstructions>

## Submitting Feedback

If you encounter incorrect, outdated, or confusing documentation on this page, submit feedback:

POST https://developers.fireblocks.com/feedback

```json
{
  "path": "/api-reference/compliance/list-legal-entities-paginated",
  "feedback": "Description of the issue"
}
```

Only submit feedback when you have something specific and actionable to report.

</AgentInstructions>

# List legal entities (Paginated)

> Returns legal entity registrations for the workspace with cursor-based pagination.
If query parameter vaultAccountId is used it returns the legal entity registration associated with a specific vault account. If no explicit mapping exists for the vault, the workspace default legal entity is returned. Returns an empty response if neither a vault mapping nor a default legal entity is configured.
Endpoint Permission: Admin, Non-Signing Admin, Signer, Approver, Editor, Viewer.



## OpenAPI

````yaml https://docs.fireblocks.com/api/v1/swagger.yaml get /legal_entities
openapi: 3.0.0
info:
  title: Fireblocks API
  description: >
    Fireblocks provides a suite of applications to manage digital asset
    operations and a complete development platform to build your business on the
    blockchain.


    - Visit our website for more information: [Fireblocks
    Website](https://fireblocks.com)

    - Visit our developer docs: [Fireblocks
    DevPortal](https://developers.fireblocks.com)
  version: 1.6.2
  contact:
    email: developers@fireblocks.com
servers:
  - url: https://api.fireblocks.io/v1
    description: Fireblocks Production Environment Base URL
  - url: https://sandbox-api.fireblocks.io/v1
    description: Fireblocks Sandbox Environment Base URL
security: []
paths:
  /legal_entities:
    get:
      tags:
        - Compliance
      summary: List legal entities (Paginated)
      description: >-
        Returns legal entity registrations for the workspace with cursor-based
        pagination.

        If query parameter vaultAccountId is used it returns the legal entity
        registration associated with a specific vault account. If no explicit
        mapping exists for the vault, the workspace default legal entity is
        returned. Returns an empty response if neither a vault mapping nor a
        default legal entity is configured.

        Endpoint Permission: Admin, Non-Signing Admin, Signer, Approver, Editor,
        Viewer.
      operationId: listLegalEntities
      parameters:
        - in: query
          name: vaultAccountId
          required: false
          description: >-
            The ID of the vault account. When provided, returns the legal entity
            associated with that vault account and pagination parameters are
            ignored.
          schema:
            type: string
            format: numeric
            x-fb-entity: vault_account
        - in: query
          name: pageCursor
          required: false
          description: >-
            Cursor string returned in `next` or `prev` of a previous response.
            Ignored when `vaultAccountId` is provided.
          schema:
            type: string
        - in: query
          name: pageSize
          required: false
          description: >-
            Maximum number of registrations to return. Ignored when
            `vaultAccountId` is provided.
          schema:
            type: integer
            minimum: 1
            maximum: 100
            default: 50
      responses:
        '200':
          description: >-
            A paginated list of legal entity registrations. When
            `vaultAccountId` is provided, `data` contains at most one item.
          headers:
            X-Request-ID:
              $ref: '#/components/headers/X-Request-ID'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ListLegalEntitiesResponse'
        default:
          $ref: '#/components/responses/Error'
      x-codeSamples:
        - lang: TypeScript
          source: >-
            const response:
            Promise<FireblocksResponse<ListLegalEntitiesResponse>> =
            fireblocks.compliance.listLegalEntities(complianceApiListLegalEntitiesRequest);
        - lang: Java
          source: >-
            CompletableFuture<ApiResponse<ListLegalEntitiesResponse>> response =
            fireblocks.compliance().listLegalEntities(vaultAccountId,
            pageCursor, pageSize);
        - lang: Python
          source: >-
            response =
            fireblocks.compliance.list_legal_entities(vault_account_id,
            page_cursor, page_size);
components:
  headers:
    X-Request-ID:
      schema:
        type: string
      description: >-
        Unique ID correlated to the API request. Please provide it in any
        support ticket you create or on Github issues related to Fireblocks SDKs
  schemas:
    ListLegalEntitiesResponse:
      type: object
      description: Paginated response containing a list of legal entity registrations
      properties:
        total:
          type: integer
          description: Total number of legal entity registrations (optional)
          example: 5
        data:
          type: array
          items:
            $ref: '#/components/schemas/LegalEntityRegistration'
          description: Legal entity registrations for the current page
        next:
          type: string
          description: Cursor to pass as `pageCursor` to retrieve the next page
          example: eyJpZCI6IjEyMyJ9
      required:
        - data
    LegalEntityRegistration:
      type: object
      description: Legal entity registration record
      properties:
        id:
          type: string
          format: uuid
          description: Unique registration identifier
          example: 550e8400-e29b-41d4-a716-446655440000
        lei:
          type: string
          description: Legal Entity Identifier (LEI) code
          example: 529900HNOAA1KXQJUQ27
        status:
          $ref: '#/components/schemas/LeiStatus'
        isDefault:
          type: boolean
          description: Whether this is the default legal entity for the workspace
          example: false
        travelRuleProviders:
          type: array
          minItems: 0
          maxItems: 20
          items:
            $ref: '#/components/schemas/TravelRuleProvider'
          description: Travel rule providers configured for this registration
          example:
            - MY_OWN
        travelRuleContactEmail:
          type: string
          format: email
          description: Contact email for travel rule communications
          example: compliance@example.com
        gleifData:
          $ref: '#/components/schemas/GleifData'
        createdAt:
          type: string
          description: Creation timestamp in milliseconds since epoch
          example: '1700000000000'
        updatedAt:
          type: string
          description: Last update timestamp in milliseconds since epoch
          example: '1700000000000'
      required:
        - id
        - lei
        - tenantId
        - status
        - isDefault
        - travelRuleProviders
        - createdAt
        - updatedAt
    ErrorSchema:
      type: object
      properties:
        message:
          type: string
        code:
          type: number
    LeiStatus:
      type: string
      description: Approval status of a legal entity registration
      enum:
        - PENDING
        - APPROVED
        - DENIED
        - REVOKED
    TravelRuleProvider:
      type: string
      description: Travel rule compliance provider
      enum:
        - CODE
        - GTR
        - MY_OWN
        - NOTABENE
        - SYGNA
        - SUMSUB
        - TRISA
        - TRUST
        - TWENTY_ONE_ANALYTICS
        - VERIFY_VASP
    GleifData:
      type: object
      description: >-
        GLEIF (Global Legal Entity Identifier Foundation) data for a legal
        entity
      properties:
        lei:
          type: string
          description: Legal Entity Identifier (LEI) code
          example: 529900HNOAA1KXQJUQ27
        legalName:
          type: string
          description: Official legal name of the entity
          example: Example Corporation Ltd.
        legalNameLanguage:
          type: string
          description: Two-letter ISO 639-1 language code
          example: en
          minLength: 2
          maxLength: 2
        otherNames:
          type: array
          minItems: 0
          maxItems: 20
          items:
            $ref: '#/components/schemas/GleifOtherLegalEntityName'
          description: Alternative names for the entity
          example:
            - name: ExCorp
              language: en
            - name: Example Corp
              language: en
        legalAddressRegion:
          type: string
          description: Region or state of the legal address
          example: NY
        legalAddressCountry:
          type: string
          description: Country code of the legal address (ISO 3166-1 alpha-2)
          example: US
        nextRenewalDate:
          type: string
          format: date-time
          description: Date when the LEI registration must be renewed
          example: '2025-12-31T00:00:00Z'
      required:
        - lei
        - legalName
        - legalAddressCountry
    GleifOtherLegalEntityName:
      type: object
      properties:
        name:
          type: string
          description: Alternative name of the legal entity
          example: ExCorp
        language:
          type: string
          description: Two-letter ISO 639-1 language code
          example: en
      required:
        - name
        - language
  responses:
    Error:
      description: Error Response
      headers:
        X-Request-ID:
          $ref: '#/components/headers/X-Request-ID'
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorSchema'

````