> ## 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/look-up-legal-entity-by-blockchain-address",
  "feedback": "Description of the issue"
}
```

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

</AgentInstructions>

# Look up legal entity by blockchain address

> Returns legal entity information for the given blockchain address (verification status, LEI, Travel Rule providers, contact email, and related fields — see response schema). URL-encode `{address}` when required.



## OpenAPI

````yaml https://docs.fireblocks.com/api/v1/swagger.yaml get /address_registry/legal_entities/{address}
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:
  /address_registry/legal_entities/{address}:
    get:
      tags:
        - Compliance
      summary: Look up legal entity by blockchain address
      description: >-
        Returns legal entity information for the given blockchain address
        (verification status, LEI, Travel Rule providers, contact email, and
        related fields — see response schema). URL-encode `{address}` when
        required.
      operationId: getLegalEntityForAddress
      parameters:
        - name: address
          in: path
          required: true
          schema:
            type: string
            example: '0x742d35cc6634c0532925a3b844bc9e7595f0beb0'
          description: Blockchain address to look up
      responses:
        '200':
          description: Legal entity found
          headers:
            X-Request-ID:
              $ref: '#/components/headers/X-Request-ID'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AddressRegistryLegalEntity'
        '400':
          description: >-
            Bad request — either request validation (path `{address}` empty or
            whitespace-only after trim, e.g. encoded spaces only; numeric code
            4100), or the authenticated workspace is not opted in to the address
            registry (numeric code 2140). The `message` field describes the
            failure; use `code` to distinguish.
          headers:
            X-Request-ID:
              $ref: '#/components/headers/X-Request-ID'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AddressRegistryError'
        '404':
          description: >-
            Not found (error code 2142) — unresolved address, no legal entity
            for a resolved address, or the same not-found outcome in other
            cases.
          headers:
            X-Request-ID:
              $ref: '#/components/headers/X-Request-ID'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AddressRegistryError'
        default:
          $ref: '#/components/responses/Error'
      x-codeSamples:
        - lang: TypeScript
          source: >-
            const response:
            Promise<FireblocksResponse<AddressRegistryLegalEntity>> =
            fireblocks.compliance.getLegalEntityForAddress(complianceApiGetLegalEntityForAddressRequest);
        - lang: Java
          source: >-
            CompletableFuture<ApiResponse<AddressRegistryLegalEntity>> response
            = fireblocks.compliance().getLegalEntityForAddress(address);
        - lang: Python
          source: >-
            response =
            fireblocks.compliance.get_legal_entity_for_address(address);
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:
    AddressRegistryLegalEntity:
      type: object
      description: Legal entity details for a blockchain address.
      properties:
        verified:
          type: boolean
          description: >-
            Whether the entity was resolved from verified public registry data
            (e.g. LEI sources).
          example: true
        entityName:
          type: string
          description: Legal entity display name.
          example: ACME Corporation
        jurisdiction:
          type: string
          description: Jurisdiction (e.g. ISO 3166-1 alpha-2 country code).
          example: US
        lei:
          type: string
          description: >-
            Legal Entity Identifier when available; may be empty when
            unverified.
          example: 254900GC33RBE6FQA817
        travelRuleProviders:
          type: array
          items:
            $ref: '#/components/schemas/AddressRegistryTravelRuleProvider'
          example:
            - TRAVEL_RULE_PROVIDER_NOTABENE
            - TRAVEL_RULE_PROVIDER_SYGNA
        email:
          type: string
          description: Travel Rule contact email when available.
          example: compliance@example.com
      required:
        - verified
        - entityName
        - jurisdiction
        - lei
        - travelRuleProviders
        - email
    AddressRegistryError:
      type: object
      description: Error body for address registry operations (4xx and 5xx).
      properties:
        code:
          type: integer
          description: >
            Application error code when present. For HTTP 400 on legal-entity
            lookup, distinguish: 4100 — request validation (e.g. missing, empty,
            or whitespace-only `address` after trim); 2140 — workspace not opted
            in to the address registry (`AR_OPT_IN_REQUIRED`). 2142 — not found
            (404). Other codes may appear, including on server errors.
          example: 2140
        message:
          type: string
          description: Human-readable error message
          example: Address registry opt-in required for this workspace.
      required:
        - message
    AddressRegistryTravelRuleProvider:
      type: string
      description: Travel Rule provider identifier (string enum value).
      enum:
        - TRAVEL_RULE_PROVIDER_NOTABENE
        - TRAVEL_RULE_PROVIDER_SYGNA
        - TRAVEL_RULE_PROVIDER_TRISA
        - TRAVEL_RULE_PROVIDER_OPENVASP
      example: TRAVEL_RULE_PROVIDER_NOTABENE
    ErrorSchema:
      type: object
      properties:
        message:
          type: string
        code:
          type: number
  responses:
    Error:
      description: Error Response
      headers:
        X-Request-ID:
          $ref: '#/components/headers/X-Request-ID'
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorSchema'

````