# 1024EX Documentation > On 1024Chain, 1024EX enables a high-performance perpetual market where algorithmic, quantitative, and AI-driven strategies execute natively and efficiently on-chain. ## Guides - [About 1024EX](https://docs.1024ex.com/docs/about-1024-ex.md) - [1024EX oveview](https://docs.1024ex.com/docs/1024ex-overall.md) - [Product stack](https://docs.1024ex.com/docs/onboarding-1.md): Explore the core products, developer resources, official channels, and support links across the 1024EX ecosystem. - [Trading concepts](https://docs.1024ex.com/docs/advanced-concepts.md) - [Triple-market architecture](https://docs.1024ex.com/docs/triple-market-architecture.md): How spot, perpetuals, and prediction markets work together on 1024EX and what cross-market strategies they enable. - [Everything exchange](https://docs.1024ex.com/docs/everything-exchange.md) - [Basic order types](https://docs.1024ex.com/docs/basic-order-types.md) - [Advanced order types](https://docs.1024ex.com/docs/advanced-order-type.md) - [1024EX Predict](https://docs.1024ex.com/docs/1024ex-predict.md) - [Overview](https://docs.1024ex.com/docs/overview.md): Trade verifiable future outcomes with up to 10x leverage and cross margin. - [Cross margin](https://docs.1024ex.com/docs/cross-margin.md) - [10x Leverage](https://docs.1024ex.com/docs/10x-leverage.md) - [Market Settlement](https://docs.1024ex.com/docs/market-settlement.md) - [Risk guide](https://docs.1024ex.com/docs/risk-guide.md) - [Overview](https://docs.1024ex.com/docs/overview-1.md): AgentX is an AI-native trading agent that helps users turn natural language ideas into Python quant strategies across spot, futures, and event markets within the 1024EX ecosystem. - [Strategy store](https://docs.1024ex.com/docs/1024-strategy-store.md) - [Coding agent & online IDE](https://docs.1024ex.com/docs/1024-coding-agent-online-ide.md) - [1024Chain (layer 1)](https://docs.1024ex.com/docs/1024chain.md): The high-performance Layer 1, natively designed for AI and quantitative workloads, powering the 1024 ecosystem. - [1024Bridge](https://docs.1024ex.com/docs/1024bridge.md) - [1024Wallet](https://docs.1024ex.com/docs/1024wallet.md) - [1024Oracle](https://docs.1024ex.com/docs/1024oracle.md) - [Referrals](https://docs.1024ex.com/docs/referrals.md) - [Risks](https://docs.1024ex.com/docs/risks.md) - [Bug bounty program](https://docs.1024ex.com/docs/bug-bounty-program.md) - [Brand kit](https://docs.1024ex.com/docs/brand-kit.md) - [1024EX Partner Program](https://docs.1024ex.com/docs/1024ex-partner-program.md): 1024EX welcomes partners who want to build, integrate, promote, or collaborate around **1024EX Predict**, the event trading product of 1024EX. - [1024EX Alpha](https://docs.1024ex.com/docs/1024ex-alpha.md) - [What are 1024 Points?](https://docs.1024ex.com/docs/what-are-1024-points.md) - [Point Program FAQ](https://docs.1024ex.com/docs/point-program-faq.md) - [Onboarding rewards](https://docs.1024ex.com/docs/onboarding-onetime.md) - [How to Earn Sparks](https://docs.1024ex.com/docs/how-to-earn-sparks.md) - [Weekly Points Distribution](https://docs.1024ex.com/docs/weekly-points-distribution.md) - [Referral Program](https://docs.1024ex.com/docs/referral-program.md) - [Fair Play Rules](https://docs.1024ex.com/docs/fair-play-rules.md) - [How to Sign In to 1024EX](https://docs.1024ex.com/docs/how-to-connect-your-wallet.md) - [How to Deposit USDC](https://docs.1024ex.com/docs/how-to-deposit-usdc.md): Learn how to deposit USDC into 1024EX, choose a supported deposit method, and safely transfer funds to your account. - [How to Withdraw USDC](https://docs.1024ex.com/docs/how-to-withdraw-usdc.md): This guide explains how to withdraw USDC from 1024EX to an external wallet. - [API & GitHub](https://docs.1024ex.com/docs/api.md) - [1024 Quant Agent intergration](https://docs.1024ex.com/docs/quant1024.md): Cross-exchange quantitative trading toolkit with unified API for 1024ex, Binance, IBKR and more - [SDK & deployment](https://docs.1024ex.com/docs/sdk-deployment.md) - [Community links](https://docs.1024ex.com/docs/community-links.md) - [Faq](https://docs.1024ex.com/docs/faq.md): Press Ctrl + F (Windows) or Command (⌘) + F (Mac) to quickly find keywords within the page - [I got scammed/hacked](https://docs.1024ex.com/docs/i-got-scammedhacked.md): Your account shows transactions you did not authorize, balances don’t add up, or you see an unknown signer/multisig on your 1024EX-connected wallet. - [Open Ticket](https://docs.1024ex.com/docs/open-ticket.md) ## API Reference - [GET /api/v1/system/health](https://docs.1024ex.com/reference/get_health.md): Health check endpoint. - [GET /api/v1/system/info](https://docs.1024ex.com/reference/get_exchange_info.md): Get exchange information. - [GET /api/v1/system/status](https://docs.1024ex.com/reference/get_system_status.md): Get system status. - [GET /api/v1/system/time](https://docs.1024ex.com/reference/get_server_time.md): Get server time. - [GET /api/v1/account/api-keys](https://docs.1024ex.com/reference/get_api_keys.md) - [GET /api/v1/account/api-keys/:id](https://docs.1024ex.com/reference/get_api_key.md) - [GET /api/v1/account/deposits](https://docs.1024ex.com/reference/get_deposits.md) - [POST /api/v1/account/deposits](https://docs.1024ex.com/reference/initiate_deposit.md) - [GET /api/v1/account/onchain-status](https://docs.1024ex.com/reference/get_onchain_status.md) - [GET /api/v1/account/overview](https://docs.1024ex.com/reference/get_overview.md) - [GET /api/v1/account/perp/margin](https://docs.1024ex.com/reference/get_perp_margin.md) - [GET /api/v1/account/perp/trading-stats](https://docs.1024ex.com/reference/get_perp_trading_stats.md) - [GET /api/v1/account/spot/summary](https://docs.1024ex.com/reference/get_spot_summary.md) - [GET /api/v1/account/withdrawals](https://docs.1024ex.com/reference/get_withdrawals.md) - [POST /api/v1/account/withdrawals](https://docs.1024ex.com/reference/request_withdrawal.md) - [List categories with counts](https://docs.1024ex.com/reference/list_categories.md) - [List markets with optional filtering](https://docs.1024ex.com/reference/list_markets.md) - [List active markets](https://docs.1024ex.com/reference/list_active_markets.md) - [List markets ending soon](https://docs.1024ex.com/reference/list_ending_soon_markets.md) - [List recently created markets](https://docs.1024ex.com/reference/list_new_markets.md) - [List trending markets (by volume)](https://docs.1024ex.com/reference/list_trending_markets.md) - [Search markets](https://docs.1024ex.com/reference/search_markets.md) - [List popular tags](https://docs.1024ex.com/reference/list_tags.md) - [Create a new prediction market (User-facing)](https://docs.1024ex.com/reference/create_market.md): Creates a market in "Pending" status. Admin must activate it before trading. ## Request Body - `question`: Market question (10-500 chars) - `category`: Category (e.g., "crypto", "politics", "sports") - `resolution_time`: ISO 8601 datetime when market resolves - `market_type`: "binary" (default) or "multi_outcome" - `outcomes`: Required for multi_outcome markets ## Response - `market_id`: On-chain market ID - `slug`: URL-friendly identifier - `status`: "pending" (requires admin activation) - `tx_signature`: Blockchain transaction signature - [Batch get market prices](https://docs.1024ex.com/reference/batch_prices.md) - [Get market details](https://docs.1024ex.com/reference/prediction_get_market.md) - [Get all outcome depths](https://docs.1024ex.com/reference/get_all_depths.md) - [Get depth for specific outcome](https://docs.1024ex.com/reference/get_depth.md) - [Get K-line data](https://docs.1024ex.com/reference/prediction_get_klines.md) - [Get order book](https://docs.1024ex.com/reference/prediction_get_orderbook.md) - [Get market orders](https://docs.1024ex.com/reference/get_market_orders.md) - [Get market outcomes (for multi-outcome markets)](https://docs.1024ex.com/reference/get_market_outcomes.md) - [Get price balance (CTF constraint check)](https://docs.1024ex.com/reference/get_price_balance.md) - [Get price history](https://docs.1024ex.com/reference/get_price_history.md) - [Get market statistics](https://docs.1024ex.com/reference/prediction_get_market_stats.md) - [Get market trades](https://docs.1024ex.com/reference/get_market_trades.md) - [Get activity feed](https://docs.1024ex.com/reference/get_activity.md): Returns a mixed timeline of recent platform activity including: - Recent trades (last 24h) - Newly created markets (last 7 days) - Resolved markets (last 7 days) - [Get market match statistics](https://docs.1024ex.com/reference/get_market_match_stats.md) - [Get global match history](https://docs.1024ex.com/reference/get_global_matches.md) - [Get current user's match history](https://docs.1024ex.com/reference/get_my_matches.md) - [Get current user's orders](https://docs.1024ex.com/reference/get_my_orders.md) - [Get current user's positions](https://docs.1024ex.com/reference/get_my_positions.md) - [Get current user's statistics](https://docs.1024ex.com/reference/get_my_stats.md) - [Get current user's trades](https://docs.1024ex.com/reference/get_my_trades.md) - [Batch cancel orders](https://docs.1024ex.com/reference/tx_batch_cancel.md) - [Cancel all orders](https://docs.1024ex.com/reference/tx_cancel_all.md) - [Cancel a single order](https://docs.1024ex.com/reference/tx_cancel_order.md) - [Claim winnings after market resolution](https://docs.1024ex.com/reference/tx_claim.md) - [Mint complete set (deposit USDC, get Yes+No tokens)](https://docs.1024ex.com/reference/tx_mint.md) - [Claim multi-outcome winnings](https://docs.1024ex.com/reference/tx_multi_claim.md) - [Mint multi-outcome complete set](https://docs.1024ex.com/reference/tx_multi_mint.md) - [Place multi-outcome order](https://docs.1024ex.com/reference/tx_multi_place_order.md) - [Redeem multi-outcome complete set](https://docs.1024ex.com/reference/tx_multi_redeem.md) - [Place a limit order](https://docs.1024ex.com/reference/tx_place_order.md) - [Redeem complete set (burn Yes+No tokens, get USDC back)](https://docs.1024ex.com/reference/tx_redeem.md) - [GET /api/v1/perp/insurance-fund](https://docs.1024ex.com/reference/perp_get_insurance_fund.md): Get insurance fund information. - [GET /api/v1/perp/markets](https://docs.1024ex.com/reference/perp_get_markets.md): Get all available Perp markets. - [GET /api/v1/perp/markets/:market](https://docs.1024ex.com/reference/perp_get_market.md): Get details for a specific Perp market. - [GET /api/v1/perp/markets/:market/funding-history](https://docs.1024ex.com/reference/perp_get_funding_history.md): Get funding rate history. - [GET /api/v1/perp/markets/:market/funding-rate](https://docs.1024ex.com/reference/perp_get_funding_rate.md): Get current funding rate. - [GET /api/v1/perp/markets/:market/index-price](https://docs.1024ex.com/reference/perp_get_index_price.md): Get index price with components. - [GET /api/v1/perp/markets/:market/klines](https://docs.1024ex.com/reference/perp_get_klines.md): Get K-line/candlestick data. - [GET /api/v1/perp/markets/:market/mark-price](https://docs.1024ex.com/reference/perp_get_mark_price.md): Get mark price. - [GET /api/v1/perp/markets/:market/open-interest](https://docs.1024ex.com/reference/perp_get_open_interest.md): Get open interest data. - [GET /api/v1/perp/markets/:market/orderbook](https://docs.1024ex.com/reference/perp_get_orderbook.md): Get order book for a market. - [GET /api/v1/perp/markets/:market/ticker](https://docs.1024ex.com/reference/perp_get_ticker.md): Get 24h ticker data for a market. - [GET /api/v1/perp/markets/:market/trades](https://docs.1024ex.com/reference/perp_get_trades.md): Get recent trades for a market. - [GET /api/v1/perp/orders](https://docs.1024ex.com/reference/perp_get_orders.md): Get active orders. - [POST /api/v1/perp/orders](https://docs.1024ex.com/reference/perp_place_order.md): Place a new order. - [POST /api/v1/perp/orders/batch](https://docs.1024ex.com/reference/perp_batch_place_orders.md): Place multiple orders. - [DELETE /api/v1/perp/orders/batch](https://docs.1024ex.com/reference/perp_batch_cancel_orders.md): Cancel multiple orders. - [GET /api/v1/perp/orders/:id](https://docs.1024ex.com/reference/perp_get_order.md): Get order details. - [PUT /api/v1/perp/orders/:id](https://docs.1024ex.com/reference/perp_modify_order.md): Modify an existing order. - [DELETE /api/v1/perp/orders/:id](https://docs.1024ex.com/reference/perp_cancel_order.md): Cancel an order. - [GET /api/v1/perp/positions](https://docs.1024ex.com/reference/get_positions.md): Get all positions. - [GET /api/v1/perp/positions/:market](https://docs.1024ex.com/reference/get_position.md): Get position for a specific market. - [POST /api/v1/perp/positions/:market/close](https://docs.1024ex.com/reference/close_position.md): Close a position. - [GET /api/v1/perp/positions/:market/leverage](https://docs.1024ex.com/reference/get_leverage.md): Get leverage info for a market. - [PUT /api/v1/perp/positions/:market/leverage](https://docs.1024ex.com/reference/set_leverage.md): Set leverage for a market. - [POST /api/v1/perp/positions/:market/margin](https://docs.1024ex.com/reference/adjust_margin.md): Adjust position margin. - [POST /api/v1/perp/positions/:market/tpsl](https://docs.1024ex.com/reference/set_tpsl.md): Set take profit / stop loss. - [PUT /api/v1/perp/positions/:market/tpsl](https://docs.1024ex.com/reference/modify_tpsl.md): Modify take profit / stop loss. - [/api/v1/perp/positions/{market}/tpsl](https://docs.1024ex.com/reference/cancel_tpsl.md) - [GET /api/v1/perp/history/funding](https://docs.1024ex.com/reference/perp_get_user_funding_history.md): Get funding payment history. - [GET /api/v1/perp/history/liquidations](https://docs.1024ex.com/reference/get_liquidation_history.md): Get liquidation history. - [GET /api/v1/perp/history/orders](https://docs.1024ex.com/reference/perp_get_order_history.md): Get historical orders. - [GET /api/v1/perp/history/pnl](https://docs.1024ex.com/reference/get_pnl_summary.md): Get PnL summary. - [GET /api/v1/perp/history/trades](https://docs.1024ex.com/reference/perp_get_trade_history.md): Get historical trades. - [GET /api/v1/spot/markets](https://docs.1024ex.com/reference/spot_get_markets.md): Returns all active spot markets from the database. - [GET /api/v1/spot/markets/:market](https://docs.1024ex.com/reference/spot_get_market.md) - [GET /api/v1/spot/markets/:market/klines](https://docs.1024ex.com/reference/spot_get_klines.md): Returns K-line data aggregated from v_spot_trades view. - [GET /api/v1/spot/markets/:market/orderbook](https://docs.1024ex.com/reference/spot_get_orderbook.md): Returns orderbook from orderbook service or 503 if unavailable. - [GET /api/v1/spot/markets/:market/ticker](https://docs.1024ex.com/reference/spot_get_ticker.md): Returns 24h ticker data aggregated from v_spot_trades view. - [GET /api/v1/spot/markets/:market/trades](https://docs.1024ex.com/reference/spot_get_trades.md): Returns recent trades from v_spot_trades view. - [GET /api/v1/spot/tokens](https://docs.1024ex.com/reference/get_tokens.md): Returns all tokens from assets table. - [GET /api/v1/spot/tokens/:symbol](https://docs.1024ex.com/reference/get_token.md) - [GET /api/v1/spot/orders](https://docs.1024ex.com/reference/spot_get_orders.md): Get active orders. - [POST /api/v1/spot/orders](https://docs.1024ex.com/reference/spot_place_order.md): Place a new spot order. - [POST /api/v1/spot/orders/batch](https://docs.1024ex.com/reference/spot_batch_place_orders.md): Place multiple orders. - [DELETE /api/v1/spot/orders/batch](https://docs.1024ex.com/reference/spot_batch_cancel_orders.md): Cancel multiple orders. - [GET /api/v1/spot/orders/:id](https://docs.1024ex.com/reference/spot_get_order.md): Get order details. - [PUT /api/v1/spot/orders/:id](https://docs.1024ex.com/reference/spot_modify_order.md): Modify an existing order. - [DELETE /api/v1/spot/orders/:id](https://docs.1024ex.com/reference/spot_cancel_order.md): Cancel an order. - [GET /api/v1/spot/balances](https://docs.1024ex.com/reference/get_balances.md) - [GET /api/v1/spot/balances/:token](https://docs.1024ex.com/reference/get_balance.md) - [GET /api/v1/spot/history/orders](https://docs.1024ex.com/reference/spot_get_order_history.md) - [GET /api/v1/spot/history/trades](https://docs.1024ex.com/reference/spot_get_trade_history.md) - [获取锦标赛列表](https://docs.1024ex.com/reference/list_championships.md) - [获取锦标赛详情](https://docs.1024ex.com/reference/get_championship.md) - [获取排行榜](https://docs.1024ex.com/reference/get_leaderboard.md) - [获取用户排名](https://docs.1024ex.com/reference/get_my_rank.md) - [获取 Top 3 英雄区数据](https://docs.1024ex.com/reference/get_top3.md) - [Get Oracle configuration for a market](https://docs.1024ex.com/reference/get_oracle_config.md) - [Get current proposal for a market](https://docs.1024ex.com/reference/get_proposal.md) - [Get LLM Oracle research data for a market](https://docs.1024ex.com/reference/get_research.md) - [Challenge a proposed result](https://docs.1024ex.com/reference/tx_challenge_result.md) - [Finalize a market result after challenge period](https://docs.1024ex.com/reference/tx_finalize_result.md)