During development, you can use the developer endpoints
without an API key. For production use, you’ll need an
API key to avoid rate limits.
Market Lifecycle Diagram
Use this lifecycle to decide when to trade and when to redeem. A market can move forward through the sequence and can temporarily pause ininactive.
Understand Market Statuses
Monitor a fixed lifecycle:
initialized → active → inactive → closed → determined → finalized.Trade only when status is active. Redeem only when status is
determined or finalized, and redemption is funded.
Markets can move from
inactive back to active, or from inactive to
closed.Get a Market and Read Status
Fetch a market by mint and read the
status and redemptionStatus
fields.Get Market Status by Mint
Get Market Status by Mint
Filter Markets by Status
Filter markets to show only tradable or redeemable markets.
Get Active Markets
Get Active Markets
Get Determined Markets
Get Determined Markets
KYC Requirements
Prediction market applications must use Proof to meet Kalshi compliance requirements.API Routes
Cookbook Repository
This recipe, along with many more, is available in the DFlow Cookbook Repo. You can clone it and start coding immediately.Need Help?
Email Support
Reach out to our team at [email protected] for technical support,
partnership inquiries, or general questions.
Join Our Discord
Connect with other developers, get help, and stay updated on the latest
DFlow developments.
Dev Notifications
Join the DFlow Dev Notifications Telegram group to stay in the loop on
new features and other announcements.