FAQs
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 Sepolia, 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/
Sepolia (API key not required): https://api-sepolia.predict.fun/
Is there an SDK to create orders?#
Yes, we have an SDK available as an NPM package: @predictdotfun/sdk
Can I use my Predict account via the API/SDK?#
Yes, that is possible. You will two things:The Predict account address (aka deposit address)
The Privy Wallet private key (and the address to fund ETH for on-chain tx) To use your Predict account you'll need to use 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 2024-10-17 15:31:05