PUBLIC REST API · V1

USDG Gold Exchange API

Read-only public market data for exchange-created tokens and external markets. No API key is required.

GETExchange summary

/api/v1/summary.php

CMC-style summary containing only spot markets traded on USDG Gold Exchange, with last price and exchange 24-hour volume.

curl https://usdgchina.com/api/v1/summary.php

GETAll active markets

/api/v1/markets.php
curl https://usdgchina.com/api/v1/markets.php

GETTicker

/api/v1/ticker.php?symbol=BTCUSDT

Omit symbol to receive every active ticker.

curl "https://usdgchina.com/api/v1/ticker.php?symbol=USDGUSDT"

GETCandles

/api/v1/candles.php?symbol=BTCUSDT&interval=15m&limit=100

Maximum limit: 1000. Internal markets support 1s, 1m, 15m, 1h, 4h, 1d and 1w.

curl "https://usdgchina.com/api/v1/candles.php?symbol=BTCUSDT&interval=1h&limit=200"

GETOrder book

/api/v1/orderbook.php?symbol=USDG_USDT&limit=100

Returns active price and amount levels. Internal pairs contain open limit orders placed on USDG Gold Exchange. External pairs are sourced from Binance.

curl "https://usdgchina.com/api/v1/orderbook.php?symbol=USDG_USDT"

GETRecent trades

/api/v1/trades.php?symbol=USDG_USDT&limit=100
curl "https://usdgchina.com/api/v1/trades.php?symbol=USDG_USDT"

GETAssets and networks

/api/v1/assets.php
curl https://usdgchina.com/api/v1/assets.php

All responses use JSON and include exchange time in milliseconds. Browser access is enabled with CORS.

Return to exchange · System status · Contact