Skip to main content
GET
/
v0
/
markets
List markets
curl --request GET \
  --url https://api.pmxt.dev/v0/markets \
  --header 'Authorization: Bearer <token>'
{
  "data": [
    {
      "marketId": "<string>",
      "title": "<string>",
      "slug": "<string>",
      "outcomes": [
        {
          "outcomeId": "<string>",
          "marketId": "<string>",
          "label": "<string>",
          "price": 123,
          "priceChange24h": 123,
          "metadata": null
        }
      ],
      "eventId": "<string>",
      "description": "<string>",
      "url": "<string>",
      "image": "<string>",
      "category": "<string>",
      "tags": [
        "<string>"
      ],
      "volume": 123,
      "volume24h": 123,
      "liquidity": 123,
      "resolutionDate": "2023-11-07T05:31:56Z",
      "tickSize": 123,
      "status": "<string>",
      "contractAddress": "<string>"
    }
  ],
  "meta": {
    "count": 123,
    "limit": 123,
    "offset": 123
  }
}

Authorizations

Authorization
string
header
required

Required when calling the hosted API directly (curl, requests, fetch). SDK users pass credentials via constructor params instead.

Query Parameters

q
string

Full-text search query (ILIKE on title/question and slug).

limit
integer
default:50

Maximum number of results to return.

Required range: 1 <= x <= 500
offset
integer
default:0

Number of results to skip (for pagination).

Required range: x >= 0
closed
boolean
default:false

Include closed/resolved items. Accepts "true", "1", or "yes".

sourceExchange
string

Filter by source exchange/venue name.

category
string

Filter by category.

Response

Paginated list of markets.

data
object[]
required
meta
object
required