Predict REST API

The Predict's REST API allows you to programmatically trade on the Predict's protocol.

The API reference is available at: https://dev.predict.fun/

API Key (only for mainnet)

All mainnet API request require an API key. Open a ticket in the Discord server to request a key. Predict's Discord: https://discord.gg/predictdotfun

The API's base URLs by environment

Predict Mainnet API: https://api-sepolia.predict.fun/

Predict Sepolia API: https://api.predict.fun/

The Predict's SDK (@predictdotfun/sdk)

The SDK is available as an NPM package: https://www.npmjs.com/package/@predictdotfun/sdk

The SDK GitHub repository: https://github.com/PredictDotFun/sdk

Guides

An alternative UI for the API reference is also available at: https://api.predict.fun/docs

Last updated