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

# Get leak source results

> Return normalized results for a single persisted leak source, including pagination data and the result template.



## OpenAPI

````yaml /api-reference/openapi.json get /search/{id}/results/leaks/{source}
openapi: 3.1.0
info:
  title: Osintly API
  version: 1.0.0
  description: OpenAPI specification for the Osintly API service.
  contact:
    name: Osintly
    url: https://docs.osint.ly/api-reference/quick-start
servers:
  - url: https://api.osint.ly
    description: Production
security: []
tags:
  - name: System
    description: Health and service checks
  - name: Auth
    description: Authorization validation
  - name: Search
    description: Create, monitor and retrieve search results
  - name: Usage
    description: Rate limit and usage information
  - name: Radar
    description: Breach intelligence endpoints (free with API key)
  - name: Webhooks
    description: Webhook callback payloads configured from search creation
paths:
  /search/{id}/results/leaks/{source}:
    get:
      tags:
        - Search
      summary: Get leak source results
      description: >-
        Return normalized results for a single persisted leak source, including
        pagination data and the result template.
      operationId: getSearchLeakSource
      parameters:
        - $ref: '#/components/parameters/SearchId'
        - $ref: '#/components/parameters/LeakSource'
        - $ref: '#/components/parameters/Page'
      responses:
        '200':
          description: Leak source items
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SearchLeakSourceResponse'
              examples:
                page_1:
                  value:
                    data:
                      source:
                        name: Snusbase
                        key: snusbase
                        status: success
                        logo: null
                        description: null
                      pagination:
                        page: 1
                        page_size: 100
                        total_pages: 3
                        has_next_page: true
                      template:
                        informations: []
                        stats: []
                        additional: []
                      results:
                        - key: snusbase-collection-1
                          items:
                            - label: Email
                              value: target@example.com
                              copy: true
                              isdate: false
                              islink: false
                      count: 214
                    meta:
                      environment: production
                      timestamp: '2026-05-27T12:00:32.000Z'
        '400':
          $ref: '#/components/responses/SearchApiError'
        '401':
          $ref: '#/components/responses/UnauthorizedError'
        '404':
          $ref: '#/components/responses/SearchApiError'
        '500':
          $ref: '#/components/responses/SearchApiError'
      security:
        - bearerAuth: []
components:
  parameters:
    SearchId:
      name: id
      in: path
      required: true
      schema:
        type: string
        format: uuid
      description: Search UUID
    LeakSource:
      name: source
      in: path
      required: true
      schema:
        type: string
        example: snusbase
      description: Leak source key
    Page:
      name: page
      in: query
      required: false
      schema:
        type: integer
        minimum: 1
      description: Page number for paginated leak sources
  schemas:
    SearchLeakSourceResponse:
      type: object
      required:
        - data
        - meta
      properties:
        data:
          type: object
          required:
            - source
            - pagination
            - template
            - results
            - count
          properties:
            source:
              type: object
              required:
                - name
                - key
                - status
              properties:
                name:
                  type: string
                key:
                  type: string
                status:
                  type: string
                logo:
                  type:
                    - string
                    - 'null'
                description:
                  type:
                    - string
                    - 'null'
            pagination:
              type: object
              required:
                - page
                - page_size
                - total_pages
                - has_next_page
              properties:
                page:
                  type: integer
                page_size:
                  type: integer
                total_pages:
                  type: integer
                has_next_page:
                  type: boolean
            template:
              type: object
              additionalProperties: true
            results:
              type: array
              items:
                type: object
                required:
                  - key
                  - items
                properties:
                  key:
                    type: string
                  items:
                    type: array
                    items: {}
                  stats:
                    type: array
                    items: {}
                  additional:
                    type: array
                    items: {}
            count:
              type: integer
        meta:
          $ref: '#/components/schemas/ResponseMeta'
    ResponseMeta:
      type: object
      required:
        - timestamp
      properties:
        environment:
          type: string
        timestamp:
          type: string
          format: date-time
    SearchApiErrorResponse:
      type: object
      required:
        - error
        - meta
      properties:
        error:
          type: object
          required:
            - code
            - message
          properties:
            code:
              type: string
            message:
              type: string
            details:
              oneOf:
                - type: string
                - type: array
                  items:
                    $ref: '#/components/schemas/ValidationIssue'
        meta:
          $ref: '#/components/schemas/ResponseMeta'
    BasicErrorResponse:
      type: object
      required:
        - success
        - message
      properties:
        success:
          type: boolean
          enum:
            - false
        message:
          type: string
      additionalProperties: true
    ValidationIssue:
      type: object
      required:
        - path
        - message
      properties:
        path:
          type: string
        message:
          type: string
  responses:
    SearchApiError:
      description: Search API error
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/SearchApiErrorResponse'
          examples:
            validation_error:
              value:
                error:
                  code: VALIDATION_ERROR
                  message: Invalid request parameters
                  details:
                    - path: query.value
                      message: query.value must be a valid email
                meta:
                  timestamp: '2026-05-27T12:00:00.000Z'
            rate_limited:
              value:
                error:
                  code: RATE_LIMIT_EXCEEDED
                  message: Rate limit exceeded
                  details: API usage limits have been reached
                meta:
                  environment: production
                  timestamp: '2026-05-27T12:00:00.000Z'
            run_not_found:
              value:
                error:
                  code: RUN_NOT_FOUND
                  message: Search run not available
                  details: No active run is associated with this search
                meta:
                  environment: production
                  timestamp: '2026-05-27T12:00:00.000Z'
            leak_source_not_found:
              value:
                error:
                  code: LEAK_SOURCE_NOT_FOUND
                  message: Leak source not found
                  details: No leaked results source matches 'unknown-source'
                meta:
                  environment: production
                  timestamp: '2026-05-27T12:00:00.000Z'
    UnauthorizedError:
      description: Unauthorized
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/BasicErrorResponse'
          examples:
            unauthorized:
              value:
                success: false
                message: Unauthorized
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: API Key

````