Create a new prediction market (User-facing)

Creates a market in "Pending" status. Admin must activate it before trading.

Request Body

  • question: Market question (10-500 chars)
  • category: Category (e.g., "crypto", "politics", "sports")
  • resolution_time: ISO 8601 datetime when market resolves
  • market_type: "binary" (default) or "multi_outcome"
  • outcomes: Required for multi_outcome markets

Response

  • market_id: On-chain market ID
  • slug: URL-friendly identifier
  • status: "pending" (requires admin activation)
  • tx_signature: Blockchain transaction signature
Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Body Params

User request to create a market

string
required

Market category (required)

int32 | null

Creator fee in basis points (0-500, default 50)

string | null

Detailed description (optional)

string | null

Market type: "binary" (default) or "multi_outcome"

outcomes
array of strings | null

Outcome labels for multi-outcome markets

outcomes
string
required

Market question (required, 10-500 characters)

string | null

Rules for how the market will be resolved

string | null

Source for resolution (e.g., "Reuters", "Official Results")

string
required

Resolution time (ISO 8601 format)

string | null

Subcategory (optional)

tags
array of strings | null

Tags for discovery (optional)

tags
Responses

Language
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json