Documentation Index
Fetch the complete documentation index at: https://docs.predexon.com/llms.txt
Use this file to discover all available pages before exploring further.
Overview
Predexon Trading API manages wallets on behalf of accounts. Instead of handling private keys, gas, or transaction signing, the API handles all of that automatically.Simplified Integration
No wallet SDKs or key management needed in your application
No Gas Management
All transaction fees are handled by the platform
Secure Key Management
Private keys are securely managed — you never handle them
How It Works
- Your application calls the Predexon Trading API
- Predexon API manages account wallets and executes trades
- Venues settle transactions on their respective chains (Polygon for Polymarket, BSC for Predict and Opinion, Base for Limitless, HyperCore for Hyperliquid)
Wallet Management
Accounts are created empty on the/api/accounts path. Each venue must be explicitly enabled via POST /api/accounts/{accountId}/enable, which provisions a wallet, funds gas, and sets token approvals.
| Venue | Chain | Collateral |
|---|---|---|
| Polymarket | Polygon | USDC.e |
| Predict.fun | BSC | USDT (BEP-20) |
| Opinion | BSC | USDT (BEP-20) |
| Limitless | Base | USDC (native) |
| Hyperliquid | HyperCore | USDC |
address once it reaches status: "active".
The legacy
/api/users path auto-provisions Polymarket and Predict wallets at create time and returns them in polymarketWalletAddress / predictWalletAddress fields. See the legacy reference.Key Security
Private keys are managed by Turnkey, a secure, hardware-backed key management infrastructure:- Predexon never has access to private keys — keys are generated and stored in Turnkey’s secure enclaves
- Hardware-backed security — keys never leave the enclaves
- No key management in your app — all signing happens server-side
Market Identification
On the accounts path, every order or redeem request identifies a market with either:predexonId— a cross-venue stable identifier (format:{venue}:{primaryId}[:{outcome}]), resolved server-side against Data API metadata.marketbag — venue-specific fields (tokenId,marketId,ticker,outcome,assetId,marketSlug). Required fields differ by venue — see the Place Order reference.
Order Execution
All venues use an orderbook model with limit and market orders. Order types:- Limit orders — rest on the orderbook at a specific price until matched.
- Market orders — execute immediately at the best available price.
- Orders can be partially filled.
- Open orders can be cancelled.
- Response
statusis normalized across venues:open,filled,cancelled,expired,pending,failed.
Position Lifecycle
Redeemable
Winning positions are redeemed via Redeem Position for payout in the venue’s stablecoin.
Security Model
Each API key can only access accounts it created. Attempting to access another API key’s account returns403 Forbidden.
Comparison to Self-Custody
| Feature | Predexon | Self-Custody |
|---|---|---|
| Key management | Handled by API | You manage |
| Transaction fees | Handled by the platform | You pay |
| Integration complexity | REST API calls | Wallet SDKs + signing |
| Multi-chain support | Unified API | Separate integrations |
| Withdrawal | API call | Direct blockchain tx |
Best Practices
Store account IDs
Save the
accountId returned by Create Account — it’s required for every subsequent call.Enable venues explicitly
Call Enable Venue for each venue the account should trade on, and poll Get Account until the venue’s
status is active.Check balance before orders
Always verify available funds with Get Balance before placing orders.
Next Steps
Funding & Withdrawals
Deposit funds into your trading wallet
Placing Trades
Order types, venues, and the full trading workflow
Fees & Monetization
Set up partner fees to earn revenue
