# DFlow ## Docs - [AI Coding Resources](https://pond.dflow.net/build/ai-coding.md): Files that make the DFlow docs agent-ready - [API Keys](https://pond.dflow.net/build/api-key.md): How to request an API key for production use - [Endpoints](https://pond.dflow.net/build/endpoints.md): DFlow endpoints for Trading and Prediction Markets APIs - [FAQs](https://pond.dflow.net/build/faqs.md): Answers to common questions about building with DFlow - [Introduction](https://pond.dflow.net/build/introduction.md): How to get started building with DFlow - [Get Event](https://pond.dflow.net/build/metadata-api/events/event.md): API reference for GET /api/v1/event/{event_id} - [Get Event Candlesticks](https://pond.dflow.net/build/metadata-api/events/event-candlesticks.md): API reference for GET /api/v1/event/{ticker}/candlesticks - [Get Events](https://pond.dflow.net/build/metadata-api/events/events.md): API reference for GET /api/v1/events - [Get Event Forecast Percentile History](https://pond.dflow.net/build/metadata-api/events/forecast-percentile-history.md): API reference for GET /api/v1/event/{series_ticker}/{event_id}/forecast_percentile_history - [Get Event Forecast Percentile History by Mint](https://pond.dflow.net/build/metadata-api/events/forecast-percentile-history-by-mint.md): API reference for GET /api/v1/event/by-mint/{mint_address}/forecast_percentile_history - [Introduction](https://pond.dflow.net/build/metadata-api/introduction.md): How to discover crypto and prediction market metadata. - [Get Live Data](https://pond.dflow.net/build/metadata-api/live-data/live-data.md): API reference for GET /api/v1/live_data - [Get Live Data by Event](https://pond.dflow.net/build/metadata-api/live-data/live-data-by-event.md): API reference for GET /api/v1/live_data/by-event/{event_ticker} - [Get Live Data by Mint](https://pond.dflow.net/build/metadata-api/live-data/live-data-by-mint.md): API reference for GET /api/v1/live_data/by-mint/{mint_address} - [Filter Outcome Mints](https://pond.dflow.net/build/metadata-api/markets/filter-outcome-mints.md): API reference for POST /api/v1/filter_outcome_mints - [Get Market](https://pond.dflow.net/build/metadata-api/markets/market.md): API reference for GET /api/v1/market/{market_id} - [Get Market by Mint](https://pond.dflow.net/build/metadata-api/markets/market-by-mint.md): API reference for GET /api/v1/market/by-mint/{mint_address} - [Get Market Candlesticks](https://pond.dflow.net/build/metadata-api/markets/market-candlesticks.md): API reference for GET /api/v1/market/{ticker}/candlesticks - [Get Market Candlesticks by Mint](https://pond.dflow.net/build/metadata-api/markets/market-candlesticks-by-mint.md): API reference for GET /api/v1/market/by-mint/{mint_address}/candlesticks - [Get Markets](https://pond.dflow.net/build/metadata-api/markets/markets.md): API reference for GET /api/v1/markets - [Get Markets Batch](https://pond.dflow.net/build/metadata-api/markets/markets-batch.md): API reference for POST /api/v1/markets/batch - [Get Outcome Mints](https://pond.dflow.net/build/metadata-api/markets/outcome-mints.md): API reference for GET /api/v1/outcome_mints - [Get Orderbook by Mint Address](https://pond.dflow.net/build/metadata-api/orderbook/orderbook-by-mint.md): API reference for GET /api/v1/orderbook/by-mint/{mint_address} - [Get Orderbook](https://pond.dflow.net/build/metadata-api/orderbook/orderbook-by-ticker.md): API reference for GET /api/v1/orderbook/{market_ticker} - [Search Events](https://pond.dflow.net/build/metadata-api/search/search.md): API reference for GET /api/v1/search - [Get Series](https://pond.dflow.net/build/metadata-api/series/series.md): API reference for GET /api/v1/series - [Get Series by Ticker](https://pond.dflow.net/build/metadata-api/series/series-by-ticker.md): API reference for GET /api/v1/series/{series_ticker} - [Get Filters by Sports](https://pond.dflow.net/build/metadata-api/sports/filters-by-sports.md): API reference for GET /api/v1/filters_by_sports - [Get Tags by Categories](https://pond.dflow.net/build/metadata-api/tags/tags-by-categories.md): API reference for GET /api/v1/tags_by_categories - [Get Trades](https://pond.dflow.net/build/metadata-api/trades/trades.md): API reference for GET /api/v1/trades - [Get Trades by Mint](https://pond.dflow.net/build/metadata-api/trades/trades-by-mint.md): API reference for GET /api/v1/trades/by-mint/{mint_address} - [Orderbook Channel](https://pond.dflow.net/build/metadata-api/websockets/orderbook.md): Subscribe to real-time orderbook updates for prediction markets - [Websockets Overview](https://pond.dflow.net/build/metadata-api/websockets/overview.md): Stream real-time price, trade, and orderbook updates via WebSocket - [Prices Channel](https://pond.dflow.net/build/metadata-api/websockets/prices.md): Subscribe to real-time bid/ask price updates for prediction markets - [Trades Channel](https://pond.dflow.net/build/metadata-api/websockets/trades.md): Subscribe to real-time trade execution updates - [Transaction Fee Sponsorship](https://pond.dflow.net/build/prediction-markets/fee-sponsorship.md): How to sponsor user transaction fees and prediction market initialization costs - [Prediction Market Lifecycle](https://pond.dflow.net/build/prediction-markets/market-lifecycle.md): How prediction markets progress from creation through settlement and finalization - [Prediction Market Data Model](https://pond.dflow.net/build/prediction-markets/prediction-market-data-model.md): How prediction market data is structured across events, markets, and trades - [Authenticating Requests](https://pond.dflow.net/build/recipes/api-keys.md): How to authenticate requests with DFlow API keys - [Close Outcome Token Accounts](https://pond.dflow.net/build/recipes/prediction-markets/close-outcome-token-accounts.md): How to close empty outcome token accounts to reclaim rent - [Decrease a Position](https://pond.dflow.net/build/recipes/prediction-markets/decrease-position.md): How to decrease a prediction market position - [Discover Prediction Markets](https://pond.dflow.net/build/recipes/prediction-markets/discover-markets.md): How to discover prediction markets and outcome tokens - [Handle Fees](https://pond.dflow.net/build/recipes/prediction-markets/fees-and-settlement.md): How to handle prediction market fees - [Increase a Position](https://pond.dflow.net/build/recipes/prediction-markets/increase-position.md): How to increase a prediction market position - [Monitor Market Lifecycle](https://pond.dflow.net/build/recipes/prediction-markets/monitor-market-lifecycle.md): How to monitor market status changes and redemption availability - [Redeem Outcome Tokens](https://pond.dflow.net/build/recipes/prediction-markets/redeem-outcome-tokens.md): How to redeem determined outcome tokens - [Track User Positions](https://pond.dflow.net/build/recipes/prediction-markets/track-positions.md): How to track user prediction market positions - [From Spot Tokens to Prediction Market Positions](https://pond.dflow.net/build/recipes/prediction-markets/trade-into-position.md): Understanding how trades route from spot tokens to outcome tokens - [Declarative Trade](https://pond.dflow.net/build/recipes/trading/declarative-trade.md): How to execute declarative trades with the DFlow Trading API - [Imperative Trade](https://pond.dflow.net/build/recipes/trading/imperative-trade.md): How to execute imperative trades with the DFlow Trading API - [Implement Platform Fees](https://pond.dflow.net/build/recipes/trading/platform-fees.md): How to implement platform fees with the DFlow Trading API - [Use Priority Fees](https://pond.dflow.net/build/recipes/trading/priority-fees.md): How to set priority fees for Trading API requests - [Trading Tokens](https://pond.dflow.net/build/recipes/trading/trade-tokens.md): How to outcome trade tokens with the DFlow Trade API - [Get Intent Quote](https://pond.dflow.net/build/trading-api/declarative/quote.md): API reference for GET /intent - [Submit Intent Swap](https://pond.dflow.net/build/trading-api/declarative/submit.md): API reference for POST /submit-intent - [Get Quote](https://pond.dflow.net/build/trading-api/imperative/quote.md): API reference for GET /quote - [Create Swap](https://pond.dflow.net/build/trading-api/imperative/swap.md): API reference for POST /swap - [Create Swap Instructions](https://pond.dflow.net/build/trading-api/imperative/swap-instructions.md): API reference for POST /swap-instructions - [Introduction](https://pond.dflow.net/build/trading-api/introduction.md): How to use the Trading API to trade crypto and prediction market outcomes. - [Get Order](https://pond.dflow.net/build/trading-api/order/order.md): API reference for GET /order - [Get Order Status](https://pond.dflow.net/build/trading-api/order/order-status.md): API reference for GET /order-status - [Initialize Prediction Market](https://pond.dflow.net/build/trading-api/prediction-market/prediction-market-init.md): API reference for GET /prediction-market-init - [Get Token List](https://pond.dflow.net/build/trading-api/token/tokens.md): API reference for GET /tokens - [Get Token List with Decimals](https://pond.dflow.net/build/trading-api/token/tokens-with-decimals.md): API reference for GET /tokens-with-decimals - [Get Venue List](https://pond.dflow.net/build/trading-api/venues/venues.md): API reference for GET /venues - [Trading Data Model](https://pond.dflow.net/build/trading/trade-api-data-model.md): How trading data is structured around `/order` requests - [Welcome to DFlow](https://pond.dflow.net/introduction.md): DFlow is a trading protocol that enables traders to exchange value across spot and prediction markets natively on Solana. - [Concurrent Liquidity Programs](https://pond.dflow.net/learn/clp.md): How Concurrent Liquidity Programs enable offchain liquidity - [Declarative Trades](https://pond.dflow.net/learn/declarative-trades.md): How declarative trades work and why they improve execution - [How Trading Works on DFlow](https://pond.dflow.net/learn/how-trading-works.md): How trading works on DFlow - [Imperative Trades](https://pond.dflow.net/learn/imperative-trades.md): How to execute imperative trades with full routing control - [JIT Routing](https://pond.dflow.net/learn/jit-routing.md): How JIT routing updates trade execution onchain - [Liquidity and Venues](https://pond.dflow.net/learn/liquidity-venues.md): How DFlow routes liquidity across venues - [Platform Fees](https://pond.dflow.net/learn/platform-fees.md): How to apply platform fees to trades - [Prediction Market Fees and Rebates](https://pond.dflow.net/learn/prediction-market-fees.md): How prediction market fees and rebates are calculated - [Prediction Markets](https://pond.dflow.net/learn/prediction-markets.md): How prediction markets work on DFlow - [Priority Fees](https://pond.dflow.net/learn/priority-fees.md): How priority fees affect trade execution - [Trading Different Asset Types](https://pond.dflow.net/learn/trading-different-asset-types.md): How to trade different asset types with DFlow - [What is DFlow](https://pond.dflow.net/learn/what-is-dflow.md): Overview of DFlow's trading infrastructure on Solana - [Prediction Market Compliance](https://pond.dflow.net/legal/prediction-market-compliance.md): Regulatory and compliance requirements for Kalshi markets - [Privacy Policy](https://pond.dflow.net/privacy.md) - [Terms of Service](https://pond.dflow.net/terms-of-service.md) - [How to Trade on DFlow](https://pond.dflow.net/trade/how-to-trade.md) - [Introduction](https://pond.dflow.net/trade/introduction.md): Learn how to swap tokens on a decentralized exchange - [What is a DEX?](https://pond.dflow.net/trade/what-is-dex.md) - [What is a Wallet?](https://pond.dflow.net/trade/what-is-wallet.md)