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

# Get market by ID



## OpenAPI

````yaml /openapi.json get /markets/{id}
openapi: 3.0.3
info:
  title: Blink Markets API
  description: Trading API for Blink Prediction Markets
  contact:
    name: Blink
    url: https://blink15.com
  license:
    name: Proprietary
    url: https://blink15.com/terms
  version: 1.0.0
servers:
  - url: https://api.blink15.com
    description: Production (Base Sepolia Testnet)
  - url: http://localhost:3001
    description: Local Development
security: []
tags:
  - name: health
    description: Health check endpoints
  - name: markets
    description: Market discovery and information
  - name: market-data
    description: Orderbook, price, and spread data
  - name: trading
    description: Order placement, cancellation, and trade history
  - name: account
    description: Wallet status, balances, and allowances
  - name: auth
    description: API key creation and derivation (L1 EIP-712)
  - name: orders
    description: Order management
  - name: trades
    description: Trade history and fills
  - name: users
    description: User account management
  - name: faucet
    description: Testnet faucet and gasless relay endpoints
  - name: admin
    description: Administrative endpoints (requires API key)
  - name: compat
    description: Polymarket-compatible endpoints
paths:
  /markets/{id}:
    get:
      tags:
        - markets
      summary: Get market by ID
      operationId: get_market
      parameters:
        - name: id
          in: path
          description: Market UUID
          required: true
          schema:
            type: string
            format: uuid
      responses:
        '200':
          description: Market details
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MarketResponse'
        '404':
          description: Market not found
components:
  schemas:
    MarketResponse:
      type: object
      description: Market summary information
      required:
        - condition_id
        - yes_token_id
        - no_token_id
        - question
        - status
        - end_timestamp
      properties:
        condition_id:
          type: string
          description: Unique market identifier
          example: 0x1234...
        description:
          type: string
          description: Description with additional context
          nullable: true
        end_timestamp:
          type: integer
          format: int64
          description: Resolution timestamp (Unix epoch)
        no_token_id:
          type: string
          description: Token ID for NO shares
          example: '12345678901234567891'
        question:
          type: string
          description: Human-readable market question
          example: Will BTC be above $100k on 2025-01-31?
        status:
          type: string
          description: Market status (active, closed, resolved)
          example: active
        yes_token_id:
          type: string
          description: Token ID for YES shares
          example: '12345678901234567890'

````