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

# Get Live Prediction Markets

> Get currently active short-duration prediction markets filtered by token symbol.

<Warning>**Alpha** — This endpoint is part of the Prediction Markets API, currently in early access. May change without notice.</Warning>

### Query Parameters

<ParamField query="symbol" type="string" default="btc,eth,sol,xrp">
  Token symbol(s) to filter markets. Single (`BTC`) or comma-separated (`btc,eth`). Case-insensitive. When both `symbol` and `tokens` are provided, `symbol` wins.
</ParamField>

<ParamField query="tokens" type="string" default="btc,eth,sol,xrp" deprecated>
  Legacy alias of `symbol`. Comma-separated token symbols (lowercase). Kept for backward compatibility — prefer `symbol`.
</ParamField>

<ParamField query="duration" type="string" default="5m">
  Market duration filter. Possible values: `5m`, `15m`, `4h`.
</ParamField>

<ParamField query="limit" type="number" default="50">
  Number of markets to return.
</ParamField>

<ParamField query="offset" type="number" default="0">
  Pagination offset.
</ParamField>

### Response

<ResponseField name="data" type="array">
  Array of live market objects.

  <Expandable title="Live Market">
    <ResponseField name="platform" type="string">Platform name.</ResponseField>
    <ResponseField name="marketId" type="string">Platform-specific market identifier.</ResponseField>
    <ResponseField name="slug" type="string">Market slug.</ResponseField>
    <ResponseField name="question" type="string">Market question.</ResponseField>
    <ResponseField name="category" type="string">Market category.</ResponseField>
    <ResponseField name="status" type="string">Market status.</ResponseField>
    <ResponseField name="volume24hUSD" type="number">24-hour trading volume in USD.</ResponseField>
    <ResponseField name="totalVolumeUSD" type="number">All-time trading volume in USD.</ResponseField>
    <ResponseField name="liquidityUSD" type="number">Current liquidity in USD.</ResponseField>
    <ResponseField name="endDate" type="string | null">Market end date (ISO 8601).</ResponseField>
    <ResponseField name="createdAt" type="string">Market creation date.</ResponseField>
    <ResponseField name="logo" type="string">Market logo URL.</ResponseField>
    <ResponseField name="tradesCount" type="number">Total number of trades.</ResponseField>

    <ResponseField name="outcomes" type="array">
      Array of outcome summaries.

      <Expandable title="Outcome Summary">
        <ResponseField name="outcomeId" type="string">Outcome token ID.</ResponseField>
        <ResponseField name="label" type="string">Outcome label.</ResponseField>
        <ResponseField name="priceUSD" type="number">Current price (0 to 1).</ResponseField>
      </Expandable>
    </ResponseField>
  </Expandable>
</ResponseField>

<ResponseField name="pagination" type="object">
  Pagination metadata.

  <Expandable title="Pagination">
    <ResponseField name="page" type="number">Current page number (1-based).</ResponseField>
    <ResponseField name="offset" type="number">Current offset.</ResponseField>
    <ResponseField name="limit" type="number">Max entries per page.</ResponseField>
    <ResponseField name="pageEntries" type="number">Number of entries in this page.</ResponseField>
  </Expandable>
</ResponseField>

<ResponseField name="hostname" type="string">Server hostname that handled the request.</ResponseField>
<ResponseField name="took" type="number">Response time in milliseconds.</ResponseField>

### Usage Example

```bash theme={null}
curl -X GET "https://api.mobula.io/api/2/pm/market/live?symbol=BTC,ETH&duration=5m"
```

### Example Response

```json theme={null}
{
  "data": [
    {
      "platform": "polymarket",
      "marketId": "0x1234...",
      "slug": "btc-above-100k-next-5m",
      "question": "Will BTC be above $100,000 in 5 minutes?",
      "category": "crypto",
      "status": "active",
      "volume24hUSD": 0,
      "totalVolumeUSD": 0,
      "liquidityUSD": 15242.41,
      "endDate": "2026-03-17T12:05:00Z",
      "createdAt": "2026-03-17T12:00:00Z",
      "logo": "https://polymarket-upload.s3.us-east-2.amazonaws.com/BTC+fullsize.png",
      "tradesCount": 0,
      "outcomes": [
        { "outcomeId": "71321...", "label": "Yes", "priceUSD": 0.55 },
        { "outcomeId": "71322...", "label": "No", "priceUSD": 0.45 }
      ]
    }
  ],
  "pagination": {
    "page": 1,
    "offset": 0,
    "limit": 50,
    "pageEntries": 1
  },
  "hostname": "api-node-01",
  "took": 42
}
```


## OpenAPI

````yaml GET /2/pm/market/live
openapi: 3.0.0
info:
  version: 1.0.0
  title: Mobula Prediction Markets API
  description: >-
    Documentation of the Mobula Prediction Markets API.


    The PM API is currently served from a dedicated host:
    `pm-api-prod-eu.mobula.io`.

    All endpoints below require an API key (same key as the main Mobula API).


    Parameter names below are the **canonical names enforced by the API

    controllers** (Zod-validated). Following the wrong name (e.g. `?market=...`

    instead of `?platform=...&marketId=...`) returns `HTTP 400`.
servers:
  - url: https://pm-api-prod-eu.mobula.io/api/
    description: PM Production API (requires API key)
security: []
tags:
  - name: V2 - PM Market
    description: Prediction market data — details, prices, order book, trades, OHLCV
  - name: V2 - PM Discovery
    description: Search, trending, categories, live markets
  - name: V2 - PM Wallet
    description: Wallet prediction-market positions, balances, PnL, activity, status
paths:
  /2/pm/market/live:
    get:
      tags:
        - V2 - PM Discovery
      summary: Get Live Prediction Markets
      description: >
        Get currently active short-duration (UpDown) prediction markets filtered
        by token symbol.


        Default basket when no `symbol`/`tokens` is provided: `btc,eth,sol,xrp`.
      parameters:
        - name: symbol
          in: query
          required: false
          description: >-
            Comma-separated token symbol filter (e.g. `btc,eth`). Canonical
            name; `tokens` accepted as legacy alias.
          schema:
            type: string
            example: btc,eth
        - name: tokens
          in: query
          required: false
          description: Legacy alias for `symbol`.
          schema:
            type: string
        - name: duration
          in: query
          required: false
          description: UpDown market duration window.
          schema:
            type: string
            enum:
              - 5m
              - 15m
              - 4h
            default: 5m
        - name: limit
          in: query
          required: false
          description: Page size (1-100).
          schema:
            type: integer
            minimum: 1
            maximum: 100
            default: 50
        - $ref: '#/components/parameters/Offset'
      responses:
        '200':
          description: Live markets list
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    type: array
                    items:
                      type: object
components:
  parameters:
    Offset:
      name: offset
      in: query
      required: false
      description: Pagination offset.
      schema:
        type: integer
        minimum: 0
        default: 0

````