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

# Get entity

> Retrieve details for a specific entity.

Returns detailed information about a single entity. To retrieve the entity's lockbox mailing address, use the [Get entity lockbox](/api-reference/get-entity-lockbox) endpoint.

## Path parameters

<ParamField path="entity_id" type="string" required>
  The ID of the entity. You can find entity IDs using the [List
  entities](/api-reference/list-entities) endpoint.
</ParamField>

## Response

Returns an entity object.

<ResponseField name="id" type="string">
  Unique identifier for the entity, prefixed with `entity_`.
</ResponseField>

<ResponseField name="created_at" type="string">
  ISO 8601 timestamp of when the entity was created.
</ResponseField>

<ResponseField name="name" type="string">
  The name of the entity or practice.
</ResponseField>

<ResponseField name="structure" type="string">
  The entity's legal structure. One of `fqhc`, `govt`,
  `professional_corporation`, `professional_llc`, `llc`, `corporation`,
  `partnership`, `sole_prop`, or `nonprofit`.
</ResponseField>

<ResponseField name="npi" type="string | null">
  The entity's 10-digit National Provider Identifier.
</ResponseField>

<ResponseField name="address" type="object">
  The entity's business address.

  <Expandable title="address">
    <ResponseField name="line1" type="string">
      Street address line 1.
    </ResponseField>

    <ResponseField name="line2" type="string">
      Street address line 2, or an empty string if not set.
    </ResponseField>

    <ResponseField name="city" type="string">
      City.
    </ResponseField>

    <ResponseField name="state" type="string">
      Two-letter state code.
    </ResponseField>

    <ResponseField name="postalCode" type="string">
      ZIP code.
    </ResponseField>
  </Expandable>
</ResponseField>

<ResponseExample>
  ```json 200 theme={null}
  {
    "id": "entity_k7mXp2vR9nTfBw4s",
    "created_at": "2026-07-01T09:30:00Z",
    "name": "Riverside Family Medicine",
    "structure": "professional_llc",
    "npi": "1234567890",
    "address": {
      "line1": "2261 Market St",
      "line2": "Ste 1234",
      "city": "San Francisco",
      "state": "CA",
      "postalCode": "94114"
    }
  }
  ```

  ```json 404 theme={null}
  {
    "statusCode": 404,
    "error": "Not found",
    "message": "Entity not found"
  }
  ```
</ResponseExample>
