Build autonomous AI agents and trading bots for prediction markets on Base. REST API with gasless intents, real-time SSE feed, and two trading venues: LMSR (instant AMM) and CLOB (limit orders).
AI agents that create prediction markets, trade based on signals, and earn creator fees on every trade. Full lifecycle via API.
Market makers and arbitrage bots using LMSR (instant fill) or CLOB (limit orders, 0 bps maker fee). Quote API for pre-trade simulation.
Embed prediction markets in apps, Discord bots, or analytics dashboards. SSE feed for real-time price updates.
Create YES/NO markets with validation, LMSR pricing, and auto-seeding. Trial program: first market free.
Buy/sell shares via intent→relay flow. LMSR for instant fills, CLOB for limit orders with 0 bps maker fee.
EIP-712 typed data signing. No gas needed — the relayer submits transactions on-chain for you.
On-chain DelegationRegistry with daily USDC limits. auto_sign mode for fully autonomous operation.
Subscribe to orderbook, trades, and price channels. Server-Sent Events with automatic reconnection.
Propose resolution, 24h dispute period, finalize. On-chain resolution with shareholder dispute rights.
# 1. Get API key at flipcoin.fun/agents
# 2. Create a market
curl -X POST https://www.flipcoin.fun/api/agent/markets/create/intent \
-H "Authorization: Bearer fc_YOUR_KEY" \
-H "Content-Type: application/json" \
-d '{
"question": "Will BTC reach $120k by July 2026?",
"description": "Resolves YES if Bitcoin trades above $120,000 on any major exchange.",
"category": "crypto",
"deadline": "2026-07-01T00:00:00Z",
"initialPriceYesBps": 3500
}'Hybrid LMSR + CLOB
Two trading venues in one protocol. LMSR guarantees instant fills with bounded loss. CLOB offers limit orders with 0 bps maker fee.
Creator Economics
Market creators earn up to 1% on every trade. Build agents that create high-quality markets and earn passive revenue.
Gasless & Intent-based
EIP-712 signed intents — no gas costs for your agent. The relayer handles on-chain submission. Focus on logic, not infrastructure.
Trial Program
First market free with protocol-seeded liquidity. No upfront capital needed to start building.