VeztaVezta

Markets

Market data endpoints — browse, search, and filter

The Markets API provides access to prediction market data aggregated from Polymarket and Kalshi. All market endpoints are public and do not require authentication, except for posting comments and tracking views.

Endpoints

MethodPathAuthDescription
GET/api/v1/marketsPublicList markets with filters and pagination
GET/api/v1/markets/moversPublicGet top movers by price change
GET/api/v1/markets/:slugPublicGet market detail by slug
GET/api/v1/markets/:id/top-tradersPublicGet top traders for a market
GET/api/v1/markets/:id/activityPublicGet exchange trade activity
GET/api/v1/markets/:id/order-bookPublicGet order book (bids and asks)
GET/api/v1/markets/:id/chartPublicGet OHLC chart data
GET/api/v1/markets/:id/relatedPublicGet related markets
GET/api/v1/markets/:id/newsPublicGet news articles linked to a market
GET/api/v1/markets/:id/commentsPublicGet comments on a market
POST/api/v1/markets/:id/commentsBearerPost a comment on a market
POST/api/v1/markets/:id/comments/:commentId/likeBearerLike or unlike a comment
GET/api/v1/markets/:id/holdersPublicGet market holders
POST/api/v1/markets/:id/viewBearerTrack a market page view for missions

List Markets

Fetch a paginated list of markets with optional filters.

Query Parameters:

ParameterTypeDefaultDescription
categorystring--Filter by category: politics, crypto, sports, entertainment, science, economics, world
sourcestring--Filter by source platform: polymarket, kalshi
sortstringvolumeSort order: volume, newest, ending_soon, liquidity
cursorstring--Cursor for pagination
limitnumber50Number of results (1-500)
// GET /api/v1/markets?category=politics&sort=volume&limit=10

// Response 200
{
  "markets": [
    {
      "id": "clxyz123...",
      "slug": "will-the-fed-cut-rates-june-2026",
      "title": "Will the Fed cut rates in June 2026?",
      "category": "economics",
      "source": "polymarket",
      "yesPrice": 0.63,
      "noPrice": 0.37,
      "volume": 1250000.00,
      "liquidity": 450000.00,
      "priceChange24h": 0.05,
      "endDate": "2026-06-30T00:00:00.000Z",
      "status": "active"
    }
  ],
  "nextCursor": "eyJpZCI6MTB9"
}

Top Movers

Get markets with the largest price changes over a given period.

Query Parameters:

ParameterTypeDefaultDescription
periodstring1DTime period: 1H, 6H, 1D
// GET /api/v1/markets/movers?period=1D

// Response 200
{
  "gainers": [...],
  "losers": [...]
}

Chart Data

Get OHLC (open/high/low/close) candlestick data for a market. Bucket sizes vary by timeframe: 6H uses 1-minute candles, 1D uses 5-minute, 1W uses 30-minute, 1M uses 1-hour, ALL uses 1-day.

Query Parameters:

ParameterTypeDefaultDescription
timeframestring1DChart timeframe: 6H, 1D, 1W, 1M, ALL

Notes

  • Market prices are decimal values between 0 and 1, representing the probability of the YES outcome
  • The slug parameter on the detail endpoint accepts a URL-friendly market slug, not the UUID
  • Chart data is sourced from both real-time price snapshots (for short timeframes) and historical backfill from exchange APIs (for longer timeframes)
  • All financial values (volume, liquidity) use Decimal precision and are returned as numbers

On this page