Futuur

v2.0.1
io.github.futuur/futuur-mcp Checked 4 days ago Published 23 days ago

Futuur prediction markets: browse events and prices, simulate and place orders, track positions.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

get_markets Search events and markets

Lists or searches Futuur events, each with its markets and current prices, in one page. An event is the question (id, title, status, close date, category, volume); a market is one tradeable outcome of it, and a market's `price` is the probability of the long position (0 to 1) in each available currency (OOM is play money, USDC is real money). Use it to find events by text, category, tag, status or close date, or to rank them by volume or recent activity. Returns `total`, `returned` and `next_offset` (null on the last page); pass next_offset as `offset` for the next page. Use get_market_details…

ParameterTypeDescription
bet_end_date_afterstringOnly events whose trading closes at or after this time. ISO 8601 with a timezone, e.g. 2026-11-01T00:00:00Z.
bet_end_date_beforestringOnly events whose trading closes at or before this time. ISO 8601 with a timezone, e.g. 2026-12-01T00:00:00Z.
categoriesarrayCategory ids (see get_categories). A top-level category includes all its subcategories. An event matching any listed category is returned.
category_slugsarrayCategory slugs such as "crypto-prices", as an alternative to ids. If both are given, an event must match both.
currency_modestring"play_money" (default): events tradeable with OOM play money. "real_money": events tradeable with real money (USDC/USDT). Also decides which volume the "volume" ordering uses.
hide_my_betsbooleanIf true, omit events the user already bet on. Needs API keys configured.
limitintegerEvents per page, 1 to 50. Default 20.
offsetintegerNumber of events to skip, for paging (use next_offset from the previous page). Default 0, maximum 10000.
only_markets_i_followbooleanIf true, only events the user follows. Needs API keys configured.
orderingstringSort order; a leading "-" means descending. Allowed: relevance, created_on, bet_end_date, wagers_count, volume, open_date, resolve_date (each with or without "-"). Defaults to "-relevance" for a norma…
searchstringCase-insensitive text search across event titles, market names, categories and tags. Max 100 characters.
statusstringWhich events to list. "open" (default): open for trading, plus recently closed ones awaiting resolution. "live": live now or starting within 12 hours. "pending_resolution": closed but not resolved yet…
tagsarrayUp to 10 tag slugs or names (case-insensitive). An event matching any listed tag is returned.

get_market_details Get event details

Returns one Futuur event with all its markets: the full description and resolution criteria, dates, category, volumes and liquidity, and for each market its id, title, price (probability of the long position, per currency), status, resolution, depth and last trade time. Takes an EVENT id (the `id` of an item from get_markets); the market ids inside the result are what get_order_book and trading tools take. Use it before trading to read the resolution rules, or to check the current state of one event.

ParameterTypeDescription
id *integerEvent id, as returned by get_markets. Not a market id.

get_price_history Get price history

Returns how the prices of every market in an event changed over time, one series per market, for charting or trend analysis. Each point has a UTC `time` and `price_percent`, the market's price as a percentage from 0 to 100 (50 means 0.50). Takes an EVENT id, not a market id. Long series are thinned evenly (first and last point kept) to `max_points` per series; `total_points` tells you how many existed.

ParameterTypeDescription
id *integerEvent id, as returned by get_markets. Not a market id.
currency_modestringWhich price history: "play_money" (default, OOM) or "real_money" (USDC/USDT).
max_pointsintegerMaximum points returned per market series, 2 to 2000. Default 100.
time_intervalstringLook-back window ending now: day (24 hours), week (7 days), month (31 days), year (365 days) or all_time. Defaults to all_time.

get_order_book Get order book

