
Market Data
manifold
This Skill provides programmatic access to Manifold Markets for searching markets, retrieving market details and probabilities, inspecting public user profiles and bet histories, and placing trades, sales, or comments.
總覽
This Skill provides programmatic access to Manifold Markets for searching markets, retrieving market details and probabilities, inspecting public user profiles and bet histories, and placing trades, sales, or comments.
This Skill provides programmatic access to Manifold Markets for searching markets, retrieving market details and probabilities, inspecting public user profiles and bet histories, and placing trades, sales, or comments. Core features include search-by-term and pagination, listing newest markets, fetching market details by ID or slug (binary markets expose a 0–1 probability), and querying user information and bets. Write actions (placing bets/selling/commenting) require a MANIFOLD_API_KEY in the environment and must be executed only after explicit user confirmation. Typical use cases are automated market monitoring, probability tracking, research into market sentiment, portfolio management, and integrating Manifold data into agent workflows. The Skill’s main advantage is direct, scriptable API access with safe gating for all modifying operations to prevent unintended trades.
Skill.md
這個 Skill 如何運作
This Skill provides programmatic access to Manifold Markets for searching markets, retrieving market details and probabilities, inspecting public user profiles and bet histories, and placing trades, sales, or comments.
Manifold Markets
Use this skill to read from Manifold Markets (search markets, fetch probabilities, inspect public user info) and to place trades/comments with explicit confirmation.
Write actions require MANIFOLD_API_KEY (in the environment or configured via OpenClaw skill entries).
Base URL: https://api.manifold.markets/v0
Docs: https://docs.manifold.markets/api
Read tasks
Search markets
curl -s "https://api.manifold.markets/v0/search-markets?term=AI+safety&limit=5"
Tip: replace spaces with + (or URL-encode). If you have jq, format results:
curl -s "https://api.manifold.markets/v0/search-markets?term=AI+safety&limit=5" | jq '.[] | {id, slug, question, outcomeType, probability, createdTime, creatorUsername}'
List newest markets
curl -s "https://api.manifold.markets/v0/markets?limit=10"
With jq:
curl -s "https://api.manifold.markets/v0/markets?limit=10" | jq '.[] | {id, slug, question, outcomeType, probability, closeTime}'
Get market details (by ID)
curl -s "https://api.manifold.markets/v0/market/MARKET_ID"
Binary markets usually expose probability (0..1). Other market types may not have a single probability field.
Get market details (by slug)
The slug is the portion of the Manifold URL after the username (e.g. .../Alice/my-market-slug → my-market-slug).
curl -s "https://api.manifold.markets/v0/slug/MARKET_SLUG"
Inspect a user (by username)
curl -s "https://api.manifold.markets/v0/user/USERNAME"
List bets for a user
If you have jq:
USER_ID="$(curl -s "https://api.manifold.markets/v0/user/USERNAME" | jq -r '.id')"
curl -s "https://api.manifold.markets/v0/bets?userId=$USER_ID&limit=50"
Without jq, fetch the user JSON and read the id field, then use it:
curl -s "https://api.manifold.markets/v0/user/USERNAME"
curl -s "https://api.manifold.markets/v0/bets?userId=USER_ID&limit=50"
Write safety rules
- Never place a bet, sell shares, or post a comment unless the user explicitly confirms (e.g. “yes, place it”, “confirm”, “do it”).
- Always fetch the market first and restate: market question, market id/slug, action (bet/sell/comment), side/answer, amount/shares, and any limits.
- If the user is not explicit about amount/side, stop and ask.
Write tasks
Authentication
- Uses
MANIFOLD_API_KEYin header:Authorization: Key $MANIFOLD_API_KEY - Set
MANIFOLD_API_KEY(orskills.manifold.apiKeyin~/.openclaw/openclaw.json).
Place a bet (binary market)
- Fetch the market and confirm it’s the right one:
curl -s "https://api.manifold.markets/v0/market/MARKET_ID"
- Preview the exact payload you intend to send (do not run the POST until user confirms):
cat <<'JSON'
{"amount":10,"contractId":"MARKET_ID","outcome":"YES"}
JSON
- After explicit confirmation, place the bet:
curl -s -X POST "https://api.manifold.markets/v0/bet" \
-H "Authorization: Key $MANIFOLD_API_KEY" \
-H "Content-Type: application/json" \
-d '{"amount":10,"contractId":"MARKET_ID","outcome":"YES"}'
Notes:
amountis in Mana (integer).outcomeisYESorNOfor binary markets.- For non-binary markets, consult the Manifold API docs for the correct payload.
Sell shares
Preview first (do not run until user confirms).
Sell all shares for an outcome (omit shares to sell all):
curl -s -X POST "https://api.manifold.markets/v0/market/MARKET_ID/sell" \
-H "Authorization: Key $MANIFOLD_API_KEY" \
-H "Content-Type: application/json" \
-d '{"outcome":"YES"}'
Sell a specific number of shares:
curl -s -X POST "https://api.manifold.markets/v0/market/MARKET_ID/sell" \
-H "Authorization: Key $MANIFOLD_API_KEY" \
-H "Content-Type: application/json" \
-d '{"outcome":"YES","shares":10}'
Post a comment
Comments made through the API can incur a fee (see Manifold API docs). Always confirm text + target market.
curl -s -X POST "https://api.manifold.markets/v0/comment" \
-H "Authorization: Key $MANIFOLD_API_KEY" \
-H "Content-Type: application/json" \
-d '{"contractId":"MARKET_ID","content":"Your comment here."}'
Notes
- Rate limits apply (see Manifold API docs).
- Private/unlisted markets may not be accessible via the public API depending on current platform behavior.
最適合用於
何時使用
This Skill provides programmatic access to Manifold Markets for searching markets, retrieving market details and probabilities, inspecting public user profiles and bet histories, and placing trades, sales, or comments.

01 · 會前準備
準備決策簡報
在投資委員會開會前,把零散證據整理成結構化的論據。

02 · 團隊協作
統一交接標準
讓分析師、投資組合經理與 Agent 產出一致的研究結果。

03 · 即時更新
更新投資邏輯
出現新催化劑、KPI 發布或財報結果後,更新情境假設。
社群回饋
越用越好用。
隨著 Skill 被使用與評審,回饋將顯示在這裡。
探索更多
相關 Skills
查看全部gmgn-market
gmgn-market is a CLI-driven Skill for retrieving crypto and meme-token market data: K-line (candlestick/OHLCV) charts, trending token rankings by USD volume, Trenches token lists, and newly launched…
crypto-price
This Skill retrieves cryptocurrency prices and generates dark-themed candlestick charts via a simple CLI. Invoke the script with a token symbol and optional duration (e.g., 30m, 3h, 12h, 2d) to…
cmc-api-crypto
This skill documents the CoinMarketCap (CMC) Cryptocurrency REST API for programmatic access to market and token data. It details authentication (API key via X-CMC_PRO_API_KEY), base URL, and…