HomeDocsPolymarket API

Polymarket API

Access real-time prediction market data including markets, prices, orderbooks, trades, and user positions from Polymarket.

GET/v1/polymarket/markets

List all prediction markets with filtering and pagination

Parameters

NameTypeRequiredDescription
limitnumberNoMax results (1-100, default: 20)
pagenumberNoPage number (default: 1)
statusstringNoFilter: active, closed, all
sortstringNoSort by: volume, liquidity, created

Example Request

curl -H "X-API-Key: YOUR_API_KEY" \
  "https://api.acceso.dev/v1/polymarket/markets"

Example Response

{
  "success": true,
  "data": {
    "markets": [
      {
        "id": "0x...",
        "question": "Will Bitcoin reach $100k?",
        "yes_price": 0.65,
        "no_price": 0.35,
        "volume": 1500000,
        "liquidity": 250000
      }
    ]
  }
}
GET/v1/polymarket/markets/{market_id}

Get detailed information about a specific market

Parameters

NameTypeRequiredDescription
market_idstringYesMarket condition ID

Example Request

curl -H "X-API-Key: YOUR_API_KEY" \
  "https://api.acceso.dev/v1/polymarket/markets/{market_id}"
GET/v1/polymarket/markets/{market_id}/price

Get current price for a market

Parameters

NameTypeRequiredDescription
market_idstringYesMarket condition ID

Example Request

curl -H "X-API-Key: YOUR_API_KEY" \
  "https://api.acceso.dev/v1/polymarket/markets/{market_id}/price"

Example Response

{
  "success": true,
  "data": {
    "yes_price": 0.65,
    "no_price": 0.35,
    "timestamp": "2025-12-14T12:00:00.000Z"
  }
}
GET/v1/polymarket/markets/{market_id}/orderbook

Get orderbook with bids and asks

Parameters

NameTypeRequiredDescription
market_idstringYesMarket condition ID
depthnumberNoOrderbook depth (default: 10)

Example Request

curl -H "X-API-Key: YOUR_API_KEY" \
  "https://api.acceso.dev/v1/polymarket/markets/{market_id}/orderbook"
GET/v1/polymarket/markets/{market_id}/trades

Get recent trades for a market

Parameters

NameTypeRequiredDescription
market_idstringYesMarket condition ID
limitnumberNoMax results (default: 50)

Example Request

curl -H "X-API-Key: YOUR_API_KEY" \
  "https://api.acceso.dev/v1/polymarket/markets/{market_id}/trades"
GET/v1/polymarket/search

Search markets by keyword

Parameters

NameTypeRequiredDescription
qstringYesSearch query
limitnumberNoMax results (default: 20)

Example Request

curl -H "X-API-Key: YOUR_API_KEY" \
  "https://api.acceso.dev/v1/polymarket/search"
GET/v1/polymarket/trending

Get trending markets by volume

Example Request

curl -H "X-API-Key: YOUR_API_KEY" \
  "https://api.acceso.dev/v1/polymarket/trending"
GET/v1/polymarket/categories

List all market categories

Example Request

curl -H "X-API-Key: YOUR_API_KEY" \
  "https://api.acceso.dev/v1/polymarket/categories"
GET/v1/polymarket/users/{wallet}/positions

Get user positions in markets

Parameters

NameTypeRequiredDescription
walletstringYesWallet address
limitnumberNoMax results (default: 100)

Example Request

curl -H "X-API-Key: YOUR_API_KEY" \
  "https://api.acceso.dev/v1/polymarket/users/{wallet}/positions"
GET/v1/polymarket/leaderboard

Get top traders leaderboard

Parameters

NameTypeRequiredDescription
timeframestringNoday, week, month, all
limitnumberNoMax results (default: 100)

Example Request

curl -H "X-API-Key: YOUR_API_KEY" \
  "https://api.acceso.dev/v1/polymarket/leaderboard"