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

# Get Downstream Entity Surplus Lines Licenses (Dangerously)

> Retrieve surplus lines licenses without validation

<Warning>
  **Deprecated**: This endpoint bypasses validation checks. Use the standard [Surplus Lines](/api-reference/v1/licenses/surplus-lines) endpoint instead.
</Warning>

Returns surplus lines license information without validation checks.


## OpenAPI

````yaml openapi/v1.json GET /v1/downstream-entity-associations/licenses/dangerously-surplus-lines
openapi: 3.0.0
info:
  title: Turris Public API
  description: API for managing insurance compliance data
  version: 1.0.0
  contact: {}
servers:
  - url: https://public.api.live.turrisfi.com
    description: Production
  - url: https://public.api.sandbox.turrisfi.com
    description: Sandbox
security: []
tags: []
paths:
  /v1/downstream-entity-associations/licenses/dangerously-surplus-lines:
    get:
      tags:
        - downstream-entity-associations
      operationId: DownstreamEntityLicensesController_dangerouslyGetSurplusLinesLicenses_v1
      parameters:
        - name: fein
          required: true
          in: query
          description: >-
            Federal Employer Identification Number (FEIN) of the agency. Can be
            provided with or without hyphen (e.g., "12-3456789" or "123456789")
          schema:
            example: 12-3456789
            type: string
        - name: stateCode
          required: true
          in: query
          description: State code (two-letter abbreviation)
          schema:
            example: FL
            type: string
      responses:
        '200':
          description: Surplus lines licenses by FEIN and state (deprecated)
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    $ref: '#/components/schemas/SurplusLinesResponse'
                  requestId:
                    type: string
                    description: Unique request identifier
                    example: dev-2c5e7cf2-9acf-4c8c-ab2f-b81f39d775a8
                  timestamp:
                    type: string
                    description: Response timestamp
                    example: '2025-11-12T20:49:03.293Z'
                required:
                  - data
                  - requestId
                  - timestamp
        '401':
          description: Invalid or missing auth token
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponseDto'
      deprecated: true
components:
  schemas:
    SurplusLinesResponse:
      type: object
      properties:
        agencyName:
          type: string
          description: Agency legal name
        agencyNpn:
          type: string
          description: Agency NPN
        agencyFein:
          type: string
          description: Agency FEIN
        surplusLinesLicenses:
          description: Surplus lines licenses
          type: array
          items:
            $ref: '#/components/schemas/SurplusLinesLicenseResponse'
      required:
        - agencyName
        - agencyNpn
        - agencyFein
        - surplusLinesLicenses
    ErrorResponseDto:
      type: object
      properties:
        statusCode:
          type: number
          description: HTTP status code
        requestId:
          type: string
          description: Unique request identifier for debugging
        errorType:
          type: string
          description: Error type classification
        errorMessage:
          description: Array of error messages
          type: array
          items:
            type: string
        timestamp:
          type: string
          description: ISO timestamp when the error occurred
        details:
          type: object
          description: Additional error context
      required:
        - statusCode
        - requestId
        - errorType
        - errorMessage
        - timestamp
    SurplusLinesLicenseResponse:
      type: object
      properties:
        licenseNumber:
          type: string
          description: License number
        licenseClassName:
          type: string
          description: License class name
        licenseClassCode:
          type: string
          description: License class code
        stateCode:
          type: string
          description: Two-letter state code
          example: AL
        status:
          type: string
          description: License status
        issueDate:
          format: date-time
          type: string
          description: Issue date
        nextRenewalDate:
          format: date-time
          type: string
          description: Next renewal date
        residencyStatus:
          type: string
          description: Residency status
        linesOfAuthority:
          description: Lines of authority
          type: array
          items:
            $ref: '#/components/schemas/LineOfAuthorityResponse'
      required:
        - licenseNumber
        - licenseClassName
        - licenseClassCode
        - stateCode
        - status
    LineOfAuthorityResponse:
      type: object
      properties:
        code:
          type: string
          description: Line of authority code
        name:
          type: string
          description: Line of authority name
        status:
          type: string
          description: Line of authority status
      required:
        - code
        - name
        - status

````