
Python code + Quick-Start PDF
Prediction-Market Python Starter Pack
Read-only scripts for Kalshi and Polymarket US public data.
Five small, read-only Python scripts that pull public market data from Kalshi and Polymarket US. There are no accounts, no API keys, and no trading code. Browse and search markets, print order books, log bid, ask, mid, spread and volume to a CSV on a schedule, get console, CSV or webhook alerts when a price moves or crosses a level, and take a snapshot scan sorted by volume or spread. The pack includes a live self-test (9 checks that passed on December 5, 2026), 11 offline tests, a Quick-Start guide, an endpoint reference, and a clear disclaimer. It is for people who can run Python 3.9 or newer and want a clean starting point for their own analysis.
$29 paid as 29.00 USDC on Base · one-time, yours to keep
Independent project, not affiliated with or endorsed by Kalshi or Polymarket. Public data only. Not financial advice; markets can lose you money. Third-party APIs can change without notice, and the self-test will tell you when they have.
What’s inside
- 01 list/search markets on either platform
- 02 print an order book and save it to CSV
- 03 log prices to CSV every N seconds from a watchlist
- 04 price-move and price-level alerts (console, CSV, optional webhook)
- 05 one-time snapshot scan of busy markets, sorted by volume or spread
- A tiny shared library (HTTP client with retry, parsers for both platforms)
- Live self-test, 11 offline unit tests, and a local end-to-end test
- docs/ENDPOINTS.md: every endpoint used, with notes and links to official docs
The download
Prediction-Market-Python-Starter-Pack.zipcode, tests, docs, examplesQuick-Start-Guide.pdf9 pages (also inside the zip)
Total download: about 0.4 MB (zip). Digital delivery only; nothing is shipped.
Good fit if you…
- Hobby programmers who want market data in a spreadsheet or their own scripts
- Anyone learning how prediction-market order books and prices are structured
- People who want a tested, read-only starting point rather than writing parsers from scratch
Not for…
- Anyone who wants an auto-trader or a strategy. There is no order-placing code.
- People who don't have Python 3.9+ installed and don't want to install it
A look inside


Buy with USDC on Base
1 Send the payment
- Amount
- 29.00 USDC
- Network
- Base (chain ID 8453). Not Ethereum, not Polygon, not Solana.
- Token
- USDC from Circle (native on Base). Contract
0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913 - Send to
0xb57899AB214599b85a96e5a2C010D13859C537dc
- Check that the address starts with 0xb578 and ends with 37dc. Compare the whole address in your wallet before you send.
- The price is the amount that must arrive. If you withdraw from an exchange, add any exchange withdrawal fee so the full 29.00 USDC arrives.
- The Base network fee is paid separately, in a small amount of ETH on Base, from your wallet.
- We will never message you with a different payment address. This page is the only place it’s shown.
Address QR works in any wallet. After scanning, enter 29.00 USDC on Base yourself.
QR with the amount filled in
Some wallets understand this payment-request format (EIP-681) and fill in the token, network and amount. Not all do. Check that your wallet shows USDC, Base, and 29.00 before you confirm.
2 Tell us which payment is yours
After sending, copy the transaction hash (it starts with 0x and is 66 characters long) from your wallet or from basescan.org.
3 Download
Once the payment is confirmed on the Base blockchain, your download link appears here and is emailed to you. The link expires after a limited time; if it does, ask for a fresh one on the contact page.
Preview note: ordering is switched off in this preview. The form checks that your entries are well-formed, but nothing is sent or stored. The verification service is planned as a small Cloudflare Worker that reads the public Base blockchain, confirms a USDC transfer of at least the price to our address, and then releases the files.
Before you buy
Refunds
If the download fails, or a file is the wrong one, damaged, or doesn’t match this page, email hello@sensiblefolio.com within 14 days. We’ll send a working file or refund you. Full details: Refunds & contact.
Is this advice?
No. Independent project, not affiliated with or endorsed by Kalshi or Polymarket. Public data only. Not financial advice; markets can lose you money. Third-party APIs can change without notice, and the self-test will tell you when they have.
What if I paid on the wrong network?
Contact us right away (see Refunds & contact) with the transaction hash. Transfers on the wrong network or in the wrong token may not be recoverable, so we can’t promise a fix.