For testing purposes, Kalshi offers a demo environment with mock funds. For safety, credentials are not shared between this environment and production.
To create an account on demo, sign up here. Then follow these steps to obtain a trading balance.
Demo's API root ishttps://demo-api.kalshi.co/trade-api/v2
.