Skip to main content

Documentation Index

Fetch the complete documentation index at: https://unitedmarket.mintlify.app/llms.txt

Use this file to discover all available pages before exploring further.

Use the testnet backend REST API to read market data.
NetworkBase URL
Testnethttps://backend-develop.themarketunited.com
United Market is currently in sandbox/development stage. All funds, balances, markets, and trades are for testing only and do not represent real money.

List Markets

curl "https://backend-develop.themarketunited.com/markets"

Get Market Detail

curl "https://backend-develop.themarketunited.com/markets/{id}"

Get Trading Snapshot

curl "https://backend-develop.themarketunited.com/markets/{id}/trading"

Get Orderbook

curl "https://backend-develop.themarketunited.com/markets/{id}/orderbook"
A common pattern is:
  1. Load GET /markets/{id}/trading when the user opens the market page.
  2. Subscribe to WebSocket updates using the market conditionId.
  3. Refetch GET /markets/{id}/orderbook after orderbook:update if local state needs to recover.

Get Ticker

curl "https://backend-develop.themarketunited.com/markets/{id}/ticker"

Get Price History

curl "https://backend-develop.themarketunited.com/markets/{id}/price-history?timeframe=1d"

Get Recent Trades

curl "https://backend-develop.themarketunited.com/markets/{id}/trades?limit=20"