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

# Search Markets

> Cross-platform market screener with text search, filters, and sorting.



## OpenAPI

````yaml GET /v1/api/search/markets
openapi: 3.1.0
info:
  title: Dot Prediction API
  description: >-
    A unified API for accessing prediction market data across Kalshi,
    Polymarket, and Limitless.
  version: 1.0.0
servers:
  - url: https://api.dotprediction.io
security:
  - apiKey: []
paths:
  /v1/api/search/markets:
    get:
      tags:
        - Search
      summary: Search markets
      description: Cross-platform market screener with text search, filters, and sorting.
      operationId: searchMarkets
      parameters:
        - name: provider
          in: query
          required: false
          description: Filter by platform. Omit for cross-platform results.
          schema:
            type: string
            enum:
              - kalshi
              - polymarket
              - limitless
        - name: q
          in: query
          required: false
          description: Full-text search query.
          schema:
            type: string
        - name: status
          in: query
          required: false
          description: Filter by market status.
          schema:
            type: string
            enum:
              - open
              - closed
              - resolved
        - name: category
          in: query
          required: false
          description: Filter by category slug.
          schema:
            type: string
        - name: min_volume
          in: query
          required: false
          description: Minimum total volume.
          schema:
            type: number
        - name: max_volume
          in: query
          required: false
          description: Maximum total volume.
          schema:
            type: number
        - name: min_liquidity
          in: query
          required: false
          description: Minimum liquidity.
          schema:
            type: number
        - name: end_date_before
          in: query
          required: false
          description: Markets ending before this date (YYYY-MM-DD).
          schema:
            type: string
            format: date
        - name: end_date_after
          in: query
          required: false
          description: Markets ending after this date (YYYY-MM-DD).
          schema:
            type: string
            format: date
        - name: sort_by
          in: query
          required: false
          description: Sort dimension.
          schema:
            type: string
            enum:
              - volume
              - liquidity
              - end_date
              - created_at
            default: volume
        - name: sort_order
          in: query
          required: false
          description: Sort direction.
          schema:
            type: string
            enum:
              - asc
              - desc
            default: desc
        - name: limit
          in: query
          required: false
          description: Max results to return (default 50, max 200).
          schema:
            type: integer
            default: 50
            maximum: 200
        - name: cursor
          in: query
          required: false
          description: Pagination cursor from a previous response.
          schema:
            type: string
      responses:
        '200':
          description: Search results.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SearchMarketsResponse'
        '400':
          $ref: '#/components/responses/BadRequest'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '429':
          $ref: 0d5813fe-a3df-4eee-bda5-8e01bfe0683a
        '500':
          $ref: 13256dda-f2cf-48d5-853d-eda20215fa08
components:
  schemas:
    SearchMarketsResponse:
      type: object
      properties:
        markets:
          type: array
          items:
            $ref: '#/components/schemas/SearchMarket'
        pagination:
          $ref: '#/components/schemas/Pagination'
        meta:
          type: object
          properties:
            platforms:
              type: array
              items:
                type: string
            request_time:
              type: integer
              format: int64
            query:
              type: string
            filters_applied:
              type: object
              properties:
                q:
                  type: string
                provider:
                  type: string
                status:
                  type: string
                category:
                  type: string
                min_volume:
                  type: number
                max_volume:
                  type: number
                min_liquidity:
                  type: number
                end_date_before:
                  type: string
                end_date_after:
                  type: string
            total_markets_scanned:
              type: integer
            data_completeness:
              type: object
              additionalProperties:
                type: string
    SearchMarket:
      type: object
      properties:
        market_id:
          type: string
        platform:
          type: string
        title:
          type: string
        description:
          type: string
        category:
          type: string
        status:
          type: string
        current_prices:
          type: object
          additionalProperties:
            type: number
        volume_total:
          type: number
        volume_24h:
          type: number
        liquidity:
          type: number
        open_interest:
          type: number
        end_date:
          type: string
        created_at:
          type: string
        image_url:
          type: string
        url:
          type: string
        tags:
          type: array
          items:
            type: string
    Pagination:
      type: object
      properties:
        total:
          type: integer
          description: Total number of results.
        limit:
          type: integer
          description: Number of results per page.
        has_more:
          type: boolean
          description: Whether more results are available.
        next_cursor:
          type: string
          nullable: true
          description: Cursor to use for the next page. `null` if no more results.
    ErrorResponse:
      type: object
      properties:
        error:
          type: object
          properties:
            status:
              type: integer
              description: HTTP status code.
            message:
              type: string
              description: Human-readable error message.
            resolution:
              type: string
              description: Suggested action to resolve the error.
            error_text:
              type: string
              description: Detailed error information.
  responses:
    BadRequest:
      description: Invalid request parameters.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
    Unauthorized:
      description: Missing or invalid API key.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
  securitySchemes:
    apiKey:
      type: apiKey
      in: header
      name: X-API-Key
      description: >-
        API key for authentication. Generate one via the dashboard or the
        `/v1/api/auth/api-keys` endpoint.

````