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 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.
What chains are supported?#
Mainnet (API key required): https://api.predict.fun/
Testnet (API key not required): https://api-testnet.predict.fun/Is there an SDK to create orders?#
Yes, we have an SDK available as an NPM package: @predictdotfun/sdkCan I use my Predict account via the API/SDK?#
Yes, that is possible. If you are using a EOA (like MetaMask), simply use that wallet as the signer via the SDK to generate the required payloads.If you are using a social account via the web app, 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 use a social accout to interract with Predict, to use your Predict account you'll need our SDK to generate the required signatures. You can check out our guides, which also cover the use of Predict accounts: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-11-07 00:19:53