Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.duelduck.com/llms.txt

Use this file to discover all available pages before exploring further.

The DuelDuck Prediction API enables developers and platforms to integrate fully functional prediction markets directly into their own products without building complex backend infrastructure from scratch. The API handles the core mechanics of prediction markets — including voting logic, pool management, on-chain transaction execution, and automated reward distribution through Solana smart contracts — while you remain fully in control of the frontend, branding, and overall user experience. Using the Duel Duck API, you can:
  • create and manage prediction markets directly from your platform;
  • allow users to participate by voting on future outcomes;
  • support fixed-price or flexible stake-based predictions;
  • process participation and payouts fully on-chain;
  • monetize engagement through configurable platform fees.
Prediction markets created through the API operate in a transparent and non-custodial environment, where users interact directly with blockchain smart contracts using their own crypto wallets.

Why use the Prediction API

Building a reliable prediction market infrastructure requires significantly more than just a frontend interface. A complete system typically involves:
  • backend logic for vote tracking and pool calculations;
  • secure fund management;
  • automated reward settlement;
  • transparent and verifiable execution;
  • blockchain integration and smart contract architecture.
The DuelDuck Prediction API provides all of these components out of the box. Instead of spending months developing and maintaining complex mechanics, your team can integrate prediction functionality through a simple API and focus entirely on product growth, user experience, and community engagement. The infrastructure includes:
  • ready-to-use backend architecture;
  • Solana smart contract execution;
  • automatic reward distribution;
  • built-in prediction lifecycle management;
  • scalable prediction creation and resolution flows.

Who is this API for

The DuelDuck Prediction API is designed for teams and products that want to introduce interactive prediction mechanics into their platforms, including:
  • Web3 applications and ecosystems;
  • creator and community platforms;
  • sports, gaming, and entertainment products;
  • forecasting and analytics platforms;
  • products experimenting with token-based engagement systems.
Whether you are launching a standalone prediction platform or adding prediction features to an existing product, the API provides the infrastructure needed to scale quickly and securely.

Documentation structure

The documentation is divided into two main sections: Documentation — explains how the prediction system works, including prediction mechanics, voting flow, reward distribution, fees, and platform architecture. API Reference — contains all available endpoints, authentication details, request methods, request/response examples, and integration specifications for working with the API.