Developers

Build bots, scripts and backtesters on Fundari. REST for actions, WebSocket for live prices and trade events. Scope every key to the minimum permissions it needs.

Active keys
0
Total keys
0
Plan
Free · 120/min
Network
Base

Endpoints

api.fundari.trade
  • GET/v1/marketsList rolling Up/Down markets across BTC, ETH, SOL, XRP.
  • GET/v1/markets/{id}Snapshot one market — pools, probabilities, closesAt.
  • POST/v1/tradesPlace a trade. Idempotent via Idempotency-Key.
  • GET/v1/positionsYour open and historical positions, paginated.
  • WS/v1/stream/pricesLive BTC/ETH/SOL/XRP price ticks.
  • WS/v1/stream/tradesLive trade tape (your trades + market-wide).

Your API keys

Stored as hashes · prefix shown
No keys yet.

Generate your first key to start hitting the Fundari API from a bot, script, or backtester.

Quick start

Copy any of these into your bot. Replace the API key with the secret you generated above.

Place a trade (REST)
import { FundariClient } from "@fundari/sdk";

const client = new FundariClient({
  apiKey: process.env.FUNDARI_API_KEY!,
});

const trade = await client.trades.place({
  marketId: "btc-5m-now",
  outcome: "UP",
  stakeUsdc: 25,
});

console.log(trade.txHash);
Stream live prices (WebSocket)
const ws = client.stream.prices(["BTC", "ETH"]);

ws.on("tick", (tick) => {
  console.log(tick.asset, tick.price, tick.timestamp);
});

ws.on("close", () => console.log("disconnected"));