Skip to main content
GET
https://api.pmx.trade
/
v2
/
markets
/
search
curl "https://api.pmx.trade/v2/markets/search?q=bitcoin&limit=5" \
  -H "X-API-Key: YOUR_API_KEY"
{
  "success": true,
  "data": {
    "markets": [
      {
        "slug": "btc-100k-march",
        "name": "Will BTC reach $100k by March 2026?",
        "description": "Resolves YES if Bitcoin price reaches $100,000 USD...",
        "status": "live",
        "endDate": "2026-03-31T23:59:59Z",
        "createdAt": "2026-01-15T10:00:00Z",
        "tags": ["crypto", "bitcoin"],
        "imageUrls": ["https://example.com/btc.png"],
        "category": "crypto",
        "paid": true,
        "resolved": false
      }
    ],
    "count": 12,
    "limit": 5,
    "offset": 0,
    "hasMore": true
  }
}
q
string
required
Search query to filter markets by name/description
limit
integer
default:"20"
Maximum results to return (1-100)
offset
integer
default:"0"
Pagination offset
curl "https://api.pmx.trade/v2/markets/search?q=bitcoin&limit=5" \
  -H "X-API-Key: YOUR_API_KEY"
{
  "success": true,
  "data": {
    "markets": [
      {
        "slug": "btc-100k-march",
        "name": "Will BTC reach $100k by March 2026?",
        "description": "Resolves YES if Bitcoin price reaches $100,000 USD...",
        "status": "live",
        "endDate": "2026-03-31T23:59:59Z",
        "createdAt": "2026-01-15T10:00:00Z",
        "tags": ["crypto", "bitcoin"],
        "imageUrls": ["https://example.com/btc.png"],
        "category": "crypto",
        "paid": true,
        "resolved": false
      }
    ],
    "count": 12,
    "limit": 5,
    "offset": 0,
    "hasMore": true
  }
}
markets
array
Array of market objects matching the search query
count
integer
Total number of markets matching the search query
hasMore
boolean
Whether more results are available beyond current page