Returns the order book of one market: resting `bid` levels (best price first, highest) and `ask` levels (best price first, lowest), each with the price (0 to 1), shares and amount at that level and the cumulative totals from the best price, plus the last trade price/time and 24-hour volume and trade count. Takes a MARKET id (an item of an event's `markets`), not an event id. Use it to judge liquidity and slippage before placing an order; only the best `levels` levels per side are returned, with `*_levels_total` giving the full depth.

ParameterTypeDescription
id *integerMarket id, from the `markets` of get_markets or get_market_details.
currency_modestring"play_money" (default, OOM) or "real_money" (USDC/USDT) book.
levelsintegerHow many price levels to return per side, 1 to 100. Default 10.
positionstringWhich side of the market to view: "long" (default) or "short". Short prices are 1 minus long prices.

get_categories List categories

Lists Futuur's event categories so you can filter get_markets by category id or slug. A category belongs to a tree (for example Politics > USA > 2028 Elections); filtering by a top-level category includes everything below it. view="all" (default) is the paginated list of categories that have open events, with their full path, open event count and volume; view="root" lists just the top-level categories; view="featured" is the 10 highest-volume categories. Use get_category_details for one category's subcategories.

ParameterTypeDescription
currency_modestringCount open events and rank volume for "play_money" or "real_money". Omit for play money counts.
limitintegerCategories per page, 1 to 200. Default 100. Only with view "all".
offsetintegerNumber of categories to skip, for paging. Default 0. Only with view "all".
searchstringCase-insensitive text to match in category titles. Only with view "all" or "featured".
viewstring"all" (default): paginated list of every category with open events, A to Z. "root": top-level categories only. "featured": top 10 by volume.

get_category_details Get category details

Returns one category: its title, slug, parent, full path from the top-level category, whether it has subcategories and their ids and titles, how many events are open in it and its trading volume. Use it to walk down the category tree; pass a category id (or a child's id) to get_markets `categories` to list its events. Category ids come from get_categories or from an event's `category`.

ParameterTypeDescription
id *integerCategory id, from get_categories or get_markets.
currency_modestringCount open events (and children with open events) for "play_money" or "real_money". Omit for play money.

get_exchange_rates Get exchange rates

Returns Futuur's latest currency exchange rates. Each entry is a base currency (USD, EUR, BTC, USDC, USDT) with `rates`: how many units of every quoted currency (BCH, BNB, BRL, BTC, ETH, EUR, LTC, MXN, SOL, TRX, USD, XMR, BUSD, DOGE, USDC, USDT) one unit of the base is worth, and the time of the last update. Play money (OOM) has no rate. Pass `base_currency` to get one base only; use convert_to_usd or convert_from_usd to convert an amount.

ParameterTypeDescription
base_currencystringReturn only this base currency's rates: USD, EUR, BTC, USDC or USDT (case-insensitive). Omit for all bases.

convert_to_usd Convert amount to USD

Calculates what an amount in another currency is worth in USD at Futuur's latest exchange rates. It only calculates; nothing is exchanged and no balance changes. Use it to show a USD equivalent for a balance or a stake in USDC, USDT, EUR, BTC, ETH and other quoted currencies (see get_exchange_rates for the list). Play money (OOM) has no USD value. Returns the converted amount, the USD rate used and when the rates were updated.

ParameterTypeDescription
from_currency *stringSource currency code, e.g. "BTC", "USDC" or "EUR".
value *numberAmount of the source currency to convert, greater than 0.

convert_from_usd Convert USD to another currency

Calculates how much of another currency a USD amount buys at Futuur's latest exchange rates. It only calculates; nothing is exchanged and no balance changes. Use it to express a USD amount in USDC, USDT, EUR, BTC, ETH and other quoted currencies (see get_exchange_rates for the list). Play money (OOM) has no USD rate. Returns the converted amount, the rate used (units of the target currency per 1 USD) and when the rates were updated.

ParameterTypeDescription
to_currency *stringTarget currency code, e.g. "BTC", "USDC" or "EUR".
value *numberAmount in USD to convert, greater than 0.

get_user_profile Get my profile

Returns the authenticated user's own account: id, username, email, email and KYC status, whether real-money trading is enabled for the public API (public_api_real_money_enabled), wager counts, trading-relevant settings and a `wallet` object with the balance in each currency. Use it to answer who the user is, whether real money can be traded through the API, or for a quick balance snapshot; use get_balances to read one currency's balance. Read-only.

get_balances Get my balances

Returns the authenticated user's ledger balances as a list with one {currency, amount} row per currency, for example OOM (play money) and USDC (real money). Use it before placing a bet to check the user can afford it, or to answer how much the user holds. Pass `currency` to get just that one row. Read-only.

ParameterTypeDescription
currencystringOnly return the balance in this currency code, matched case-insensitively (e.g. OOM, USDC, USDT, USD). Omit for every currency.

get_user_ranking Get my leaderboard ranking

Returns the authenticated user's current position on the Futuur leaderboard as {ranking}. Use it when the user asks where they stand relative to other traders. Read-only; it only covers the authenticated user.

get_bet_simulation Simulate an order

Previews a buy or sell on one market without placing anything. It reads the public order book and walks it the way the matching engine would, returning the estimated cost (or proceeds), average price, how many shares would fill immediately, and how many would rest on the book. This is an estimate: the book can change before a real order is placed, and your balance and holdings are not checked. Call it before place_bet and show the numbers to the user; `order` in the result holds the exact arguments to give place_bet.

ParameterTypeDescription
currency *string`OOM` is play money. `USDC`, `USDT` and `USD` are real money and only work on events whose available_currencies include them.
market *integerMarket (outcome) id: the `id` of an entry in an event's `markets` list. This is not the event id.
position *string`long` is the Yes side of the market (pays 1 if the outcome happens); `short` is the No side (pays 1 if it does not). Shares of each position trade in their own order book.
amountnumberMoney to spend, in `currency`. Only for side bid (buying). The simulation works out how many shares that buys at today's prices. Give either `shares` or `amount`.
pricenumberLimit price per share, in whole cents between 0.01 and 0.99. A bid only fills at this price or lower, an ask at this price or higher. Omit for a market order that takes the best prices available.
sharesnumberNumber of shares to buy or sell, at most 2 decimals. Give either `shares` or `amount`.
sidestring`bid` (default) previews buying shares; `ask` previews selling shares you hold. To buy Yes use bid with position long; to buy No use bid with position short.
time_in_forcestring`gtc` (default): the part that cannot fill now rests on the book. `ioc`: the part that cannot fill now is cancelled; requires `price`.

place_bet Place an order

Places a real order on a market: it spends or sells the user's actual balance and fills immediately against the book where it can. Only call it after the user has explicitly confirmed a get_bet_simulation with these same numbers. With a `price` it is a limit order (the unfilled part rests on the book unless time_in_force is ioc); without one it is a market order at the best available prices. Returns the created order, including its id, status and fills; use cancel_order to withdraw a resting order.

ParameterTypeDescription
currency *string`OOM` is play money. `USDC`, `USDT` and `USD` are real money and only work on events whose available_currencies include them.
market *integerMarket (outcome) id: the `id` of an entry in an event's `markets` list. This is not the event id.
position *string`long` is the Yes side of the market (pays 1 if the outcome happens); `short` is the No side (pays 1 if it does not). Shares of each position trade in their own order book.
shares *Number of shares to buy or sell, at most 2 decimals and above 0.02. On side ask only, the string "max" sells every share you hold of this position that is not already reserved by an open sell order (r…
side *string`bid` buys shares; `ask` sells shares you already hold. To buy Yes use side bid with position long; to buy No use side bid with position short; to sell shares you hold use side ask with the position y…
cancel_conflicting_ordersbooleanIf true, your own open orders that tie up the balance or shares this order needs are cancelled first. If false or omitted, such a conflict makes the order fail.
expired_atstringISO 8601 time (for example 2026-12-31T23:59:00Z) after which an unfilled resting order is cancelled automatically. Omit for no expiry.
pricenumberLimit price per share, in whole cents between 0.01 and 0.99. A bid fills at this price or lower, an ask at this price or higher. Omit for a market order. Required for ioc and for shares "max".
time_in_forcestring`gtc` (default): the part that cannot fill now rests on the book until filled, cancelled or expired. `ioc`: fill what is possible right now at `price` or better and cancel the rest; requires `price`.

list_orders List my orders

Lists the user's own orders, newest first by default, 20 per page. Without `status` it returns only open orders (including ones still processing); pass another status to see filled, cancelled or partially filled history. Each order has id, market, side, position, price, shares requested and unfilled, shares_filled, status, average_price and expiry. Use the id with cancel_order.

ParameterTypeDescription
currencystringOnly orders in this exact currency.
currency_modestringOnly play-money (OOM) or only real-money orders.
eventintegerOnly orders on this event id.
limitintegerOrders per page, 1 to 20. Default 20.
marketintegerOnly orders on this market (outcome) id.
offsetintegerOrders to skip, for paging. Default 0.
orderingstringSort order, default `-created` (newest first). A leading `-` means descending; `total` is the shares requested.
searchstringText to look for in the event or market title.
sidestringOnly buys (`bid`) or only sells (`ask`).
statusstringOrder status. Default `open`, which also includes orders still `processing` and only covers events that are still open. `partial_filled_cancelled` is an immediate-or-cancel order that filled in part a…

cancel_order Cancel an order

Cancels one of the user's open or partially filled orders by id, releasing the balance or shares it reserved. Shares that already filled stay filled; only the unfilled remainder is cancelled. Orders that are filled, already cancelled or still processing cannot be cancelled, so check the status with list_orders first.

ParameterTypeDescription
order_id *integerId of the order to cancel, from list_orders or place_bet.

cancel_all_orders Cancel all open orders

Cancels every open order of the user, optionally only those on one event or one market. Orders caught mid-fill are skipped and returned in `processing_order_ids`; try those again shortly with cancel_order. To cancel everything on the account, pass `cancel_everything: true` and no event or market; only do that when the user asked for it.

ParameterTypeDescription
cancel_everythingbooleanMust be true when neither `event` nor `market` is given, to confirm that every open order on the account should be cancelled.
eventintegerOnly cancel orders on this event id.
marketintegerOnly cancel orders on this market (outcome) id.

get_user_bets List my bets

Lists wagers (positions) with pagination, newest first; by default the authenticated user's own. Each wager has its wager `id`, `status` (purchased = open, sold, won, lost, cancelled, disabled), `position` (long or short), `shares`, `currency`, the cost basis, the current sale value (`amount_on_sell`), plus the `market` (id, title) and `event` (id, title, order_book_enabled) it belongs to. Use `active` for open positions or `past_bets` for settled ones; pass a wager id to get_wager_details for the purchase and sale history. At most 20 wagers per page.

ParameterTypeDescription
activebooleantrue: only open wagers (status purchased). Omit for no status filter. Cannot be combined with past_bets.
currency_modestringplay_money = OOM wagers, real_money = USDC/USDT/USD wagers, all = both (default).
eventintegerOnly wagers on this event id.
followingbooleantrue: only wagers by users you follow. Only works together with `event`.
limitintegerWagers per page, 1 to 20 (default 20).
offsetintegerNumber of wagers to skip, for paging (default 0, maximum 10000).
past_betsbooleantrue: only finished wagers (status won, lost, sold or disabled). Omit for no status filter. Cannot be combined with active.
userintegerAnother user's id, to read their public play-money wagers. Omit for the authenticated user's own wagers.

get_wager_details Get wager details

Returns one wager by its wager id: status, long or short position, shares held, cost basis, ROI, what it pays if it wins (`amount_on_win`), what it would sell for now (`amount_on_sell`), the `market` and `event` it belongs to, and the `actions` history of purchases, sales and resolution. Use it to inspect a position or to check the result after a sale. `event.order_book_enabled` tells you how the position can be sold; see sell_bet. Get wager ids from get_user_bets.

ParameterTypeDescription
id *integerWager id, as returned by get_user_bets (field `id`). This is not a market id or an event id.

get_partial_sell_amount Simulate selling shares

Simulates what selling shares of a wager would return, without selling anything: returns {amount, shares, price} for the user's wager. Production values the position from the current order-book bids; it can return an amount of 0 on the first call for a market while its book cache warms up, so call it again before believing a 0. Run this and show the result to the user before sell_bet. Pass the wager id, not a market id.

ParameterTypeDescription
id *integerWager id, as returned by get_user_bets (field `id`). This is not a market id or an event id.
sharesnumberNumber of shares to simulate selling; must not exceed the shares held in the wager. Omit to simulate selling the entire position.

sell_bet Sell a bet

Sells all or part of an open wager (position) for the user. It moves the user's balance and cannot be undone, so only run it after the user has confirmed a simulation for the same wager and shares (get_bet_simulation with side ask, or get_partial_sell_amount). Pass the wager id; omit `shares` to sell the whole position. On order-book events, which is every current market, the sale is placed as a sell order on the wager's market: without `price` it sells immediately at the best bids, with `price` it is a limit order that may rest on the book. The result then contains the created `order`.

ParameterTypeDescription
id *integerWager id, as returned by get_user_bets (field `id`). This is not a market id or an event id.
pricenumberOrder-book events only: minimum price per share to accept, in whole cents between 0.01 and 0.99. Omit to sell immediately at the best available bids.
sharesnumberNumber of shares to sell. Omit to sell the entire position. Must not exceed the shares held; selling all of them is the same as omitting it.