Skip to main content
Get your free API key at dashboard.predexon.com to start trading programmatically.

Overview

Predexon Trading API provides an interface for trading on prediction markets. Users don’t manage their own wallets - the API handles wallet creation, key management, and transaction signing on their behalf.

Base URLs

SurfaceBase URLPurpose
Trading APIhttps://trade.predexon.comPlace orders, manage users, funds, fees
Data APIhttps://api.predexon.comMarket data, prices, trading history (see Data API docs)

Supported Venues

Polymarket

Polygon blockchain. Collateral: USDC.e. Supports limit and market orders.

Predict.fun

BNB Smart Chain. Collateral: USDT (BEP-20). Supports limit and market orders.

Authentication

All requests require an API key passed via the x-api-key header:
curl -X POST \
  -H "x-api-key: YOUR_API_KEY" \
  https://trade.predexon.com/api/users/create
Each API key can create multiple users. Users are “owned” by the API key that created them - you can only access your own users.

Error Handling

All errors return a JSON body with an error field:
{
  "error": "Insufficient balance"
}
Status CodeDescriptionAction
400Bad request - invalid parameters or insufficient fundsFix the request and retry
401Unauthorized - missing or invalid API keyCheck your x-api-key header
403Forbidden - user not owned by this API keyVerify the user belongs to your key
404Not found - user or resource doesn’t existCheck the ID
409Conflict - concurrent modification (fee policy)Retry the request
500Internal server errorRetry with exponential backoff
Retry 5xx errors with exponential backoff. Do not retry 4xx errors - they indicate a problem with the request.

Next Steps

Quickstart

Place your first trade in 5 minutes

How It Works

Understand wallet management and order execution

Funding & Withdrawals

Deposit and withdraw funds

Placing Trades

Order types, venues, and the full trading workflow