# 5-Minute Bitcoin Prediction Markets on BlockForecast Source: https://docs.blockforecast.io/5-minute-bitcoin-markets Trade BTC, ETH, and SOL up-or-down on rolling 5- and 15-minute markets. Pyth-oracle resolved, USDC on Base, always-on — the fastest crypto prediction product. BlockForecast's 5-minute markets are the fastest prediction product on the platform. The premise is simple: at the start of each round, the current spot price is captured as the anchor; at the end, the market resolves UP if the spot price is at or above that anchor, and DOWN if it's below. Markets are rolling and always-on — when one round closes, the next is already open. ## How a round works At the start of each round, the live spot price for BTC, ETH, or SOL is captured from the **Pyth Hermes price feed** on Base. This becomes the "price to beat" — the anchor for the round. You can buy UP or DOWN shares at the current market price. For 5-minute rounds, the trading window runs for **4 minutes 30 seconds**. For 15-minute rounds, it runs for **14 minutes**. Trading freezes **30 seconds before resolution** on 5-minute rounds (60 seconds for 15-minute rounds). This halt window prevents last-second exploitation where a trader can see the outcome is clearly locked in and dump size into stale quotes. At the resolution moment, the Pyth Hermes feed delivers the canonical spot price. **UP wins if spot ≥ anchor; DOWN wins if spot \< anchor.** Winning shares pay \$1 each. Rounds are pre-created so there's never a gap. As one round resolves, the next is already open and accepting trades. ## Available markets Rolling, always-on. Anchor set from Pyth Hermes BTC/USD feed. Rolling, always-on. Longer window for slightly less noisy price action. Rolling, always-on. ETH/USD from Pyth Hermes. Rolling, always-on. Rolling, always-on. SOL/USD from Pyth Hermes. Rolling, always-on. Additional assets are available on request — Pyth covers 50+ crypto assets. ## Why 5-minute markets are interesting **Tight feedback loop.** Traditional prediction markets run for days, weeks, or months. You wait a long time to find out whether your forecast was right. On 5-minute markets, you know within minutes. This makes the product useful for skill-building: you get dozens of data points per day rather than a handful per month. **Pure price-action trading.** You don't need a long-term thesis on Bitcoin's value. The question is narrower: which way is BTC moving in the next five minutes? This suits technical traders, momentum traders, and anyone who watches charts closely. **Always-on.** Crypto trades 24 hours a day, seven days a week. So do these markets. There's no waiting for a market to open. ## Reading the chart The market page shows a live spot price chart sourced from the Pyth feed. A **horizontal line** marks the anchor price for the current round. A **pulsing dot** tracks the current spot price at the rightmost edge of the chart. The dot and chart color update in real time: * **Green** — current spot is above the anchor (UP is currently winning) * **Red** — current spot is below the anchor (DOWN is currently winning) The color flips instantly as the price crosses the anchor. The chart is informational — it does not predict where the price will be at resolution. ## Trade protections Short-duration markets attract a specific kind of risk: a well-capitalized trader who can observe the spot price ticking clearly toward resolution can dump large size into the market seconds before close, exploiting stale market-maker quotes. BlockForecast layers four defenses against this: The order book closes 30 seconds before resolution on 5-minute rounds, and 60 seconds before resolution on 15-minute rounds. No trades are accepted during this window. The maximum price impact per trade tightens as resolution approaches. Large orders placed close to resolution receive a worse fill rather than moving the price significantly. Per-wallet USDC exposure on a single round steps down as the round nears resolution, which prevents late-stage position-building by well-capitalized accounts. The current schedule is shown on the market page. If your order size exceeds available depth, the system returns a smaller fitting quote rather than failing the order outright. You get a partial fill at the available price rather than an error. ## Fees The standard creator fee is **0.5%** per trade, plus a small protocol fee. As a round approaches resolution, the effective fee ramps up to deter last-second informed flow. This ramp applies only in the window immediately before the halt — the live fee for any round is shown on the market page before you confirm a trade. ## How to place a trade You need USDC on Base. Use the in-app bridge to convert any crypto in one click. See [How to Deposit](/how-to-deposit). Minimum trade is \$1 USDC. Navigate to [Markets](https://blockforecast.io/markets?category=binary) and filter by the binary category, or search for BTC, ETH, or SOL. Check the anchor price (horizontal line on the chart), the current spot price, and the time remaining. Current YES and NO share prices reflect the crowd's directional lean. Click **UP** if you believe the price will be at or above the anchor at resolution. Click **DOWN** if you believe it will be below. Enter your USDC amount and confirm. The round resolves at the snapshot moment. Winning shares pay \$1 each, automatically credited to your wallet. The next round is already open. 5-minute markets are short-duration and highly volatile. A price that looks clearly directional 3 minutes before resolution can reverse in seconds. The market will not always move the way the chart suggests it's heading. Only trade size you're prepared to lose entirely on a given round. The time-decaying position caps are there for a reason — use the early part of the trading window when price impact and exposure limits are most favorable. ## FAQ The Pyth Hermes price feed on Base. The canonical price is the Pyth snapshot at the exact resolution moment. The engine falls through automatically: **Pyth Hermes → CoinGecko → Binance**. If all three sources are unavailable at the resolution moment, the round is voided and all traders are refunded in full. Yes — the CLOB (central limit order book) phase of trading accepts resting limit orders that fill against incoming market orders. Rounds are pre-created so there's no gap between them. Before the next round opens, the timer shows "Starts in MM:SS". Once the round is live, it flips to a countdown to the halt time. \$1 USDC. # Apply for Creator Access on BlockForecast Source: https://docs.blockforecast.io/creators/apply Submit your creator application at blockforecast.io/apply. Reviewed in under 24 hours. Learn what the team looks for and how to write a strong submission. The creator application is a quality gate, not a gatekeeper. BlockForecast reviews every application to make sure the platform stays free of ambiguous, low-effort, or unresolvable markets — but the bar is reasonable. If you have a specific topic area, can write clear binary questions, and have a plan to bring traders to your markets, you'll get approved. The review typically completes in under 24 hours. There's no automatic email or DM when a decision is made. **Check your status at [/create](https://blockforecast.io/create) any time** — the page shows your wallet's current state (`pending`, `approved`, `rejected`, or `suspended`) plus any rejection reason recorded by the reviewer. The status is also queryable programmatically at `GET /api/v2/creator/status?address=0x...` if you want to poll from a script. Creator access is required before you can publish any market on BlockForecast. You cannot reach the market creation form at `/create` without approved creator status. ## What BlockForecast looks for Approvals are based on four things: 1. **Question quality.** Your example markets should be specific, time-bounded, and answerable from a public source. "Will Arsenal beat Chelsea on 5 May?" is good. "Will Arsenal do well this season?" is not. 2. **Resolvability.** Every market needs an authoritative source the AI oracle can read at resolution time — a sports API, CoinGecko, Pyth, AP News, an official election body. If the answer lives only in a private or ambiguous place, the market won't pass. 3. **No insider information.** Markets must be questions any member of the public could answer from publicly available sources at resolution time. Markets that give an unfair edge to someone with insider access are rejected. 4. **Distribution intent.** A creator who actively promotes their markets generates more volume. You don't need a huge audience, but having some plan — a newsletter, a Discord, a Farcaster community, a Twitter following — helps both your approval odds and your earnings. ## The application form The form at [blockforecast.io/apply](https://blockforecast.io/apply) asks for five things: * **Display name and X handle** — Discord and Farcaster are optional but helpful. * **Topic areas** — pick up to five categories you'd create markets in (e.g., "Premier League, La Liga, MLS football"). * **Two example markets** — full question text, time-bounded, written exactly as you'd publish them. * **Distribution plan** — how you'll bring traders to your markets: audience size, platforms, community. * **Short paragraph** — 50–600 characters on why you want to create on BlockForecast. The example markets field carries the most weight in the review. Write them exactly as you'd publish them — full question text, specific resolution date. Vague examples result in slower reviews and lower approval odds. ## How to apply, step by step Go to [blockforecast.io/apply](https://blockforecast.io/apply) and sign in with the wallet you intend to use for creating markets. BlockForecast uses Privy — you can sign in with Google, Apple, email, or an existing Web3 wallet. Use the wallet you want your creator fees paid to. Enter your display name and X handle. Add Discord or Farcaster handles if you have them. Select up to five categories. Be specific: "Premier League and La Liga football" is more credible than "sports." The team looks for applicants with genuine expertise in their chosen domains. Write two markets you'd actually launch in week one. Use the format: "Will \[subject] \[verb] by \[specific date/time]?" Include a resolution date and make sure the answer would be available from a public source. Treat this like a live submission. Explain where your traders will come from. This doesn't need to be large — a 500-person Discord or a niche Farcaster channel counts. The team wants to see that you've thought about bringing volume to your markets. Submit the form. The applicant page will switch to "Application received." Reviews typically complete in under 24 hours — often faster during business hours. To find out if you've been approved, **check [/create](https://blockforecast.io/create)** — your wallet's status is shown there. If you're still in `pending` after 48 hours, email [support@blockforecast.io](mailto:support@blockforecast.io). ## What happens after you submit Once your application is under review, the team checks your example markets against the resolvability and quality criteria. Most decisions land in under 24 hours. **There's no outbound notification — check your status at [/create](https://blockforecast.io/create) any time.** **If approved:** your wallet is upgraded to creator status immediately, and the next time you load `/create` you'll see the market-creation wizard. Any draft you started before applying is preserved so you can pick up where you left off. **If not approved:** `/create` shows the rejection reason recorded by the reviewer plus a "Reapply" button. Common reasons are ambiguous example markets or no clear distribution plan — both fixable with a revised submission. The reapply form pre-fills with your previous answers. ## What to do while you wait * **Browse active markets** on the platform to get a feel for question style and resolution criteria. * **Study the [create-a-market guide](/creators/create-a-market)** so you're ready to launch immediately after approval. * **Draft your first 5–10 markets** in a text file. Having a queue of questions ready means you can launch your portfolio on day one. No. Creator access is tied to the wallet you sign in with at application time. If you want to create markets from a different wallet, you'll need to submit a new application with that wallet. No. The application is free. Creating a market via the website is free for approved creators (gas only, cents on Base). Creating via the [x402 Agent API](/developers/x402-overview) costs \$1 USDC per market — paid by the agent wallet, non-refundable on unapproved wallets. Yes. Open [/create](https://blockforecast.io/create) — if your wallet is in `rejected` state the page shows the recorded reason and a "Reapply" button. Address the feedback and resubmit. Most applicants who reapply with stronger example markets and a clearer distribution plan are approved on the second attempt. Visit [/create](https://blockforecast.io/create). The page shows your wallet's current state (`pending`, `approved`, `rejected`, or `suspended`). When you're approved, the market-creation wizard appears immediately. There's no automatic email or DM — checking the page is the canonical signal. # How to Create a Prediction Market on BlockForecast Source: https://docs.blockforecast.io/creators/create-a-market Step-by-step guide to launching a prediction market after creator approval. Covers the creation form, writing resolution criteria, and what topics perform best. Once you have creator access, publishing a market takes under two minutes. You write a question in plain English, the AI rewrites it for clarity and generates resolution criteria, you confirm or edit, and the market is live. The LSMR automated market maker provides instant liquidity from the moment you launch — you don't need to find a counter-party. Every trade on your market earns you 0.5% in real time for as long as the market is open. You must have approved creator access before you can reach the market creation form. If you haven't applied yet, start at [Apply for creator access](/creators/apply). ## What makes a good market Before opening the form, it's worth knowing what the AI quality gate looks for. A strong market has four properties: * **Specific.** "Will Arsenal beat Chelsea on 5 May at 20:00 UTC?" not "Will Arsenal do well?" * **Time-bounded.** An explicit resolution moment — not "this year" or "soon." * **Source-citable.** There must be a public, authoritative source the oracle can read at resolution — a sports API, CoinGecko, Pyth, AP News, an official election body. * **Binary or small-N outcome.** Yes/no, or a fixed set of named outcomes (A wins / Draw / B wins). Markets that fail one or more of these properties get flagged by the AI with a suggested rewrite. The same criteria that get markets approved also drive trading volume — clear, specific markets attract more confident traders. ## Step-by-step: creating a market Sign in and navigate to [/create](https://blockforecast.io/create). The form is only visible to accounts with approved creator status. Type the question in the **Title** field in plain English. Keep it under 60 characters if possible — the question appears prominently on market cards and in share previews, so shorter is better. Templates that work well: * `Will [subject] [verb] by [date/time]?` * `Will [price/stat] be above [threshold] at [time]?` * `Who will win [event]: [A] / [B] / [C]?` The AI will rewrite long or ambiguous questions automatically, but starting clean speeds up the process and gives you more control over the final wording. The **Description** field is optional but recommended. Use it to add context that doesn't fit in the title: which competition, which exchange's price feed, which official source will be used, or any clarifying scope. A good description reduces trader confusion and support requests. The AI proposes: * The authoritative sources it will consult at resolution * Tie-breaker rules (e.g., what happens if a match is postponed) * Edge case handling (e.g., what happens if an exchange goes down at the resolution moment) Read these carefully. **Resolution criteria are immutable once trading starts** — that's a fairness commitment to traders. You can edit them before confirming, but not after. If the proposed criteria don't match your intent, rewrite them now. Pick the exact moment when the market should resolve. Match it to the actual event: * **Sports:** kickoff time. Trading closes at kickoff; the market resolves a few minutes after the final whistle. * **Crypto prices:** a specific UTC timestamp. The Pyth or CoinGecko snapshot at that moment is the answer. * **Politics / news:** the event itself plus a small buffer for sources to publish (typically 24–48 hours). * **Long-running questions:** the deadline by which the answer must be known. Select the category that best matches your topic. Categories affect how the market is surfaced in browse and search views. Available categories include crypto, sports, politics, tech, culture, and entertainment. Review everything — title, description, resolution criteria, resolution date, category. When you're satisfied, confirm. The market goes live immediately and is tradeable from that moment. ## Topic categories and what performs well Different topics draw different trader audiences. Here's what tends to generate strong volume by category: Price prediction markets are the highest-volume category on BlockForecast. BTC and ETH dominate, but altcoin markets — especially around token launches, protocol upgrades, or listing events — often outperform on a per-market basis because competition from other creators is lower. Pyth and CoinGecko provide real-time oracle feeds for resolution. The oracle reads sports APIs, which means you can create markets on virtually any match in any covered league. The highest-volume sports markets are typically major football (soccer) fixtures — Premier League, Champions League, La Liga — but niche leagues (Nigerian Premier League, Argentinian Primera División, esports tournaments) are underserved and often yield higher creator returns relative to the effort to create them. Election outcomes, official appointments, legislative votes, and international agreements. These markets attract engaged, high-conviction traders. Resolution requires a public official source — election authority results, official government announcements, or reputable news wires. Token launches, mainnet launches, product releases, IPOs, and DAO votes. These work best when the resolution event is specific — "Will \[project] launch mainnet by \[date]?" rather than "Will \[project] succeed?" Awards (Grammys, Oscars, BAFTAs), chart positions, box office rankings, album releases. The oracle resolves these against official public sources — Billboard, Academy, box office databases. Lower average volume per market, but strong engagement from creator audiences with a following in those areas. ## Writing clear resolution criteria Resolution criteria are the most important thing you write. Traders decide how much to trade based on how confident they are in the resolution — ambiguous criteria suppress volume. Write resolution criteria as if explaining them to someone who disagrees with you about the outcome. If the criteria leave room for argument, rewrite them. **Good resolution criteria:** * "Resolves YES if the official final score published by the Premier League at [premierleague.com/results](https://www.premierleague.com/results) shows Arsenal as the winner of this fixture. Resolves NO otherwise, including draws." * "Resolves YES if the BTC/USD price on CoinGecko at exactly 2026-12-31 23:59:59 UTC is at or above \$100,000. Resolves NO if it is below \$100,000." **Weak resolution criteria:** * "Resolves YES if Arsenal wins." (Which source? What counts as a win in extra time?) * "Resolves YES if Bitcoin is doing well by year end." (No threshold, no source, no timestamp.) Specify: the source, the exact timestamp or trigger event, how ties or edge cases are handled, and what "NO" means explicitly. ## Common rejection reasons The AI quality gate rejects markets that fail these checks. A rejection is not permanent — fix the issue and resubmit. * **Ambiguous wording** — "Did the team perform well?" has no objective answer. * **No clear source** — "Will my friend get the job?" can't be resolved from public data. * **Insider information risk** — markets that trade well only if you have non-public information are rejected outright. * **Person-specific private life** — markets about a named individual's personal choices or private events. * **Already-known outcome** — the answer is already public at creation time. * **No resolution moment** — "Will X eventually happen?" with no deadline. # How Creator Fees Work: Earn 0.5% on Every Trade Source: https://docs.blockforecast.io/creators/earn-fees BlockForecast pays creators 0.5% of every trade in real time. Learn how the fee is calculated, when you get paid, and strategies to maximize your earnings. Every time a trader buys or sells a position on a market you created, **0.5% of that trade is credited to your on-platform creator balance** in real time. There's no batching, no review process for the credit itself, and no vesting schedule — the moment a trade settles, the fee shows up in your balance. If you never log in again after launching a market, fees keep accruing in that balance until the market resolves. When you withdraw your balance to your wallet, the platform deducts a **30% withdrawal fee** (the platform cut on creator earnings). The remaining 70% is sent to your wallet as USDC on Base. ## How the fee is calculated The creator fee is 0.5% of each trade's notional value, charged at trade entry. It is separate from any other protocol fee — traders see the total fee at trade time. The 0.5% creator portion is locked at market creation and won't change if BlockForecast later adjusts its protocol fee. | Market lifetime volume | Gross fee (0.5%) | After 30% platform cut at withdrawal | Net to your wallet | | ---------------------- | ---------------- | ------------------------------------ | ------------------ | | \$1,000 | \$5 | −\$1.50 | **\$3.50** | | \$10,000 | \$50 | −\$15 | **\$35** | | \$50,000 | \$250 | −\$75 | **\$175** | | \$100,000 | \$500 | −\$150 | **\$350** | | \$500,000 | \$2,500 | −\$750 | **\$1,750** | | \$1,000,000 | \$5,000 | −\$1,500 | **\$3,500** | A single high-volume market can be meaningful, but most creators build earnings across a portfolio. Thirty markets each doing \$20,000 generate \$3,000 gross / **\$2,100 net** — the same as one \$600,000 market, but with much lower variance. Creator fees are only paid on resolved trade volume. If a market is voided (for example, because the resolution event was cancelled with no outcome), fees are not paid for trades on that market. ## When fees are paid (and the withdrawal mechanics) Fees are credited to your on-platform creator balance in real time on each trade. To move them to your own wallet, use the withdrawal flow on your creator dashboard. * **Minimum withdrawal:** \$10 USD (gross). If your balance is below \$10 the withdrawal endpoint returns an error and tells you the current balance. * **Platform cut at withdrawal:** 30% — deducted from the gross amount; the remaining 70% goes to your wallet as USDC on Base. * **Network gas:** typically a few cents on Base, paid by the engine signer. * **No vesting, no review queue.** As long as your balance ≥ \$10 you can withdraw at any time. ## Where to view your earnings Your creator dashboard at `/creator-dashboard` shows: * **Total lifetime earnings** across all markets * **Per-market breakdown** — volume, number of trades, fee income, and resolution status for each market you've created * **Withdrawal history** — a record of every time you've transferred earnings to your wallet * **Trader count** — how many unique addresses have traded on each market The leaderboard at `/leaderboard` also surfaces top creators by volume, which provides additional platform visibility for high-performing creators. ## How to maximize your creator earnings ### Cover topics with built-in audiences The highest-earning markets are ones where traders arrive without the creator needing to recruit them. Major sports fixtures, BTC/ETH price milestones, and US election events have pre-existing trader interest. But niche markets — where you're the only creator covering a specific league or topic — can outperform on creator yield because you face no competition and you're the go-to source for that audience. ### Launch markets well before the event A sports market launched five days before kickoff captures the full pre-match trading curve. The same market launched on game day captures only a fraction of the potential volume. For crypto markets, give traders enough time to form a view and build a position. For recurring events — weekly fixtures, monthly price snapshots, quarterly earnings — set up a regular publishing schedule. Traders who trade your first market will return if they know you publish consistently. ### Distribute your markets actively Platform discovery helps, but creators who share market URLs directly earn significantly more than those who rely solely on browse traffic. Share to X, Discord, Farcaster, newsletters, or community channels where your audience is. The link to any market is shareable directly — there's no friction for a new user to arrive at your market and place a trade. ### Build a portfolio, not a one-shot One viral market is unpredictable. A portfolio of 20–50 well-chosen markets in your domain is a reliable income stream. Top creators treat this like a content schedule: a set number of new markets per week, covering upcoming events in their topic areas, maintained consistently. ### Write markets that attract confident traders Traders place larger positions when resolution criteria are unambiguous. A clear, specific market with tight criteria draws higher average trade sizes than a vague market with the same topic. Time spent on resolution criteria pays off in volume. See [Create a market](/creators/create-a-market) for guidance on writing strong criteria. ## FAQ The 0.5% creator fee is part of the total trading fee that traders see at trade time. It does not reduce your winning payout if you also trade on your own market — it is paid at trade entry, not at resolution. Creator fees are locked at 0.5% at market creation. Protocol fee changes apply only to new markets created after the change. Your existing markets continue to pay you 0.5% for their entire lifetime. Yes. There is no restriction on creators trading on their own markets. However, creating markets based on insider information you hold is prohibited and will result in account termination. Go to your creator dashboard and use the withdrawal flow to transfer your balance to USDC on Base. The minimum withdrawal is \$10 (gross). At withdrawal, the platform deducts a 30% cut and sends the remaining 70% to your wallet — for example, withdrawing a \$250 balance nets you \$175. No vesting, no waiting period, no review queue. Gas on Base is usually under a cent and is paid by the engine signer. The 0.5% creator fee covers your share of every trade. The 30% cut at withdrawal funds platform operations — oracle resolution, infrastructure, settlement, and ongoing development. Your net share (0.35% effective per trade) is still meaningfully above the prediction-market norm, where creators are typically paid nothing. The LSMR automated market maker provides initial liquidity but does not generate creator fees — only trades by external users do. As user volume grows, the LSMR's share of activity decreases relative to organic trading. # Creator Program: Earn Fees on Every Prediction Market Trade Source: https://docs.blockforecast.io/creators/overview Approved creators on BlockForecast can launch their own prediction markets on any topic and earn 0.5% of every trade — credited in real time, withdrawable to your wallet on Base. BlockForecast runs an open creator program that lets approved users publish prediction markets on any topic and earn a fee on every trade those markets generate. Once you're approved, you can launch markets in under two minutes and start earning immediately. There are no caps on how many markets you can create, no vesting schedules, and no approval required for each individual market after your initial access is granted. ## How it works Every time someone places a trade on a market you created, **0.5% of that trade is credited to your on-platform creator balance** in real time. The fee is locked in at market creation — it doesn't change if the platform's protocol fee structure changes later. When you withdraw to your wallet, the platform deducts a 30% withdrawal cut and sends the remaining 70% as USDC on Base. So a market that does \$50,000 in lifetime volume generates \$250 in gross fees and **\$175 net to your wallet**. [Full mechanics →](/creators/earn-fees) The LSMR automated market maker provides instant liquidity from the moment your market is live, so you don't need to recruit counter-traders. Your job is to write good markets and point an audience at them. ## Who the creator program is for You have a price thesis, a time horizon, and an audience on X or Farcaster that follows your analysis. Turn your calls into tradeable markets. You follow a league closely enough to write clean matchup questions. Niche leagues — regional football, esports, MMA — are underserved and often outperform mainstream fixtures in creator yield. Your audience trusts your judgment. Markets you create become a new engagement layer — followers trade alongside your predictions instead of just reading them. Politics, tech launches, culture, awards, regional events. If you know a space well enough to write a resolvable question, there's a market for it. ## Benefits of creator access * **0.5% fee on every trade** — credited in real time, withdraw anytime once balance ≥ \$10 (30% platform cut at withdrawal; net 70% to your wallet) * **No limit on markets** — launch as many as you want across any covered topic category * **Creator dashboard** — per-market volume, earnings history, and trader analytics * **Creator profile page** — traders can follow your profile and discover your markets * **Featured creator slots** — high-volume creators get additional platform distribution Creator access is required before you can publish a market. You do not need to reapply for each new market — one approval covers all your future markets. ## Get started Submit your application and get a decision within 24 hours. Step-by-step walkthrough of the market creation flow, post-approval. # API Authentication: Wallet Signatures and API Keys Source: https://docs.blockforecast.io/developers/authentication Authenticate with the BlockForecast API. Issue, regenerate, and revoke keys via a nonce-bound wallet signature flow. No accounts, no OAuth — your wallet is your identity. BlockForecast uses a wallet-signature authentication model: you prove ownership of an EVM address by signing a server-issued challenge, and the API returns a long-lived key tied to that address. Every subsequent request passes this key in the `X-API-Key` header. There is no username/password and no OAuth flow. **Easiest path:** sign in at [blockforecast.io/settings/api-keys](https://blockforecast.io/settings/api-keys) and tap **Generate key**. Privy pops the wallet signature, the key is shown once, you copy and store it. Use the programmatic flow below only if you're issuing keys from CI / a server / a script. ## Issue a key (programmatic flow) Three steps: request a challenge, sign the exact message it returns, post both back. Each nonce is single-use and bound to your wallet + the action (`issue`, `revoke`, `regenerate`), so an intercepted signature can't be replayed for any other operation. `POST /api/v2/auth/challenge` returns a single-use nonce + the exact message your wallet must sign. ```bash curl theme={null} curl -X POST https://blockforecast.io/api/v2/auth/challenge \ -H "Content-Type: application/json" \ -d '{ "address": "0xYourWalletAddress", "action": "issue" }' ``` ```python Python theme={null} import requests chal = requests.post( "https://blockforecast.io/api/v2/auth/challenge", json={"address": address, "action": "issue"}, ).json()["data"] nonce, message = chal["nonce"], chal["message"] ``` ```typescript JavaScript / TypeScript theme={null} const chal = await fetch("https://blockforecast.io/api/v2/auth/challenge", { method: "POST", headers: { "Content-Type": "application/json" }, body: JSON.stringify({ address, action: "issue" }), }).then(r => r.json()); const { nonce, message } = chal.data; ``` Response shape: ```json theme={null} { "success": true, "data": { "nonce": "<48-hex-chars>", "message": "BlockForecast API Key\nAction: issue\nAddress: 0x...\nNonce: \nTimestamp: 1777408738", "expiresAt": "2026-04-28T20:43:58.000Z" } } ``` The challenge expires in 5 minutes. The message format includes the action and your address so a signature for `issue` can't be replayed for `revoke` or `regenerate`. Use EIP-191 personal sign (`personal_sign`) with the wallet whose address you sent in step 1. Don't construct your own message — sign the one the server returned verbatim. ```python Python (web3.py) theme={null} from eth_account import Account from eth_account.messages import encode_defunct signed = Account.sign_message(encode_defunct(text=message), private_key=PRIVATE_KEY) signature = signed.signature.hex() ``` ```typescript JavaScript / TypeScript (viem) theme={null} import { privateKeyToAccount } from "viem/accounts"; const account = privateKeyToAccount(PRIVATE_KEY as `0x${string}`); const signature = await account.signMessage({ message }); ``` ```typescript Browser (MetaMask / Privy) theme={null} const signature = await wallet.signMessage({ message }); // or via raw EIP-1193: // const signature = await provider.request({ // method: "personal_sign", params: [message, address], // }); ``` `POST /api/v2/auth/token` with the address, signature, the message, the nonce, and an optional label. ```bash curl theme={null} curl -X POST https://blockforecast.io/api/v2/auth/token \ -H "Content-Type: application/json" \ -d "{ \"address\": \"$ADDRESS\", \"message\": \"$MESSAGE\", \"signature\": \"$SIGNATURE\", \"nonce\": \"$NONCE\", \"label\": \"prod-bot\" }" ``` ```python Python theme={null} resp = requests.post( "https://blockforecast.io/api/v2/auth/token", json={ "address": address, "message": message, "signature": signature, "nonce": nonce, "label": "prod-bot", }, ).json() api_key = resp["data"]["apiKey"] ``` ```typescript JavaScript / TypeScript theme={null} const resp = await fetch("https://blockforecast.io/api/v2/auth/token", { method: "POST", headers: { "Content-Type": "application/json" }, body: JSON.stringify({ address, message, signature, nonce, label: "prod-bot" }), }).then(r => r.json()); const apiKey = resp.data.apiKey; ``` Response (the only time the raw `apiKey` is shown): ```json theme={null} { "success": true, "data": { "id": 7, "apiKey": "bf_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx", "prefix": "bf_xxxxxxxx...", "label": "prod-bot", "rateLimit": 60, "createdAt": "2026-04-28T20:43:00.000Z", "note": "Store this key securely. It cannot be retrieved again." } } ``` The server only stores the SHA-256 hash of the key. Even with a database leak, the raw key cannot be reconstructed. ## Use your key Pass it in the `X-API-Key` header on every request to a `/api/v2/public/*` endpoint. ```bash curl theme={null} curl https://blockforecast.io/api/v2/public/markets \ -H "X-API-Key: bf_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" ``` ```python Python theme={null} import os, requests resp = requests.get( "https://blockforecast.io/api/v2/public/markets", headers={"X-API-Key": os.environ["BLOCKFORECAST_API_KEY"]}, ) ``` ```typescript JavaScript / TypeScript theme={null} const resp = await fetch("https://blockforecast.io/api/v2/public/markets", { headers: { "X-API-Key": process.env.BLOCKFORECAST_API_KEY! }, }); ``` ## List your active keys Returns prefixes (not raw keys), labels, rate limit, scopes, created/last-used timestamps. No auth required — a key's prefix isn't a secret. Used by the [`/settings/api-keys`](https://blockforecast.io/settings/api-keys) page. ```bash theme={null} curl "https://blockforecast.io/api/v2/auth/keys?address=0xYourWalletAddress" ``` ## Revoke a key Suspected leak? Revoke instantly. The action is wallet-signed (same nonce flow with `action: "revoke"` and the key's `id`). ```bash theme={null} # 1. Challenge curl -X POST https://blockforecast.io/api/v2/auth/challenge \ -H "Content-Type: application/json" \ -d '{ "address": "0x...", "action": "revoke", "keyId": 7 }' # 2. Sign the returned message, then: curl -X POST https://blockforecast.io/api/v2/auth/keys/7/revoke \ -H "Content-Type: application/json" \ -d '{ "address": "0x...", "message": "...", "signature": "0x...", "nonce": "..." }' ``` The key is invalidated synchronously — any request using it after this point returns `401`. ## Regenerate a key (atomic rotate) Same scopes + rate limit, new key value. Useful when you want to rotate without losing your "key slot" or having to update label references downstream. ```bash theme={null} # 1. Challenge with action: "regenerate" curl -X POST https://blockforecast.io/api/v2/auth/challenge \ -H "Content-Type: application/json" \ -d '{ "address": "0x...", "action": "regenerate", "keyId": 7 }' # 2. Sign + post — the server atomically revokes the old key and issues a new one curl -X POST https://blockforecast.io/api/v2/auth/keys/7/regenerate \ -H "Content-Type: application/json" \ -d '{ "address": "0x...", "message": "...", "signature": "0x...", "nonce": "..." }' ``` The response shape matches `POST /auth/token` — the new key is shown once. ## Caps * **5 active keys per wallet.** Revoke or regenerate to free a slot. * **Default 60 req/min per key.** Higher quotas on request — see [Rate Limits](/developers/rate-limits). * Persistent failed-auth attempts from a single IP are throttled at the edge. ## Error responses | HTTP | Body `error` field | Meaning | | ----------------------- | --------------------------------------------------------------------- | ---------------------------------------------------------------- | | `400 Bad Request` | `address, signature, message, and nonce are required` | Missing required field on `/auth/token` etc. | | `400 Bad Request` | `Nonce invalid, expired, or already used. Request a fresh challenge.` | Replay attempt or stale nonce — restart from `/auth/challenge`. | | `400 Bad Request` | `Maximum 5 active API keys per wallet…` | Revoke or regenerate to free a slot. | | `401 Unauthorized` | `Invalid or missing API key.` | Header missing, malformed, or key has been revoked. | | `401 Unauthorized` | `Invalid signature` | Signature doesn't verify against the recovered address. | | `401 Unauthorized` | `Signature does not match address` | Recovered signer is a different wallet. | | `403 Forbidden` | `This API key lacks required scope: ` | Key is valid but lacks permission for the endpoint. | | `404 Not Found` | `Key not found or not owned by this wallet` | Bad `keyId`, or the wallet you signed with doesn't own that key. | | `429 Too Many Requests` | `Rate limit exceeded. Max 60 requests per minute.` | Wait per the `Retry-After` header. | | `429 Too Many Requests` | `Too many failed authentication attempts. Try again later.` | IP-level brute-force throttle. | All success responses are `{ "success": true, "data": {...} }`; errors are `{ "success": false, "error": "" }`. ## Security best practices Never expose `bf_…` keys in client-side JavaScript, public repos, or build logs. Anyone with the key can trade and read account data on behalf of the wallet that issued it. * Store in your secrets manager (AWS Secrets Manager, Doppler, 1Password, env-file mounted at runtime). Never commit. * Use one key per environment (`prod-bot`, `staging-bot`, `local-dev`) — the label keeps you sane and revoke is single-key, not single-wallet. * Rotate via [`/keys/:id/regenerate`](#regenerate-a-key-atomic-rotate) on a schedule or after any suspected exposure. Old key dies the moment the new one is shown. * For server-to-server integrations, give each agent its own dedicated wallet so a leak doesn't expose your trading wallet's positions. In CI / serverless where you can't interactively sign, generate the key once from a local wallet (or via the `/settings/api-keys` UI) and inject the resulting `bf_…` value as a build secret. The key is what production uses; the signing wallet only needs to be online during issuance. # Claude Code Skill — /bf-create-market Source: https://docs.blockforecast.io/developers/claude-skill Install the bf-create-market skill in Claude Code and create BlockForecast prediction markets with one slash command. Wraps the full x402 + creator-fee flow — no glue code. The **`bf-create-market`** Claude Code skill is the simplest way to launch BlockForecast markets from an AI agent. Install once, run a slash command, the skill handles the rest: derives your wallet from a private key, checks creator approval, signs the \$1 USDC payment via x402 on Base, posts the market, and returns the URL. Creator-fee earnings (0.5% of every trade) flow back to your wallet automatically. If you're not using Claude Code, see the manual [x402 Quickstart](/developers/x402-create-market) — same endpoint, you write the glue code. ## Install In a Claude Code session: ```bash theme={null} /plugin marketplace add gr8estman/blockforecast-skills /plugin install bf-create-market@gr8estman ``` The skill is open source — source on GitHub: [gr8estman/blockforecast-skills](https://github.com/gr8estman/blockforecast-skills). ## One-time setup Any tooling — `viem`, MetaMask, Coinbase, hardware wallet. The skill needs the **private key** of the wallet your agent will create markets from. ```js theme={null} import { generatePrivateKey, privateKeyToAccount } from 'viem/accounts'; const key = generatePrivateKey(); console.log('address:', privateKeyToAccount(key).address); console.log('key: ', key); ``` Save the key in your secrets manager (1Password, Doppler, AWS Secrets Manager, env file in your secrets store) — this is plain-text private-key custody, treat it accordingly. Send \~\$5 USDC (Base mainnet) to the agent address. Bridge from Ethereum mainnet via the [official Base bridge](https://bridge.base.org), or off-ramp directly from Coinbase to Base. Each market creation costs **\$1 USDC** plus a few cents of gas. Visit [blockforecast.io/apply](https://blockforecast.io/apply) and sign in with the same wallet (use "Connect wallet" → External wallet). Submit the application. Approval typically lands in under 24 hours — there's no outbound notification, so check [/create](https://blockforecast.io/create) to see your status. The skill **will not call the paid endpoint** until your wallet shows `status: approved`. The \$1 x402 fee is non-refundable on unapproved wallets, so apply first. ```bash theme={null} export BF_AGENT_KEY="0x" ``` Add it to your shell rc, your secrets store, or whatever launches your Claude Code session. ## Usage ``` /bf-create-market "Will the Fed cut rates in May 2026?" 2026-05-31 ``` The skill will: 1. Check `BF_AGENT_KEY` is set 2. Verify the wallet is approved 3. Show you a confirmation summary 4. **Wait for your "yes"** before spending USDC 5. POST to BlockForecast with x402 payment 6. Return the live market URL ### Dry run To verify your setup without spending USDC: ```bash theme={null} DRY_RUN=1 /bf-create-market "Will X happen by Y?" 2026-12-31 ``` The skill runs all preflight checks and prints what it *would* send, then exits. ## Inputs | Argument | Required | Format | Notes | | ------------- | -------- | ------------------------------------------------------------------------------------- | --------------------- | | `question` | yes | string ≥10 chars | Binary, ends with `?` | | `resolveDate` | yes | `YYYY-MM-DD` | Must be in the future | | `category` | no | one of `crypto`, `politics`, `sports`, `culture`, `science`, `world`, `ai`, `esports` | Default: `crypto` | Behind the scenes the skill `POST`s to `/api/v2/x402/markets` — the [Create Market via x402](/developers/x402-create-market) page documents the underlying payload and response. ## Costs | Action | Cost | | ------------------------------- | ------------------------------------------------------ | | Apply for creator access | Free | | Create one market via the skill | \$1 USDC + \~\$0.001 gas | | Earn from trades on your market | 0.5% of every trade — paid to your wallet in real time | | Withdraw earnings | Gas only | A market doing \$50k of lifetime volume nets the creator \$250. Most active creators run a portfolio of 30+ markets. ## Errors and what to do | Skill error | Meaning | | ---------------------- | ---------------------------------------------------------------------------------- | | `missing_key` | Run `export BF_AGENT_KEY="0x..."` | | `bad_key` | Key must be 32 bytes hex with optional `0x` prefix | | `creator_not_approved` | One-time apply at [/apply](https://blockforecast.io/apply) | | `creator_pending` | Wait for approval (\~24h) — re-check at [/create](https://blockforecast.io/create) | | `creator_rejected` | See rejection reason; address it; reapply at /apply | | `creator_suspended` | Contact [support@blockforecast.io](mailto:support@blockforecast.io) | | `insufficient_usdc` | Add USDC on Base to the agent wallet | | `payment_failed` | Coinbase CDP facilitator hiccup — retry in a minute | ## Security notes * The skill **only signs the exact x402 payment payload** for `POST /api/v2/x402/markets`. It does not trade, withdraw, or move funds. * Creator-fee earnings flow to the wallet derived from `BF_AGENT_KEY`. Keep that key tightly scoped — anyone with it can also withdraw your earnings. * The skill prompts for explicit confirmation before every paid call. There is no auto-execute mode. * Treat `BF_AGENT_KEY` like a production secret: rotate periodically, never commit, never paste in chat. ## Roadmap These skills are planned next — they share the same wallet + creator setup: * `bf-resolve-oracle` — query oracle consensus on any yes/no question (\$0.05 USDC per call) * `bf-check-balance` — read agent wallet's USDC balance + open positions * `bf-list-markets` — search BlockForecast markets by category * `bf-trade` — place a trade on an existing market ## Source + support * Skill source: [github.com/gr8estman/blockforecast-skills](https://github.com/gr8estman/blockforecast-skills) * Issues / feature requests: [open one on GitHub](https://github.com/gr8estman/blockforecast-skills/issues) * Email: [support@blockforecast.io](mailto:support@blockforecast.io) # Public REST API Reference: Markets and Trades Source: https://docs.blockforecast.io/developers/public-api Complete reference for all BlockForecast public REST API endpoints — list markets, fetch trade data, place trades, and create markets with creator access. The BlockForecast public REST API exposes prediction market data and trading functionality over standard HTTP. All endpoints live under `https://blockforecast.io/api/v2/public/` and require an `X-API-Key` header. This page documents every endpoint with full parameter descriptions, response field definitions, and working code examples in curl, Python, and TypeScript. If you have not yet obtained an API key, start with [Authentication](/developers/authentication). All monetary values are returned as floating-point USD (e.g., `18420.50`) in the REST API. On-chain, amounts are USDC with 6-decimal precision — keep this in mind if you are reconciling against on-chain data. *** ## GET /public/markets Returns a paginated, filterable list of prediction markets. ### Query parameters Filter by market status. One of `open` (trading), `resolved` (settled). Omit to return all statuses. Filter by category slug. Common values: `crypto`, `sports`, `politics`, `science`, `entertainment`. Matched case-insensitively. Omit to return all categories. Number of markets to return per page. Maximum `100`. Default `20`. Pagination offset. Default `0`. Sort order. One of `volume_desc` (default), `created_desc`, `resolve_asc`. ### Response fields Array of market objects. Numeric market identifier (e.g., `781`). Human-readable ticker (e.g., `BF-0781`). URL-friendly market slug (e.g., `will-btc-close-above-150k-dec-2026`). The full market question text. Category slug. One of `open` (trading), `resolving` (closed, awaiting oracle), `resolved` (settled). Current LSMR YES price as a probability (0–1). Current LSMR NO price as a probability (0–1). Total trade volume in USD. Available liquidity in USD. ISO 8601 resolution date. ISO 8601 creation timestamp. Total number of markets matching the query (before pagination). The effective limit applied. The effective offset applied. ### Examples ```bash theme={null} curl "https://blockforecast.io/api/v2/public/markets?status=open&category=crypto&limit=5" \ -H "X-API-Key: $BLOCKFORECAST_API_KEY" ``` ```python theme={null} import os, requests resp = requests.get( "https://blockforecast.io/api/v2/public/markets", headers={"X-API-Key": os.environ["BLOCKFORECAST_API_KEY"]}, params={"status": "open", "category": "crypto", "limit": 5}, ) resp.raise_for_status() data = resp.json() for market in data["markets"]: print(f"{market['question']} — YES: {market['yesPrice']:.2f}") ``` ```typescript theme={null} const resp = await fetch( "https://blockforecast.io/api/v2/public/markets?status=open&category=crypto&limit=5", { headers: { "X-API-Key": process.env.BLOCKFORECAST_API_KEY! } } ); if (!resp.ok) throw new Error(`API error: ${resp.status}`); const data = await resp.json(); for (const market of data.markets) { console.log(`${market.question} — YES: ${market.yesPrice.toFixed(2)}`); } ``` **Example response:** ```json theme={null} { "markets": [ { "id": 781, "tickerId": "BF-0781", "slug": "will-btc-close-above-150k-dec-2026", "question": "Will BTC close above $150k on Dec 31, 2026?", "category": "crypto", "status": "open", "yesPrice": 0.34, "noPrice": 0.66, "volume": 18420.50, "liquidity": 4100.00, "resolveDate": "2026-12-31T23:59:59Z", "createdAt": "2026-01-15T10:22:00Z" } ], "total": 142, "limit": 5, "offset": 0 } ``` *** ## GET /public/markets/:id Fetches a single market by its numeric ID, ticker ID, or slug. ### Path parameters The market's numeric `id` (e.g., `781`), `tickerId` (e.g., `BF-0781`), or `slug`. All three are accepted. ### Response fields Returns a single market object with all the fields described in `GET /markets`, plus: The plain-text criteria the AI oracle uses to resolve the market. Creator metadata. The Ethereum address of the market creator. Creator display name, if set. Present only on resolved markets. `YES` or `NO`. ISO 8601 timestamp when the oracle resolved the market. Oracle confidence score (0–1) at resolution time. ### Examples ```bash theme={null} curl "https://blockforecast.io/api/v2/public/markets/781" \ -H "X-API-Key: $BLOCKFORECAST_API_KEY" ``` ```python theme={null} import os, requests market_id = 781 resp = requests.get( f"https://blockforecast.io/api/v2/public/markets/{market_id}", headers={"X-API-Key": os.environ["BLOCKFORECAST_API_KEY"]}, ) resp.raise_for_status() market = resp.json() print(f"YES: {market['yesPrice']}, NO: {market['noPrice']}") ``` ```typescript theme={null} const marketId = 781; const resp = await fetch( `https://blockforecast.io/api/v2/public/markets/${marketId}`, { headers: { "X-API-Key": process.env.BLOCKFORECAST_API_KEY! } } ); if (!resp.ok) throw new Error(`API error: ${resp.status}`); const market = await resp.json(); console.log(`YES: ${market.yesPrice}, NO: ${market.noPrice}`); ``` *** ## POST /public/markets Creates a new prediction market. Requires your wallet to have approved creator status. [Apply for creator access](/creators/apply) — applications are reviewed within 24 hours. ### Request body The market question. Should be phrased as a binary yes/no question. Maximum 280 characters. Additional context about the market. Markdown supported. Maximum 2000 characters. Clear, unambiguous criteria that define how the market resolves. The AI oracle uses this text. Maximum 1000 characters. ISO 8601 date-time for when the market is eligible for resolution (e.g., `2026-12-31T23:59:59Z`). Must be at least 1 hour in the future. Category slug. One of: `crypto`, `sports`, `politics`, `science`, `entertainment`, `other`. ### Response fields Returns the newly created market object with all fields from `GET /markets/:id`. The new market's numeric identifier. The URL slug generated from the question. Always `open` on creation. ### Examples ```bash theme={null} curl -X POST "https://blockforecast.io/api/v2/public/markets" \ -H "X-API-Key: $BLOCKFORECAST_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "question": "Will ETH surpass $10,000 before July 2027?", "description": "Tracks ETH/USD price on Coinbase Pro at any point before the resolution date.", "resolutionCriteria": "Resolves YES if ETH/USD closes above $10,000 on Coinbase Pro on any day before July 1, 2027. Resolves NO otherwise.", "resolveDate": "2027-07-01T00:00:00Z", "category": "crypto" }' ``` ```python theme={null} import os, requests resp = requests.post( "https://blockforecast.io/api/v2/public/markets", headers={ "X-API-Key": os.environ["BLOCKFORECAST_API_KEY"], "Content-Type": "application/json", }, json={ "question": "Will ETH surpass $10,000 before July 2027?", "description": "Tracks ETH/USD price on Coinbase Pro at any point before the resolution date.", "resolutionCriteria": "Resolves YES if ETH/USD closes above $10,000 on Coinbase Pro on any day before July 1, 2027. Resolves NO otherwise.", "resolveDate": "2027-07-01T00:00:00Z", "category": "crypto", }, ) resp.raise_for_status() market = resp.json() print(f"Created market: https://blockforecast.io/market/{market['slug']}") ``` ```typescript theme={null} const resp = await fetch("https://blockforecast.io/api/v2/public/markets", { method: "POST", headers: { "X-API-Key": process.env.BLOCKFORECAST_API_KEY!, "Content-Type": "application/json", }, body: JSON.stringify({ question: "Will ETH surpass $10,000 before July 2027?", description: "Tracks ETH/USD price on Coinbase Pro at any point before the resolution date.", resolutionCriteria: "Resolves YES if ETH/USD closes above $10,000 on Coinbase Pro on any day before July 1, 2027. Resolves NO otherwise.", resolveDate: "2027-07-01T00:00:00Z", category: "crypto", }), }); if (!resp.ok) throw new Error(`API error: ${resp.status}`); const market = await resp.json(); console.log(`Created: https://blockforecast.io/market/${market.slug}`); ``` If your API key's wallet does not have creator status, this endpoint returns `403 Forbidden` with code `INSUFFICIENT_PERMISSIONS`. Apply at [blockforecast.io/apply](/creators/apply) — the same approval covers both the public API and the x402 Agent API. *** ## GET /public/markets/:id/trades Returns a paginated list of trades for a specific market, ordered from most recent to oldest. ### Path parameters The market ID or slug. ### Query parameters Number of trades to return. Maximum `100`. Default `20`. Pagination offset. Default `0`. Filter by trade side. One of `YES`, `NO`. Omit to return both. ### Response fields Array of trade objects. Numeric trade identifier. The numeric ID of the market this trade belongs to. `YES` or `NO`. Number of shares purchased. Effective price per share at execution (0–1). Total USDC cost of the trade. Ethereum address of the trader (may be partial for privacy). ISO 8601 timestamp of the trade. Total number of trades for this market. ### Examples ```bash theme={null} curl "https://blockforecast.io/api/v2/public/markets/781/trades?limit=10" \ -H "X-API-Key: $BLOCKFORECAST_API_KEY" ``` ```python theme={null} import os, requests market_id = "781" resp = requests.get( f"https://blockforecast.io/api/v2/public/markets/{market_id}/trades", headers={"X-API-Key": os.environ["BLOCKFORECAST_API_KEY"]}, params={"limit": 10}, ) resp.raise_for_status() data = resp.json() for trade in data["trades"]: print(f"{trade['side']} | {trade['shares']} shares @ {trade['pricePerShare']:.3f}") ``` ```typescript theme={null} const marketId = "781"; const resp = await fetch( `https://blockforecast.io/api/v2/public/markets/${marketId}/trades?limit=10`, { headers: { "X-API-Key": process.env.BLOCKFORECAST_API_KEY! } } ); if (!resp.ok) throw new Error(`API error: ${resp.status}`); const data = await resp.json(); for (const trade of data.trades) { console.log(`${trade.side} | ${trade.shares} shares @ ${trade.pricePerShare.toFixed(3)}`); } ``` **Example response:** ```json theme={null} { "trades": [ { "id": 31487, "marketId": 781, "side": "YES", "shares": 50.0, "pricePerShare": 0.341, "totalCost": 17.05, "traderAddress": "0x1a2b...f9e0", "createdAt": "2026-04-27T14:35:12Z" } ], "total": 1204, "limit": 10, "offset": 0 } ``` *** ## Additional endpoints The following endpoints are available but covered in detail in [Authentication](/developers/authentication). The auth flow is **two-step** — `/auth/challenge` must be called before `/auth/token`: | Method | Path | Description | | ------ | ------------------------------------ | ----------------------------------------------------------------------------------------------------------------------------------------------- | | `POST` | `/api/v2/auth/challenge` | **Step 1 — required prerequisite for `/auth/token`.** Issues a single-use nonce for a wallet-signed action (`issue` / `revoke` / `regenerate`). | | `POST` | `/api/v2/auth/token` | **Step 2.** Exchange a wallet signature + the nonce from step 1 for a `bf_…` API key. | | `GET` | `/api/v2/auth/keys?address=` | List active keys (prefixes only) for a wallet. | | `POST` | `/api/v2/auth/keys/:id/revoke` | Revoke a specific key by id. | | `POST` | `/api/v2/auth/keys/:id/regenerate` | Atomically rotate — old revoked, new issued. | | `GET` | `/api/v2/public/markets/:id/price` | Current LSMR price and price impact for a given quote size. | | `GET` | `/api/v2/public/markets/:id/history` | OHLC price history. | | `POST` | `/api/v2/public/markets/:id/trade` | Place a trade on a market. | | `GET` | `/api/v2/public/positions` | Open positions for your wallet. | | `GET` | `/api/v2/public/positions/history` | Trade history for your wallet. | | `GET` | `/api/v2/public/balance` | Your USDC balance on BlockForecast. | To create markets programmatically without the manual creator approval flow, see the [x402 Agent API](/developers/x402-overview) — autonomous agents can pay \$1 USDC per market with no signup required (creator approval still needed, but the flow is fully programmatic). # Developer Quickstart: BlockForecast REST API Source: https://docs.blockforecast.io/developers/quickstart Make your first BlockForecast API request in under five minutes. Get an API key, list active markets, and explore the full developer surface. The BlockForecast REST API gives you programmatic access to prediction markets — list and filter markets, stream trade data, place trades, and create your own markets with creator approval. The base URL for all v2 endpoints is `https://blockforecast.io/api/v2`. Authentication uses a long-lived API key (`bf_<32 hex>`) that you obtain by signing a one-time challenge with your wallet. This guide walks you through every step from zero to your first successful response. **Building an AI agent that creates markets?** Skip the manual setup — install the [`/bf-create-market` Claude Code skill](/developers/claude-skill). One slash command wraps the full x402 + creator-fee flow. **Just need a key?** Sign in at [blockforecast.io/settings/api-keys](https://blockforecast.io/settings/api-keys) and tap **Generate key** — Privy pops the wallet signature, the key is shown once. No curl needed for the happy path. Keys are issued in a two-step nonce-bound flow: request a challenge, sign the exact message it returns, post both back. No account required — your wallet address is your identity. Each nonce is single-use, so the same signature can't be replayed for any other action. ```bash curl theme={null} # 1. Request a challenge curl -X POST https://blockforecast.io/api/v2/auth/challenge \ -H "Content-Type: application/json" \ -d '{ "address": "0xYourWalletAddress", "action": "issue" }' # response → { "success": true, "data": { # "nonce": "<48-hex-chars>", # "message": "BlockForecast API Key\nAction: issue\nAddress: 0x...\nNonce: ...\nTimestamp: 1777408738", # "expiresAt": "2026-04-28T20:43:58.000Z" # } } # 2. Sign data.message with your wallet (any EVM tool: viem, ethers, MetaMask…) # 3. Post the signature + nonce back curl -X POST https://blockforecast.io/api/v2/auth/token \ -H "Content-Type: application/json" \ -d '{ "address": "0xYourWalletAddress", "message": "", "signature": "0xYourSignedMessage", "nonce": "", "label": "prod-bot" }' ``` The response contains your API key (shown once): ```json theme={null} { "success": true, "data": { "id": 7, "apiKey": "bf_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx", "prefix": "bf_xxxxxxxx...", "label": "prod-bot", "rateLimit": 60, "createdAt": "2026-04-28T20:43:00.000Z", "note": "Store this key securely. It cannot be retrieved again." } } ``` Store the `apiKey` value as a secret in your deployment platform — the server only stores its SHA-256 hash, so a leaked DB doesn't leak keys, but the raw key cannot be re-fetched. See [Authentication](/developers/authentication) for the full signing flow, the regenerate/revoke endpoints, and error reference. With your key in hand, call `GET /api/v2/public/markets` to fetch the current list of active prediction markets. ```bash curl theme={null} curl https://blockforecast.io/api/v2/public/markets \ -H "X-API-Key: $BLOCKFORECAST_API_KEY" ``` ```python Python theme={null} import os import requests resp = requests.get( "https://blockforecast.io/api/v2/public/markets", headers={"X-API-Key": os.environ["BLOCKFORECAST_API_KEY"]}, ) resp.raise_for_status() body = resp.json() # Every v2 endpoint wraps results: { success: true, data: {...} } markets = body["data"]["markets"] total = body["data"]["total"] print(f"Found {total} markets") ``` ```typescript JavaScript / TypeScript theme={null} const resp = await fetch("https://blockforecast.io/api/v2/public/markets", { headers: { "X-API-Key": process.env.BLOCKFORECAST_API_KEY!, }, }); if (!resp.ok) throw new Error(`API error: ${resp.status}`); const body = await resp.json(); // Every v2 endpoint wraps results: { success: true, data: {...} } const { markets, total } = body.data; console.log(`Found ${total} markets`); ``` You can filter results with query parameters: `?status=active&category=crypto&limit=10`. See [Public API](/developers/public-api) for the full parameter reference. A successful `GET /markets` response looks like this: ```json theme={null} { "markets": [ { "id": 781, "tickerId": "BF-0781", "slug": "will-btc-close-above-150k-dec-2026", "question": "Will BTC close above $150k on Dec 31, 2026?", "category": "crypto", "status": "open", "yesPrice": 0.34, "noPrice": 0.66, "volume": 18420.50, "liquidity": 4100.00, "resolveDate": "2026-12-31T23:59:59Z", "createdAt": "2026-01-15T10:22:00Z" } ], "total": 142, "limit": 20, "offset": 0 } ``` Each market object includes the current LSMR prices (`yesPrice`, `noPrice`), aggregate volume, available liquidity, and the resolution date. Prices are expressed as probabilities between 0 and 1 — a `yesPrice` of `0.34` means the market currently prices the YES outcome at 34 cents per share. The `status` field is `open` while trading is live, `resolving` after close, and `resolved` once the oracle settles. All monetary values in the API are denominated in USDC (6-decimal precision on-chain, returned as floating-point USD in the REST API). You have the basics working. Here is where to go next depending on what you want to build: Full endpoint reference with request params, response fields, and multi-language examples for every route. Wallet-signature auth flow, error codes, key rotation, and security best practices. Default limits, 429 handling, exponential backoff examples, and how to request a higher limit. Create markets from an autonomous AI agent — no API key required, just \$1 USDC per market via x402. # API Rate Limits: Quotas, Headers, and Backoff Source: https://docs.blockforecast.io/developers/rate-limits BlockForecast enforces 60 requests per minute per API key. Learn how to read rate-limit headers, handle 429 errors gracefully, and request a higher quota. Every API key on BlockForecast is subject to a default rate limit of **60 requests per minute**. The limit is enforced per key on a rolling 60-second window — it is not a fixed-clock reset. If you exceed the limit, the API returns `429 Too Many Requests` and you must wait before retrying. This page explains how to read the rate-limit headers included on every response, how to implement exponential backoff, and how to stay within the default quota for common workloads. ## Rate-limit headers Every API response includes three headers that tell you your current quota status: | Header | Type | Description | | ----------------------- | -------------- | -------------------------------------------------------------------------------------------------------------------- | | `X-RateLimit-Limit` | integer | Your total allowed requests per 60-second window (default: `60`). | | `X-RateLimit-Remaining` | integer | Requests remaining in the current window. | | `X-RateLimit-Reset` | Unix timestamp | The time (in seconds since epoch) when the window resets and `X-RateLimit-Remaining` returns to `X-RateLimit-Limit`. | Example response headers: ```http theme={null} HTTP/2 200 X-RateLimit-Limit: 60 X-RateLimit-Remaining: 42 X-RateLimit-Reset: 1745001060 Content-Type: application/json ``` ## When you exceed the limit If `X-RateLimit-Remaining` reaches `0`, the next request returns: ```http theme={null} HTTP/2 429 Too Many Requests X-RateLimit-Limit: 60 X-RateLimit-Remaining: 0 X-RateLimit-Reset: 1745001060 Retry-After: 23 Content-Type: application/json ``` ```json theme={null} { "error": "RATE_LIMIT_EXCEEDED", "message": "You have exceeded the rate limit of 60 requests/min. Retry after the Retry-After interval.", "retryAfter": 23 } ``` The `Retry-After` header tells you exactly how many seconds to wait before the window resets. ## Handling 429s: exponential backoff Immediately retrying after a `429` will only trigger another `429`. Use exponential backoff with jitter: ```python Python theme={null} import os, time, random, requests API_KEY = os.environ["BLOCKFORECAST_API_KEY"] BASE_URL = "https://blockforecast.io/api/v2" def get_with_backoff(path: str, params: dict = None, max_retries: int = 5): url = f"{BASE_URL}{path}" headers = {"X-API-Key": API_KEY} for attempt in range(max_retries): resp = requests.get(url, headers=headers, params=params) if resp.status_code == 429: retry_after = int(resp.headers.get("Retry-After", 1)) # Add jitter: wait retry_after seconds + up to 1s random wait = retry_after + random.random() print(f"Rate limited. Waiting {wait:.1f}s (attempt {attempt + 1}/{max_retries})") time.sleep(wait) continue resp.raise_for_status() return resp.json() raise Exception("Max retries exceeded after repeated 429 responses") markets = get_with_backoff("/public/markets", params={"status": "active"}) ``` ```typescript JavaScript / TypeScript theme={null} const API_KEY = process.env.BLOCKFORECAST_API_KEY!; const BASE_URL = "https://blockforecast.io/api/v2"; async function getWithBackoff( path: string, params?: Record, maxRetries = 5 ): Promise { const url = new URL(`${BASE_URL}${path}`); if (params) { Object.entries(params).forEach(([k, v]) => url.searchParams.set(k, v)); } for (let attempt = 0; attempt < maxRetries; attempt++) { const resp = await fetch(url.toString(), { headers: { "X-API-Key": API_KEY }, }); if (resp.status === 429) { const retryAfter = parseInt(resp.headers.get("Retry-After") ?? "1", 10); const jitter = Math.random(); const wait = (retryAfter + jitter) * 1000; console.log(`Rate limited. Waiting ${(wait / 1000).toFixed(1)}s (attempt ${attempt + 1}/${maxRetries})`); await new Promise((resolve) => setTimeout(resolve, wait)); continue; } if (!resp.ok) throw new Error(`API error: ${resp.status}`); return resp.json(); } throw new Error("Max retries exceeded after repeated 429 responses"); } const markets = await getWithBackoff("/public/markets", { status: "active" }); ``` Read `X-RateLimit-Remaining` proactively on every response and slow down when it approaches zero — don't wait for a `429` to trigger your backoff logic. ## Tips for staying within the limit **Cache responses locally.** Market state does not change on every tick. For most read workloads, caching `GET /markets` for 5–10 seconds and individual market details for 1–2 seconds dramatically reduces API calls without meaningfully staling your data. **Batch reads with pagination.** Rather than making one request per market, use the `limit` parameter on `GET /markets` to fetch up to 100 markets in a single call. Then page through with `offset` as needed. **Use the real-time feed for high-frequency data.** If you need market prices at sub-second latency, the x402 feed endpoint (`GET /api/v2/x402/feed`, \$0.001/call) is designed for that use case and does not count against your REST rate limit. **Deduplicate inflight requests.** In async or multi-threaded code, use a simple in-memory cache or request-deduplication layer to prevent the same resource from being fetched concurrently by multiple coroutines or threads. **Avoid polling loops with short intervals.** A loop that calls `GET /markets/:id` every second will exhaust your quota in one minute. Use a minimum 5-second poll interval for market state, or switch to the WebSocket broadcaster for real-time updates. ## Request a higher rate limit If your use case requires more than 60 requests per minute — for example, a trading desk pulling tick-level data or an arbitrage bot running across hundreds of markets simultaneously — you can request a higher quota. Email [support@blockforecast.io](mailto:support@blockforecast.io) with: * Your wallet address (the one attached to your API key) * A brief description of your use case * The approximate request rate you need Higher-limit keys are provisioned manually and are typically turned around within one business day. x402 pay-per-request endpoints (`/api/v2/x402/*`) are not subject to the same per-minute quota. Each call is independently metered by payment, so there is no burst limit — you can make as many calls as you can pay for. # Create a Prediction Market via the x402 Agent API Source: https://docs.blockforecast.io/developers/x402-create-market Create BlockForecast markets from an AI agent: set up a Base wallet, fund with USDC, get creator approval, then POST /x402/markets for $1 USDC per market. This guide walks you through the complete end-to-end flow for creating a BlockForecast prediction market from an autonomous agent using the x402 payment protocol. When you finish, your agent will hold a Base L2 wallet, pay \$1 USDC to create a market with a single HTTP call, and begin earning 0.5% of every trade on that market in real time. The implementation language is TypeScript, but the flow maps directly to any language with an EIP-3009 signing library. **Building in Claude Code?** Skip the manual EIP-3009 signing — the [`/bf-create-market`](/developers/claude-skill) skill wraps this entire flow into one slash command. Install once with `/plugin marketplace add gr8estman/blockforecast-skills` then `/plugin install bf-create-market@gr8estman`, set `BF_AGENT_KEY`, run the slash command. This page is for non-Claude-Code agents or developers who want to roll their own integration. `POST /api/v2/x402/markets` only succeeds if the paying wallet has approved creator status. The \$1 payment is **non-refundable by design** — apply for creator access in Step 3 before calling the endpoint. If your wallet is not approved, you receive `403 Forbidden` and the payment is not returned. ## Prerequisites * Node.js 18+ with TypeScript support * An Ethereum wallet (or you will generate one in Step 1) * USDC on Base mainnet (\~\$5 to cover gas and several market creations) Install the required packages: ```bash theme={null} npm install viem x402-fetch ``` *** ## Step 1: Set up a Base L2 wallet Your agent needs a dedicated EVM wallet whose private key it can access at runtime for signing. You can generate a fresh wallet programmatically: ```typescript theme={null} import { generatePrivateKey, privateKeyToAccount } from "viem/accounts"; // Generate a new private key — do this once and save the result const privateKey = generatePrivateKey(); const account = privateKeyToAccount(privateKey); console.log("Agent address:", account.address); console.log("Private key (save this securely!):", privateKey); ``` Store the private key in a secrets manager — AWS Secrets Manager, Doppler, 1Password, or a `.env` file that is never committed to source control. Anyone with access to this key can spend the wallet's funds. If you already have a wallet (MetaMask, Coinbase Wallet), you can export the private key from Settings and use it directly. For production agents, a dedicated wallet that is separate from any browser wallet is strongly recommended. Load the key from your environment at runtime: ```typescript theme={null} import { privateKeyToAccount } from "viem/accounts"; const account = privateKeyToAccount( process.env.AGENT_PRIVATE_KEY as `0x${string}` ); console.log("Agent address:", account.address); ``` *** ## Step 2: Fund the wallet with USDC on Base The x402 endpoints use USDC on Base mainnet (CAIP-2 identifier: `eip155:8453`). Your wallet needs: * **\$1.00 USDC minimum** per market creation call * **A small amount of ETH on Base** for gas (typically \$0.01–\$0.05 per transaction) * A buffer for other x402 endpoints if you plan to use them (`feed`, `oracle/resolve`) **Option A — Bridge from Ethereum mainnet:** Use the [official Base bridge](https://bridge.base.org). Connect your agent wallet (or a funding wallet), select USDC, and bridge to Base. Bridging takes \~1 minute. **Option B — Send directly from Coinbase:** In Coinbase, select "Send" → choose USDC → select "Base" as the network → enter the agent address. Funds arrive in seconds. **Option C — Programmatic funding (for CI/testing):** ```typescript theme={null} import { createWalletClient, http, parseUnits } from "viem"; import { privateKeyToAccount } from "viem/accounts"; import { base } from "viem/chains"; // USDC contract on Base mainnet const USDC_ADDRESS = "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"; const USDC_ABI = [ { name: "transfer", type: "function", inputs: [ { name: "to", type: "address" }, { name: "amount", type: "uint256" }, ], outputs: [{ name: "", type: "bool" }], }, ] as const; const fundingAccount = privateKeyToAccount( process.env.FUNDING_PRIVATE_KEY as `0x${string}` ); const client = createWalletClient({ account: fundingAccount, chain: base, transport: http(), }); const txHash = await client.writeContract({ address: USDC_ADDRESS, abi: USDC_ABI, functionName: "transfer", args: [ account.address, // agent address parseUnits("5", 6), // 5 USDC (6 decimals) ], }); console.log("Funded agent wallet. Tx:", txHash); ``` Verify the balance before proceeding: ```typescript theme={null} import { createPublicClient, http, formatUnits } from "viem"; import { base } from "viem/chains"; const USDC_ADDRESS = "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"; const ERC20_ABI = [ { name: "balanceOf", type: "function", inputs: [{ name: "account", type: "address" }], outputs: [{ name: "", type: "uint256" }], stateMutability: "view", }, ] as const; const publicClient = createPublicClient({ chain: base, transport: http() }); const balance = await publicClient.readContract({ address: USDC_ADDRESS, abi: ERC20_ABI, functionName: "balanceOf", args: [account.address], }); console.log("USDC balance:", formatUnits(balance, 6), "USDC"); ``` *** ## Step 3: Apply for creator access Creator approval is a one-time, per-wallet step. Without it, `POST /x402/markets` returns `403` after charging you \$1 — apply first. 1. Visit [blockforecast.io/apply](/creators/apply). 2. Click **Connect wallet** and choose **External wallet**. 3. Connect using the agent wallet's address (use WalletConnect with any wallet holding the key, or paste the address and sign manually). 4. Complete the application form — describe your use case and confirm the wallet address. 5. You will hear back within 24 hours. Creator approval covers the web UI, `POST /public/markets`, and `POST /x402/markets` from the same wallet. You only do this once per agent wallet. After approval, the wallet can create markets indefinitely across all BlockForecast surfaces. To check approval status programmatically before paying for a market — `/x402/info` does **not** include per-wallet status. Use the public creator-status endpoint: ```bash theme={null} curl "https://blockforecast.io/api/v2/creator/status?address=0xYourAgentAddress" # { # "address": "0xYourAgentAddress", # "status": "approved", // or "pending" | "rejected" | "suspended" | "none" # "appliedAt": "2026-04-28T...", # "approvedAt": "2026-04-29T...", # "rejectedReason": null # } ``` Always poll this before calling `POST /x402/markets`. The \$1 payment is **not refundable** if the call fails the creator gate (returns 403). *** ## Step 4: POST /x402/markets With a funded, approved wallet, you are ready to create a market. The `x402-fetch` library handles the entire 402 round-trip for you — it sends the initial request, parses the payment requirements, constructs and signs the EIP-3009 `transferWithAuthorization`, and retries with the `X-PAYMENT` header automatically. ### Full working example ```typescript theme={null} import { wrapFetchWithPayment } from "x402-fetch"; import { privateKeyToAccount } from "viem/accounts"; // Load account from environment const account = privateKeyToAccount( process.env.AGENT_PRIVATE_KEY as `0x${string}` ); // Wrap fetch with automatic x402 payment handling const fetchPaid = wrapFetchWithPayment(fetch, account); async function createMarket(params: { question: string; category: string; resolveDate: string; description?: string; resolutionCriteria?: string; }) { const resp = await fetchPaid( "https://blockforecast.io/api/v2/x402/markets", { method: "POST", headers: { "Content-Type": "application/json" }, body: JSON.stringify(params), } ); if (!resp.ok) { const error = await resp.json().catch(() => ({ message: resp.statusText })); throw new Error(`Market creation failed (${resp.status}): ${error.message}`); } return resp.json(); } // Create a market const market = await createMarket({ question: "Will BTC close above $150k on Dec 31, 2026?", category: "crypto", resolveDate: "2026-12-31T23:59:59Z", description: "Based on the Coinbase Pro BTC/USD closing price.", resolutionCriteria: "Resolves YES if BTC/USD closes above $150,000 on Coinbase Pro on Dec 31, 2026. Resolves NO otherwise.", }); console.log("Market created!"); console.log("ID:", market.id); console.log("URL:", `https://blockforecast.io/market/${market.slug}`); console.log("Creator earnings flow to:", account.address); ``` ### What x402-fetch does under the hood If you prefer to implement the protocol directly (for a different language or a custom client), here is the manual flow: ```typescript theme={null} import { createWalletClient, http, parseUnits } from "viem"; import { privateKeyToAccount } from "viem/accounts"; import { base } from "viem/chains"; const USDC_ADDRESS = "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"; const account = privateKeyToAccount(process.env.AGENT_PRIVATE_KEY as `0x${string}`); const walletClient = createWalletClient({ account, chain: base, transport: http() }); const requestBody = { question: "Will BTC close above $150k on Dec 31, 2026?", category: "crypto", resolveDate: "2026-12-31T23:59:59Z", }; // Step 1: Send request without payment — expect 402 const probe = await fetch("https://blockforecast.io/api/v2/x402/markets", { method: "POST", headers: { "Content-Type": "application/json" }, body: JSON.stringify(requestBody), }); if (probe.status !== 402) throw new Error(`Expected 402, got ${probe.status}`); const paymentReqs = await probe.json(); // paymentReqs: { amount: "1000000", currency: "USDC", network: "eip155:8453", payTo: "0x...", nonce: "..." } // Step 2: Sign a USDC transferWithAuthorization const deadline = BigInt(Math.floor(Date.now() / 1000) + 300); // 5-min expiry const nonce = paymentReqs.nonce; const signature = await walletClient.signTypedData({ domain: { name: "USD Coin", version: "2", chainId: 8453, verifyingContract: USDC_ADDRESS, }, types: { TransferWithAuthorization: [ { name: "from", type: "address" }, { name: "to", type: "address" }, { name: "value", type: "uint256" }, { name: "validAfter", type: "uint256" }, { name: "validBefore", type: "uint256" }, { name: "nonce", type: "bytes32" }, ], }, primaryType: "TransferWithAuthorization", message: { from: account.address, to: paymentReqs.payTo, value: BigInt(paymentReqs.amount), validAfter: BigInt(0), validBefore: deadline, nonce: nonce, }, }); // Step 3: Encode payment payload and retry const paymentPayload = Buffer.from( JSON.stringify({ from: account.address, to: paymentReqs.payTo, value: paymentReqs.amount, validAfter: "0", validBefore: String(deadline), nonce: nonce, signature: signature, network: paymentReqs.network, currency: paymentReqs.currency, }) ).toString("base64"); const result = await fetch("https://blockforecast.io/api/v2/x402/markets", { method: "POST", headers: { "Content-Type": "application/json", "X-PAYMENT": paymentPayload, }, body: JSON.stringify(requestBody), }); if (!result.ok) throw new Error(`Failed: ${result.status}`); const market = await result.json(); console.log("Market created:", market.id); ``` *** ## Response: the created market object A successful `201 Created` response returns the new market: ```json theme={null} { "id": 1042, "tickerId": "BF-1042", "slug": "will-btc-close-above-150k-dec-2026", "question": "Will BTC close above $150k on Dec 31, 2026?", "category": "crypto", "status": "open", "yesPrice": 0.50, "noPrice": 0.50, "volume": 0, "liquidity": 0, "resolveDate": "2026-12-31T23:59:59Z", "createdAt": "2026-04-28T09:14:22Z", "creator": { "address": "0xYourAgentAddress", "displayName": null }, "resolutionCriteria": "Resolves YES if BTC/USD closes above $150,000 on Coinbase Pro on Dec 31, 2026.", "resolution": null } ``` The market is immediately live and tradeable at `https://blockforecast.io/market/{slug}`. Creator fee earnings (0.5% of every trade) flow to `account.address` in real time. *** ## Error handling | HTTP status | Condition | What to do | | ------------------------------- | -------------------------------------------- | -------------------------------------------------------------------------------------------------- | | `402 Payment Required` | Initial response — no payment sent | Expected behavior. Client must sign and retry. | | `402 Payment Required` (retry) | Payment was invalid or nonce was reused | Construct a fresh payment authorization with a new nonce and retry. | | `403 Forbidden` | Paying wallet does not have creator approval | [Apply for creator access](/creators/apply) before calling this endpoint. Payment is not refunded. | | `400 Bad Request` | Request body failed validation | Check the `errors` array in the response body for field-level details. | | `402` with `INSUFFICIENT_FUNDS` | Wallet USDC balance too low | Fund the wallet with more USDC on Base mainnet. | | `503 Service Unavailable` | CDP facilitator temporarily unreachable | Retry with exponential backoff. The payment was not settled. | Full error handling example: ```typescript theme={null} async function createMarketSafe(params: object): Promise { try { const market = await createMarket(params as any); return market; } catch (err: any) { const msg: string = err.message ?? ""; if (msg.includes("403")) { console.error("Creator approval required. Visit https://blockforecast.io/apply"); return null; } if (msg.includes("INSUFFICIENT_FUNDS")) { console.error("Not enough USDC. Fund the agent wallet with at least $1 on Base."); return null; } if (msg.includes("400")) { console.error("Bad request — check market params:", err); return null; } if (msg.includes("503")) { // Retry once after 5 seconds console.warn("Payment facilitator unavailable. Retrying in 5s..."); await new Promise((r) => setTimeout(r, 5000)); return createMarketSafe(params); } throw err; // Re-throw unexpected errors } } ``` To monitor your agent's market performance and creator earnings, use `GET /api/v2/public/balance` (with your standard API key) or query the on-chain USDC balance of the agent address directly via any Base L2 RPC. # x402 Agent API: Micropayment-Native Market Access Source: https://docs.blockforecast.io/developers/x402-overview The x402 Agent API lets AI agents create markets and query data by paying USDC directly — no API key, no OAuth, no signup. Payment is the authentication. The x402 Agent API is a micropayment-native API surface built on the [HTTP 402 Payment Required](https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/402) protocol. Instead of issuing a long-lived API key, the server gates each request behind a USDC micropayment on Base L2. Your agent signs a payment authorization, includes it in the request header, and the server verifies and settles the payment before executing the call. For market creation specifically, it costs exactly \$1 USDC per market — no subscription, no quota, no dashboard required. ## Who this is for The x402 API is purpose-built for three categories of developer: **Autonomous AI agents** that need to interact with prediction markets without human involvement in the authentication flow. An agent can hold a private key, fund the wallet with USDC, and call the API indefinitely — no key rotation, no session management. **Automated systems and bots** where the overhead of the standard API key flow (signing in a browser, storing a key, handling key expiry) adds friction that doesn't make sense for a machine actor. **Developers who want pay-as-you-go pricing** for low-frequency queries — rather than maintaining an integration just to query the oracle feed occasionally, you pay \$0.001 per call only when you need it. ## How the x402 protocol works x402 is a lightweight HTTP extension built by Coinbase for the AI agent ecosystem. When you make a request to an x402-gated endpoint without a payment header, the server returns `402 Payment Required` with a JSON body describing the payment requirements. Your client constructs a USDC transfer authorization (using EIP-3009 `transferWithAuthorization`), signs it with your wallet's private key, and retries the request with the signed payload in the `X-PAYMENT` header. The server forwards the payload to the Coinbase CDP facilitator for settlement, and if valid, executes the request. The full protocol flow: ``` Client BlockForecast API Coinbase CDP │ │ │ │── GET /api/v2/x402/feed ──────────►│ │ │ │ │ │◄── 402 Payment Required ───────────│ │ │ { amount, currency, payTo, │ │ │ network, nonce } │ │ │ │ │ │ [sign USDC transferWithAuth] │ │ │ │ │ │── GET /api/v2/x402/feed ──────────►│ │ │ X-PAYMENT: │ │ │ │── verify + settle ────────►│ │ │◄── settlement confirmed ───│ │◄── 200 OK + response body ─────────│ │ ``` The entire round-trip typically completes in 3–5 seconds. ## Available endpoints | Endpoint | Price | Description | | --------------------------------- | ------- | --------------------------------------------------------------------------------------------------------------------- | | `GET /api/v2/x402/info` | Free | Lists all x402 endpoints, their prices, and the current payment requirements. Discovery endpoint — no payment needed. | | `GET /api/v2/x402/feed` | \$0.001 | Real-time market data feed snapshot — prices, volume, and active market list. | | `GET /api/v2/x402/oracle/resolve` | \$0.05 | Query the AI oracle for its current consensus on a given question. Returns probability and citations. | | `POST /api/v2/x402/markets` | \$1.00 | Create a new prediction market. Requires creator approval (one-time, per wallet). | Read-only endpoints (`info`, `feed`, `oracle/resolve`) are open to any wallet with USDC on Base. Only `POST /x402/markets` requires creator approval. ## x402 vs the standard API key | | Standard API key | x402 Agent API | | -------------------- | ----------------------------------------------------------------- | ------------------------------------------ | | **Authentication** | `X-API-Key` header (persistent key) | `X-PAYMENT` signed USDC transfer | | **Identity** | Wallet that signed the key issuance request | Wallet that signs each payment | | **Cost model** | Rate-limited (60 req/min default), no per-request charge | Pay per request, no burst limit | | **Signup required** | Wallet signature only (one-time) | None for read endpoints | | **Creator approval** | Required to `POST /public/markets` | Required to `POST /x402/markets` | | **Best for** | Bots, dashboards, trading integrations hitting the API repeatedly | AI agents, one-off queries, data pipelines | Both APIs run in parallel — you can use an API key for high-frequency reads and x402 for pay-per-query oracle resolution, all from the same agent wallet. ## The 4-step build Getting an agent to the point of creating markets involves four steps: Generate a wallet programmatically with `viem` or use any EVM-compatible wallet (MetaMask, Coinbase Wallet, a hardware wallet). Your agent needs to hold the private key to sign payments at runtime. Store the key in a secrets manager. Send USDC on Base mainnet to the agent's address. \$5 covers gas plus several market creations. Bridge from Ethereum via the [official Base bridge](https://bridge.base.org) or send directly from Coinbase. Visit [blockforecast.io/apply](/creators/apply), connect with the agent wallet address, and submit the form. Approval lands within 24 hours. This is a one-time step — the same wallet can create markets via the web, the public API, and x402 forever after. Use an x402 client (e.g. `x402-fetch` from Coinbase) to handle the payment flow automatically. See [Create a market via x402](/developers/x402-create-market) for the full implementation. ## Why we built this Prediction markets are particularly well-suited to autonomous AI agents: agents are good at probability estimation, they can identify gaps in market coverage faster than humans, and they have a natural incentive to create markets — every trade on a creator-owned market sends 0.5% back to the creator's wallet in real time. An agent that creates markets can become self-funding. x402 removes the last friction in that loop: the need for a human to approve an API key or complete an OAuth flow. The wallet that signs the payment *is* the authenticated identity. No persistent state, no session, no dashboard. ## Next steps Full step-by-step guide with working TypeScript code for the complete wallet → fund → approve → create flow. Submit your creator application — reviewed within 24 hours and valid across all BlockForecast surfaces. # AI Oracle: How BlockForecast Resolves Markets Source: https://docs.blockforecast.io/how-it-works/ai-oracle BlockForecast resolves markets with a multi-agent AI oracle. Seven agents vote with confidence scores, reach weighted consensus, and self-calibrate over time. Every market that closes enters an automated resolution pipeline where independent AI agents read authoritative sources in parallel, emit confidence-weighted votes, and reach consensus. Most resolutions commit within minutes. After consensus, payouts are held for a **24-hour appeal window** before they release — see [Resolution policy](/how-it-works/resolution-policy) for that part. The system is self-improving: each agent's accuracy by category is tracked and feeds back into how much weight its vote carries on future markets. No single agent can swing an outcome, and every step is logged publicly on the oracle dashboard. ## How the oracle works When a market reaches its resolution date, the resolution scanner picks it up and queues it automatically. Trading closes at this point; no funds are at risk during the resolution window. The oracle routes the market to the right agents based on category. Sports markets go to sport-specialist agents with access to fixture APIs. Crypto price markets go to price-feed agents connected to Pyth and CoinGecko. News and geopolitics markets go to research agents with web search and primary-source access. Agents are drawn from multiple frontier model providers — the oracle never relies on a single model. Agents run in parallel. Each one reads the sources whitelisted at market creation — the same sources the creator specified — and evaluates the resolution criteria. Each agent emits three things: an outcome (YES / NO / outcome index), a confidence score between 0 and 1, and a list of cited sources. The algorithm weights each agent's vote by its historical calibration score for that market category. Agents with a strong track record on crypto price questions carry more weight on crypto price resolutions. The weighted votes produce a final outcome and an aggregate confidence level. If aggregate confidence clears the threshold and a majority of agents agree, the outcome commits and the market settles. If confidence falls below threshold, or agents are split, the resolution automatically escalates to the adversarial appeals path before anything is committed. ## Self-improving calibration The oracle maintains a calibration table that tracks each agent's resolution accuracy, broken down by market category. After every committed resolution, that agent's record is updated and the per-category weights are recalculated. Agents that stay accurate on a category gain weight in future votes; agents whose accuracy drifts lose it. The feedback loop is automatic — no manual tuning, no human in the loop. You can view each agent's live calibration score, running accuracy by category, and voting history on the public [oracle dashboard](https://blockforecast.io/oracle). No account required. ## What sources do the agents read? Sources are selected and frozen at market creation. The agents at resolution check exactly the sources the creator listed — no source-shopping after the fact. Approved source categories include: | Category | Sources | | --------------- | --------------------------------------------------------- | | Sports | API-Football, ESPN, league official sites | | Crypto prices | Pyth Hermes, CoinGecko, Binance | | News / politics | AP News, Reuters, web search, official government sources | | Tech / culture | Web search, official announcements, primary sources | ## Why multiple agents? A single LLM can confidently produce a wrong answer. Multiple independent agents from different providers are far harder to fool, and their disagreement is itself informative. When agents agree, that agreement is a much stronger signal than any single model's output. Disagreement automatically flags the resolution for closer review. Agents use frontier models from different providers. Each provider's failure modes are different, so correlated errors across the full ensemble are rare. Votes are weighted by each agent's track record in the relevant category, not treated as equal. The system trusts the right voice for each type of question. Every agent's vote, confidence, and cited sources are logged in the public oracle dashboard. You can inspect any resolution in detail. ## When agents disagree: the appeals path If the primary consensus round falls below the confidence threshold, or if you believe a market was resolved incorrectly, a separate adversarial appeals path runs. Fresh agents that did not participate in the original round review the same question — specifically tasked with finding what the first round might have missed. This blind adversarial review adds an independent check before any final override. If the AI consensus is provably wrong and the appeals path does not correct it, the platform reserves the right to apply a manual override. Manual overrides are used rarely and are always logged publicly. See the [resolution policy](/how-it-works/resolution-policy) for the full rules around manual overrides and disputes. ## Resolution speed comparison | Resolution mechanism | Typical time | | ---------------------------------------- | ------------------------------------- | | UMA optimistic oracle (Polymarket) | \~2 hours minimum (challenge window) | | Human staff (Kalshi) | Minutes to hours, varies by category | | Multi-agent AI consensus (BlockForecast) | 2–7 min consensus, +24h appeal window | ## Common questions The oracle uses a mix of frontier models from multiple providers. The exact combination is an implementation detail that gets tuned as new models are released and existing ones are evaluated. What stays constant is the multi-provider requirement — the oracle never relies on a single model. Resolution waits. The market stays in `resolving` state until consensus can be reached. Trading is closed during this window, so no funds are at risk. You can monitor oracle uptime at the [status page](https://blockforecast.io/status). Yes. The [oracle dashboard](https://blockforecast.io/oracle) shows live agent progress on resolutions that are currently in flight, including individual votes and confidence scores as they come in. Agents are server-side LLMs with no wallet and no economic stake in outcomes. They have no incentive structure that can be exploited the way token-weighted human voting systems can. The source whitelist is frozen at market creation, which removes the possibility of source-shopping after the fact. Ambiguous criteria lower agent confidence, which can push the resolution below the consensus threshold. When that happens, the resolution escalates to the appeals path. If the criteria is genuinely unresolvable, the market may settle as "no resolution" and positions are refunded. The [resolution policy](/how-it-works/resolution-policy) covers edge cases in detail. View agent votes, confidence scores, and calibration stats in real time. Read the full rules for how markets settle, disputes, and manual overrides. # Resolution Policy: How Markets Settle on BlockForecast Source: https://docs.blockforecast.io/how-it-works/resolution-policy BlockForecast's resolution policy — source whitelists, step-by-step settlement, the dispute and appeals path, manual override rules, and edge cases. Every prediction market on BlockForecast settles according to the rules below. These rules apply to every market regardless of category, creator, or trading volume. Understanding the resolution policy helps you evaluate whether a market's resolution criteria is well-defined before you trade, know what to do if you believe a resolution is wrong, and understand the rare circumstances in which the platform can step in directly. ## Source whitelist Sources used to resolve a market are selected at creation time and frozen. The creator specifies which sources the AI oracle will consult, and the agents at resolution check exactly those sources — nothing else. This prevents source-shopping after the fact and gives you a clear picture of what evidence will decide the outcome before you place a trade. Approved source categories are: * **Official data feeds** — Pyth Hermes, CoinGecko, Coinbase API for price-based markets * **Sports data APIs** — API-Football, league official sites, ESPN for fixture results * **Wire services** — AP News and Reuters for news and political events * **Official government or institutional sources** — cited at market creation for policy or regulatory markets * **Primary announcements** — official company, protocol, or organization announcements for tech and culture markets A market that cites a source outside the approved whitelist will not be eligible for AI oracle resolution. If a creator lists an unapproved source, the market will be flagged at creation review and returned for correction before going live. ## How resolution works, step by step At the resolution date, trading closes and the market enters `resolving` state. No new positions can be opened or closed during this window. Independent AI agents are assigned based on market category. Each agent reads the whitelisted sources, evaluates the resolution criteria, and emits a vote (YES / NO / outcome index), a confidence score, and citations. Agents run in parallel — see [AI oracle](/how-it-works/ai-oracle) for the full architecture. The consensus algorithm combines the votes, weighting each by the agent's historical accuracy in that category. If a majority agree and aggregate confidence clears the required threshold, the outcome is ready to commit. Once consensus commits, the market settles and payouts are distributed automatically to winning positions. USDC is credited to your account balance on Base. The entire process — from market close to settlement — typically completes in under five minutes for straightforward resolutions. ## Dispute path If you believe a market was resolved incorrectly, you can file an appeal during the **24-hour appeal window** that opens the moment consensus commits. Payouts are held in escrow for the full window and release automatically once it expires (or sooner if the appeal is reviewed and dismissed). Submit your appeal through the market detail page or by emailing [support@blockforecast.io](mailto:support@blockforecast.io). Include your reasoning and any evidence you believe the agents missed or misread. A separate set of fresh agents — agents that did not participate in the original consensus round — reviews the same question independently. They are specifically tasked with finding what the first round might have missed. They do not see the original outcome before completing their own evaluation. If the adversarial review agrees with the original outcome, the resolution stands. If it disagrees, the resolution is escalated for manual review by the platform team. The team reviews the full record: original agent votes, citations, adversarial review output, and the evidence you submitted. A final determination is issued and logged publicly on the oracle dashboard. Filing an appeal does not delay payout for other participants. Payouts are held in escrow during an active appeal window and released once the determination is final. ## Manual override The platform team can step in and apply a manual override in a small set of defined circumstances. Manual overrides are used rarely and are never applied silently — every override is logged publicly on the oracle dashboard with a written rationale. A manual override is permitted when: * The AI consensus is demonstrably wrong based on verifiable, publicly accessible evidence * A bug in the resolution pipeline caused an incorrect outcome * A whitelisted source published incorrect data and subsequently issued a correction * The market resolution criteria contains a drafting error that makes correct resolution impossible without interpretation Manual overrides are not applied because the outcome is unpopular, because trading volume was high, or at the request of any individual trader or creator. Manual overrides require sign-off from the platform team, not a single individual. The decision and its rationale are written up and posted to the oracle dashboard before or simultaneously with the override taking effect. Yes. If you disagree with a manual override determination, email [support@blockforecast.io](mailto:support@blockforecast.io) with your evidence. The team will review and respond. If the override is reversed, affected positions are re-settled. ## Edge cases If the event in question did not occur during the market's time window, or if the resolution criteria cannot be evaluated against any available sources, the market settles as **VOID** (the engine's `void` outcome). All open positions are refunded in full. No fees are charged on voided markets. Ambiguous outcomes produce low agent confidence, which pushes the resolution below the consensus threshold and triggers the adversarial appeals path automatically. If the appeals path also cannot reach a clear determination, the team reviews the criteria and may settle the market as **VOID** (with positions refunded) or issue a clarified determination with a written rationale. If a source becomes unreachable at resolution time, agents fall back to available sources in the same category. If no sources in the category are reachable, resolution waits until connectivity is restored. The market stays in `resolving` state; trading remains closed. You can monitor source and oracle status at the [status page](https://blockforecast.io/status). Creators are responsible for writing clear, verifiable resolution criteria against approved sources. Markets with ambiguous or unverifiable criteria are flagged at review before going live. If a criteria problem is discovered after launch, the market may be voided and all positions refunded. When two interpretations are both defensible, the agents will disagree, confidence will fall below threshold, and the resolution escalates automatically. The adversarial review evaluates which interpretation is most consistent with the written criteria and the cited sources. If no clear winner emerges, the team issues a final determination with written rationale. If a platform incident affects the resolution engine, affected markets stay in `resolving` state until the incident is resolved. All incidents are posted to the [status page](https://blockforecast.io/status) with real-time updates. No market settles during an active incident. Understand the multi-agent architecture behind every resolution. View public platform metrics, oracle accuracy stats, and the incident log. # Transparency: Public Metrics and Oracle Accountability Source: https://docs.blockforecast.io/how-it-works/transparency All BlockForecast metrics are public — oracle accuracy, agent votes, trading volume, and the incident log. Learn what's visible and how to read it. Trust in a prediction market depends entirely on trust in how it resolves. BlockForecast makes every metric that matters publicly readable — not because it's legally required, but because a platform that can't show its work shouldn't be asking you to stake money on it. You don't need an account to view the oracle dashboard, inspect agent votes, or check platform status. The data is live, unfiltered, and permanently logged. ## What is public The data points below are accessible without logging in, served via the oracle dashboard at [blockforecast.io/oracle](https://blockforecast.io/oracle) and the public REST API. Every agent's individual vote, confidence score, and cited sources for every resolved market. Searchable by market, category, date, and agent. Each agent's running accuracy broken down by market category. You can see which agents the system trusts most for crypto prices versus sports versus news. Cumulative and per-market trading volume in USDC. Updated in real time. Total markets created, active markets, settled markets, and voided markets — broken down by category and time period. Median and p95 consensus time by category, plus the 24-hour appeal-window distribution. Every platform incident, its impact on resolution or trading, and the post-incident write-up. Nothing is redacted. Solvency — the on-chain USDC backing user balances — is reconciled continuously. The public transparency page surfaces a real-time summary; the full per-account audit trail is available on request. ## How to read the oracle dashboard The oracle dashboard at [blockforecast.io/oracle](https://blockforecast.io/oracle) is organized into three views. The default view shows markets currently in the `resolving` state. You can watch agent votes come in as they happen, see individual confidence scores update in real time, and observe whether the consensus threshold has been reached yet. This view refreshes automatically — no manual reload needed. The history view lets you search and filter all past resolutions. For each resolved market, you can expand the full record: which agents voted, what each agent cited, the consensus algorithm's weighted output, and whether a manual override was applied. If the adversarial appeals path ran, that record is shown separately so you can compare the two rounds. The leaderboard ranks agents by calibration score within each category. You can drill into any agent to see its accuracy over time, the markets it was assigned to, and how its weight has changed as its track record has accumulated. Before trading on a market, you can look up the creator's previous markets in the resolution history and see how cleanly they resolved. Well-defined criteria from experienced creators tend to produce high-confidence, fast resolutions. ## Status page The status page at [blockforecast.io/status](https://blockforecast.io/status) shows the real-time health of the three systems that matter most. | System | What it tells you | | --------------------- | ---------------------------------------------------------------------------------- | | **Resolution engine** | Whether the system that queues and processes market resolutions is operational | | **Oracle** | Whether AI agents are reachable and responding — including individual agent health | | **Trading API** | Whether the platform is accepting trades, deposits, and withdrawals | Incidents appear on the status page the moment they're detected, not after they're resolved. Each incident entry includes a description of the impact, affected markets (if any), and live updates as the team works through it. Post-incident write-ups are added once the incident is closed — these cover root cause, timeline, and what changed to prevent recurrence. If a market is stuck in `resolving` state and you're not sure why, the status page is the first place to check. An active oracle incident will be listed there. ## Why transparency matters for prediction markets Prediction markets are only useful if participants trust that outcomes are decided correctly. In a platform where resolution is opaque, you have no way to verify that the process followed the rules — you're trusting the platform's word. BlockForecast's approach is the opposite: the full resolution record is public by default, and you can verify every outcome independently against the same sources the agents used. When every agent vote is visible in real time, any attempt to manipulate outcomes would be immediately visible. Agents with no wallet and no economic stake can't be bribed the way token-weighted human voters can, and their voting record is logged permanently. There's no private back-channel through which a resolution can be quietly changed. Yes. For any settled market, the oracle dashboard shows you exactly which sources each agent read and what conclusion the agent drew. You can go to those same sources and evaluate whether the agents read them correctly. If you find a discrepancy, you have 48 hours after settlement to file an appeal through the market detail page or by emailing [support@blockforecast.io](mailto:support@blockforecast.io). Yes. Every manual override is logged on the oracle dashboard with the market it affected, the original AI consensus outcome, the override outcome, and a written rationale from the team. Manual overrides are never applied silently. Resolution history, agent votes, and calibration data are retained indefinitely. You can inspect the record for any market ever settled on the platform. ## Explore the live data Live agent votes, calibration scores, and full resolution history. Real-time uptime for the resolution engine, oracle, and trading API — plus the incident log. Aggregate platform metrics: volume, market counts, and resolution stats. The full rules that govern how every market settles. # How to Deposit USDC on BlockForecast Source: https://docs.blockforecast.io/how-to-deposit Fund your BlockForecast account via the in-app bridge from any crypto on any chain, or withdraw USDC from a CEX that supports Base L2. BlockForecast settles in USDC on Base L2. To start trading, you need USDC on Base in your wallet. The in-app bridge accepts any crypto on any chain (ETH, SOL, USDT, USDC on other chains, anything) and auto-converts to USDC on Base in a single transaction. Below are three paths to fund your account, ordered from easiest to most manual. BlockForecast does **not** offer fiat onramps directly. You bring crypto in; the platform takes it from there. Local fiat-to-crypto methods (P2P, regional exchanges, etc.) live with their respective providers and are outside BlockForecast's scope. BlockForecast uses **native USDC on Base** — not USDC.e (bridged USDC) or USDC on Ethereum mainnet. The in-app bridge always delivers native USDC, so you don't need to worry about this when using Path 1. If you arrive at the platform with bridged USDC, swap to native via Uniswap on Base before trading. ## Choose your path The in-app bridge uses the **LI.FI** routing protocol to accept any crypto on any chain and automatically swap and bridge to USDC on Base. One transaction signature — no separate bridge step required. Works in every country. Go to [blockforecast.io](https://blockforecast.io) and sign in with Google, Apple, email, or your Web3 wallet. If you use Google, Apple, or email, BlockForecast automatically creates an embedded wallet for you via Privy — no seed phrase or browser extension required. Click **Account** in the top navigation. Scroll to the **Deposit** section. The bridge widget is embedded directly in the page. Select the network you're bridging from — Ethereum, Polygon, Arbitrum, Optimism, BNB Chain, Solana, and others are all supported. Then pick the token you want to send: ETH, SOL, USDT, USDC on another chain, MATIC, ARB, BTC (as WBTC), and more. Type in how much you want to deposit. The widget shows the estimated USDC on Base you'll receive after swap and bridge fees (typically 0.1–0.4% of the amount, plus source-chain gas). Path 1 has a minimum of around \$5 USD equivalent due to swap-route economics. For smaller amounts, use a CEX withdrawal via Path 2. Connect the wallet holding your source crypto and approve the transaction. The bridge handles everything: swap, bridge, and delivery. USDC on Base arrives in your BlockForecast wallet within 1–5 minutes depending on the source chain. If you already have USDC on a centralized exchange, you can withdraw directly to Base without using the bridge. Most major exchanges added Base support by 2026. **Exchanges that support Base withdrawals** (verify your account's region eligibility on the exchange): * Binance * OKX * Bybit * KuCoin * Crypto.com * Coinbase If you don't already hold USDC on a CEX, acquire it through whatever methods that exchange supports in your region. BlockForecast does not facilitate that step. Navigate to the withdrawal screen for USDC. This is the critical step. In the network selector, choose **Base** — not Ethereum, not Polygon, not BSC. Sending to the wrong network sends your funds to a different chain. Always double-check the network selector before confirming a CEX withdrawal. Sending USDC on Ethereum mainnet to your BlockForecast address sends it to the wrong chain. Recovery through exchange support is sometimes possible but never guaranteed. Find your wallet address under **Account** on BlockForecast and paste it into the exchange's withdrawal address field. Confirm and submit. CEX withdrawals to Base typically arrive in seconds to a few minutes. Withdrawal fees are usually free or under \$1. If you have USDC on Ethereum mainnet and prefer to bridge manually rather than use the in-app widget: Visit the official Base bridge at [bridge.base.org](https://bridge.base.org). Connect the wallet holding USDC on Ethereum mainnet. Choose USDC as the asset and type in how much to bridge. Approve and submit. You'll pay Ethereum mainnet gas (typically a few dollars). The bridge takes approximately 10 minutes to complete; longer during high network traffic. Once USDC arrives on Base in your wallet, you're ready to trade on BlockForecast. ## Don't have a wallet yet? When you sign in with Google, Apple, or email, BlockForecast automatically creates an embedded Base wallet for you via Privy. No seed phrase to back up, no browser extension to install. You can bring USDC to that wallet immediately. If you prefer self-custody: * **Coinbase Wallet** — best native Base experience * **MetaMask** — universal; add Base as a custom network * **Rainbow** — clean UX with Base support built in ## Common mistakes Always select **Base** as the network when withdrawing USDC from an exchange. Choosing Ethereum, Polygon, or BNB Chain sends funds to the wrong chain. The in-app bridge (Path 1) avoids this entirely since it always delivers to Base. Some older bridge setups deliver USDC.e (bridged USDC). BlockForecast requires native USDC on Base. If you end up with USDC.e, swap it to native USDC via Uniswap on Base (small fee applies). Path 1 always delivers native USDC. Base transactions require a small amount of ETH for gas — typically fractions of a cent. If your wallet has USDC but no ETH, you won't be able to submit transactions. The in-app bridge handles this automatically. For manual setups, bridge a small amount of ETH to Base alongside your USDC. ## Withdrawals Withdrawals work the same way in reverse. Under **Account**, the bridge-out widget lets you send USDC on Base to any destination chain and token in a single transaction. # Introduction — Africa's Prediction Market on Base Source: https://docs.blockforecast.io/introduction BlockForecast is Africa's prediction market on Base L2. Trade real-world outcomes in USDC, create your own markets and earn 0.5% per trade, resolved automatically by an AI oracle. BlockForecast is Africa's prediction market — a crypto-native platform on Base L2 that's globally available. You trade on the outcome of real-world events — crypto prices, sports results, elections, tech news — using USDC as the settlement currency. Approved creators can list markets on any topic and earn 0.5% on every trade those markets generate. Resolution runs through a multi-agent AI oracle that reads authoritative sources, votes with confidence scores, and reaches consensus automatically. ## Built for Africa The platform is positioned for African crypto users first, while remaining globally available subject to the [Terms of Service](/legal/terms). Three things make that practical: * **CEX rails that work.** Fund your account by withdrawing USDC on Base from any major exchange — Binance, Bybit, OKX, Crypto.com, KuCoin. Users in Nigeria, Ghana, and Kenya can follow [dedicated deposit guides](/how-to-deposit) for the exchanges most commonly used in each market. * **Base L2 economics.** Transaction fees on Base are fractions of a cent, which makes the small-ticket trading that dominates African retail crypto activity economically viable. Settlement is in native USDC on Base. * **Sport coverage you'd actually trade.** Markets cover CAF and African football (AFCON, the Nigerian Premier League, the South African PSL) alongside the European leagues most followed across the continent. ## What you can do on BlockForecast Buy YES or NO shares on any active market. Prices between \$0 and \$1 reflect the crowd's probability estimate. Winning shares pay out \$1 each. Apply for creator access and list your own markets on any topic with a clear, verifiable outcome. Earn 0.5% of every trade. BlockForecast's flagship short-duration product: BTC, ETH, and SOL up-or-down on rolling 5-minute and 15-minute schedules. Create and query markets programmatically via the REST API or the x402 agent API — one HTTP call, \$1 per market. ## How BlockForecast works Every market on BlockForecast is a binary (YES/NO) or multi-outcome contract. You buy shares in the outcome you believe is correct. The share price — a number between \$0 and \$1 — reflects the market's collective probability estimate at any moment. If you buy 100 YES shares at \$0.60 and the event resolves YES, each share pays \$1: your \$60 turns into \$100. Markets resolve through BlockForecast's **multi-agent AI oracle**. Multiple independent AI agents read designated authoritative sources, vote on the outcome with confidence scores, and settle the market automatically — typically within minutes of resolution criteria being met. You can watch live agent voting on the [Oracle Dashboard](https://blockforecast.io/oracle). Trading is denominated in **USDC on Base L2**. Base is Coinbase's Layer 2 network: transactions confirm in seconds and cost fractions of a cent. You fund your account via the in-app bridge (accepts any crypto on any chain) or by withdrawing USDC directly from a CEX. ## How BlockForecast compares to Polymarket and Kalshi Polymarket and Kalshi restrict market creation to their internal teams. On BlockForecast, any approved user can create markets. Submit an application — it's reviewed within 24 hours — and you gain access to the market creation interface. Polymarket uses a human-driven UMA optimistic oracle with a dispute window. Kalshi relies on an internal team under CFTC oversight. BlockForecast uses a multi-agent AI consensus system that resolves markets automatically without a manual adjudication step. BlockForecast pays market creators **0.5% of every trade** in real time. Polymarket and Kalshi have no equivalent creator fee structure — those platforms keep all trading fees. All three platforms use stablecoins for settlement. BlockForecast settles in USDC on Base L2, which means near-instant confirmations and near-zero gas costs. ## Get started Fund your account using the in-app bridge from any crypto, or withdraw USDC directly from Binance, OKX, Bybit, or another CEX that supports Base. New to prediction markets? This plain-English guide explains binary markets, how prices reflect probability, and how resolution works. The fastest tradeable product on BlockForecast. Rolling 5-minute and 15-minute BTC, ETH, and SOL up-or-down markets, resolved via Pyth oracle. Apply for creator access, create markets on any topic, and earn 0.5% of every trade your markets generate — paid out in real time. BlockForecast is available globally, but prediction market legality varies by country. Check the [country-by-country legal breakdown](https://blockforecast.io/are-prediction-markets-legal) before trading. The [Terms of Service](/legal/terms) list current geo-restrictions. # Are Prediction Markets Legal? Country-by-Country Guide Source: https://docs.blockforecast.io/legal/are-prediction-markets-legal Prediction markets are legal in most countries, but rules vary by jurisdiction. Covers global regulatory categories and what BlockForecast does for compliance. Prediction markets are legal in the majority of countries — but the classification, and the rules that flow from it, depend on the jurisdiction and the platform. BlockForecast operates as a decentralized prediction market on Base L2, not a licensed bookmaker or exchange. This page gives you a high-level survey of the regulatory landscape to help you understand where prediction markets stand. It is **not legal advice**. If your situation matters, consult a lawyer in your country. If you are located in a jurisdiction listed as restricted in the [BlockForecast Terms of Service](https://blockforecast.io/terms), you must not use the platform. Using a VPN to circumvent geo-restrictions is a violation of the Terms of Service and may result in account termination and forfeiture of funds. ## Why prediction markets aren't gambling Legally, prediction markets and sportsbooks are often treated differently — even when both involve money and uncertain outcomes. The core reasons courts and regulators have drawn a distinction include: * **Peer market, not bookmaker.** The platform isn't your counterparty. You're trading against other users at a publicly visible price. The platform takes a small fee; it has no stake in the outcome. * **Verifiable public outcomes.** Markets resolve against public facts — price feeds, election results, official announcements — not games of pure chance like dice or roulette. * **Information aggregation.** Prediction markets are primarily tools for forecasting. Research on platforms like Metaculus and PredictIt has shown they outperform polls and expert panels in accuracy. This positions them closer to financial speculation than to gambling. That argument has succeeded in some jurisdictions (the CFTC recognized Kalshi's event contracts as a regulated derivatives product) and failed in others (the UK Gambling Commission licenses prediction-market-like platforms as gambling operators). The classification is not universal. ## Three regulatory categories Operates under explicit regulator approval — e.g. Kalshi under CFTC in the US. Treated as a derivatives exchange. Tax-reportable like trading securities. No central operator licensed in the user's country. Includes Polymarket and BlockForecast. Legality varies by jurisdiction. Tax treatment is typically crypto-trading rules. Licensed gambling operator — e.g. Bet9ja, FanDuel. You trade against the bookmaker's odds, not a peer market. Different legal category entirely. ## Country-by-country overview ### United States Kalshi is explicitly legal under CFTC oversight and treats event contracts as regulated derivatives. Polymarket geo-blocks US users via its Terms of Service. BlockForecast similarly restricts users in jurisdictions where operating would be legally problematic, and currently does not list US-political markets to avoid the specific regulatory gray area. **Each user is responsible for compliance with their own state's laws.** ### United Kingdom The UK Gambling Commission classifies most prediction markets as gambling and requires operators to hold a license. Crypto-rail prediction markets are typically unlicensed in the UK. Check your local rules. ### European Union Rules vary by member state. Some countries treat prediction markets as gambling; others treat them as derivatives. The EU's MiCA regulation addresses crypto custody but doesn't directly resolve the prediction-market classification question. ### Canada Provincial gambling regulators take varying positions. Crypto-rail markets are often unlicensed in specific provinces. ### Australia The Australian Communications and Media Authority has restricted some offshore betting markets. Prediction markets aren't always classified the same way as sports betting, but the rules are unsettled. ### Nigeria, Ghana, Kenya Crypto-rail prediction markets are not specifically regulated in most cases. Local gambling regulators (Nigeria's NLRC, Kenya's BCLB, Ghana's GRA) license sportsbooks, but decentralized prediction markets sit in a less-defined category. BlockForecast provides dedicated deposit guides for users in these countries — see [How to Deposit](/how-to-deposit). The presence of deposit guides for these countries reflects that users there have practical access paths. It does not constitute a legal endorsement of use in those jurisdictions. You remain responsible for checking your local laws. ### India State-level gambling laws vary significantly across India. Prediction markets as a derivative instrument aren't broadly recognized in Indian law. Consult local counsel. ### Singapore and Hong Kong Both jurisdictions restrict offshore gambling and have monetary authorities actively monitoring crypto. Prediction markets sit in undefined territory in both; consult local counsel before using the platform. ## What BlockForecast does for compliance * Operates on Base L2 as a decentralized engine with smart contracts — there is no central exchange license in any country. * Applies geo-restrictions in the Terms of Service for jurisdictions where the legal classification is hostile. * Does not currently require KYC for standard trading, but may add it for specific markets or jurisdictions if regulation demands it. * Does not currently list US-political markets. * Publishes real-time platform metrics at [/how-it-works/transparency](/how-it-works/transparency). ## Frequently asked legal questions In most countries, legal pressure falls on the operator, not individual users. That said, personal liability varies by jurisdiction. Read your local laws before using the platform, especially if you're in a country with strict gambling or derivative trading rules. Many jurisdictions treat prediction-market positions as crypto-derivative trades for tax purposes, meaning gains and losses may be reportable as capital transactions. This is not universal. Consult a tax professional in your country. No. Using a VPN to bypass geo-restrictions violates the Terms of Service. BlockForecast does not recommend it, and any platform that detects this will close the account. Check the [Terms of Service](https://blockforecast.io/terms) for the current geo-restriction list. The list may change as the regulatory environment evolves. # BlockForecast FAQ: Deposits, Markets, Creators, and API Source: https://docs.blockforecast.io/legal/faq Answers to the most common questions about depositing, trading, creating markets, AI oracle resolution, and legal access on BlockForecast. BlockForecast brings together traders, market creators, and developers on a single permissionless prediction market platform built on Base L2. If you're new or running into something unexpected, the answers below cover the most common questions about accounts, deposits, markets, creator fees, on-chain mechanics, and legal access. If you don't find what you need here, email [support@blockforecast.io](mailto:support@blockforecast.io). ## Account & trading BlockForecast uses USDC on Base as its trading currency. You have two main paths: * **In-app bridge** — connect your wallet and convert any supported crypto to USDC on Base directly inside the platform. This works from any country. * **CEX transfer** — withdraw USDC from a centralized exchange (e.g. Binance, Coinbase) to your Base wallet address. Users in Nigeria, Ghana, and Kenya can follow dedicated CEX deposit guides at [/how-to-deposit](/how-to-deposit) that cover local exchange options. Once USDC lands in your wallet, it's immediately available to trade. All markets on BlockForecast are denominated in **USDC on Base L2**. You cannot trade with ETH, BTC, or other tokens directly — the in-app bridge handles conversion automatically if you're starting from a different asset. There's no fixed minimum stake imposed by the LSMR engine — it executes any positive USDC amount. Position size limits are shown on each market page. Short-duration markets (e.g., 5-minute crypto markets) apply a tightening cap and a price-impact ramp as resolution approaches, which limits late-stage exploitation. Any EVM-compatible wallet that supports Base L2 works — MetaMask, Coinbase Wallet, and Rabby are the most commonly used. Make sure you've added the Base network to your wallet before connecting. If you're using MetaMask, you can add Base automatically from the platform's deposit flow. BlockForecast does not currently require KYC for standard trading — you connect your wallet and trade immediately. KYC may be introduced for specific markets or jurisdictions if regulation requires it; any change will be communicated in advance. ## Markets BlockForecast uses a **multi-agent AI oracle** to resolve markets. When a market's end time passes, a set of AI agents independently evaluate the outcome against public, verifiable sources. They vote, compare reasoning, and converge on a result through a consensus mechanism. No human manually adjudicates outcomes by default. You can monitor live agent voting and accuracy statistics on the [Oracle Dashboard](/how-it-works/ai-oracle). If you believe a market resolved incorrectly, you can open a dispute through the resolution policy process. The [Resolution Policy](/how-it-works/resolution-policy) page explains the source whitelist, the dispute path, and the conditions under which a manual override is triggered. Email [support@blockforecast.io](mailto:support@blockforecast.io) with the market ID and your reasoning if you want to escalate directly. Market duration is set by the creator when the market is listed — it can range from **5 minutes** (for fast crypto price markets) to weeks or months for longer-range event markets. The market's end time and resolution date are always displayed on the market page before you trade. No. Once a market reaches its end time, trading halts and the oracle resolution process begins. Open positions are settled at the resolution price once the outcome is confirmed. ## Creator program Submit an application at [blockforecast.io/apply](https://blockforecast.io/apply). Applications are reviewed within 24 hours. The team looks at your proposed market topics, audience, and whether your markets meet the platform's quality criteria. See [Creator Program Criteria](/creators/apply) for what gets approved. Approved creators earn **0.5% of every trade** placed on any market they create. This fee is collected on both the buy and sell side of each trade, and it accrues in real time as trades happen. There is no cap on earnings — fees scale with the trading volume your markets generate. Creator fee payouts are processed in **real time to your connected wallet** in USDC. There's no minimum payout threshold or monthly settlement cycle. Because everything runs on-chain on Base L2, the fee transfer happens automatically when a trade settles. Creators can list markets on a wide range of topics: crypto prices, sports outcomes, macroeconomic events, geopolitical developments, and more. Markets must resolve against a verifiable public source. BlockForecast currently does not list US-political markets to avoid specific regulatory gray areas. See [How to Create a Prediction Market](/creators/create-a-market) for topic guidance and requirements. ## Technical Yes. BlockForecast runs on **Base L2**, an Ethereum Layer 2 network built by Coinbase. Market positions, settlements, and creator fee payouts are all executed via smart contracts on-chain. The source of truth for balances and settlements is the Base L2 ledger. **Base L2** — an EVM-compatible Layer 2 chain built on the OP Stack by Coinbase. Base offers low transaction fees and fast finality, which makes small trades and short-duration markets (like 5-minute Bitcoin markets) economically viable. You do not need to bridge to Ethereum mainnet. Yes. BlockForecast offers a public REST API with API key authentication and a default rate limit of 60 requests per minute. Developers can list markets, fetch trade data, and create markets programmatically. See the [API Quickstart](/developers/quickstart) and [Public API Reference](/developers/public-api) for details. ## Legal & access Prediction markets occupy a different legal category from gambling in most jurisdictions, but the classification varies. BlockForecast operates as a decentralized prediction market on Base L2 — it is not a licensed exchange in any individual country. The platform applies geo-restrictions to jurisdictions where operating would be legally problematic. See [Are Prediction Markets Legal?](/legal/are-prediction-markets-legal) for a country-by-country overview, and check the [Terms of Service](https://blockforecast.io/terms) for the current restricted-country list. The authoritative and up-to-date list of restricted jurisdictions is in the [Terms of Service](https://blockforecast.io/terms). BlockForecast may add or remove countries as the regulatory environment changes. If you're unsure whether your country is restricted, review the Terms before trading. If you are located in a restricted jurisdiction, you must not use the platform. Using a VPN to bypass geo-restrictions violates the Terms of Service and may result in account termination and forfeiture of funds. Email [support@blockforecast.io](mailto:support@blockforecast.io). Include your wallet address and a description of the issue. For market resolution disputes, include the market ID. The team aims to respond within one business day. # BlockForecast Privacy: What Data We Collect and How Source: https://docs.blockforecast.io/legal/privacy A plain-English overview of BlockForecast's privacy practices — what data is collected, how it's used, on-chain visibility, and how to contact the team. BlockForecast is built on public blockchain infrastructure, which means some activity — market positions, trades, wallet addresses — is inherently on-chain and publicly visible. This page summarizes how BlockForecast handles the data it does collect through the platform and its website. The full Privacy Policy is published at [blockforecast.io/privacy](https://blockforecast.io/privacy) and is the authoritative document. This page is a high-level overview. The full Privacy Policy at [blockforecast.io/privacy](https://blockforecast.io/privacy) contains the complete legal text, including your rights under applicable data protection laws. If there is any conflict between this summary and the full policy, the full policy controls. ## What data BlockForecast collects When you connect your wallet, BlockForecast records your public wallet address. This is inherent to on-chain trading and is publicly visible on Base L2. All trades and positions are recorded on-chain and in the platform's database for display, settlement, and analytics purposes. Standard web analytics data — pages visited, session duration, browser type, and referral source — may be collected to improve the platform. If you email support or submit an application form, BlockForecast retains that correspondence to resolve your query and improve the platform. ## How your data is used BlockForecast uses the data it collects to: * **Operate the platform** — execute trades, settle markets, distribute creator fees, and display your portfolio. * **Improve the product** — analyze usage patterns to identify bugs, improve performance, and prioritize features. * **Comply with legal obligations** — retain records as required by applicable law, and respond to valid legal requests. * **Communicate with you** — respond to support requests and, if you've opted in, send product updates. BlockForecast does not sell your personal data to third parties. ## On-chain data and public visibility Because BlockForecast is built on Base L2, your wallet address, trade history, and market positions are recorded on a public blockchain. This data is visible to anyone who queries the Base L2 ledger directly — it is outside the scope of any privacy policy. If you want to keep your trading activity private, use a wallet address you haven't publicly associated with your identity. ## Cookies and third-party services BlockForecast's website may use cookies and third-party analytics tools (such as basic traffic analytics). These are used only for product improvement. You can disable cookies in your browser settings, though this may affect some platform functionality. ## Your rights Depending on your jurisdiction, you may have rights to access, correct, or delete personal data BlockForecast holds about you. To exercise these rights, contact [support@blockforecast.io](mailto:support@blockforecast.io) with your request. ## Contact for privacy questions For any privacy-related questions, data requests, or concerns: **Email:** [support@blockforecast.io](mailto:support@blockforecast.io) ## Read the full Privacy Policy The complete Privacy Policy, including retention periods, legal bases for processing, and your rights under GDPR, CCPA, and other applicable laws, is published at: [blockforecast.io/privacy →](https://blockforecast.io/privacy) # BlockForecast Terms: Geo-Restrictions and Acceptable Use Source: https://docs.blockforecast.io/legal/terms A plain-English summary of the BlockForecast Terms of Service, covering geo-restrictions, acceptable use, and creator responsibilities. Before you trade, create markets, or use the BlockForecast API, you agree to the Terms of Service. This page gives you a plain-English summary of the most important points. It does not replace the full legal text — the authoritative version is always the document published at [blockforecast.io/terms](https://blockforecast.io/terms). This page is a summary for orientation purposes only. The full Terms of Service at [blockforecast.io/terms](https://blockforecast.io/terms) is the legally binding document. If there is any conflict between this summary and the full text, the full text controls. ## Key points ### Who can use BlockForecast BlockForecast is available globally, but access is restricted in certain jurisdictions where operating a decentralized prediction market would be legally problematic. The **full list of restricted countries** is maintained in the Terms of Service at [blockforecast.io/terms](https://blockforecast.io/terms). This list may change as the regulatory environment evolves. If you are located in a restricted jurisdiction, you are not permitted to use the platform. Using a VPN to circumvent geo-restrictions is also prohibited under the Terms and may result in account termination and forfeiture of funds. ### Acceptable use You agree to use BlockForecast only for lawful purposes. Prohibited uses include, but are not limited to: * Attempting to manipulate market outcomes * Using the platform to launder funds or circumvent sanctions * Bypassing geo-restrictions via VPN or proxy * Automated activity that violates the API rate limits or scrapes the platform without authorization * Creating markets with the intent to mislead or defraud other users ### Market creator responsibilities If you are an approved creator, you take on additional responsibilities under the Terms. These include: * Listing markets with clear, unambiguous resolution criteria * Ensuring your markets resolve against verifiable public sources * Not creating markets where you have a material conflict of interest that could affect resolution * Following the platform's content guidelines for acceptable market topics Creator fees (0.5% of each trade) are earned subject to compliance with these responsibilities. BlockForecast may suspend or terminate creator access for violations. ### AI oracle and resolution Markets on BlockForecast resolve through the multi-agent AI oracle. You acknowledge that: * Resolution is automated by default — there is no guarantee of manual review * The oracle's outcome is final unless a valid dispute is raised under the [Resolution Policy](/how-it-works/resolution-policy) * BlockForecast's decision on any manual override is final ### Intellectual property BlockForecast owns the platform, its software, and its documentation. You retain rights to the content you submit (e.g. market descriptions), but you grant BlockForecast a license to display and process that content on the platform. ### Limitation of liability BlockForecast's liability is limited to the maximum extent permitted by law. The platform is provided as-is. Trading prediction markets involves financial risk — you may lose the funds you trade. ## Read the full Terms The complete Terms of Service, including the geo-restriction list, dispute procedures, and all legal definitions, is published at: [blockforecast.io/terms →](https://blockforecast.io/terms) For questions about the Terms, contact [support@blockforecast.io](mailto:support@blockforecast.io). # What Is a Prediction Market? A Plain-English Guide Source: https://docs.blockforecast.io/what-is-a-prediction-market Prediction markets let you trade on real-world event outcomes. Prices reflect crowd probability estimates, and winning shares pay $1 each at settlement. A prediction market is a marketplace where people buy and sell shares in the outcome of a real-world event. Each share trades at a price between \$0 and \$1, and that price directly represents the crowd's estimate of how likely the event is to happen. If the event resolves the way you predicted, your shares pay \$1 each. If it doesn't, they pay \$0. Prices carry real information because participants are trading with their own capital. ## How prices work Every market has at least two sides — **YES** (the event will happen) and **NO** (it won't). The prices of all outcomes always add up to \$1. If a YES share is trading at **\$0.65**, the market is collectively saying there's roughly a 65% chance the event will happen. The corresponding NO share is \$0.35. Here's a concrete example: > A market asks: "Will BTC close above \$100,000 on December 31?"\ > YES shares are trading at \$0.72.\ > The crowd thinks there's a 72% probability of that happening. If you think the crowd is underestimating the odds — say you believe it's closer to 85% — you buy YES shares at \$0.72. If you're right and BTC closes above \$100k, each share pays \$1. Your \$72 becomes \$100. If you're wrong, you lose your \$72. If you think the crowd is *overestimating* — you believe it's really only 50% — you buy NO shares at \$0.28. If BTC closes below \$100k, your \$28 becomes \$100. Prices move continuously as new information arrives. As more people trade, the price converges toward the best collective estimate of the probability. ## Why prediction markets exist Prediction markets pull together information from every participant: analysts, insiders, obsessives, people with specialized knowledge. The aggregate price is often more accurate than polls, pundit forecasts, or expert panels — because people reveal their true beliefs when money is at stake. This "wisdom of the crowd" effect is the core intellectual argument for prediction markets. If you have superior knowledge or analysis in a domain — you follow a sports team obsessively, you work in the relevant industry, you're a skilled forecaster — you can profit by trading where the market price is wrong. The market rewards accurate prediction. Some participants use prediction markets to hedge real-world exposure. A business owner whose revenue depends on an election outcome, or a content creator with merchandise tied to a sports result, can hedge against an adverse outcome by buying shares on the other side. ## How resolution works When a market's resolution criteria are met — the event happens or the deadline passes — the market settles and winners are paid. Different platforms handle resolution differently: | Platform | Resolution mechanism | | ------------- | ---------------------------------------------------------------------------------------------------------------------------------- | | Polymarket | UMA optimistic oracle — humans propose an outcome, anyone can dispute within a window, consensus settles | | Kalshi | Internal team reads sources and settles, audited under CFTC oversight | | BlockForecast | Multi-agent AI consensus — independent AI agents read authoritative sources, vote with confidence scores, and settle automatically | On BlockForecast, the AI oracle resolves markets within minutes of resolution criteria being met. There's no manual adjudication step, no dispute window to wait through. You can watch live agent voting and accuracy statistics on the [Oracle Dashboard](https://blockforecast.io/oracle). ## Prediction markets vs. sports betting Prediction markets and sportsbooks look similar on the surface — both let you put money on an outcome. But the mechanics are meaningfully different. A **sportsbook** employs a team of oddsmakers who set the lines. They build in a margin (the "vig") designed to ensure the house profits over time regardless of the outcome. The odds are set *against* you. A **prediction market** has no in-house oddsmaker. Prices are set entirely through trading between participants. The platform charges a small fee, but it isn't your direct counterparty in the same way a sportsbook is. Sportsbooks are designed for entertainment betting. Prediction markets are designed for **price discovery** — the goal of the mechanism is to surface accurate probability estimates, not to maximize engagement or revenue per bet. Both settle on the same real-world facts. But a sportsbook settles based on the bookmaker's private reading of those facts, with limited recourse. Prediction markets settle on public, verifiable sources — and platforms like BlockForecast publish their resolution sources openly. In the US, Kalshi is CFTC-regulated as a Designated Contract Market — explicitly classified as a financial instrument, not gambling. Polymarket and BlockForecast operate as decentralized markets on crypto rails. The regulatory framing varies significantly by jurisdiction. See the [country-by-country legal breakdown](https://blockforecast.io/are-prediction-markets-legal). ## What you can trade on BlockForecast BlockForecast supports markets across any topic with a clear, public, time-bounded answer: Price levels, ETF approvals, protocol events, on-chain milestones — including real-time 5-minute BTC, ETH, and SOL up-or-down markets. Match results, season outcomes, tournament winners across major leagues and competitions worldwide. Elections, appointments, policy decisions, geopolitical events. Product launches, earnings reports, IPOs, awards, charts — anything with a verifiable outcome. ## How BlockForecast is different Most prediction market platforms — Polymarket and Kalshi included — only allow their internal teams to list markets. BlockForecast has an **open creator program**: any approved user can create a market and earn **0.5% of every trade** that market generates, paid out in real time. To create a market, you apply for creator access (reviewed within 24 hours), then use the market creation interface to define the question, resolution criteria, and settlement date. See the [Creator Program](/creators/overview) for details. ## Placing your first trade You need USDC on Base to trade. Use the in-app bridge to convert any crypto, or withdraw USDC from a CEX that supports Base. See [How to Deposit](/how-to-deposit). Go to [Markets](https://blockforecast.io/markets) and find a market you have an opinion on. Review the current price (= the market's probability estimate). If you think the true probability is higher than the YES price, buy YES. If you think it's lower, buy NO. The minimum trade is \$1 USDC. The LMSR market maker provides instant liquidity at any size — no need to wait for a counterparty. Submit your trade. When the event resolves, winning shares automatically pay \$1 each to your wallet. Most casual traders lose net over time on prediction markets, the same as any financial market. Skilled forecasters with domain expertise and disciplined probability estimates do well. Start with small amounts while you learn how prices move.