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.
Fetch Wallet Token Accounts
Fetch SPL token accounts for the wallet and keep only non-zero balances.
Outcome tokens are Token-2022 mints, so query the Token-2022 program.
Fetch Token Accounts
Fetch Token Accounts
Filter for Outcome Mints
Filter the wallet mints down to prediction market outcome tokens using the
Metadata API.
Filter Outcome Mints
Filter Outcome Mints
Fetch Market Details in Batch
Pull market metadata for those outcome mints so you can label YES/NO and
display event and market context.
Fetch Markets Batch
Fetch Markets Batch
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.