The REST API is currently in beta. Please, report any issue in our Discord server.Guides#
Where do I request an API key?#
To request an API key join the Predict's Discord server and open a support ticket.What chains are supported?#
BNB Mainnet (API key required): https://api.predict.fun/
BNB Testnet (API key not required): https://api-testnet.predict.fun/Is there an SDK to create orders?#
Yes, we have an SDK available in multiple languages:Is there any AI familiar with the SDKs?#
Yes, we published our SDKs on Context7, which can be used either via MCP or directly on their website for free to ask question about our SDKs or REST API.What rate limit is available on mainnet?#
On Testnet, we allow up to 240 requests per minute without an API key.
On Mainnet, the default rate limit for an API key is 240 requests per minute.
Can I use my Predict account via the API/SDK?#
Predict supports interacting with the protocol using either a traditional Externally Owned Account (EOA) or a Smart Wallet ("Predict Account"). If you use the web app, a Smart Wallet is automatically created for you. To interact with your Smart Wallet programmatically using the SDK, follow the example shown in How to use a Predict account.If you are using our Smart Wallet, you will need two things:The Predict account address (aka deposit address)
The Privy Wallet private key (and the address to fund ETH for on-chain tx) If you want to programmatically interract with Predict via your Smart Wallet (Predict Account) and not a simple EOA, you can check out our guides, which cover both cases:Alternatively, you can look into other Account Abstraction SDKs, like ZeroDev SDK. This requires a greater effort on your side and techincal knowledge. We won't be able to provide much support if you choose to use third parties SDKs.How do I create orders?#
How do I authenticate my requests?#
Is there altervative UI for the API reference?#
Modified at 2025-12-12 03:24:34