Brought to you by Turf. Built on Base. Protected by Privy.

Markets foryourpeople.

TypeScript SDK for spinning up parimutuel prediction markets on any question. AI-resolved, white-labeled, settled in USDC on Base.

View docs

Open or creator-controlled access.

Will Marco actually show up to the trip he RSVP'd?No61%Will Jake quit his job by end of Q2?Yes47%Will BTC close above $120k this month?Yes44%Who picks up the tab at the team offsite?Sidd51%Does Taylor drop a new album before summer?No57%Does our fantasy league winner actually collect?No55%Will the Fed cut rates before the reunion trip?No60%Will the team ship v2 before the board meeting?Yes53%Does GPT-5 drop before our product does?Yes71%Will Marco actually show up to the trip he RSVP'd?No61%Will Jake quit his job by end of Q2?Yes47%Will BTC close above $120k this month?Yes44%Who picks up the tab at the team offsite?Sidd51%Does Taylor drop a new album before summer?No57%Does our fantasy league winner actually collect?No55%Will the Fed cut rates before the reunion trip?No60%Will the team ship v2 before the board meeting?Yes53%Does GPT-5 drop before our product does?Yes71%
Who finishes Dry January?No one54%Does our startup hit $1M ARR before Demo Day?Yes58%Who caves and texts first after the argument?Tyler64%Does Sofia finish her half marathon under 2 hours?Yes62%Will the group house survive another roommate?Barely43%First in the friend group to have a kid?Priya & Dev49%Will the product launch hit #1 on Product Hunt?Yes66%Who wins the group chat bracket challenge?Riya38%Does Marcus actually move to Berlin this year?No68%Who lands a job at a top-5 startup next?Aisha42%Who wins the office Oscar pool?Leo46%Who finishes Dry January?No one54%Does our startup hit $1M ARR before Demo Day?Yes58%Who caves and texts first after the argument?Tyler64%Does Sofia finish her half marathon under 2 hours?Yes62%Will the group house survive another roommate?Barely43%First in the friend group to have a kid?Priya & Dev49%Will the product launch hit #1 on Product Hunt?Yes66%Who wins the group chat bracket challenge?Riya38%Does Marcus actually move to Berlin this year?No68%Who lands a job at a top-5 startup next?Aisha42%Who wins the office Oscar pool?Leo46%
Create a market
draft → open
1

Create a market

Set the question, options, and challenge window.

People buy in
open → pooled
2

People buy in

Participants stake USDC on their chosen outcome.

Resolve with evidence
closed → resolved
3

Resolve

Admins or multi-agent AI resolve with attached evidence.

Challenge or finalize
pending finality
4

Challenge or finalize

Participants inspect evidence and can dispute.

Winners redeem
finalized | voided
5

Redeem

Winners withdraw. Majority disputes void and refund.

Base

Built on Base

Settled in USDC on Base. Low fees, fast finality, and a growing onchain economy.

Privy

Embedded wallets by Privy

Invisible wallet UX for every user. Email sign-in, session keys, no browser extensions.

Resolution

Two ways to resolve a market

Pick a trusted human or set of humans, or hand it off to an AI oracle with verifiable evidence sources. All resolution paths produce an evidence artifact that participants can inspect before finality.

Admin Mode

A trusted human resolves the market. Pick who won, confirm, and everyone gets paid.

Will Jake actually quit his job this quarter?

$5.9k pool

Agentic Mode

An AI Oracle researches, verifies evidence from multiple sources, and resolves the market autonomously.

Does the team ship v2 before the board meeting?

$3.2k pool
Yes, shipped61%
Soft launch only27%
Pushed to Q312%

Oracle hints provided

  • github.com/org/repo/releases
  • x.com/founderhandle/status/...
  • producthunt.com/posts/...

Oracle hints

When creating a market, provide hints to guide the AI oracle. A tweet URL, a Strava profile, an API endpoint, a news article. Any verifiable source.

releasegithub.com/org/repo/releases/...ready
tweetx.com/founder/status/...ready
launchproducthunt.com/posts/v2ready

Trust, but verify

Every market has a challenge window. Majority disputes void and refund. No payout before finality.

Configurable challenge windows
Only participants can dispute
Majority dispute voids the market
No payout before finality
Evidence attached to every resolution

Market infrastructure without stitching the stack together yourself

Wallets, fees, disputes, oracles, settlement. Everything out of the box. Build a fantasy league, a friend group bet, or a full prediction market platform. You'll never need another stack.

Wallets on demand
Dispute system
Oracle resolution
SDK + MCP integrations
Built-in fees
On-chain settlement

Build with the UI, the SDK, or your own agents

One API for apps, automations, and agents. Create markets from a prompt, compile evidence, or monitor outcomes programmatically.

TypeScript SDK and React hooks for market creation and lifecycle
Hosted APIs for wallet-aware product flows
MCP integrations for AI agents
Same market primitives for apps, automations, and agent workflows
import { MarketsClient } from "@sdk.markets/sdk";

const client = new MarketsClient({
  environment: "sandbox",
  apiKey: process.env.NEXT_PUBLIC_MARKETS_API_KEY!,
});

const draft = await client.drafts.generate({
  prompt: "Will we ship v2 before July 1?",
  type: "parimutuel",
});

const market = await client.markets.createAndWait({
  draftId: draft.id,
});

console.log(market.marketAddress);

Every opinion deserves a market

Join waitlist to start building with markets sdk

View docs

sdk.markets

Custom prediction markets for groups, communities, and apps.

Developers

DocsSDKAPIMCP

Company

XContact