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

# Fetch Private Company Logo

> Fetch a logo for a private (non-exchange-listed) company. Exactly one of the query parameters `id`, `domain`, or `lei` must be provided.


<ResponseExample>
  ```json Response (200 OK) — resolved by domain theme={null}
  {
    "id": "logo_01HKQXR8M3GQVZP4N9RT2YS5BD",
    "domain": "stripe.com",
    "logos": [
      {
        "type": "svg",
        "url": "https://assets.finvera.ai/private/svg/stripe.com.svg"
      },
      {
        "type": "png",
        "url": "https://assets.finvera.ai/private/png/stripe.com.png"
      },
      {
        "type": "webp",
        "url": "https://assets.finvera.ai/private/webp/stripe.com.webp"
      }
    ]
  }
  ```

  ```json Response (200 OK) — resolved by LEI theme={null}
  {
    "id": "logo_01HKQXR8M3GQVZP4N9RT2YS5BD",
    "domain": "stripe.com",
    "lei": "549300TRUWO2CD2G5692",
    "logos": [
      {
        "type": "svg",
        "url": "https://assets.finvera.ai/private/svg/stripe.com.svg"
      },
      {
        "type": "png",
        "url": "https://assets.finvera.ai/private/png/stripe.com.png"
      }
    ]
  }
  ```

  ```json Response (400 Bad Request) theme={null}
  {
    "error": "provide one of ?id=, ?domain=, or ?lei="
  }
  ```

  ```json Response (404 Not Found) theme={null}
  {
    "error": "logo not found"
  }
  ```
</ResponseExample>


## OpenAPI

````yaml get /api/v1/logos/private
openapi: 3.0.0
info:
  title: Logos API
  description: >-
    This REST API provides endpoints to fetch company logos and related security
    information.
  version: 1.0.0
  contact: {}
  termsOfService: http://swagger.io/terms/
servers:
  - url: https://api.finvera.news/logos
    description: Prod API Host
security: []
paths:
  /api/v1/logos/private:
    get:
      tags:
        - logos
      summary: Fetch Private Company Logo
      description: >
        Fetch a logo for a private (non-exchange-listed) company. Exactly one of
        the query parameters `id`, `domain`, or `lei` must be provided.
      parameters:
        - name: id
          in: query
          description: Stable logo ID returned by a previous call to this endpoint.
          required: false
          schema:
            type: string
            example: logo_01HKQXR8M3GQVZP4N9RT2YS5BD
        - name: domain
          in: query
          description: >-
            Web domain of the company (e.g. `stripe.com`). Scheme and path are
            stripped automatically.
          required: false
          schema:
            type: string
            example: stripe.com
        - name: lei
          in: query
          description: 20-character Legal Entity Identifier (LEI).
          required: false
          schema:
            type: string
            example: 549300TRUWO2CD2G5692
      responses:
        '200':
          description: Logo resolved successfully
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PrivateLogoResponse'
        '400':
          description: Bad request — zero or more than one query parameter supplied
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '404':
          description: No logo found for the given identifier
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '500':
          description: Internal server error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      security:
        - ApiKeyAuth: []
components:
  schemas:
    PrivateLogoResponse:
      type: object
      properties:
        id:
          type: string
          description: >-
            Stable identifier for this logo. Can be used in future requests via
            the `id` parameter.
          example: logo_01HKQXR8M3GQVZP4N9RT2YS5BD
        domain:
          type: string
          description: Canonical web domain associated with the company.
          example: stripe.com
        lei:
          type: string
          description: >-
            LEI that was used to resolve the logo, if the request was made by
            LEI.
          nullable: true
          example: 549300TRUWO2CD2G5692
        logos:
          type: array
          description: Available logo assets for this company.
          items:
            $ref: '#/components/schemas/LogoAsset'
    ErrorResponse:
      type: object
      properties:
        message:
          type: string
        errors:
          type: array
          items:
            type: string
    LogoAsset:
      type: object
      properties:
        type:
          type: string
          description: Format of the logo asset.
          enum:
            - svg
            - png
            - webp
            - jpg
          example: svg
        url:
          type: string
          description: Public URL of the logo asset.
          example: https://assets.finvera.ai/private/svg/stripe.com.svg
  securitySchemes:
    ApiKeyAuth:
      in: query
      name: apikey
      type: apiKey

````