docs.basemarket.fun docs

Basemarket Platform Docs

Basemarket is a degen BTC binary prediction market on Base: fully gasless, AI-agent friendly, and synced with Polymarket timing.

Gasless
Fully Gasless

EIP-3009 off-chain signing means users can trade without ETH gas.

AI Friendly
AI Friendly

Simple REST endpoints and typed signing flow for bots and agents.

Built on Base
Built on Base

Settlement is on-chain, transparent, and verifiable through Base infra.

Polymarket timing sync
Polymarket Synced

Round cadence follows the 5-minute market rhythm traders already know.

All pricing and balances are in micro-USDC (6 decimals). YES means BTC closes up; NO means BTC closes down.

How It Works

Each 5-minute round opens with a reference BTC price. Traders buy/sell YES or NO shares in USDC on an orderbook.

  1. Round opens with reference BTC price.
  2. Users place market/limit orders for YES or NO shares.
  3. Round locks shortly before expiry.
  4. Winning outcome resolves on-chain.
  5. Winning shares redeem for 1 USDC each.

Authentication & Signing

Trading uses EIP-3009 `TransferWithAuthorization` signed via EIP-712. No API key is required.

Request signing config
curl https://api.basemarket.fun/api/trade/signing-config

Rate Limits

Public API with no keys. Current limit is 25 requests per 10 seconds per IP + address pair.

Rate limit response
{ "error": "Too many requests. Try again in a few seconds." }