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

# Get bonds

> Retrieve high-probability bond markets from the live in-memory market snapshot.



## OpenAPI

````yaml https://api.struct.to/openapi.json get /polymarket/market/bonds
openapi: 3.1.0
info:
  title: Polymarket API
  description: >-
    RESTful API for querying Polymarket prediction markets data including
    events, markets, traders, holders, and real-time metrics
  license:
    name: ''
  version: 1.0.0
servers:
  - url: https://api.struct.to/v1
security: []
paths:
  /polymarket/market/bonds:
    get:
      tags:
        - Bonds
      summary: Get bonds
      description: >-
        Retrieve high-probability bond markets from the live in-memory market
        snapshot.
      operationId: get_bonds
      parameters:
        - name: min_price
          in: query
          description: >-
            Minimum best-outcome price (default: 0.85). `min_probability` is
            accepted as a backwards-compatible alias.
          required: false
          schema:
            type: number
            format: double
        - name: max_price
          in: query
          description: >-
            Maximum best-outcome price. `max_probability` is accepted as a
            backwards-compatible alias.
          required: false
          schema:
            type: number
            format: double
        - name: max_hours
          in: query
          description: Maximum hours until market end, capped at 168
          required: false
          schema:
            type: number
            format: double
        - name: sort_by
          in: query
          description: 'Sort by: apy, liquidity, volume, end_date (default: end_date)'
          required: false
          schema:
            $ref: '#/components/schemas/BondsSortBy'
        - name: sort_desc
          in: query
          description: 'Sort descending (default: true)'
          required: false
          schema:
            type: boolean
        - name: limit
          in: query
          description: 'Number of results (default: 10, max: 250)'
          required: false
          schema:
            type: integer
            format: int32
        - name: offset
          in: query
          description: >-
            Initial skip (default: 0). Can also be supplied through
            pagination_key.
          required: false
          schema:
            type: integer
            format: int32
        - name: pagination_key
          in: query
          description: >-
            Offset cursor from previous response. Opaque token — pass verbatim
            to fetch the next page.
          required: false
          schema:
            type: string
      responses:
        '200':
          description: List of bond markets
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/BondMarket'
components:
  schemas:
    BondsSortBy:
      type: string
      enum:
        - end_date
        - apy
        - liquidity
        - volume
    BondMarket:
      type: object
      required:
        - condition_id
        - question
        - market_slug
        - end_time
        - best_outcome_index
        - best_price
        - return_pct
        - apy
        - outcomes
      properties:
        condition_id:
          type: string
        title:
          type:
            - string
            - 'null'
        question:
          type: string
        market_slug:
          type: string
        event_slug:
          type:
            - string
            - 'null'
        image_url:
          type:
            - string
            - 'null'
        end_time:
          type: integer
          format: int64
        best_outcome_index:
          type: integer
          format: int32
          minimum: 0
        best_price:
          type: number
          format: double
          description: Highest outcome price (the bond's "buy the favourite" entry price).
        return_pct:
          type: number
          format: double
        apy:
          type: number
          format: double
        volume_24h:
          type:
            - number
            - 'null'
          format: double
        shares_volume_24h:
          type:
            - number
            - 'null'
          format: double
        liquidity:
          type:
            - number
            - 'null'
          format: double
        outcomes:
          type: array
          items:
            $ref: '#/components/schemas/BondOutcome'
    BondOutcome:
      type: object
      required:
        - name
        - index
        - position_id
        - price
      properties:
        name:
          type: string
        index:
          type: integer
          format: int32
        position_id:
          type: string
        price:
          type: number
          format: double

````