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

# Search Markets



## OpenAPI

````yaml GET /markets/search
openapi: 3.0.0
info:
  title: Limitless Exchange API
  description: >-
    Production-ready REST API for prediction market trading, portfolio
    management, and market data on Limitless Exchange (Base L2).
  version: '1.0'
  contact:
    name: API Support
    url: https://limitless.exchange
    email: help@limitless.network
servers:
  - url: https://api.limitless.exchange
    description: Production API
security: []
tags:
  - name: Authentication
    description: User authentication and session management
  - name: Markets
    description: Browse, search, and analyze prediction markets
  - name: Market Navigation
    description: Navigation tree, market pages, and property filters
  - name: Trading
    description: Create, manage, and cancel orders
  - name: Portfolio
    description: Position tracking, trade history, and performance
  - name: API Tokens
    description: Scoped API token management for partner integrations
  - name: Partner Accounts
    description: Sub-account creation and allowance recovery for partner integrations
  - name: System
    description: Public API state and availability information
paths:
  /markets/search:
    get:
      tags:
        - Markets
      summary: Search for markets based on semantic similarity
      operationId: MarketSearchController_search
      parameters:
        - name: query
          required: true
          in: query
          description: Search query text
          schema:
            example: Sports betting markets with high odds
            type: string
        - name: limit
          required: false
          in: query
          description: Maximum number of results to return
          schema:
            default: 10
            example: 10
            type: number
        - name: page
          required: false
          in: query
          description: Number of page
          schema:
            default: 1
            example: 0
            type: number
        - name: similarityThreshold
          required: false
          in: query
          description: Minimum similarity score (0-1)
          schema:
            default: 0.5
            example: 0.5
            type: number
      responses:
        '200':
          description: Returns markets matching the search query
        '400':
          description: Invalid request parameters
        '500':
          description: Internal server error

````