The BSE API proposal is open for community feedback. Read now
BSE

Sample data only. Real prices begin at launch.

The home of Bloxburg’s political economy

One open stock and trading API for every website, Discord bot and app. One set of prices, one set of rules, one economy for all of Bloxburg Politics.

Listings

The problem and the proposal

Each server or group tracks its own stocks, balances and trades today. That duplicates work, produces prices that disagree and stops players trading across communities.

Today

  • Every community keeps its own ledger, often in a spreadsheet.
  • The same company can have a different price in each server.
  • Bot developers rebuild market logic from scratch.
  • Holdings cannot move between communities.

With a shared API

  • One public source of truth for prices, listings and trades.
  • Any site or bot reads it with a single HTTP request.
  • Developers add a market in minutes, not weeks.
  • Portfolios follow players wherever they play.
Trading

What the API would provide

A small REST interface returning JSON. Reading is open. Trading needs an API key tied to a verified player account. The base URL is proposed and may change.

EndpointWhat it returns
GET/v1/stocksEvery listed stock with its latest price and daily change.
GET/v1/stocks/{symbol}One stock’s details, issuer, volume and price history.
GET/v1/players/{id}/portfolioA player’s holdings and cash balance.
POST/v1/ordersPlaces a buy or sell order. Requires an API key.
GET/v1/leaderboardTop traders and biggest movers for a chosen period.
POST/v1/webhooksSends price alerts and trade events to a Discord channel or URL.

Build with it

// Show a live price on any web page
const res = await fetch("https://api.bse.jyeridley.dev/v1/stocks/BCF");
const stock = await res.json();
document.querySelector("#price").textContent = `B$${stock.price}`;

How a trade flows

  1. Request

    A site or bot sends an order with its API key.

  2. Validate

    The exchange checks the balance, the symbol and rate limits.

  3. Match

    The order fills at the current market price and is recorded.

  4. Broadcast

    Webhooks notify subscribed channels and every client sees the new price.

Market Data

One feed, every community

This is the kind of board any site or bot could display from the same data. Figures are simulated.

SymbolCompanyPrice (B$)Change
Insights

Principles and roadmap

Open by default

Market data is free to read, with clear rate limits, so small projects can use it too.

Fair and auditable

Every trade is logged and viewable, so players can verify prices and history.

Community governed

Listing rules and changes are decided in public with representatives from participating communities.

  1. Phase 1: ProposalPublish this page and gather input from community leaders, bot developers and players.
  2. Phase 2: Read-only prototypeLaunch listings, prices and history endpoints with sample companies.
  3. Phase 3: Trading and accountsAdd player accounts, API keys, portfolios and order placement.
  4. Phase 4: IntegrationsRelease a Discord bot template, a JavaScript SDK and webhook alerts.
  5. Phase 5: Public launchOpen listings to participating communities with published governance rules.
About

Questions people ask

Is this live yet?

No. This is an open proposal. The prices on this page are simulated so you can see how the data would look.

Does it cost anything?

The proposal is for free read access and free keys for community projects. Any change would be announced and discussed first.

Who decides which stocks are listed?

Listing criteria would be written publicly, with a review process involving participating communities rather than a single owner.

Is the currency real money?

No. Everything is in-game Bloxburg economy value (B$) for roleplay. No real money is involved.

Is this affiliated with Bloxburg, Roblox or the NYSE?

No. BSE is an independent community project and is not endorsed by Welcome to Bloxburg, Roblox or any real-world exchange.

Help shape the exchange

Run a community, build bots, or want fair markets? Tell us what you would need from a shared API.