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

# Get Market by Mint

> API reference for GET /api/v1/market/by-mint/{mint_address}



## OpenAPI

````yaml GET /api/v1/market/by-mint/{mint_address}
openapi: 3.1.0
info:
  title: prediction-markets-api
  description: API for prediction markets
  license:
    name: ''
  version: 0.1.0
servers:
  - url: https://dev-prediction-markets-api.dflow.net
security:
  - api_key: []
tags:
  - name: Candlesticks
    description: Market and event candlesticks relay endpoints
  - name: Events
    description: Event management endpoints
  - name: Markets
    description: Market management endpoints
  - name: Trades
    description: Trade history endpoints
  - name: Series
    description: Series template endpoints
  - name: Tags
    description: Tag and category endpoints
  - name: Sports
    description: Sports filtering endpoints
  - name: Live Data
    description: Live data relay endpoints
  - name: Orderbook
    description: Orderbook endpoints
  - name: Search
    description: Full-text search endpoints
paths:
  /api/v1/market/by-mint/{mint_address}:
    get:
      tags:
        - Markets
      summary: Get a specific market by mint address
      description: >-
        Returns a single market by looking up any of its mint addresses (ledger
        or

        outcome mints).
      operationId: market_by_mint
      parameters:
        - name: mint_address
          in: path
          description: Mint address (ledger or outcome mint)
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Single market
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SingleMarketResponse'
        '400':
          description: Market not found or bad request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
components:
  schemas:
    SingleMarketResponse:
      type: object
      required:
        - ticker
        - eventTicker
        - marketType
        - title
        - subtitle
        - yesSubTitle
        - noSubTitle
        - openTime
        - closeTime
        - expirationTime
        - status
        - volume
        - result
        - openInterest
        - fractionalTradingEnabled
        - canCloseEarly
        - rulesPrimary
        - accounts
      properties:
        accounts:
          type: object
          additionalProperties:
            $ref: '#/components/schemas/MarketAccountInfo'
          propertyNames:
            type: string
        canCloseEarly:
          type: boolean
        closeTime:
          type: integer
          format: int64
          minimum: 0
        earlyCloseCondition:
          type:
            - string
            - 'null'
        eventTicker:
          type: string
        expirationTime:
          type: integer
          format: int64
          minimum: 0
        fractionalTradingEnabled:
          type: boolean
        marketType:
          type: string
        noAsk:
          type:
            - string
            - 'null'
        noBid:
          type:
            - string
            - 'null'
        noSubTitle:
          type: string
        openInterest:
          type: integer
          format: int64
          minimum: 0
        openInterestFp:
          type:
            - string
            - 'null'
        openTime:
          type: integer
          format: int64
          minimum: 0
        result:
          type: string
        rulesPrimary:
          type: string
        rulesSecondary:
          type:
            - string
            - 'null'
        status:
          type: string
        subtitle:
          type: string
        ticker:
          type: string
        title:
          type: string
        volume:
          type: integer
          format: int64
          minimum: 0
        volume24hFp:
          type:
            - string
            - 'null'
        volumeFp:
          type:
            - string
            - 'null'
        yesAsk:
          type:
            - string
            - 'null'
        yesBid:
          type:
            - string
            - 'null'
        yesSubTitle:
          type: string
    ErrorResponse:
      type: object
      required:
        - msg
        - code
      properties:
        code:
          type: string
        msg:
          type: string
    MarketAccountInfo:
      type: object
      required:
        - marketLedger
        - yesMint
        - noMint
        - isInitialized
      properties:
        isInitialized:
          type: boolean
        marketLedger:
          type: string
        noMint:
          type: string
        redemptionStatus:
          type:
            - string
            - 'null'
        scalarOutcomePct:
          type:
            - integer
            - 'null'
          format: int32
          minimum: 0
        yesMint:
          type: string
  securitySchemes:
    api_key:
      type: apiKey
      in: header
      name: x-api-key
      description: >-
        API key for authentication. Contact hello@dflow.net to obtain an API
        key.

````