All examples use the base URL
https://api.futuur.com. Every request requires HMAC authentication headers. See the Authentication guide for how to generate them.Find an event
Use The response includes a
GET /events/ to browse available prediction markets. You can search by keyword or filter by category.results array of events. Each event has an id and a markets array containing individual outcomes you can bet on.Inspect the event's markets
Each event has one or more markets, each representing a possible outcome. Retrieve a single event to see its markets in detail.Each market has an
id you’ll use when placing an order, and a price indicating the current implied probability (0 to 1).Check the current price
Before placing an order, check the live order book to see current bid and ask prices. This is especially useful before placing a limit order.See Reading the order book for a full explanation of the response fields.
Place a market order
A market order (For real money, replace
price=null) executes immediately at the best available price. Use this when you want to enter a position right away without worrying about a specific price.To buy shares in a market outcome, set side="bid" (buying) and position="l" (long — betting the outcome occurs)."OOM" with "USDC", "USDT", or "USD":Place a limit order (optional)
A limit order only fills if the market price reaches your target. Set You can also set
price to a value between 0 and 1 (representing the probability / implied odds).For example, price=0.55 means you’re only willing to buy at 55 cents per share or better.expired_at to automatically cancel the order if it hasn’t filled by a certain time, and cancel_conflicting_orders=true to remove any existing orders that would conflict.Error handling
| Error code | Cause | Resolution |
|---|---|---|
UserNotEnoughBalance | Your account balance is too low to cover the order. | Top up your account or reduce the order amount. |
MarketClosed | The market is no longer accepting orders. | Check the event status before placing orders. |
OutcomeDisabled | The specific market outcome has been disabled. | Choose a different outcome or check the event details. |
EmailNotConfirmed | Your account email is not yet verified. | Confirm your email before placing orders. |
UserBlockedBets | Your account has been restricted from placing bets. | Contact Futuur support. |
InvalidHMACKey | The HMAC signature is invalid or the public key is wrong. | Re-generate your HMAC signature. See Authentication. |