The Prophet SDK.
Best odds across five venues, from your code or your agent.
Install.
One package, one key.
1npm i @prophet/sdk
2export PROPHET_KEY=pk_live_…
Best odds.
Every venue quoted at once, the cheapest first.
1import { Prophet } from "@prophet/sdk";
2const prophet = new Prophet({ key: process.env.PROPHET_KEY });
3
4const best = await prophet.bestOdds("fed-cut-dec-2026", {
5 side: "yes", size: 500,
6});
7// best.venue, best.price, best.legs, best.quoteId
200 · live
{
"venue": "kalshi",
"price": 0.614,
"avgPrice": 0.6140,
"legs": 1,
"shares": 814.3,
"latencyMs": 118
}Route.
Fill across the cheapest books, one call.
1const fill = await prophet.route(best.quoteId, {
2 maxSlippage: 0.5, // cents
3});
4// fill.avgPrice, fill.shares, fill.token (ERC-20 on Robinhood Chain)
Stream.
Live odds over WebSocket.
1const ws = prophet.stream(["fed-cut-dec-2026", "house-dem-2026"]);
2ws.on("odds", (o) => console.log(o.market, o.venue, o.price));
MCP.
Give your agent the same router.
1{
2 "mcpServers": {
3 "prophet": { "command": "npx", "args": ["-y", "@prophet/mcp"] }
4 }
5}
