---
title: "Get Entity"
url: "https://console.9fin.com/apis/entity-service/versions/c6a32e6e-9ef7-437f-9eaa-2676a56d8c5e/operations/get_entity_v0_entity__nf_id__get"
---

> Full API specification: https://console.9fin.com/apis/entity-service/versions/c6a32e6e-9ef7-437f-9eaa-2676a56d8c5e.md

# Get Entity

`GET` `/v0/entity/{nf_id}`

Operation ID: `get_entity_v0_entity__nf_id__get`

Returns a single Entity by its 9fin identifier (`nf_id`). The `nf_id` is case-insensitive. Responds with 404 if no entity matches.

## Path parameters

- `nf_id` (string, required) - Unique 9fin identifier of the entity.

## Responses

- `200` - Successful Response
- `400` - Bad request (e.g. invalid cursor).
- `422` - Request validation failed (e.g. unknown query parameter).
- `500` - Unexpected server error.
- `503` - Service unavailable (e.g. database down).

## OpenAPI definition

```yaml
openapi: 3.1.0
info:
  title: 9fin Entity API
  version: 0.5.7
servers:
  - description: Production environment
    url: https://api.9fin.com
paths:
  /v0/entity/{nf_id}:
    get:
      description: |-
        Returns a single Entity by its 9fin identifier (`nf_id`).
        The `nf_id` is case-insensitive. Responds with 404 if no entity matches.
      operationId: get_entity_v0_entity__nf_id__get
      parameters:
        - description: Unique 9fin identifier of the entity.
          in: path
          name: nf_id
          required: true
          schema:
            description: Unique 9fin identifier of the entity.
            examples:
              - nf_ent_00000000000000000000000000000001
            title: Nf Id
            type: string
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/EntityResponse"
          description: Successful Response
        "400":
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/ErrorResponse"
          description: Bad request (e.g. invalid cursor).
        "422":
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/ErrorResponse"
          description: Request validation failed (e.g. unknown query parameter).
        "500":
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/InternalServerErrorResponse"
          description: Unexpected server error.
        "503":
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/ErrorResponse"
          description: Service unavailable (e.g. database down).
      security:
        - HTTPBearer: []
        - OAuth2ClientCredentials: []
      summary: Get Entity
      tags:
        - entity
security:
  - HTTPBearer: []
  - OAuth2ClientCredentials: []
components:
  schemas:
    EntityResponse:
      description: Public-facing subset of an entity.
      properties:
        active_flag:
          anyOf:
            - type: boolean
            - type: "null"
          description: Whether the entity is currently active.
          examples:
            - true
          title: Active Flag
        alias:
          anyOf:
            - items:
                type: string
              type: array
            - type: "null"
          description: Alternative names the entity is known by.
          examples:
            - - Example Corp
              - Example Holdings
          title: Alias
        cik:
          anyOf:
            - type: integer
            - type: "null"
          description: Central Index Key assigned to the entity by the US SEC, where it
            has one.
          examples:
            - 1234567
            - 7654321
          title: Cik
        country_ref_name:
          anyOf:
            - type: string
            - type: "null"
          description: Name of the country the entity is associated with.
          examples:
            - United Kingdom
            - Germany
          title: Country Ref Name
        coverage_region:
          anyOf:
            - items:
                type: string
              type: array
            - type: "null"
          description: 9fin coverage regions the entity belongs to, such as `CEEMEA`.
          examples:
            - - CEEMEA
          title: Coverage Region
        created_at:
          description: Timestamp when the entity was created in 9fin's data.
          examples:
            - 2020-01-15T09:30:00.123456
            - 2021-03-10T14:45:00.123456
          format: date-time
          title: Created At
          type: string
        description:
          anyOf:
            - type: string
            - type: "null"
          description: Short description of what the entity does and the markets it
            operates in.
          examples:
            - Example Corp is a provider of enterprise software.
            - Sample Holdings operates a chain of regional retail stores.
          title: Description
        full_name:
          anyOf:
            - type: string
            - type: "null"
          description: Full name of the entity.
          examples:
            - EXAMPLE CORP HOLDINGS
            - SAMPLE HOLDINGS LIMITED
          title: Full Name
        industry_1:
          anyOf:
            - type: string
            - type: "null"
          description: Broadest level of the entity's industry classification.
          examples:
            - Technology
            - Consumer Goods
          title: Industry 1
        industry_2:
          anyOf:
            - type: string
            - type: "null"
          description: Second level of the entity's industry classification, narrower than
            `industry_1`.
          examples:
            - Software and IT Services
            - Retail Trade
          title: Industry 2
        industry_3:
          anyOf:
            - type: string
            - type: "null"
          description: Most granular level of the entity's industry classification.
          examples:
            - Software publishing and related activities
            - Retail sale of clothing
          title: Industry 3
        industry_ref_code:
          anyOf:
            - type: string
            - type: "null"
          description: Code of the entity's most granular industry classification.
          examples:
            - J000000000
            - C000000000
          title: Industry Ref Code
        modified_at:
          description: Timestamp when the entity was last modified in 9fin's data.
          examples:
            - 2024-06-01T12:00:00.123456
            - 2024-09-15T08:20:00.654321
          format: date-time
          title: Modified At
          type: string
        nf_id:
          description: Unique 9fin identifier of the entity. Use it to look the entity up
            or to filter other 9fin APIs.
          examples:
            - nf_ent_00000000000000000000000000000001
            - nf_ent_00000000000000000000000000000002
          title: Nf Id
          type: string
        roles:
          description: Roles the entity plays in 9fin's data. One of `LEVFIN_COMPANY`,
            `UMBRELLA`, `ADVISOR`, `CLO_MANAGER`, `SPONSOR`, `CLO_COMPANY` or
            `ABF_COMPANY`.
          examples:
            - - LEVFIN_COMPANY
            - - ADVISOR
          items:
            type: string
          title: Roles
          type: array
        short_name:
          anyOf:
            - type: string
            - type: "null"
          description: Shortened name of the entity, where one is recorded.
          examples:
            - Example Corp
            - Sample Holdings
          title: Short Name
        street_name:
          anyOf:
            - type: string
            - type: "null"
          description: Short name the entity is commonly known by in the market, as used
            by 9fin.
          examples:
            - Example
            - Sample
          title: Street Name
        website:
          anyOf:
            - type: string
            - type: "null"
          description: Website of the entity.
          examples:
            - https://www.example.com
            - https://www.example.org
          title: Website
      required:
        - nf_id
        - roles
        - website
        - description
        - street_name
        - full_name
        - short_name
        - country_ref_name
        - industry_ref_code
        - industry_1
        - industry_2
        - industry_3
        - cik
        - active_flag
        - alias
        - coverage_region
        - created_at
        - modified_at
      title: EntityResponse
      type: object
    ErrorResponse:
      description: Client-facing error envelope.
      examples:
        - error_code: invalid_cursor
          message: The supplied cursor could not be decoded.
          trace_id: 202bde256c7d446f9623efdc96286c5d
        - error_code: service_unavailable
          message: Database is not available
          trace_id: c2416d52c6d14c8e831aad792407442c
        - details:
            - field: limit
              message: Input should be less than or equal to 100
          error_code: validation_error
          message: Request validation failed
          trace_id: 5cc0f4dd4a0a4b7fa0b3b0f2b4f9a1c7
      properties:
        details:
          anyOf:
            - items:
                $ref: "#/components/schemas/ErrorDetail"
              type: array
            - type: "null"
          title: Details
        error_code:
          title: Error Code
          type: string
        message:
          title: Message
          type: string
        trace_id:
          anyOf:
            - type: string
            - type: "null"
          title: Trace Id
      required:
        - error_code
        - message
      title: ErrorResponse
      type: object
    InternalServerErrorResponse:
      properties:
        error_code:
          examples:
            - internal_server_error
          title: Error Code
          type: string
        message:
          examples:
            - An unexpected error occurred.
          title: Message
          type: string
        trace_id:
          anyOf:
            - type: string
            - type: "null"
          examples:
            - e7dfd20231374d308f04655eb0538be4
          title: Trace Id
      required:
        - error_code
        - message
        - trace_id
      title: InternalServerErrorResponse
      type: object
    ErrorDetail:
      description: One field-level problem within an error response.
      properties:
        field:
          examples:
            - limit
          title: Field
          type: string
        message:
          examples:
            - Input should be less than or equal to 100
          title: Message
          type: string
      required:
        - field
        - message
      title: ErrorDetail
      type: object
  securitySchemes:
    HTTPBearer:
      bearerFormat: JWT
      scheme: bearer
      type: http
    OAuth2ClientCredentials:
      flows:
        clientCredentials:
          scopes: {}
          tokenUrl: https://api.9fin.com/oauth/token
      type: oauth2
```
