The existing Portal is being replaced by the Jupiter Developer Platform with new pricing, rate limits, and features. We will share more details about the migration plan soon.
Create buy orders to open YES or NO positions in Jupiter Prediction Markets.
BETAThe Prediction Market API is currently in beta and subject to breaking changes as we continue to improve the product. If you have any feedback, please reach out in Discord.
This doc walks through creating a buy order to open a position in a prediction market. You’ll learn how to construct the order request, sign the returned transaction, and submit it to the Solana network.
After submitting, the order enters the keeper network for matching and execution. Use GET /orders/status/{orderPubkey} to check the fill status.
Order Flow
Create Order: You sign a transaction that creates an order account on-chain - this transaction only opens an order account and does not guarantee that the order will be filled.
Keeper Fills: Jupiter’s keeper network matches your order with the underlying prediction market
Position Updated: Once filled, your position account reflects the new contracts
Order Closed: The order account is closed after completion
Polling immediately after submitting the transaction might return a pending status or a no order history found error. Wait for a few slots before polling again.