Skip to content
Developers

Build on Lotus.

Every number on this site comes from an open JSON API and a public Solana program. Build bots, dashboards, Discord widgets or your own front end. No key required, just cache and go easy.

GET /api/strategies

All strategies with vault value, cards held, market cap and backing. ?sort=value|cards|new|mcap

GET /api/strategies/:address

A single strategy: rules, treasury, next buy, pack pool, fee split, draw rules.

GET /api/strategies/:address/vault

Every card the strategy has ever held, with status, draw and delivery.

GET /api/strategies/:address/raffles

All draws: round, randomness, snapshot root, ticket, winner, transactions.

GET /api/strategies/:address/raffles/:id

A single draw, with live odds until it settles.

GET /api/strategies/:address/raffles/:id/odds?wallet=

One wallet's odds in a draw, live until it settles.

GET /api/strategies/:address/raffles/:id/snapshot.json

The published holder snapshot, enough to recompute any draw from zero.

GET /api/draws

Upcoming and recent draws for every strategy.

GET /api/solana/wallet/:address

One wallet across Lotus: live odds, cards won, packs opened.

GET /api/solana/cards/:address

A wallet's Collector Crypt cards and which strategies would buy each of them.

GET /api/market

The live Collector Crypt market, cleaned up. ?pokemon=&grader=&gradeMin=&priceMax=

GET /api/activity

Activity feed: buys, draws, packs, donations, deliveries.

Base URL: https://uselotus.fun

Embed a strategy

A live widget (vault, cards, next draw) for any site:

<iframe src="https://uselotus.fun/embed/STRATEGY_ADDRESS"
        width="360" height="200" style="border:0;border-radius:14px"></iframe>

The program

Program published at launch on Solana, address published at launch. Accounts: Config, Strategy ["strategy", mint], vault ["vault", mint], Purchase ["purchase", strategy, id], PackPool ["pool", strategy], PackOpen ["pack", strategy, id]. Anyone can deliver a drawn card, donate a card, open a pack or sell a card back. See how it works.