Developer

Table of Content

Protocol Interfaces

Explains the available interfaces that allow external applications to interact with the Mantic protocol.

The Mantic protocol provides structured interfaces that allow external applications to interact with prediction markets. These interfaces enable developers to retrieve market data, monitor market activity, and build applications that integrate with the Mantic ecosystem.

Through these interfaces, developers can create tools and services that expand how prediction markets are explored and used.

Common interactions with the protocol may include

• retrieving information about active markets
• accessing market probabilities and price data
• tracking market activity and updates
• integrating prediction market data into external applications

These interfaces allow developers to build analytics tools, dashboards, and alternative user interfaces for interacting with prediction markets.

Example Interface

Applications interacting with Mantic may retrieve market information through simple requests.

Example request

GET /markets
GET /markets
GET /markets

Example response structure

{
  "market_id": "market_001",
  "title": "Will Bitcoin exceed $100,000 by 2026?",
  "status": "active",
  "yes_price": 0.64,
  "no_price": 0.36
}
{
  "market_id": "market_001",
  "title": "Will Bitcoin exceed $100,000 by 2026?",
  "status": "active",
  "yes_price": 0.64,
  "no_price": 0.36
}
{
  "market_id": "market_001",
  "title": "Will Bitcoin exceed $100,000 by 2026?",
  "status": "active",
  "yes_price": 0.64,
  "no_price": 0.36
}

This example illustrates how applications may retrieve information about prediction markets.

Market Interaction

Developers may also build applications that monitor and interact with market activity.

Possible interactions include

• tracking price updates across markets
• analyzing probability movements
• displaying market information through custom interfaces
• building analytics tools around prediction data

These integrations allow developers to create new ways for users to explore and interact with prediction markets.

Future Development

As the Mantic ecosystem evolves, additional interfaces and integration tools may be introduced to support developers building within the ecosystem.

Future resources may include

• expanded developer documentation
• additional market data endpoints
• integration examples and guides
• developer focused tooling

These resources aim to support a growing ecosystem of applications built around the Mantic prediction market protocol.