> ## 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 temporary search leak source results

> Return normalized results for one leak source of a temporary search, page by page. {id} is the X-Search-Id header of the temporary search stream, and the call must use the API key that started the search. Leak records stay available for one hour after the search ends. With X-Osintly-Progressive-Leaks: 1, published pages can be fetched while the source is processing; unpublished pages return 404.



## OpenAPI

````yaml /api-reference/openapi.json get /search/temporary/{id}/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/temporary/{id}/leaks/{source}:
    get:
      tags:
        - Search
      summary: Get temporary search leak source results
      description: >-
        Return normalized results for one leak source of a temporary search,
        page by page. {id} is the X-Search-Id header of the temporary search
        stream, and the call must use the API key that started the search. Leak
        records stay available for one hour after the search ends. With
        X-Osintly-Progressive-Leaks: 1, published pages can be fetched while the
        source is processing; unpublished pages return 404.
      operationId: getTemporarySearchLeakSource
      parameters:
        - $ref: '#/components/parameters/SearchId'
        - $ref: '#/components/parameters/LeakSource'
        - $ref: '#/components/parameters/Page'
        - $ref: '#/components/parameters/ProgressiveLeaks'
      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
    ProgressiveLeaks:
      name: X-Osintly-Progressive-Leaks
      in: header
      required: false
      description: >-
        Set to the exact string 1 on each stream, leak-overview, and leak-page
        request to opt in to readable early leak pages. Omit to retain
        finalized-source behavior. Processing counts and pagination are
        provisional; final responses and authorization are unchanged.
      schema:
        type: string
        enum:
          - '1'
  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
                  description: Leak source display name.
                key:
                  type: string
                  description: Leak source identifier.
                status:
                  type: string
                  description: >-
                    Source state: `pending`, `processing`, `success`,
                    `no_results`, `error` or `skipped`.
                logo:
                  type:
                    - string
                    - 'null'
                  description: Leak source logo URL, or null.
                description:
                  type:
                    - string
                    - 'null'
                  description: Leak source description, or null.
              description: Leak source details.
            pagination:
              type: object
              required:
                - page
                - page_size
                - total_pages
                - has_next_page
              properties:
                page:
                  type: integer
                  description: Current page number, starting at 1.
                page_size:
                  type: integer
                  description: Number of record groups per page.
                total_pages:
                  type: integer
                  description: Number of pages available for this source.
                has_next_page:
                  type: boolean
                  description: Whether another page exists after this one.
              description: Page information.
            template:
              type: object
              additionalProperties: true
              description: >-
                Display template describing how to render the fields of this
                source's records.
            results:
              type: array
              items:
                type: object
                required:
                  - key
                  - items
                properties:
                  key:
                    type: string
                    description: >-
                      Unique identifier of the leak entry within the source, for
                      example `leakcheck-result-1`.
                  items:
                    type: array
                    items: {}
                    description: Fields of the leak entry.
                  stats:
                    type: array
                    items: {}
                    description: Optional summary values for the leak entry.
                  additional:
                    type: array
                    items: {}
                    description: Optional extra fields for the leak entry.
              description: Records on this page, grouped by leak entry.
            count:
              type: integer
              description: Number of records stored for this source.
          description: Records for one leak source.
        meta:
          $ref: '#/components/schemas/ResponseMeta'
          description: Response metadata.
    ResponseMeta:
      type: object
      required:
        - timestamp
      properties:
        environment:
          type: string
          description: >-
            API environment that served the request: `production` or
            `development`.
        timestamp:
          type: string
          format: date-time
          description: Server time when the response was generated (ISO 8601, UTC).
    SearchApiErrorResponse:
      type: object
      required:
        - error
        - meta
      properties:
        error:
          type: object
          required:
            - code
            - message
          properties:
            code:
              type: string
              description: Machine-readable error code, for example `RATE_LIMIT_EXCEEDED`.
            message:
              type: string
              description: Short summary of the error.
            details:
              oneOf:
                - type: string
                - type: array
                  items:
                    $ref: '#/components/schemas/ValidationIssue'
              description: >-
                More information: a text explanation, or one entry per invalid
                field for validation errors.
          description: Details about the error.
        meta:
          $ref: '#/components/schemas/ResponseMeta'
          description: Response metadata.
    BasicErrorResponse:
      type: object
      required:
        - success
        - message
      properties:
        success:
          type: boolean
          enum:
            - false
          description: Always false for error responses.
        message:
          type: string
          description: Human-readable error message.
      additionalProperties: true
    ValidationIssue:
      type: object
      required:
        - path
        - message
      properties:
        path:
          type: string
          description: >-
            Location of the invalid field in the request, with segments joined
            by dots, for example `query.value`.
        message:
          type: string
          description: Why the field was rejected.
  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

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.