Kalshi sports API
Kalshi sports API for real-time Kalshi prices converted to American, decimal or probability odds and set next to every sportsbook on one event id.
Kalshi is a CFTC-regulated exchange where people trade event contracts: yes/no questions that settle at $1 if the answer is yes and $0 if it's no. Its sports contracts ask things like "will this team win?", and the contract price, quoted in cents, is the market's estimate of the probability. Sportsbook-minded developers need that number translated before it's useful. A Kalshi contract at 63 cents is a -170 favorite, and comparing it with a sportsbook moneyline means getting the conversion, the bid/ask spread and trading costs right. This page covers how PreciseAPI's Kalshi sports API turns contract prices into American, decimal and probability formats, which leagues it covers, and how to compare Kalshi with sportsbooks without fooling yourself.
Does Kalshi have a public API?
Yes, for its own exchange. Kalshi publishes developer documentation for REST, WebSocket and FIX access. Some market data is available without authentication, and trading requires an account. If you only need Kalshi, in Kalshi's own format, the Kalshi API is the place to start.
What it doesn't give you is a Kalshi sports betting odds API in the sportsbook sense. Kalshi data comes as contracts and tickers. It isn't mapped to a league schedule, a team id or a sportsbook market, and it doesn't come with prices from anywhere else. PreciseAPI fills that gap: we collect Kalshi's sports prices, attach them to the same event and outcome ids we use for every sportsbook and exchange, and return them in standard odds formats. PreciseAPI is an independent data provider with no partnership with Kalshi, and this isn't an official Kalshi feed.
How Kalshi contract prices become odds
A yes contract that pays $1 and costs p dollars converts like this:
| Contract price | Implied probability | Decimal odds | American odds |
|---|---|---|---|
| $0.25 | 25% | 4.000 | +300 |
| $0.48 | 48% | 2.083 | +108 |
| $0.63 | 63% | 1.587 | -170 |
| $0.80 | 80% | 1.250 | -400 |
Decimal odds are 1 / p. For American odds, a price under 0.50 becomes +(1 - p) / p x 100, and a price over 0.50 becomes -p / (1 - p) x 100. The implied probability calculator does it instantly, and the guide to odds formats explains why the three formats say the same thing.
Two details matter in practice:
- Bid and ask. To buy a contract you pay the ask, and to sell you hit the bid. A displayed "price" halfway between them isn't something you can trade. PreciseAPI reports each outcome's quoted price with the size available at it, so compare against that, and be wary of any midpoint you see quoted elsewhere.
- Fees. Exchanges charge trading fees instead of building a margin into the line, and Kalshi publishes its own fee schedule. Our prices reflect the market, not your account's costs, so add fees yourself when you compare (see the worked example below).
What Kalshi data is included
Kalshi is a type: "exchange" source in PreciseAPI. The Kalshi sports API covers:
moneyline: game-winner contracts, three-way in soccertotal: over/under contracts on the game total
Each outcome includes liquidity, the size available at the quoted price in USD. Player props aren't part of the Kalshi feed today. Player props in PreciseAPI come from sportsbooks and DFS apps.
Kalshi odds by league
The coverage endpoint lists Kalshi for 13 leagues, including several esports titles:
- NFL: the most active sports contracts on most exchanges, and the best place to compare Kalshi with sportsbook moneylines.
- NCAAF: broad slates. Depth varies a lot between marquee games and the rest.
- NBA: winner and total contracts that move on injury news.
- WNBA: a smaller market where contract prices can lag sportsbook moves.
- MLB: daily volume and pitcher-driven price moves. Compare totals carefully, because a half-run difference changes everything.
- NHL: moneyline-heavy, and close games push prices toward 50 cents.
- Soccer: three outcomes per match, so a "no" on one team covers both a loss and a draw.
- Tennis: match winners with big in-play swings.
- UFC: fight-winner contracts that tighten through fight week.
- League of Legends, CS2, Valorant and Dota 2: esports match winners, where contract exchanges are often among the few venues pricing a match.
See the coverage page for current status.
Comparing Kalshi with sportsbooks
A sportsbook's -110/-110 adds up to 104.8% implied probability, and the extra 4.8% is its built-in vig. On a liquid Kalshi market, the best yes prices on both sides usually add up to just over 100%, and your cost is mainly the spread plus fees. That's why contract exchanges often look sharper than retail books and why they're worth including in line shopping. But the costs are real, and leaving them out produces false discrepancies.
The sharpness comes from the order book. Anyone who thinks a contract is mispriced can post a better bid or take the other side, and the operator isn't setting the number. When a game has real size on both sides, the Kalshi price is a probability estimate from many traders. When the book is thin, it's an estimate from a few, so check liquidity before treating Kalshi odds data as a benchmark. Thin markets also move further on a single trade, and that's noise, not information.
Worked example: fee-adjusted Kalshi price
A team's yes contract on Kalshi shows a bid of $0.61 and an ask of $0.63. The midpoint is $0.62 (about -163), but buying costs $0.63, which is -170 (decimal 1.5873).
Now add trading costs. Purely for illustration, assume all-in fees of one cent per contract. Kalshi's real fees depend on its published schedule, so plug in the current numbers. The effective price becomes $0.64, which is -178 (decimal 1.5625). On 100 contracts the cost is $64 and the payout is $100 if the team wins, a $36 net return in that case.
Compare with two sportsbooks:
| Venue | Price | Decimal | Better than Kalshi? |
|---|---|---|---|
| Kalshi, raw ask | -170 | 1.5873 | n/a |
| Kalshi, with illustrative fee | -178 | 1.5625 | n/a |
| Sportsbook A | -160 | 1.6250 | Yes, in both cases |
| Sportsbook B | -175 | 1.5714 | Only once the fee is counted |
Sportsbook B is the trap. Against the raw ask, Kalshi looks better (1.5873 vs 1.5714). Once you count the fee, the sportsbook's price is longer. Run the same check whenever a comparison includes a contract price: a small gap between an exchange and a sportsbook can disappear once fees are counted. The odds formats guide handles the price conversions by hand. Prices move, and fills aren't certain.
Totals need one more check. A Kalshi over/under only compares with a sportsbook total at the same number. Over 226.5 and over 227.5 are different bets, and a half point can be worth more than the price gap you're looking at. Match on the point field, or use /v1/best-lines, which groups prices by market and line before picking the best one. The same applies to soccer winner markets: compare all three outcomes, because a two-way view of a three-way market will mislead you.
How to use PreciseAPI's Kalshi sports API
The source id is kalshi. This request pulls NBA moneylines and totals from Kalshi and Pinnacle in probability format, which lines up directly with contract prices:
curl -s "https://api.preciseapi.com/v1/odds?league=nba&books=kalshi,pinnacle&markets=moneyline,total&format=probability" \
-H "Authorization: Bearer $PRECISEAPI_KEY"
A Kalshi total in the response:
{
"id": "mkt_3fz8a0kq1wt",
"key": "total",
"period": "full_game",
"line": 226.5,
"outcomes": [
{ "id": "sel_2ve61pc9hoa", "name": "Over", "side": "over", "point": 226.5, "price": 0.5146, "liquidity": 8800 },
{ "id": "sel_0nw4k7tj3ds", "name": "Under", "side": "under", "point": 226.5, "price": 0.5, "liquidity": 7350 }
],
"suspended": false,
"updated_at": "2026-10-14T23:05:52.661Z"
}
In Python, here's a fee-adjusted comparison against every sportsbook pricing the same moneyline:
import os, requests
FEE = 0.01 # illustrative per-contract cost; use your real fee schedule
r = requests.get(
"https://api.preciseapi.com/v1/odds",
params={"league": "nba", "markets": "moneyline", "format": "probability"},
headers={"Authorization": f"Bearer {os.environ['PRECISEAPI_KEY']}"},
)
for event in r.json()["data"]:
books = {b["id"]: b["markets"][0] for b in event["bookmakers"] if b["markets"]}
if "kalshi" not in books:
continue
for i, o in enumerate(books["kalshi"]["outcomes"]):
kalshi_dec = 1 / (o["price"] + FEE)
best_book = max(
((bid, 1 / m["outcomes"][i]["price"]) for bid, m in books.items() if bid != "kalshi"),
key=lambda x: x[1], default=(None, 0),
)
print(o["name"], "kalshi", round(kalshi_dec, 3), "best book", best_book[0], round(best_book[1], 3))
/v1/odds costs 2 credits per call. For line movement, /v1/history with book=kalshi returns timestamped changes on full-game markets. On the Syndicate plan you can stream Kalshi live odds over WebSocket instead of polling (/docs/streaming). If Kalshi stops reporting a market, we mark it suspended and leave it out unless you pass include_suspended=true, so a stale contract price doesn't look like a live discrepancy.
Why not scrape Kalshi?
Since Kalshi has its own API, the question is less about scraping and more about whether to build your own pipeline. If you need Kalshi lines next to the sportsbooks, building it yourself means:
- Mapping. Kalshi's events and tickers have to be matched to the right game, team and line at every other source, for every league, every day.
- Normalization. Contract prices need converting, three-way soccer markets need handling, and totals need lining up by point.
- Maintenance. Upstream schemas change, and your mapping breaks quietly.
- Latency and reliability. Keeping many connections healthy and detecting when a source has gone stale is ongoing work.
- Terms. Scraping web pages instead of using an operator's official interfaces can breach its terms. Respect Kalshi's.
PreciseAPI does that work once for every source, which is what makes it a practical exchange odds API for teams that also need sportsbook data.
Kalshi is a trademark of its owner, used here for identification only. PreciseAPI is not affiliated with or endorsed by Kalshi. Availability of Kalshi's markets varies by jurisdiction.
Frequently asked questions
Does Kalshi have an API?
Kalshi offers an API for its own exchange, with market data and trading. It doesn't return sports odds mapped to sportsbook events or in American or decimal format. PreciseAPI collects Kalshi's prices and normalizes them alongside the sportsbooks and exchanges we cover.
How do I convert a Kalshi price to American odds?
Under 50 cents, American odds are (1 - p) / p x 100 with a plus sign, so 40 cents is +150. Over 50 cents, they're -p / (1 - p) x 100, so 63 cents is -170. PreciseAPI does this for you with format=american.
Do PreciseAPI's Kalshi prices include fees?
No. Prices reflect the market, and trading fees depend on Kalshi's schedule and your account. Add them yourself before comparing with sportsbook odds.
How fast do Kalshi odds update?
The Kalshi sports API refreshes in-play prices in under 500 ms and pre-match prices every 1–2 seconds. The Syndicate plan adds in-play odds and can stream updates over WebSocket.
Which Kalshi markets does PreciseAPI cover?
Game-winner and total contracts across NFL, NCAAF, NBA, WNBA, MLB, NHL, soccer, tennis, UFC and four esports titles.
Is there a free trial?
Yes. The Sandbox plan is free, with 50 credits for the Sandbox chat in your dashboard, where you can ask about Kalshi prices in plain English, and no card required. Your free key spends the same credits on the API; Edge adds 100,000 a month. Paid plans are listed on the pricing page.