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

# Search prediction markets

> Full-text search across active Polymarket prediction markets.



## OpenAPI

````yaml GET /v1/markets/polymarket/search
openapi: 3.1.0
info:
  title: Docent API
  description: >-
    REST API for programmatic trading on Hyperliquid and Polymarket via Docent.
    Create API agents, fund a dedicated wallet, place trades, check balances,
    and move funds between venues with API keys.
  version: 1.0.0
  contact:
    email: support@trydocent.com
servers:
  - url: https://api.trydocent.com
    description: Production
security:
  - bearerAuth: []
tags:
  - name: Auth
    description: Registration, key management, and auth status
  - name: Balances
    description: Unified balance across all trading venues
  - name: Positions
    description: Open positions on Hyperliquid and Polymarket
  - name: Markets
    description: Market metadata and search
  - name: Orders
    description: Place orders on Hyperliquid perpetuals, spot, and Polymarket
  - name: Transfers
    description: Move funds between trading venues
  - name: Actions
    description: Poll workflow execution status
  - name: Strategies
    description: Coming soon. Reserved for future strategy endpoints.
paths:
  /v1/markets/polymarket/search:
    get:
      tags:
        - Markets
      summary: Search prediction markets
      description: Full-text search across active Polymarket prediction markets.
      parameters:
        - name: q
          in: query
          required: true
          description: Search query
          schema:
            type: string
            example: bitcoin
        - name: limit
          in: query
          required: false
          description: Maximum results to return (default 20)
          schema:
            type: integer
            default: 20
      responses:
        '200':
          description: Matching markets
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/PolymarketMarket'
components:
  schemas:
    PolymarketMarket:
      type: object
      properties:
        conditionId:
          type: string
          description: Unique market identifier
        question:
          type: string
          example: Will Bitcoin reach $150k by end of 2026?
        outcomes:
          type: array
          items:
            type: string
          example:
            - 'Yes'
            - 'No'
        outcomePrices:
          type: array
          items:
            type: number
          example:
            - 0.65
            - 0.35
        volume24h:
          type: number
        liquidity:
          type: number
        category:
          type: string
        endDate:
          type: string
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: >-
        API key in the format `dk_live_...`. Pass as `Authorization: Bearer
        dk_live_...`

````