Skip to main content

Overview

Manifold is a play-money prediction market platform that allows users to create and trade on markets using Mana (M$), the platform’s virtual currency. The Manifold market API provides access to a wide variety of user-generated prediction markets.

MarketType Enum

Market Class

ManifoldAgentMarket

The ManifoldAgentMarket class extends AgentMarket and provides Manifold-specific functionality.

Core Methods

Get Markets

Retrieve available prediction markets from Manifold.
int
Maximum number of markets to retrieve (default: 500)
FilterBy
Filter markets by status (OPEN, RESOLVED, etc.)
SortBy
Sort order (NEWEST, CLOSING_SOONEST, etc.)
list[ManifoldAgentMarket]
List of market objects matching the query criteria

Get Binary Market

Retrieve a specific binary market by ID.
str
required
Manifold market ID (alphanumeric string)
ManifoldAgentMarket
Market object containing question, probabilities, and trading information

Buy Tokens

Purchase outcome tokens for a market.
str
required
Outcome to bet on (“Yes” or “No” for binary markets)
USD
required
Amount to spend in Mana (M$)

Get Trade Balance

Get available Mana balance for trading.
APIKeys
required
API keys containing Manifold credentials
USD
Available Mana balance for trading

Market Data Model

Market Properties

str
Manifold market ID
str
Market question text
str | None
Market description with resolution criteria
list[str]
Available outcomes (e.g., [“Yes”, “No”] for binary markets)
Probability
Current probability of “Yes” outcome (0.0 to 1.0)
USD | None
Total trading volume in Mana
DatetimeUTC | None
When the market closes for trading
DatetimeUTC | None
When the market was created
str
Direct link to the market on Manifold
bool
Whether the market is currently open for trading
str | None
Final resolution outcome (if resolved)

Manifold-Specific Features

Play Money System

Manifold uses Mana (M$), a play-money currency. All trades are in Mana, which has no real-world value.

Market Types

Manifold supports multiple market types:
  • Binary: Yes/No questions
  • Multiple Choice: Several possible outcomes
  • Free Response: Users can submit answers
  • Numeric: Predicting a numeric value

Question Rephrasing

Manifold allows market creators to rephrase questions, which can affect market tracking.

Real-World Examples

Replication Source

Manifold is commonly used as a source for replicating markets to other platforms.

Benchmarking Agent Performance

Manifold is used for agent benchmarking due to its large number of markets.

Basic Trading Agent

Platform Details

Filtering and Sorting

Filter Options

Sort Options

Resolved Markets

Access resolved markets for backtesting and evaluation.

Advantages

  • Large Market Volume: Thousands of active markets
  • Diverse Topics: Wide range of prediction topics
  • Low Barrier: Play money means no financial risk
  • Active Community: Strong user engagement
  • API Access: Well-documented REST API

Limitations

  • Play Money Only: No real financial incentives
  • Question Changes: Creators can rephrase questions
  • Resolution Trust: Relies on creator to resolve fairly
  • No Trading Fees: Different dynamics from real-money markets

Error Handling

See Also