LogoLogo
  • Welcome to Predict...
  • The Basics
    • How Does Predict Work?
    • Making Your First Purchase
    • How to Earn Points
    • Predict Fees and Limits
    • Understanding the Order Book
    • Native Yield
    • Rewards
      • Blast Gold
      • Blast Points
      • Multipliers and Boosts
  • Knowledge Base
    • Wallets
    • The UMA Oracle
    • FAQs
    • Brand Assets
    • Point Calculations & Snapshots
    • Converting Complementary Positions (NO → YES)
    • Merging YES/NO Shares
    • The Gold League
    • The Gold League (PnL Remix)
  • DEVELOPERS
    • FAQs
    • Predict REST API
    • Technical Overview
    • Deployed Contracts
    • API Reference
  • Terms of Service
  • Go to predict.fun
  • Join the Discord
  • Follow Us on X
Powered by GitBook
On this page
  • API Key (only for mainnet)
  • The API's base URLs by environment
  • The Predict's SDK (@predictdotfun/sdk)
  • Guides
  1. DEVELOPERS

Predict REST API

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

PreviousFAQsNextTechnical Overview

Last updated 6 months ago

The API reference is available at:

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:

The API's base URLs by environment

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

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

The Predict's SDK (@predictdotfun/sdk)

The SDK is available as an NPM package:

The SDK GitHub repository:

Guides

  • See .

  • See .

An alternative UI for the API reference is also available at:

https://dev.predict.fun/
https://discord.gg/predictdotfun
https://www.npmjs.com/package/@predictdotfun/sdk
https://github.com/PredictDotFun/sdk
How to create or cancel orders
How to authenticate your API requests
https://api.predict.fun/docs